列车btm调整重构

This commit is contained in:
tiger_zhou 2024-08-21 17:17:18 +08:00
parent 939b7a2604
commit 7cb7af10d9

View File

@ -194,9 +194,8 @@ message TrainControl{
TrainControlType controlType = 4; TrainControlType controlType = 4;
ControlButton controlButton = 5; // ControlButton controlButton = 5; //
DriverKeySwitch driverKey = 6; DriverKeySwitch driverKey = 6;
DirectionKeySwitch dirKey = 7; // SwitchKeyChange switchKey = 7; //
PushHandler handler = 8; // PushHandler handler = 8; //
DirectionKeySwitch doorKey = 9; //
message ControlButton{ message ControlButton{
@ -209,10 +208,10 @@ message TrainControl{
HANDLER = 3; // HANDLER = 3; //
TRAIN_DOOR_MODE_CHANGE =4;// TRAIN_DOOR_MODE_CHANGE =4;//
} }
enum Direction{ enum KeyLocation{
BACKWARD = 0; //退 mm模式 KL_END = 0; //退 mm模式
FORWARD = 1; // AA模式 KL_FONT = 1; // AA模式
NEUTRALWARD = 2;// AM模式 KL_CENTER = 2;// AM模式
} }
// //
@ -226,8 +225,8 @@ message TrainControl{
} }
message DirectionKeySwitch{ message SwitchKeyChange{
uint32 val = 1; //0=1=,2= uint32 val = 1; //0=(:MM)1=(:AA),2=(:AM)
} }
// //
message PushHandler{ message PushHandler{