列车模型添加 紧急制动属性

This commit is contained in:
tiger_zhou 2024-08-30 16:41:37 +08:00
parent c2e5cee82a
commit 7629f290ea
2 changed files with 16 additions and 3 deletions

View File

@ -203,6 +203,7 @@ message TrainState{
float TrainMaxSpeed = 32; //
float TrainMaxAcc = 33; //
float TrainMaxBrake = 34; //
float TrainEmergencyBrake = 35;//
}
message TrainBtmCache{
uint32 dsn = 1;
@ -477,7 +478,19 @@ message TrainVobcState {
//ato关右门
bool atoCloseRightDoor = 83;
bool lightAtoSend = 84;
// request.TrainControl.Direction historyDir = 76; //使
//Ato运行级位
AtoStepLevel atoStepLevel = 85;
enum AtoStepLevel{
ATO_STEP_LEVEL_NONE=0;
ATO_STEP_LEVEL_1 = 1;
ATO_STEP_LEVEL_2 = 2;
ATO_STEP_LEVEL_3 = 3;
ATO_STEP_LEVEL_4 = 4;
ATO_STEP_LEVEL_5 = 5;
ATO_STEP_LEVEL_6 = 6;
ATO_STEP_LEVEL_7 = 7;
}
}
//

View File

@ -724,8 +724,8 @@ message Train {
int32 trainLoad = 10; //()
float trainMaxSpeed = 11; //(km/h)
float trainMaxAcc = 12; //(m/s^2)
float trainMaxBrake = 13; //(m/s^2)
float trainMaxBrake = 13; //(m/s^2)
float TrainEmergencyBrake = 14; //(m/s^2)
}
// 线