From f032ade56a55bc270dee8721a828a783b49e9ae1 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 09:36:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/datacollect/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/datacollect/README.md b/docs/datacollect/README.md index ef69a9cb..16e1b000 100644 --- a/docs/datacollect/README.md +++ b/docs/datacollect/README.md @@ -295,3 +295,26 @@ PS: 同一节点只允许建立一条连接。 "opValue": 1 } ``` + +### 事件上报命令 + +采集程序向系统上报变位、越限事件 + +?> 方向: `采集程序` -> `系统` + +**命令:** `deviceEvent` + +**数据体:** + +```json +{ + //设备ID + "deviceId": "112345123546", + //设备属性编码 + "attrCode": "Ia", + //事件类型 ( 0-遥信变位 1-越上限 2-越下限) + "eventType": 0, + //事件发生时刻 + "eventTime": 12321351235123 +} +```