区段操作
This commit is contained in:
parent
123622f28c
commit
596dd05920
@ -28,31 +28,34 @@ message TurnoutOperationReq {
|
||||
}
|
||||
|
||||
// 信号机
|
||||
message Signal{
|
||||
message Signal {
|
||||
//信号机操作
|
||||
enum Operation{
|
||||
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;//取消白灯断丝故障
|
||||
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; //取消故障占用
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user