diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 3db3dc1..8e279dd 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -190,20 +190,28 @@ message RunLine { string lineId = 10; } +/** 物理区段 */ message Section { enum SectionType { - Physical = 0; - Logic = 1; - TurnoutPhysical = 2; + Physical = 0; //物理区段 + TurnoutPhysical = 2; //道岔物理区段 } CommonInfo common = 1; string code = 2; repeated Point points = 3; - RelatedRef paRef = 4; // 区段A端关联的设备(非岔区) - RelatedRef pbRef = 5; // 区段B端关联的设备(非岔区) + RelatedRef paRef = 4; // 区段A端关联的物理区段或道岔(非岔区) + RelatedRef pbRef = 5; // 区段B端关联的物理区段或道岔(非岔区) SectionType sectionType = 6; // 区段类型 - repeated string axleCountings = 7; // 关联的计轴 + repeated string axleCountings = 7; // 关联的计轴(岔区&&非岔区) + repeated string children = 8; // 下属逻辑区段id(非岔区) +} + +/** 逻辑区段 */ +message LogicSection { + CommonInfo common = 1; + string code = 2; + repeated Point points = 3; } message KilometerPoint {