报警记录增加报警地点数据;AlertType和AlertLocation使用proto文件定义
This commit is contained in:
parent
b3b9885e27
commit
7567e2953e
39
protos/alertConst.proto
Normal file
39
protos/alertConst.proto
Normal file
@ -0,0 +1,39 @@
|
||||
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;
|
||||
}
|
@ -2,6 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package alert;
|
||||
|
||||
import "alertConst.proto";
|
||||
|
||||
//模型的可变的状态数据
|
||||
//import "LineNetTrainOffsetDiagram.proto";
|
||||
@ -29,21 +30,5 @@ message NccAlertInfoMessage {
|
||||
bool mock = 9;
|
||||
}
|
||||
|
||||
enum AlertType {
|
||||
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;
|
||||
}
|
||||
|
||||
repeated Message messages = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user