diff --git a/protos/common_data.proto b/protos/common_data.proto index 58dabb4..b729cd3 100644 --- a/protos/common_data.proto +++ b/protos/common_data.proto @@ -65,7 +65,7 @@ message TrainEndsState{ //加速度持续时间 int32 accCheckTime = 8; // 速传速度输出(米/秒) - float accOutSpeed = 9; + int32 accOutSpeed = 9; // 雷达速度输出(米/秒) - float radarOutSpeed = 10; + int32 radarOutSpeed = 10; } diff --git a/protos/device_state.proto b/protos/device_state.proto index 77df8da..41bec0c 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -487,9 +487,9 @@ message TrainEndsStateMqtt{ //加速度持续时间 int32 accCheckTime = 8; // 速传速度输出(米/秒) - string accOutSpeed = 9; + int32 accOutSpeed = 9; // 雷达速度输出(米/秒) - string radarOutSpeed = 10; + int32 radarOutSpeed = 10; } // 继电器状态 message ReplyState {