修改事件上报报文

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

View File

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