From 72b3f05f58159477957bf8d296e59b60d6b46a23 Mon Sep 17 00:00:00 2001 From: lzq <2495532633@qq.com> Date: Wed, 17 Dec 2025 12:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/niu_neng.json | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/config/niu_neng.json b/config/niu_neng.json index 89c95ae..651de39 100644 --- a/config/niu_neng.json +++ b/config/niu_neng.json @@ -1,7 +1,7 @@ { "name": "牛能专用", - "delay": 0, - "daemon": false, + "delay": 60, + "daemon": true, "httpSvr": { "port": 11000 }, @@ -26,19 +26,19 @@ "qos": 0 }, { - "topic": "/device/eddb943a-70e9fd81/message/up/snapshot", + "topic": "device/eddb943a-70e9fd81/message/up/snapshot", "qos": 0 }, { - "topic": "/device/eddb943a-70e9fd81/message/down/snapshot/reply", + "topic": "device/eddb943a-70e9fd81/message/down/snapshot/reply", "qos": 0 }, { - "topic": "/device/0122310d-75bdca05/message/up/snapshot", + "topic": "device/0122310d-75bdca05/message/up/snapshot", "qos": 0 }, { - "topic": "/device/0122310d-75bdca05/message/down/snapshot/reply", + "topic": "device/0122310d-75bdca05/message/down/snapshot/reply", "qos": 0 } ] @@ -80,7 +80,7 @@ }, { "name": "进", - "sn": "e0c74597-e14536e8", + "sn": "acd67e39-e6fa75ca", "ip": "192.168.1.203", "io": 0, "platformScale": "1", @@ -98,7 +98,7 @@ }, { "name": "出", - "sn": "e2185b08-5329f143", + "sn": "3e90b931-e9981973", "ip": "192.168.1.202", "io": 0, "platformScale": "1", @@ -107,7 +107,7 @@ }, { "name": "进前置-2", - "sn": "4400df6a-b6d861c9", + "sn": "79d08346-3bdc83c2", "ip": "192.168.1.211", "io": 0, "platformScale": "2", @@ -116,7 +116,7 @@ }, { "name": "进-2", - "sn": "ebb33384-2837f6b5", + "sn": "6cf71a4a-1b4b58bc", "ip": "192.168.1.213", "io": 0, "platformScale": "2", @@ -134,7 +134,7 @@ }, { "name": "出-2", - "sn": "fc7c2a68-c118e693", + "sn": "36e2b577-c4a72c18", "ip": "192.168.1.212", "io": 0, "platformScale": "2", @@ -146,7 +146,10 @@ { "sn": "1", "name": "地磅", + "delay": 10, "sample": 20, + "retries": 30, + "weight": 200.0, "port": "COM2", "baudRate": 9600, "byteSize": 8, @@ -156,7 +159,10 @@ { "sn": "2", "name": "地磅", + "delay": 10, "sample": 20, + "retries": 30, + "weight": 200.0, "port": "COM3", "baudRate": 9600, "byteSize": 8, @@ -181,6 +187,7 @@ "vidicons": [ { "sn": "1", + "type": 1, "name": "摄像头1", "ip": "eddb943a-70e9fd81", "port": 8000, @@ -189,6 +196,7 @@ }, { "sn": "2", + "type": 1, "name": "摄像头2", "ip": "0122310d-75bdca05", "port": 8000,