列车控制连接版本记录1

This commit is contained in:
tiger_zhou 2024-08-05 16:32:20 +08:00
parent 0c2a761310
commit fd4d5ee638

View File

@ -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 ;//12816
string baliseId = 9;
bool isSend = 10;//
}
//golang float类型数据序列化后丢失精度故使用string