diff --git a/protos/alertInfo.proto b/protos/alertInfo.proto index 499e7b8..7c1d8b7 100644 --- a/protos/alertInfo.proto +++ b/protos/alertInfo.proto @@ -16,11 +16,34 @@ message NccAlertInfoMessage { string alert_time = 3; - string info = 4; + int32 alert_tip_id = 4; - int32 alert_tip_id = 5; + int32 line_id = 5; - bool mock = 6; + string alert_object = 6; + + AlertType alert_type = 7; + + string locator_device_id = 8; + + 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; }