24282 2 years ago
parent
commit
4a50c4c8ff
1 changed files with 155 additions and 0 deletions
  1. 155 0
      configBack2

+ 155 - 0
configBack2

@@ -0,0 +1,155 @@
+# debug     调试模式
+# serverIp  服务ip
+# deviceId  华为云配置deviceId
+# secret    华为云配置secret
+# connectConfigList 设备配置 {[
+#   equipmentNo     设备编号
+#   ipAddress       设备ip地址
+#   port            设备ip端口号
+#   type            设备类型
+#       -> 1 注塑机
+#       -> 2 滚印机
+#       -> 3 注射器组装机
+#       -> 4 螺纹头组装机
+#   other {         其他配置:每种协议特有配置统一放这
+#       如:
+#       type为 2、3、4、5 时,走modBusTcp协议:可配置以下信息,不配置则为默认值
+#           slavedId                        从机地址 默认 1
+#           coilsOffSet                     0x开始读取地址 默认:0
+#           coilsQuantity                   0x读取位数 默认:100
+#           discreteInputsOffSet            1x开始读取地址 默认:0
+#           discreteInputsQuantity          1x读取位数 默认:100
+#           inputRegistersOffSet            3x开始读取地址 默认:0
+#           inputRegistersQuantity          3x读取位数 默认:100
+#           holdingRegistersOffSet          4x开始读取地址 默认:0
+#           holdingRegistersQuantity        4x读取位数 默认:100
+#   }
+# ]}
+#
+# configurationUrl       组态软件url
+# configurationUsername  组态软件账号
+# configurationPassword  组态软件密码
+# configurationProjectInstanceName    组态软件工程名称
+# configurationDeviceNameList         组态软件设备名称列表
+
+
+{
+    "debug": true,
+    "serverIp": "a1625d5cc8.iot-mqtts.cn-north-4.myhuaweicloud.com",
+    "deviceId": "62d4ff516b9813541d51f893_test_node_01",
+    "secret": "fjhx2012",
+
+    "connectConfigList": [
+        {
+             "equipmentNo": "zsj01",
+             "ipAddress": "192.168.157.20",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj02",
+             "ipAddress": "192.168.157.21",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj03",
+             "ipAddress": "192.168.157.22",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj04",
+             "ipAddress": "192.168.157.23",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj05",
+             "ipAddress": "192.168.157.24",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj06",
+             "ipAddress": "192.168.157.25",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj07",
+             "ipAddress": "192.168.157.26",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj08",
+             "ipAddress": "192.168.157.27",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj09",
+             "ipAddress": "192.168.157.28",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj10",
+             "ipAddress": "192.168.157.29",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "zsj11",
+             "ipAddress": "192.168.157.30",
+             "port": 16664,
+             "type": 1
+        },
+        {
+             "equipmentNo": "gyj01",
+             "ipAddress": "192.168.157.40",
+             "port": 502,
+             "type": 2
+        },
+        {
+             "equipmentNo": "gyj02",
+             "ipAddress": "192.168.157.41",
+             "port": 502,
+             "type": 2
+        },
+        {
+             "equipmentNo": "zzj01",
+             "ipAddress": "192.168.157.60",
+             "port": 502,
+             "type": 3
+        },
+        {
+             "equipmentNo": "zzj02",
+             "ipAddress": "192.168.157.61",
+             "port": 502,
+             "type": 3
+        },
+        {
+             "equipmentNo": "lwt01",
+             "ipAddress": "192.168.157.110",
+             "port": 502,
+             "type": 4
+        },
+        {
+             "equipmentNo": "lwt02",
+             "ipAddress": "192.168.157.111",
+             "port": 502,
+             "type": 4
+        }
+    ],
+
+    "configurationUrl": "http://192.168.1.43:9433/",
+    "configurationUsername": "fjhx",
+    "configurationPassword": "DD0130A524D456DD",
+    "configurationProjectInstanceName": "KV_n60",
+    "configurationDeviceNameList": [
+        "kv"
+    ]
+
+}