diff --git a/plugins/modbus/modbus-rtu.json b/plugins/modbus/modbus-rtu.json index 413054c1..23418840 100644 --- a/plugins/modbus/modbus-rtu.json +++ b/plugins/modbus/modbus-rtu.json @@ -68,10 +68,8 @@ } }, "timeout": { - "name": "Connection Timeout", - "name_zh": "连接超时时间", - "description": "Connection timeout(ms)", - "description_zh": "连接超时时间,单位为毫秒", + "name": "Connection Timeout (ms)", + "name_zh": "连接超时时间 (ms)", "attribute": "required", "type": "int", "default": 3000, @@ -94,10 +92,8 @@ } }, "retry_interval": { - "name": "Retry Interval", - "name_zh": "指令重新发送间隔", - "description": "Resend reading instruction interval(ms) after a failed attempt to send a read command", - "description_zh": "发送读指令失败后重新发送读指令时间间隔,单位为毫秒", + "name": "Retry Interval (ms)", + "name_zh": "指令重新发送间隔 (ms)", "attribute": "required", "type": "int", "default": 0, @@ -107,10 +103,8 @@ } }, "interval": { - "name": "Send Interval", - "name_zh": "指令发送间隔", - "description": "Send reading instruction interval(ms)", - "description_zh": "发送指令时间间隔,单位为毫秒", + "name": "Send Interval (ms)", + "name_zh": "指令发送间隔 (ms)", "attribute": "required", "type": "int", "default": 20, @@ -137,8 +131,6 @@ "stop": { "name": "Stop Bits", "name_zh": "停止位", - "description": "Stop bits", - "description_zh": "停止位", "attribute": "required", "type": "map", "default": 0, @@ -162,8 +154,6 @@ "parity": { "name": "Parity", "name_zh": "校验位", - "description": "Parity", - "description_zh": "校验位", "attribute": "required", "type": "map", "default": 0, @@ -199,8 +189,6 @@ "baud": { "name": "Baud Rate", "name_zh": "波特率", - "description": "Baud rate", - "description_zh": "波特率", "attribute": "required", "type": "map", "default": 4, @@ -268,8 +256,6 @@ "data": { "name": "Data Bits", "name_zh": "数据位", - "description": "Data bits", - "description_zh": "数据位", "attribute": "required", "type": "map", "default": 3, diff --git a/plugins/modbus/modbus-tcp.json b/plugins/modbus/modbus-tcp.json index 52139973..4fe570ae 100644 --- a/plugins/modbus/modbus-tcp.json +++ b/plugins/modbus/modbus-tcp.json @@ -81,10 +81,8 @@ } }, "retry_interval": { - "name": "Retry Interval", - "name_zh": "指令重新发送间隔", - "description": "Resend reading instruction interval(ms) after a failed attempt to send a read command", - "description_zh": "发送读指令失败后重新发送读指令时间间隔,单位为毫秒", + "name": "Retry Interval (ms)", + "name_zh": "指令重新发送间隔 (ms)", "attribute": "required", "type": "int", "default": 0, @@ -94,10 +92,8 @@ } }, "interval": { - "name": "Send Interval", - "name_zh": "指令发送间隔", - "description": "Send reading instruction interval(ms)", - "description_zh": "发送指令时间间隔,单位为毫秒", + "name": "Send Interval (ms)", + "name_zh": "指令发送间隔 (ms)", "attribute": "required", "type": "int", "default": 20, @@ -128,10 +124,8 @@ } }, "timeout": { - "name": "Connection Timeout", - "name_zh": "连接超时时间", - "description": "Connection timeout(ms)", - "description_zh": "连接超时时间,单位为毫秒", + "name": "Connection Timeout (ms)", + "name_zh": "连接超时时间 (ms)", "attribute": "required", "type": "int", "default": 3000,