From 32a1603d5e026f34b47a0a7cededa16f69b45592 Mon Sep 17 00:00:00 2001 From: thesai <1021828630@qq.com> Date: Tue, 6 Feb 2024 15:36:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BD=A6=E7=8A=B6=E6=80=81=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0BTM=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_state.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/protos/device_state.proto b/protos/device_state.proto index 0475c7e..cf9d827 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -410,7 +410,17 @@ message TrainMapState{ uint32 tailDeviceId = 66; // 列车车尾所在设备偏移量 int64 tailOffset = 67; + // BTM状态 + BTMState btmState = 68; } + +message BTMState { + uint32 dataSerialNumber = 1; //数据流水号,0~255变化,每次加一 + uint32 baliseCount = 2; //应答器计数(每过一个应答器加一,在同一个应答器内不变)(0~255) + uint32 messageCounter = 3; //报文计数器 (每解出一个报文加一)(0~255) + string telegram = 4;//报文(16进制字符串) +} + //动力学相关参数返回数据,因golang float类型数据序列化后丢失精度故使用string //此类型需要与 common_data 中的 TrainDynamicConfig类型属性保持一致 message TrainDynamicConfigMqtt{