【增加列车车头方向,vobc的设备状态】

This commit is contained in:
weizhihong 2023-08-23 09:37:58 +08:00
parent 5d09a37666
commit 8cb151ed76

View File

@ -124,6 +124,60 @@ message TrainState{
bool pointTo = 28;
// -> ->
bool runDirection = 29;
//
bool headDirection = 30;
}
// vobc发过来的列车信息
message TrainVobcState {
// +1
int32 lifeSignal = 1;
// TC1激活状态 1=
bool tc1Active = 2;
// TC2激活状态 1=
bool tc2Active = 3;
// 1=
bool directionForward = 4;
// 1=
bool directionBackward = 5;
// 1=
bool tractionStatus = 6;
// 1=
bool brakingStatus = 7;
// 1=
bool emergencyBrakingStatus = 8;
// AR 1=
bool turnbackStatus = 9;
// 1=
bool jumpStatus = 10;
// ATO模式 1=ATO模式
bool ato = 11;
// FAM模式 1=FAM模式
bool fam = 12;
// CAM模式 1=CAM模式
bool cam = 13;
// 1=
bool tractionSafetyCircuit = 14;
// 1=
bool parkingBrakeStatus = 15;
// 1=
bool maintainBrakeStatus = 16;
// 100=1KN
int64 tractionForce = 17;
// 100=1KN
int64 brakeForce = 18;
// 100=1ton
int64 trainLoad = 19;
// 1=
bool leftDoorOpenCommand = 20;
// 1=
bool rightDoorOpenCommand = 21;
// 1=
bool leftDoorCloseCommand = 22;
// 1=
bool rightDoorCloseCommand = 23;
// 1=
bool allDoorClose = 24;
}
////////////////////////////////////////////////////////////////////////////