From 833ac573084b532fecfd4d2b46dc39c6f064e03b Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 7 Jul 2023 16:04:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0sectionLink?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 65ba274..1273f2b 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -19,6 +19,7 @@ message RtssGraphicStorage { repeated TrainWindow trainWindows = 12; repeated AxleCounting axleCountings = 13; repeated Separator separators = 14; + repeated SectionLink sectionLinks = 15; } message Canvas { @@ -208,3 +209,10 @@ message Separator { // 分隔符 string code = 2; string separatorType = 3; } + +message SectionLink { + CommonInfo common = 1; + string code = 2; + repeated Point points = 3; + string refDevice = 4; +} From c5f24078557409a82f877e25240ee4ef196170d2 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Fri, 7 Jul 2023 17:17:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=AE=A1=E8=BD=B4=E5=8C=BA=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 1273f2b..769208f 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -20,6 +20,7 @@ message RtssGraphicStorage { repeated AxleCounting axleCountings = 13; repeated Separator separators = 14; repeated SectionLink sectionLinks = 15; + repeated AxleCountingSection axleCountingSections = 16; } message Canvas { @@ -216,3 +217,11 @@ message SectionLink { repeated Point points = 3; string refDevice = 4; } + +message AxleCountingSection { // 计轴区段 + CommonInfo common = 1; + string code = 2; + repeated Point points = 3; + RelatedRef paRef = 4; // 区段A端关联的设备 + RelatedRef pbRef = 5; // 区段B端关联的设备 +}