From 8820c9f2abfb1e1761e866761b74cb7aab93a8de Mon Sep 17 00:00:00 2001 From: thesai <1021828630@qq.com> Date: Wed, 21 Feb 2024 14:54:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=97=E8=BD=A6BTM?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=9A=84=E6=8A=A5=E6=96=87=E4=B8=BA=E6=9C=80?= =?UTF-8?q?=E5=90=8E=E6=94=B6=E5=88=B0=E7=9A=84=E6=8A=A5=E6=96=87=EF=BC=9B?= =?UTF-8?q?=E4=BF=AE=E6=94=B9BTM=E6=8E=A2=E6=B5=8B=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=B8=8D=E9=9C=80=E8=A6=81=E3=80=90=E8=BD=A6?= =?UTF-8?q?=E8=BD=BD=E5=BA=94=E7=AD=94=E5=99=A8=E5=A4=A9=E7=BA=BF=E5=8A=9F?= =?UTF-8?q?=E7=8E=87=E6=94=BE=E5=A4=A7=E5=99=A8=E3=80=91=E4=B8=BA=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E7=8A=B6=E6=80=81=EF=BC=9B=E4=BF=AE=E6=94=B9=E8=BD=A6?= =?UTF-8?q?=E5=B0=BE=E4=BD=8D=E7=BD=AE=E8=AE=A1=E7=AE=97bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_state.proto | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/protos/device_state.proto b/protos/device_state.proto index a6d2b70..e9b2c5f 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -165,8 +165,10 @@ message TrainState{ uint32 tailDeviceId = 20; // 列车尾端所在设备偏移量 int64 tailOffset = 21; + // 列车尾端所在设备端口 + string tailDevicePort = 22; // BTM状态 - BTMState btmState = 22; + BTMState btmState = 23; } // 动力学列车状态 @@ -452,11 +454,11 @@ message TrainDynamicConfigMqtt{ //是否跳跃 bool jump = 9; //打滑加速度(m/s) 默认0 原本属性 float - string slipA=10; + string slipA = 10; // 打滑冲击率(m/s) 默认0 - string slipR=11; + string slipR = 11; // 打滑持续时间ms 默认0 - int32 slipD=12; + int32 slipD = 12; // 空转加速度(m/s2),默认值:0 原本属性 float string idlingA = 14; // 空转冲击率(m/s3),默认值:0 @@ -465,7 +467,7 @@ message TrainDynamicConfigMqtt{ int32 idlingD = 16; //过标/欠标(mm)(正数过标,负数欠标) int32 stopSign = 17; -// 前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0 原本属性 float + // 前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0 原本属性 float string slide = 18 ; } //列车一端的状态 @@ -502,7 +504,7 @@ message ButtonState { uint32 id = 1; bool down = 2; bool active = 3; // 带灯的按钮 -// bool bypass = 4; //摁钮,钥匙 是否旁路 + // bool bypass = 4; //摁钮,钥匙 是否旁路 } // 警铃状态 @@ -541,7 +543,7 @@ message AsdState { message KeyState { uint32 id = 1; int32 gear = 2; -// bool bypass = 3; //摁钮,钥匙 是否旁路 + // bool bypass = 3; //摁钮,钥匙 是否旁路 } // 战场图门控箱继电器状态