添加了传感器、温湿度

main
Gitea管理员 2025-03-21 13:51:42 +08:00
parent 3075d80704
commit 7debc55b74
2 changed files with 56 additions and 86 deletions

Binary file not shown.

View File

@ -16,8 +16,8 @@
"function_code":3, "function_code":3,
"address":[ "address":[
{ {
"start_addr":40000, "start_addr":41984,
"quantity":9, "quantity":7,
"bytes_per_register":2, "bytes_per_register":2,
"language":"En", "language":"En",
"device_name_chn":"温湿度", "device_name_chn":"温湿度",
@ -35,8 +35,18 @@
"skip":0 "skip":0
}, },
{ {
"comment":"温度", "comment":"从节点地址跳过",
"order":1, "order":1,
"precision":1,
"unit":"",
"title_chn":"",
"title_eng":"",
"display":0,
"skip":1
},
{
"comment":"温度",
"order":2,
"precision":10, "precision":10,
"unit":"℃", "unit":"℃",
"title_chn":"温度", "title_chn":"温度",
@ -46,79 +56,49 @@
}, },
{ {
"comment":"湿度", "comment":"湿度",
"order":2, "order":3,
"precision":10, "precision":1,
"unit":"%", "unit":"%",
"title_chn":"湿度", "title_chn":"湿度",
"title_eng":"RH (%)", "title_eng":"RH (%)",
"display":1 , "display":1,
"skip":0 "skip":0
}, },
{ {
"comment":"露点", "comment":"回/出风状态跳过",
"order":3,
"precision":1,
"unit":"",
"title_chn":"露点",
"title_eng":"DewPoint",
"display":2,
"skip":0
},
{
"comment":"跳过",
"order":4, "order":4,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"", "title_chn":"回/出风状态",
"title_eng":"", "title_eng":"",
"display":0, "display":0,
"skip":1 "skip":1
}, },
{ {
"comment":"跳过", "comment":"高精度温度",
"order":5, "order":5,
"precision":1, "precision":100,
"unit":"", "unit":"",
"title_chn":"", "title_chn":"高精度温度",
"title_eng":"", "title_eng":"HD T (℃)",
"display":0, "display":2,
"skip":1 "skip":0
}, },
{ {
"comment":"DO", "comment":"高精度湿度",
"order":6, "order":6,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"DO", "title_chn":"高精度湿度值",
"title_eng":"DO", "title_eng":"HD RH (%)",
"display":2,
"skip":0
},
{
"comment":"DI1",
"order":7,
"precision":1,
"unit":"",
"title_chn":"DI1",
"title_eng":"DI1",
"display":2,
"skip":0
},
{
"comment":"DI2",
"order":8,
"precision":1,
"unit":"",
"title_chn":"DI2",
"title_eng":"DI2",
"display":2, "display":2,
"skip":0 "skip":0
} }
] ]
}, },
{ {
"start_addr":40009, "start_addr":41991,
"quantity":6, "quantity":4,
"bytes_per_register":2, "bytes_per_register":2,
"language":"en", "language":"en",
"device_name_chn":"温湿度告警", "device_name_chn":"温湿度告警",
@ -126,38 +106,18 @@
"device_type":6, "device_type":6,
"data": [ "data": [
{ {
"comment":"温度阈值", "comment":"设备通讯状态",
"order":0, "order":0,
"precision":10,
"unit":"",
"title_chn":"温度阈值",
"title_eng":"Temp_threshold",
"display":0,
"skip":0
},
{
"comment":"温度偏移",
"order":1,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"温度偏移", "title_chn":"设备通讯状态",
"title_eng":"Temp_offset", "title_eng":"Online1",
"display":0, "display":1,
"skip":0 "skip":0
}, },
{
"comment":"跳过",
"order":2,
"precision":1,
"unit":"",
"title_chn":"",
"title_eng":"",
"display":0,
"skip":1
},
{ {
"comment":"高温告警", "comment":"高温告警",
"order":3, "order":1,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"高温告警", "title_chn":"高温告警",
@ -167,7 +127,7 @@
}, },
{ {
"comment":"高湿告警", "comment":"高湿告警",
"order":4, "order":2,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"高湿告警", "title_chn":"高湿告警",
@ -177,7 +137,7 @@
}, },
{ {
"comment":"低温告警", "comment":"低温告警",
"order":5, "order":3,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"低温告警", "title_chn":"低温告警",
@ -188,13 +148,13 @@
] ]
}, },
{ {
"start_addr":50009, "start_addr":43520,
"quantity":4, "quantity":4,
"bytes_per_register":2, "bytes_per_register":2,
"language":"en", "language":"en",
"device_name_chn":"传感器", "device_name_chn":"传感器",
"device_name_eng":"Sensor", "device_name_eng":"Sensor",
"device_type":6, "device_type":99,
"data": [ "data": [
{ {
"comment":"设备通讯状态", "comment":"设备通讯状态",
@ -239,8 +199,8 @@
] ]
}, },
{ {
"start_addr":40009, "start_addr":43524,
"quantity":3, "quantity":4,
"bytes_per_register":2, "bytes_per_register":2,
"language":"en", "language":"en",
"device_name_chn":"传感器告警", "device_name_chn":"传感器告警",
@ -248,33 +208,43 @@
"device_type":6, "device_type":6,
"data": [ "data": [
{ {
"comment":"门禁告警", "comment":"设备在线",
"order":0, "order":0,
"precision":10, "precision":10,
"unit":"", "unit":"",
"title_chn":"设备在线",
"title_eng":"Online",
"display":2,
"skip":0
},
{
"comment":"门禁告警",
"order":1,
"precision":10,
"unit":"",
"title_chn":"门禁告警", "title_chn":"门禁告警",
"title_eng":"Access Control Alarm", "title_eng":"Access Control Alarm",
"display":0, "display":2,
"skip":0 "skip":0
}, },
{ {
"comment":"水浸告警", "comment":"水浸告警",
"order":1, "order":2,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"水浸告警", "title_chn":"水浸告警",
"title_eng":"Water ingress", "title_eng":"Water ingress",
"display":0, "display":2,
"skip":0 "skip":0
}, },
{ {
"comment":"烟雾告警", "comment":"烟雾告警",
"order":2, "order":3,
"precision":1, "precision":1,
"unit":"", "unit":"",
"title_chn":"烟雾告警", "title_chn":"烟雾告警",
"title_eng":"Smoke", "title_eng":"Smoke",
"display":0, "display":2,
"skip":0 "skip":0
} }
] ]