集中区分割线

This commit is contained in:
joylink_zhaoerwei 2023-11-29 15:50:45 +08:00
parent 38d06fc13c
commit 7bed616b44

View File

@ -16,7 +16,7 @@ message RtssGraphicStorage {
repeated Signal signals = 8;
repeated Turnout turnouts = 9;
repeated Section section = 10;
// repeated Polygon polygons = 11;
repeated Polygon polygons = 11;
repeated TrainWindow trainWindows = 12;
repeated AxleCounting axleCountings = 13;
repeated Separator separators = 14;
@ -46,7 +46,7 @@ message RtssGraphicStorage {
GenerateAxleCountingConfig generateAxleCountingConfig = 38;//
repeated DepartureTimer departureTimers = 39; //
repeated AutoReturnBox autoReturnBoxs = 40; //
repeated Polygon polygons = 41; // 线
repeated ConcentrationDividingLine concentrationDividingLines = 41; // 线
}
message Canvas {
@ -115,17 +115,9 @@ message CommonInfo {
// Point point = 8; //
// }
// message Polygon {
// CommonInfo common = 1;
// string code = 2;
// int32 lineWidth = 3; // 线
// string lineColor = 4; // 线
// repeated Point points = 5; //
// }
message Polygon {
enum PolygonType {
ConcentrationDividingLine = 0;//线
ConcentrationDividingLine = 0;
}
CommonInfo common = 1;
string code = 2; //
@ -133,6 +125,20 @@ message Polygon {
repeated Point points = 4; //
}
message ConcentrationDividingLine {
CommonInfo common = 1;
string code = 2; //
repeated Point points = 3; //
string refLeftStationId = 4;//id
string refRightStationId = 5;//id
repeated NodeConWithSec nodeConWithSecs = 6;// 线
}
message NodeConWithSec {
string leftSectionId = 1;
string rightSectionId = 2;
}
message Platform {
CommonInfo common = 1;
string code = 2;