区段操作

This commit is contained in:
Yuan 2023-10-30 17:32:11 +08:00
parent 123622f28c
commit 596dd05920

View File

@ -5,54 +5,57 @@ option go_package = "./dto/request_proto";
//
message Turnout {
//
enum Operation {
Undefined = 0; //
DC = 1; //
CancelDC = 2; //
FC = 3; //
CancelFC = 4; //
SetSB = 5; //
CancelSB = 6; //
SetJC = 7; //
CancelJC = 8; //
}
//
enum Operation {
Undefined = 0; //
DC = 1; //
CancelDC = 2; //
FC = 3; //
CancelFC = 4; //
SetSB = 5; //
CancelSB = 6; //
SetJC = 7; //
CancelJC = 8; //
}
}
//
message TurnoutOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
string deviceId = 3; // id
Turnout.Operation operation = 4; //
string simulationId = 1; // 仿id
int32 mapId = 2; // id
string deviceId = 3; // id
Turnout.Operation operation = 4; //
}
//
message Signal{
//
enum Operation{
Undefined = 0; //
Display = 1; //,绿
LightHFaultDs = 2;//
LightUFaultDs = 3;//
LightLFaultDs = 4;//绿
LightAFaultDs = 5;//
LightBFaultDs = 6;//
LightHCancelDs = 7;//
LightUCancelDs = 8;//
LightLCancelDs = 9;//绿
LightACancelDs = 10;//
LightBCancelDs = 11;//
}
message Signal {
//
enum Operation {
Undefined = 0; //
Display = 1; //,绿
LightHFaultDs = 2; //
LightUFaultDs = 3; //
LightLFaultDs = 4; //绿
LightAFaultDs = 5; //
LightBFaultDs = 6; //
LightHCancelDs = 7; //
LightUCancelDs = 8; //
LightLCancelDs = 9; //绿
LightACancelDs = 10; //
LightBCancelDs = 11; //
}
}
//
message Section{
//
enum AxleOperation{
Drst = 0;//
Pdrst = 1;//
SetFaultOcc = 2;//
CancelFaultOcc = 3;//
}
}
message Section {
//
enum AxleOperation {
Drst = 0; //
Pdrst = 1; //
}
//
enum SectionOperation {
SetFaultOcc = 0; //
CancelFaultOcc = 1; //
}
}