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{