24282 2 years ago
parent
commit
acc3f5abc9
1 changed files with 18 additions and 22 deletions
  1. 18 22
      configBack

+ 18 - 22
configBack

@@ -11,7 +11,6 @@
 #       -> 2 滚印机
 #       -> 3 注射器组装机
 #       -> 4 螺纹头组装机
-#       -> 5 注射针
 #   other {         其他配置:每种协议特有配置统一放这
 #       如:
 #       type为 2、3、4、5 时,走modBusTcp协议:可配置以下信息,不配置则为默认值
@@ -26,6 +25,12 @@
 #           holdingRegistersQuantity        4x读取位数 默认:100
 #   }
 # ]}
+#
+# configurationUrl       组态软件url
+# configurationUsername  组态软件账号
+# configurationPassword  组态软件密码
+# configurationProjectInstanceName    组态软件工程名称
+# configurationDeviceNameList         组态软件设备名称列表
 
 
 {
@@ -35,29 +40,20 @@
     "secret": "fjhx2012",
 
     "connectConfigList": [
-#        {
-#            "equipmentNo": "test1",
-#            "ipAddress": "192.168.0.140",
-#            "port": 502,
-#            "type": 2
-#        },
         {
-             "equipmentNo": "test1",
-             "ipAddress": "192.168.1.174",
-             "port": 502,
-             "type": 2,
-             "other": {
-                "slavedId": 1,
-                "coilsOffSet": 0,
-                "coilsQuantity": 17,
-                "discreteInputsOffSet": 0,
-                "discreteInputsQuantity": 21,
-                "inputRegistersOffSet": 0,
-                "inputRegistersQuantity": 0,
-                "holdingRegistersOffSet": 0,
-                "holdingRegistersQuantity": 4
-             }
+             "equipmentNo": "zsj01",
+             "ipAddress": "192.168.157.20",
+             "port": 16664,
+             "type": 1
         }
+    ],
+
+    "configurationUrl": "http://192.168.1.43:9433/",
+    "configurationUsername": "fjhx",
+    "configurationPassword": "DD0130A524D456DD",
+    "configurationProjectInstanceName": "KV_n60",
+    "configurationDeviceNameList": [
+        "kv"
     ]
 
 }