From 0a3e6894863805929cad09f1da926b719934b801 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 12 Mar 2024 13:58:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9F=E4=BC=A0=EF=BC=8C=E9=9B=B7=E8=BE=BE?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E6=95=B0=E5=80=BC=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/common_data.proto | 4 ++-- protos/device_state.proto | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 {