diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 8daa002..bac13ff 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -10,11 +10,12 @@ message RtssGraphicStorage { repeated IscsFan iscsFans = 3; repeated Platform Platforms = 4; repeated Station stations = 5; - repeated Rect Rects = 6; + repeated Rect rects = 6; repeated Train train = 7; repeated Signal signals = 8; repeated Turnout turnouts = 9; repeated Section section = 10; + repeated StationLine stationLines = 11; } message Canvas { @@ -77,10 +78,10 @@ message Rect { string code = 2; int32 lineWidth = 3; // 线宽 string lineColor = 4; // 线色 - Point point = 5; // 位置坐标 - float width = 6; //宽度 - float height = 7; //高度 - repeated Point points = 8; // 点坐标列表 + float width = 5; //宽度 + float height = 6; //高度 + int32 radius = 7; //圆角半径 + Point point = 8; // 画第一个点的坐标 } message Platform { @@ -95,6 +96,12 @@ message Station { string code = 2; } +message StationLine { + CommonInfo common = 1; + string code = 2; + bool hasTransfer = 3; // 是否有换乘图标 +} + message Train { CommonInfo common = 1; string code = 2;