列车折返rm模式调整

This commit is contained in:
tiger_zhou 2024-09-11 21:19:41 +08:00
parent 35c2c8e774
commit 76a91b6495

View File

@ -212,7 +212,7 @@ message TrainState{
string projectCode = 39;
// TrainBtmCache BtmBaliseCache = 40;
TrainPort trainPort = 40; //
map<int32,SensorSpeedPulseCount> pulseCountMap = 41;
map<int32,SensorSpeedPulseCount> pulseCountMap = 41; // key = TrainPort
enum TrainPort{
PORT_NONE = 0;
PORT_A=1;
@ -952,14 +952,14 @@ message TrainControlState{
// DirectionKeySwitch dirKey = 3; //
PushHandler pushHandler = 4; //
map<string, ControlLight> lightMaps = 5;
int64 lineInitTimeStamp12PortA = 6; //12线
int64 lineInitTimeStamp12PortB = 7; //12线
bool line12ConnErrPortA = 8;//12线12线atp故障atp需要重启atp状态情况(atp故障时atp输出数字量返回的数据最后一个直接是0)
bool line12ConnErrPortB = 9;//12线12线atp故障atp需要重启atp状态情况(atp故障时atp输出数字量返回的数据最后一个直接是0)
bool TrainConnInitComplatePortA = 10;
bool TrainConnInitComplatePortB = 11;
bool activeTrainA = 12;
bool activeTrainB = 13;
// int64 lineInitTimeStamp12PortA = 6; //12线
// int64 lineInitTimeStamp12PortB = 7; //12线
// bool line12ConnErrPortA = 8;//12线12线atp故障atp需要重启atp状态情况(atp故障时atp输出数字量返回的数据最后一个直接是0)
// bool line12ConnErrPortB = 9;//12线12线atp故障atp需要重启atp状态情况(atp故障时atp输出数字量返回的数据最后一个直接是0)
// bool TrainConnInitComplatePortA = 10;
// bool TrainConnInitComplatePortB = 11;
// bool activeTrainA = 12;
// bool activeTrainB = 13;
// bool Line12ConnErr = 14;
// int64 lineInitTimeStamp12 = 15;
message ControlButton{