修改事件上报报文

This commit is contained in:
谷成伟 2024-10-28 10:17:16 +08:00
parent 6ce87d7038
commit 488c4fbdc2

View File

@ -307,18 +307,35 @@ PS: 同一节点只允许建立一条连接。
**数据体:** **数据体:**
```json ```json
{ [
//设备ID {
"deviceId": "112345123546", //设备ID
//设备属性编码 "deviceId": "112345123546",
"attrCode": "Ia", //设备属性编码
//属性值 "attrCode": "stop",
"attrValue": 0, //属性值
//事件类型 ( 0-遥信变位 1-越上限 2-越下限) "attrValue": 0,
"eventType": 0, //事件类型 ( 0-遥信变位 1-越上限 2-越下限)
//事件发生时刻 "eventType": 0,
"eventTime": 12321351235123, //事件发生时刻
//限值 "eventTime": 12321351235123,
"limitValue": null //限值
} "limitValue": null
},
{
//设备ID
"deviceId": "112345123546",
//设备属性编码
"attrCode": "Ia",
//属性值
"attrValue": 12350,
//事件类型 ( 0-遥信变位 1-越上限 2-越下限)
"eventType": 0,
//事件发生时刻
"eventTime": 12321351235123,
//限值
"limitValue": 50
}
]
``` ```