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, diff --git a/plugins/mqtt/aws-iot.json b/plugins/mqtt/aws-iot.json index b98d6be8..237e8065 100644 --- a/plugins/mqtt/aws-iot.json +++ b/plugins/mqtt/aws-iot.json @@ -2,8 +2,6 @@ "client-id": { "name": "Client ID", "name_zh": "客户端 ID", - "description": "MQTT client ID", - "description_zh": "MQTT 客户端 ID", "type": "string", "attribute": "required", "valid": { @@ -123,8 +121,6 @@ "cache-sync-interval": { "name": "Cache Sync Interval (MS)", "name_zh": "缓存消息重传间隔(MS)", - "description": "When MQTT connection restores, cached messages will be synchronised to the broker. This controls the interval in milliseconds between each message to synchronise.", - "description_zh": "当 MQTT 连接重建后,缓存的消息会被同步到服务器。此配置项控制消息重传时每条消息之间的时间间隔,以毫秒为单位。", "type": "int", "attribute": "required", "condition": { @@ -151,8 +147,6 @@ "port": { "name": "MQTT Port", "name_zh": "MQTT 端口", - "description": "MQTT broker port", - "description_zh": "MQTT 服务器端口", "attribute": "required", "condition": { "field": "invisible", @@ -168,8 +162,6 @@ "username": { "name": "Username", "name_zh": "用户名", - "description": "MQTT user name", - "description_zh": "MQTT 用户名", "attribute": "optional", "condition": { "field": "invisible", @@ -184,8 +176,6 @@ "password": { "name": "Password", "name_zh": "密码", - "description": "MQTT user password", - "description_zh": "MQTT 用户密码", "attribute": "optional", "condition": { "field": "invisible", diff --git a/plugins/mqtt/mqtt.json b/plugins/mqtt/mqtt.json index eaff35aa..493c0172 100644 --- a/plugins/mqtt/mqtt.json +++ b/plugins/mqtt/mqtt.json @@ -2,8 +2,6 @@ "client-id": { "name": "Client ID", "name_zh": "客户端 ID", - "description": "MQTT client id", - "description_zh": "MQTT 客户端 ID", "type": "string", "attribute": "required", "default": "neuron_${random_str}", @@ -126,8 +124,6 @@ "cache-sync-interval": { "name": "Cache Sync Interval (MS)", "name_zh": "缓存消息重传间隔(MS)", - "description": "When MQTT connection restores, cached messages will be synchronised to the broker. This controls the interval in milliseconds between each message to synchronise.", - "description_zh": "当 MQTT 连接重建后,缓存的消息会被同步到服务器。此配置项控制消息重传时每条消息之间的时间间隔,以毫秒为单位。", "type": "int", "attribute": "required", "condition": { @@ -143,8 +139,6 @@ "host": { "name": "Broker Host", "name_zh": "服务器地址", - "description": "MQTT broker host", - "description_zh": "MQTT 服务器地址", "attribute": "required", "type": "string", "default": "broker.emqx.io", @@ -155,8 +149,6 @@ "port": { "name": "Broker Port", "name_zh": "服务器端口", - "description": "MQTT broker port", - "description_zh": "MQTT 服务器端口", "attribute": "required", "type": "int", "default": 1883, @@ -168,8 +160,6 @@ "username": { "name": "Username", "name_zh": "用户名", - "description": "MQTT user name", - "description_zh": "MQTT 用户名", "attribute": "optional", "type": "string", "default": "", @@ -180,8 +170,6 @@ "password": { "name": "Password", "name_zh": "密码", - "description": "MQTT user password", - "description_zh": "MQTT 用户密码", "attribute": "optional", "type": "string", "default": "",