列车btm调整重构

This commit is contained in:
tiger_zhou 2024-08-21 18:02:53 +08:00
parent b7336a5bbe
commit 94413167c0

View File

@ -931,7 +931,9 @@ message TrainControlState{
map<string,ControlButton> buttons = 1; map<string,ControlButton> buttons = 1;
repeated DriverKeySwitch driverKey = 2; // repeated DriverKeySwitch driverKey = 2; //
DirectionKeySwitch dirKey = 3; // map<string,SwitchKeyChange> switchKeyMap = 3;
// DirectionKeySwitch dirKey = 3; //
PushHandler pushHandler = 4; // PushHandler pushHandler = 4; //
map<string, ControlLight> lightMaps = 5; map<string, ControlLight> lightMaps = 5;
int64 lineInitTimeStamp12 = 6; //12线 int64 lineInitTimeStamp12 = 6; //12线
@ -948,7 +950,7 @@ message TrainControlState{
// request.DriverType dt = 3; // request.DriverType dt = 3;
} }
message DirectionKeySwitch{ message SwitchKeyChange{
uint32 id = 1; uint32 id = 1;
uint32 val = 2; //0=(mm)1=(AA),2=(AM) uint32 val = 2; //0=(mm)1=(AA),2=(AM)
} }
@ -966,7 +968,7 @@ message TrainControlState{
message TrainControlStateMsg{ message TrainControlStateMsg{
repeated TrainControlState.ControlButton buttons = 1; repeated TrainControlState.ControlButton buttons = 1;
repeated TrainControlState.DriverKeySwitch driverKey = 2; // repeated TrainControlState.DriverKeySwitch driverKey = 2; //
TrainControlState.DirectionKeySwitch dirKey = 3; // repeated TrainControlState.SwitchKeyChange switchKeys = 3; //
TrainControlState.PushHandler pushHandler = 4; // TrainControlState.PushHandler pushHandler = 4; //
repeated TrainControlState.ControlLight lights = 5; repeated TrainControlState.ControlLight lights = 5;
} }