Skip to content

Commit 128539f

Browse files
authored
Merge pull request #848 from sansmoraxz/link/modbus-timings
fix: add missing properties to ModusTCPProtocolTemplate class
2 parents 49430e5 + 88fc762 commit 128539f

File tree

1 file changed

+5
-2
lines changed
  • web/src/app/metadata/device/device-protocol/builtin-protocol-template

1 file changed

+5
-2
lines changed

web/src/app/metadata/device/device-protocol/builtin-protocol-template/types.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
1212
* or implied. See the License for the specific language governing permissions and limitations under
1313
* the License.
14-
*
14+
*
1515
* @author: Huaqiao Zhang, <huaqiaoz@vmware.com>
1616
*******************************************************************************/
1717

@@ -31,6 +31,9 @@ export class ModusTCPProtocolTemplate {
3131
UnitID: string = "";
3232
Timeout: string = "";
3333
IdleTimeout: string = "";
34+
LinkRecoveryTimeout: string = "";
35+
ProtocolRecoveryTimeout: string = "";
36+
ConnectDelay: string = "";
3437
}
3538

3639
export class ModusRTUProtocolTemplate {
@@ -71,4 +74,4 @@ export class S7ProtocolTemplate {
7174
export class TCPProtocolTemplate {
7275
host: string = "";
7376
port: string = "";
74-
}
77+
}

0 commit comments

Comments
 (0)