列车btm调整重构
This commit is contained in:
parent
939b7a2604
commit
7cb7af10d9
@ -194,9 +194,8 @@ message TrainControl{
|
||||
TrainControlType controlType = 4;
|
||||
ControlButton controlButton = 5; // 控制按钮
|
||||
DriverKeySwitch driverKey = 6;
|
||||
DirectionKeySwitch dirKey = 7; //方向
|
||||
SwitchKeyChange switchKey = 7; //方向
|
||||
PushHandler handler = 8; //手柄
|
||||
DirectionKeySwitch doorKey = 9; //门模式
|
||||
|
||||
|
||||
message ControlButton{
|
||||
@ -209,10 +208,10 @@ message TrainControl{
|
||||
HANDLER = 3; //手柄
|
||||
TRAIN_DOOR_MODE_CHANGE =4;//列车门模式
|
||||
}
|
||||
enum Direction{
|
||||
BACKWARD = 0; //后退 mm模式
|
||||
FORWARD = 1; //前进 AA模式
|
||||
NEUTRALWARD = 2;//中位 AM模式
|
||||
enum KeyLocation{
|
||||
KL_END = 0; //后退 mm模式
|
||||
KL_FONT = 1; //前进 AA模式
|
||||
KL_CENTER = 2;//中位 AM模式
|
||||
}
|
||||
|
||||
//紧急制动
|
||||
@ -226,8 +225,8 @@ message TrainControl{
|
||||
|
||||
|
||||
}
|
||||
message DirectionKeySwitch{
|
||||
uint32 val = 1; //0=后,1=前,2=中位
|
||||
message SwitchKeyChange{
|
||||
uint32 val = 1; //0=后(门模式:MM),1=前(门模式:AA),2=中位(门模式:AM)
|
||||
}
|
||||
//牵引或制动手柄
|
||||
message PushHandler{
|
||||
|
Loading…
Reference in New Issue
Block a user