btm vobc 模块功能

This commit is contained in:
tiger_zhou 2024-06-06 17:57:29 +08:00
parent fed626ac4b
commit c1499de7bb

View File

@ -187,6 +187,40 @@ message TrainState{
TrainControlState tcc = 24;
TrainConnState connState = 25; //
SensorSpeedPulseCount pluseCount = 26;
VobcBtmState vobcBtm = 27;//vobc btm
}
message VobcBtmState{
//
repeated TelegramState telegramState = 1;
//key =
map<uint32,VobcBtmHistoryState> history = 2;
message TelegramState{
string baliseId = 1;
string telegram = 2;
//btm (mm)
// int64 arriveDistance = 3;
//btm (mm)
// int64 leaveDistance = 4;
int64 arriveTime = 5;
int64 leaveTime = 6;
}
message VobcBtmHistoryState{
//
uint32 sendCount = 1;
//
uint32 packetSendId = 2;
uint32 vobcLifeNum = 3;
//vobc发送的整体数据
string sendTelegram =4;
//
string balisePacket = 5;
//
bool isFreePacket = 6;
}
}
//
message SensorSpeedPulseCount{