From 42a7e9cc629aa45325eef107d09ede07f1b9ac2a Mon Sep 17 00:00:00 2001 From: thesai <1021828630@qq.com> Date: Tue, 6 Feb 2024 09:30:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BA=94=E7=AD=94=E5=99=A8?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E5=8F=91=E9=80=81=E6=8A=A5=E6=96=87=E6=95=85?= =?UTF-8?q?=E9=9A=9C=EF=BC=9B=E5=A2=9E=E5=8A=A0=E5=BA=94=E7=AD=94=E5=99=A8?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=8A=B6=E6=80=81=E7=8A=B6=E6=80=81=EF=BC=9B?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=97=E8=BD=A6=E8=BD=A6=E5=B0=BE=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=88=E4=BB=85=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84?= =?UTF-8?q?=EF=BC=8C=E6=97=A0=E8=B5=8B=E5=80=BC=E9=80=BB=E8=BE=91=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_state.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protos/device_state.proto b/protos/device_state.proto index 9e1aa81..0475c7e 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -406,6 +406,10 @@ message TrainMapState{ TrainEndsStateMqtt trainEndsB = 64; //列车位移 int32 Displacement = 65; + // 列车车尾所在设备ID + uint32 tailDeviceId = 66; + // 列车车尾所在设备偏移量 + int64 tailOffset = 67; } //动力学相关参数返回数据,因golang float类型数据序列化后丢失精度故使用string //此类型需要与 common_data 中的 TrainDynamicConfig类型属性保持一致 @@ -534,6 +538,7 @@ message BaliseState { string fixedUserTelegram = 4; //固定用户报文 string variableTelegram = 5; //可变报文 string variableUserTelegram = 6; //可变用户报文 + bool work = 7; //是否正常工作 } // 车站联锁驱采状态