btm vobc 模块功能
This commit is contained in:
parent
fed626ac4b
commit
c1499de7bb
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user