列车btm调整重构
This commit is contained in:
parent
b7336a5bbe
commit
94413167c0
@ -931,7 +931,9 @@ message TrainControlState{
|
||||
|
||||
map<string,ControlButton> buttons = 1;
|
||||
repeated DriverKeySwitch driverKey = 2; //驾驶端激活
|
||||
DirectionKeySwitch dirKey = 3; //接车运行方向
|
||||
map<string,SwitchKeyChange> switchKeyMap = 3;
|
||||
|
||||
// DirectionKeySwitch dirKey = 3; //接车运行方向
|
||||
PushHandler pushHandler = 4; //牵引制动手柄
|
||||
map<string, ControlLight> lightMaps = 5;
|
||||
int64 lineInitTimeStamp12 = 6; //12号线列出初始化时间戳
|
||||
@ -948,7 +950,7 @@ message TrainControlState{
|
||||
// request.DriverType dt = 3;
|
||||
|
||||
}
|
||||
message DirectionKeySwitch{
|
||||
message SwitchKeyChange{
|
||||
uint32 id = 1;
|
||||
uint32 val = 2; //0=后(mm),1=前(AA),2=中位(AM)
|
||||
}
|
||||
@ -966,7 +968,7 @@ message TrainControlState{
|
||||
message TrainControlStateMsg{
|
||||
repeated TrainControlState.ControlButton buttons = 1;
|
||||
repeated TrainControlState.DriverKeySwitch driverKey = 2; //驾驶端激活
|
||||
TrainControlState.DirectionKeySwitch dirKey = 3; //接车运行方向
|
||||
repeated TrainControlState.SwitchKeyChange switchKeys = 3; //接车运行方向
|
||||
TrainControlState.PushHandler pushHandler = 4; //牵引制动手柄
|
||||
repeated TrainControlState.ControlLight lights = 5;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user