From b7bddc6226c642e35a5ff8bb69d7990390d67b8d Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 6 Aug 2024 11:24:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BD=A6=E6=8E=A7=E5=88=B6=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E7=89=88=E6=9C=AC=E8=AE=B0=E5=BD=951?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_state.proto | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/protos/device_state.proto b/protos/device_state.proto index d575994..b8337df 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -281,7 +281,8 @@ message TrainDynamicState { // 加速 float acceleration = 22; //列车位移 - int32 Displacement = 23; +// int32 Displacement = 23; + float Displacement = 23; } @@ -590,7 +591,8 @@ message TrainMapState{ //列车B端 TrainEndsStateMqtt trainEndsB = 64; //列车位移 - int32 Displacement = 65; +// int32 Displacement = 65; + float Displacement = 65; // 列车车尾所在设备ID uint32 tailDeviceId = 66; // 列车车尾所在设备偏移量