From 86de0cff9ee560f0c7e670184d5baccfdb28ee44 Mon Sep 17 00:00:00 2001 From: fan Date: Tue, 6 Jun 2023 16:46:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BF=A1=E5=8F=B7=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 6c4c477..7130b56 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -10,6 +10,7 @@ message RtssGraphicStorage { repeated Station stations = 5; repeated Rect Rects = 6; repeated Train train = 7; + repeated Signal signals = 8; } message Canvas { @@ -126,3 +127,12 @@ message IscsFan { } message Turnout {} + +message Signal { + CommonInfo common = 1; + string code = 2; + string codeColor = 3; // 信号机字体颜色 + int32 codeFontSize = 4; // 信号机字体大小 + Point point = 5; // 位置坐标 + string direction = 6; //信号机朝向 +}