This commit is contained in:
Yuan 2023-06-13 16:20:22 +08:00
commit b0bc3b6100
2 changed files with 23 additions and 3 deletions

View File

@ -1,9 +1,10 @@
syntax = "proto3";
option java_package = "club.joylink.xiannccda.proto.data";
option java_outer_classname = "LineNetTrainOffsetProto";
package diagram;
option java_package = "club.joylink.xiannccda.dto.protos";
option java_outer_classname = "LineNetTrainOffsetDiagramProto";
//线
message LineNetTrainOffset{
message LineNetTrainOffsetDiagram{
//线id
int32 lineId = 1;
//

View File

@ -18,6 +18,8 @@ message RtssGraphicStorage {
repeated StationLine stationLines = 11;
repeated RunLine runLines = 12;
repeated TrainLine trainLines = 13;
repeated PathLine pathLines = 14;
repeated Polygon polygons = 15;
}
message Canvas {
@ -86,6 +88,14 @@ message Rect {
Point point = 8; //
}
message Polygon {
CommonInfo common = 1;
string code = 2;
int32 lineWidth = 3; // 线
string lineColor = 4; // 线
repeated Point points = 5; //
}
message Platform {
CommonInfo common = 1;
string code = 2;
@ -96,6 +106,7 @@ message Platform {
message Station {
CommonInfo common = 1;
string code = 2;
bool hasControl = 3; //
}
message StationLine {
@ -141,6 +152,8 @@ message RunLine {
repeated Point points = 3;
string nameColor = 4;
string nameBgColor = 5;
string upPathLineId = 6;
string downPathLineId = 7;
}
message Section {
@ -148,3 +161,9 @@ message Section {
string code = 2;
repeated Point points = 3;
}
message PathLine {
CommonInfo common = 1;
string code = 2;
repeated Point points = 3;
}