From b37c99bc1764a2c3a41ef5a20969642384374a5f Mon Sep 17 00:00:00 2001 From: fan Date: Mon, 17 Jul 2023 13:47:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=94=B9=E4=BF=AEpathLine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 3db3dc1..5732679 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -216,9 +216,9 @@ message PathLine { CommonInfo common = 1; string code = 2; repeated Point points = 3; - bool isUp = 4; - repeated KilometerPoint kilometerPoints = 5; - bool aToB = 6; + bool isUp = 4; // 是否上行 + repeated KilometerPoint kilometerPoints = 5; // 车站对应的公里标以及坐标点 + bool isKmIncrease = 6; // 运行方向是否公里标递增 } //关联设备 From 2b1cf46a4bece01bce4b3269e4fcf094f8117492 Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Mon, 17 Jul 2023 16:00:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?AlertInfo=E5=A2=9E=E5=8A=A0=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E4=BF=A1=E6=81=AF=E5=92=8C=E6=95=85=E9=9A=9C=E5=8E=9F?= =?UTF-8?q?=E5=9B=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/alertInfo.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protos/alertInfo.proto b/protos/alertInfo.proto index 4cc9424..6c6c332 100644 --- a/protos/alertInfo.proto +++ b/protos/alertInfo.proto @@ -19,6 +19,12 @@ message NccAlertInfoMessage { string info = 4; int32 alert_tip_id = 5; + + //故障设备信息 + string device_info = 6; + + //导致报警的原因 + string reason = 7; } repeated Message messages = 1;