加设备-电子地图

This commit is contained in:
joylink_zhaoerwei 2024-11-19 16:38:36 +08:00
parent 64e48a0441
commit f09c8fb244

View File

@ -12,7 +12,9 @@ message ElectronicMapGraphicStorage {
repeated Turnout turnouts = 6; repeated Turnout turnouts = 6;
repeated Signal signals = 7; repeated Signal signals = 7;
repeated AxleCounting axleCountings = 8; repeated AxleCounting axleCountings = 8;
GenerateAxleCountingConfig generateAxleCountingConfig = 9;// repeated LogicSection logicSections = 9;
repeated ConcentrationDividingLine concentrationDividingLines = 10; // 线
GenerateAxleCountingConfig generateAxleCountingConfig = 11;//
} }
message Station { message Station {
@ -76,6 +78,13 @@ message Section {
repeated uint32 centralizedStations = 14; // Id列表 repeated uint32 centralizedStations = 14; // Id列表
} }
/** 逻辑区段 */
message LogicSection {
common.CommonInfo common = 1;
string code = 2;
repeated common.Point points = 3;
}
message Turnout { message Turnout {
enum SwitchMachineType { enum SwitchMachineType {
@ -140,6 +149,21 @@ message AxleCounting {
repeated uint32 centralizedStations = 6; // Id列表 repeated uint32 centralizedStations = 6; // Id列表
} }
message ConcentrationDividingLine {
common.CommonInfo common = 1;
string code = 2; //
repeated common.Point points = 3; //
repeated NodeConWithSec nodeConWithSecs = 4;// 线
bool isOtherLineConcentrationDividingLine = 5;//线线
uint32 refLeftStationId = 6;//id
uint32 refRightStationId = 7;//id
}
message NodeConWithSec {
RelatedRef leftSection = 1;
RelatedRef rightSection = 2;
}
/** 上下行(区段/信号机) */ /** 上下行(区段/信号机) */
enum Direction { enum Direction {
UP = 0; UP = 0;