58 lines
1.2 KiB
Protocol Buffer
58 lines
1.2 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 = 11;
|
|
//计轴红光带
|
|
AXLE_LED_RED = 12;
|
|
//计轴大面积红光带
|
|
AXLE_LED_RED_MOST = 13;
|
|
//计轴橙光带
|
|
AXLE_LED_ORANGE = 14;
|
|
//计轴大面积橙光带
|
|
AXLE_LED_ORANGE_MOST = 15;
|
|
}
|