From 8086bc2c8c61fe43878051544624aff69aaacbc2 Mon Sep 17 00:00:00 2001 From: thesai <1021828630@qq.com> Date: Tue, 26 Mar 2024 16:48:36 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=A8=A1=E5=9D=97=E8=BD=A6=E5=BA=93=E9=97=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81proto=E5=AE=9A=E4=B9=89=E5=8F=8A=E8=BD=A6=E5=BA=93?= =?UTF-8?q?=E9=97=A8=E7=8A=B6=E6=80=81=E5=8F=91=E9=80=81=E9=80=BB=E8=BE=91?= =?UTF-8?q?=20=E3=80=90=E5=88=A0=E9=99=A4=E3=80=91ecs=E7=9A=84=E8=BD=A6?= =?UTF-8?q?=E5=BA=93=E9=97=A8=E7=8A=B6=E6=80=81=E5=8F=8A=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_state.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/protos/device_state.proto b/protos/device_state.proto index eb7da9f..316a8a5 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -596,6 +596,14 @@ message StationQc { } } +// 车库门 +message CkmState { + uint32 id = 1; //车库门的id + bool mgj = 2; //车库门关闭继电器 + request.CkmParam param = 3; //屏蔽门设置的参数 + bool stateLoss = 4; //状态丢失 +} + //////////////////////////////////////////////////////////////////////////// //仿真运行时状态变化量,当前时刻与上一时刻比较得到 @@ -640,6 +648,8 @@ message AllDevicesStatus{ repeated BaliseState baliseState = 12; // 车站联锁驱采状态 StationQc stationQc = 13; + // 车库门状态 + repeated CkmState ckmStates = 14; } //服务器端向前端推送的设备状态信息