yds 11 maanden geleden
bovenliggende
commit
2ae9b5be0f
2 gewijzigde bestanden met toevoegingen van 108 en 0 verwijderingen
  1. 92 0
      config/node_info.json
  2. 16 0
      config/node_info1.json

+ 92 - 0
config/node_info.json

@@ -0,0 +1,92 @@
+{
+    "id":"",
+    "name":"",
+    "code":"",
+    "model":"",
+    "type":"",
+    "serverId":"",
+    "description":"",
+    "moduleId":"Modbus over TCP A001",
+    "status":"",
+    "moduleConfig":{
+        "name": "",
+        "code": "",
+        "model": "",
+        "type": "",
+        "props": [
+            {"deviceId": ""}
+        ],
+        "settings": [
+            {
+                "name": "IPAddress",
+                "value": "127.0.0.1"
+            },
+            {
+                "name": "Port",
+                "value": "8080"
+            },
+            {
+                "name": "IdleTimeout",
+                "value": 60
+            },
+            {
+                "name": "ByteOrder",
+                "value": "ABCD"
+            },
+            {
+                "name": "DecodeMethod",
+                "value": {
+                    "Fields": [
+                        {
+                            "name": "SerialNo",
+                            "value": "123"
+                        },
+                        {
+                            "name": "DataName",
+                            "value": "Temperature"
+                        },
+                        {
+                            "name": "DataType",
+                            "value": "1"
+                        },
+                        {
+                            "name": "Offset",
+                            "value": "6"
+                        },
+                        {
+                            "name": "DataItem",
+                            "value": "XXDevice.Data1"
+                        }
+                    ]
+                }
+            }
+        ],
+        "inputs": [
+            "XXDevice.Data1",
+            "XXDevice.Data2"
+        ],
+        "args": [
+            {
+                "name": "x",
+                "value": 100
+            },
+            {
+                "name": "y",
+                "value": 200
+            }
+    
+        ],
+        "outputs": [
+            {
+                "name": "",
+                "code": "",
+                "display": "",
+                "description": ""
+            }
+        ],
+        "expression": ""
+    
+    }
+
+}
+

+ 16 - 0
config/node_info1.json

@@ -0,0 +1,16 @@
+{
+    "id":"",
+    "name":"",
+    "code":"",
+    "model":"",
+    "type":"",
+    "serverId":"",
+    "description":"",
+    "moduleId":"",
+    "status":"",
+    "moduleConfig":{
+见module_config.json
+    }
+
+}
+