列车状态增加BTM状态

This commit is contained in:
thesai 2024-02-06 15:36:56 +08:00
parent 42a7e9cc62
commit 32a1603d5e

View File

@ -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{