From 121134778a38df672562fd8d1acb1482a327702f Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Sun, 28 Apr 2024 11:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BF=E7=9C=9F=E6=B5=8B=E8=AF=95=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/common_data.proto | 6 +++--- protos/device_state.proto | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/protos/common_data.proto b/protos/common_data.proto index 4fd3b56..f067618 100644 --- a/protos/common_data.proto +++ b/protos/common_data.proto @@ -56,7 +56,7 @@ message TrainEndsState{ bool speedSensorEnableB = 2; //雷达是否有效 bool radarEnable = 3; - //雷达测速差值(米/秒) + //雷达测速差值(千米/小时) float radarCheckSpeedDiff = 4; //雷达检测时间(秒) int32 radarCheckTime = 5; @@ -66,9 +66,9 @@ message TrainEndsState{ float accCheckSpeedDiff = 7; //加速度持续时间 int32 accCheckTime = 8; - // 速传速度输出(米/秒) + // 速传速度输出(千米/小时) int32 accOutSpeed = 9; - // 雷达速度输出(米/秒) + // 雷达速度输出(千米/小时) int32 radarOutSpeed = 10; //记录雷达设置检测时间的时间点,用于计算周期内的数字 diff --git a/protos/device_state.proto b/protos/device_state.proto index 134609d..6069479 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -602,7 +602,7 @@ message TrainEndsStateMqtt{ bool speedSensorEnableB = 2; //雷达是否有效 bool radarEnable = 3; - //雷达测速差值(米/秒) 原本数据:float + //雷达测速差值(千米/小时) 原本数据:float string radarCheckSpeedDiff = 4; //雷达检测时间(秒) int32 radarCheckTime = 5; @@ -611,10 +611,11 @@ message TrainEndsStateMqtt{ string accCheckSpeedDiff = 7; //加速度持续时间 int32 accCheckTime = 8; - // 速传速度输出(米/秒) + // 速传速度输出(千米/小时) int32 accOutSpeed = 9; - // 雷达速度输出(米/秒) + // 雷达速度输出(千米/小时) int32 radarOutSpeed = 10; + } // 继电器状态 message ReplyState {