Ver código fonte

首字母小写

zhaoaizhong 11 meses atrás
pai
commit
6e6312ff2d
1 arquivos alterados com 21 adições e 32 exclusões
  1. 21 32
      config/module.definition.json

+ 21 - 32
config/module.definition.json

@@ -9,32 +9,32 @@
     ],
     "settings": [
         {
-            "name": "IPAddress",
+            "name": "ipAddress",
             "text": "IP地址",
             "dataType": "string",
             "readonly": false,
-            "inputType": "Text"
+            "inputType": "text"
         },
         {
-            "name": "Port",
+            "name": "port",
             "text": "端口",
             "dataType": "integer",
             "readonly": false,
-            "inputType": "Text"
+            "inputType": "text"
         },
         {
-            "name": "IdleTimeout",
+            "name": "idleTimeout",
             "text": "空闲超时时间(秒)",
             "dataType": "integer",
             "readonly": false,
-            "inputType": "Text"
+            "inputType": "text"
         },
         {
-            "name": "ByteOrder",
+            "name": "byteOrder",
             "text": "字节序",
             "dataType": "integer",
             "readonly": false,
-            "inputType": "DropDownList",
+            "inputType": "dropDownList",
             "dataSource": {
 
                     "selected": 1,
@@ -53,11 +53,11 @@
             }
         },
         {
-            "name": "ByteOrder",
+            "name": "byteOrder",
             "text": "字节序",
             "dataType": "integer",
             "readonly": false,
-            "inputType": "DropDownList",
+            "inputType": "dropDownList",
             "dataSource": {
 
                     "selected": 1,
@@ -69,25 +69,25 @@
         {
             "name": "decodeMethod",
             "text": "解析方式",
-            "inputType": "Table",
+            "inputType": "table",
             "fields": [
                 {
-                    "name": "SerialNo",
+                    "name": "serialNo",
                     "text": "序号",
                     "dataType": "intgeger",
-                    "inputType": "Text"
+                    "inputType": "text"
                 },
                 {
-                    "name": "DataName",
+                    "name": "dataName",
                     "text": "字段",
                     "dataType": "string",
-                    "inputType": "Text"
+                    "inputType": "text"
                 },
                 {
-                    "name": "DataType",
+                    "name": "dataType",
                     "text": "数据类型",
                     "dataType": "string",
-                    "inputType": "DropDownList",
+                    "inputType": "dropDownList",
                     "dataSource": {
                         "props": {
                             "selected": 1,
@@ -106,27 +106,16 @@
                     }
                 },
                 {
-                    "name": "Offset",
+                    "name": "offset",
                     "text": "偏移量",
                     "dataType": "integer",
-                    "inputType": "Text"
+                    "inputType": "text"
                 },
                 {
-                    "name": "Length",
+                    "name": "length",
                     "text": "长度",
                     "dataType": "integer",
-                    "inputType": "Text"
-                },
-                {
-                    "name": "DataItem",
-                    "text": "设备属性",
-                    "dataType": "string",
-                    "type": "DropDownList",
-                    "props": {
-                        "selected": 1,
-                        "dataSource": "api",
-                        "apiUrl": "http://xxx.xxx/xxx/xxx"
-                    }
+                    "inputType": "text"
                 }
             ],
             "operations": [