列车控制调整

This commit is contained in:
tiger_zhou 2024-05-09 14:36:12 +08:00
parent 121134778a
commit e4c55ea4b6
2 changed files with 6 additions and 1 deletions

View File

@ -396,6 +396,7 @@ message TrainVobcState {
// ATO牵引指令3 // ATO牵引指令3
bool atoTractionCommand3=74; bool atoTractionCommand3=74;
uint32 mockInfo = 75; // uint32 mockInfo = 75; //
// request.TrainControl.Direction historyDir = 76; //使
} }
// //

View File

@ -202,7 +202,11 @@ message TrainControl{
DIRECTION_KEY_SWITCH = 2;// DIRECTION_KEY_SWITCH = 2;//
HANDLER = 3; // HANDLER = 3; //
} }
enum Direction{
BACKWARD = 0; //退
FORWARD = 1; //
NEUTRALWARD = 2;//
}
// //
message EmergentButton{ message EmergentButton{
bool active = 1; bool active = 1;