85 lines
1.7 KiB
Protocol Buffer
85 lines
1.7 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package alert;
|
|
|
|
|
|
//模型的可变的状态数据
|
|
//import "LineNetTrainOffsetDiagram.proto";
|
|
option java_package = "club.joylink.xiannccda.dto.protos";
|
|
option java_outer_classname = "AlertConstProto";
|
|
|
|
enum AlertLocation {
|
|
ALERT_LOCATION_UNKNOWN = 0;
|
|
//全线
|
|
QX = 1;
|
|
//鱼化寨联锁区
|
|
YHZ_LSQ = 2;
|
|
//胡家庙联锁区
|
|
HJM_LSQ = 3;
|
|
//北池头联锁区
|
|
BCT_LSQ = 4;
|
|
//保税区联锁区
|
|
BSQ_LSQ = 5;
|
|
}
|
|
|
|
enum AlertType {
|
|
ALERT_TYPE_UNKNOWN = 0;
|
|
//蓝显
|
|
BLUE_DISPLAY = 1;
|
|
//列车延误2分钟
|
|
TRAIN_DELAY_2 = 2;
|
|
//列车延误10分钟
|
|
TRAIN_DELAY_10 = 3;
|
|
//整侧站台门无关闭锁紧信号
|
|
PLATFORM_DOOR_WITHOUT_LOCKED_SIGNAL = 4;
|
|
//整侧站台门无法打开
|
|
PLATFORM_DOOR_CANNOT_OPEN = 5;
|
|
//整侧站台门无法关闭
|
|
PLATFORM_DOOR_CANNOT_CLOSE = 6;
|
|
//道岔失表
|
|
SWITCH_LOST = 7;
|
|
|
|
//道岔均失表
|
|
SWITCH_All_LOST = 8;
|
|
//道岔定位失表
|
|
SWITCH_DW_LOST = 9;
|
|
//道岔反位失表
|
|
SWITCH_FW_LOST = 10;
|
|
|
|
//计轴红光带
|
|
AXLE_LED_RED = 13;
|
|
//计轴大面积红光带
|
|
AXLE_LED_RED_MOST = 14;
|
|
//计轴橙光带
|
|
AXLE_LED_ORANGE = 15;
|
|
//计轴大面积橙光带
|
|
AXLE_LED_ORANGE_MOST = 16;
|
|
//道岔大面积失表
|
|
SWITCH_LOST_MOST = 17;
|
|
//列车紧制 & atp切除
|
|
TRAIN_EB_ATP = 18;
|
|
//全线蓝显
|
|
ALL_LINE_BLUE_DISPLAY = 19;
|
|
//联锁区红光带
|
|
AXLE_LED_RED_INTERLOCK_AREA = 20;
|
|
//联锁区橙光带
|
|
AXLE_LED_ORANGE_INTERLOCK_AREA = 21;
|
|
//联锁区失表
|
|
SWITCH_LOST_INTERLOCK_AREA = 22;
|
|
//一级联锁
|
|
INTERLOCK_LEVEL_ONE = 23;
|
|
|
|
|
|
}
|
|
enum TipTimeConfig{
|
|
//假期早高峰
|
|
HOLIDAYS_MORN_PEAK = 0;
|
|
//假期晚高峰
|
|
HOLIDAYS_EVENING_PEAK = 1;
|
|
//早高峰
|
|
MORN_PEAK = 2;
|
|
//晚高峰
|
|
EVENING_PEARK = 3;
|
|
//低峰
|
|
NORMAL_UNPEARK = 4;
|
|
} |