列车控制连接版本记录1
This commit is contained in:
parent
0c2a761310
commit
fd4d5ee638
@ -187,9 +187,10 @@ message TrainState{
|
||||
BTMState btmState = 23;
|
||||
TrainControlState tcc = 24;
|
||||
TrainConnState connState = 25; //列车连接第三方状态
|
||||
SensorSpeedPulseCount pluseCount = 26;
|
||||
|
||||
VobcBtmState vobcBtm = 27;//vobc btm 状态
|
||||
SensorSpeedPulseCount pluseCount = 26;
|
||||
VobcBtmState vobcBtm = 27;//vobc btm 状态
|
||||
string oldLink = 28;
|
||||
int64 oldLinkOffset = 29;
|
||||
}
|
||||
message VobcBtmState{
|
||||
|
||||
@ -227,6 +228,9 @@ message VobcBtmState{
|
||||
message SensorSpeedPulseCount{
|
||||
uint32 pulseCount1 = 1;
|
||||
uint32 pulseCount2 = 2;
|
||||
repeated float pulseCount3 = 3;
|
||||
repeated float pulseCount4 = 4;
|
||||
|
||||
}
|
||||
|
||||
// 动力学列车状态
|
||||
@ -597,7 +601,9 @@ message TrainMapState{
|
||||
BTMState btmState = 69;
|
||||
TrainConnState connState = 70; //列车连接第三方状态
|
||||
}
|
||||
|
||||
message BtmStateCache{
|
||||
repeated BTMState btmStateList = 1;
|
||||
}
|
||||
message BTMState {
|
||||
uint32 dataSerialNumber = 1; //数据流水号,0~255变化,每次加一
|
||||
uint32 baliseCount = 2; //应答器计数(每过一个应答器加一,在同一个应答器内不变)(0~255)
|
||||
@ -608,6 +614,8 @@ message BTMState {
|
||||
bool aboveBalise = 6; //BTM天线即将经过应答器
|
||||
string baliseTelegramForPcSimResend = 7; //列车pc仿真暂存应答器回复数据
|
||||
string telegram128 = 8 ;//应答器报文128(16进制字符串)
|
||||
string baliseId = 9;
|
||||
bool isSend = 10;//记录是否发送过
|
||||
}
|
||||
|
||||
//动力学相关参数返回数据,因golang float类型数据序列化后丢失精度故使用string
|
||||
|
Loading…
Reference in New Issue
Block a user