From e9ebd34921652f48c2d84ac531e392ce32d17bb5 Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Mon, 24 Jul 2023 16:19:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E8=AD=A6=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=86=85=E5=AE=B9=EF=BC=88proto=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/alertInfo.proto | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) 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; }