From 488c4fbdc23955d22b18026f52734b17b92e2f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=88=90=E4=BC=9F?= Date: Mon, 28 Oct 2024 10:17:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=8B=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E6=8A=A5=E6=8A=A5=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/datacollect/README.md | 45 ++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/docs/datacollect/README.md b/docs/datacollect/README.md index 6b2be2a3..faf72d9e 100644 --- a/docs/datacollect/README.md +++ b/docs/datacollect/README.md @@ -307,18 +307,35 @@ PS: 同一节点只允许建立一条连接。 **数据体:** ```json -{ - //设备ID - "deviceId": "112345123546", - //设备属性编码 - "attrCode": "Ia", - //属性值 - "attrValue": 0, - //事件类型 ( 0-遥信变位 1-越上限 2-越下限) - "eventType": 0, - //事件发生时刻 - "eventTime": 12321351235123, - //限值 - "limitValue": null -} +[ + { + //设备ID + "deviceId": "112345123546", + //设备属性编码 + "attrCode": "stop", + //属性值 + "attrValue": 0, + //事件类型 ( 0-遥信变位 1-越上限 2-越下限) + "eventType": 0, + //事件发生时刻 + "eventTime": 12321351235123, + //限值 + "limitValue": null + }, + { + //设备ID + "deviceId": "112345123546", + //设备属性编码 + "attrCode": "Ia", + //属性值 + "attrValue": 12350, + //事件类型 ( 0-遥信变位 1-越上限 2-越下限) + "eventType": 0, + //事件发生时刻 + "eventTime": 12321351235123, + //限值 + "limitValue": 50 + } +] + ```