Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message
This commit is contained in:
commit
ebfb67be9c
@ -30,11 +30,11 @@ message LinkState{
|
||||
message SectionState{
|
||||
//区段索引
|
||||
string id = 1;
|
||||
//区段类型
|
||||
SectionType type = 2;
|
||||
//区段占用
|
||||
//true-占用;false-出清
|
||||
bool occupied = 3;
|
||||
//计轴故障
|
||||
bool axleFault = 4;
|
||||
}
|
||||
|
||||
//道岔状态
|
||||
@ -49,6 +49,28 @@ message SwitchState{
|
||||
bool dw = 4;
|
||||
//道岔处于反位(实际)
|
||||
bool fw = 5;
|
||||
// 是否强制(屏蔽联锁驱动)
|
||||
bool force = 6;
|
||||
// 是否有失表故障
|
||||
bool sb = 7;
|
||||
// 是否有定位失表故障
|
||||
bool dwsb = 8;
|
||||
// 是否有反位失表故障
|
||||
bool fwsb = 9;
|
||||
// 是否有挤岔故障
|
||||
bool jc = 10;
|
||||
// 定操驱动
|
||||
bool qdc = 11;
|
||||
// 反操驱动
|
||||
bool qfc = 12;
|
||||
// 允许操驱动
|
||||
bool qyc = 13;
|
||||
// 是否定操
|
||||
bool dc = 14;
|
||||
// 是否反操
|
||||
bool fc = 15;
|
||||
// 是否允许操作
|
||||
bool yc = 16;
|
||||
}
|
||||
//信号机状态
|
||||
message SignalState{
|
||||
|
@ -16,6 +16,9 @@ message Turnout {
|
||||
CancelSB = 6; // 取消失表故障
|
||||
SetJC = 7; // 设置挤岔故障
|
||||
CancelJC = 8; // 取消挤岔故障
|
||||
ForceDw = 9; // 强制定位
|
||||
ForceFw = 10; // 强制反位
|
||||
CancelForce = 11; // 取消强制
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,31 +31,33 @@ 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;//设置计轴预复位
|
||||
TrainIn = 2;//设置计轴区段内有车轴
|
||||
TrainOut = 3;//设置计轴区段内没有车轴
|
||||
message Section {
|
||||
//区段操作
|
||||
enum Operation {
|
||||
SetDrst = 0;//设置计轴直接复位
|
||||
CancelDrst = 1;//取消计轴直接复位
|
||||
SetPdrst = 2;//设置计轴预复位
|
||||
CancelPdrst = 3;//取消计轴预复位
|
||||
SetFaultOcc = 4; //设置故障占用
|
||||
CancelFaultOcc = 5; //取消故障占用
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user