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; // 列车车尾所在设备偏移量