电子地图

This commit is contained in:
joylink_zhaoerwei 2024-11-21 16:51:47 +08:00
parent 0683eba527
commit 8d2f5c7506
1 changed files with 24 additions and 5 deletions

View File

@ -15,6 +15,8 @@ message ElectronicMapGraphicStorage {
repeated LogicSection logicSections = 9;
repeated ConcentrationDividingLine concentrationDividingLines = 10; // 线
GenerateAxleCountingConfig generateAxleCountingConfig = 11;//
ScreenDoorConfig screenDoorConfig = 12;
repeated Separator separators = 13;
}
message Station {
@ -48,6 +50,17 @@ message ScreenDoor {
uint32 refPlatformId = 3; //
}
message ScreenDoorConfig {
int32 sonDoorAmount = 1; //
repeated ScreenDoorGroup screenDoorGroupList = 2;//
}
message ScreenDoorGroup {
int32 trainGroupAmount = 1; //
int32 startSmallDoor = 2; //
int32 endSmallDoor = 3; //
}
/** 物理区段(包含岔区和非岔区) */
message Section {
enum SectionType {
@ -149,6 +162,11 @@ message AxleCounting {
repeated uint32 centralizedStations = 6; // Id列表
}
message GenerateAxleCountingConfig {
repeated uint32 bbConnect = 1; //bb连接处生成计轴的道岔id()
repeated uint32 noGenerateGroup = 2;//
}
message ConcentrationDividingLine {
common.CommonInfo common = 1;
string code = 2; //
@ -164,6 +182,12 @@ message NodeConWithSec {
RelatedRef rightSection = 2;
}
message Separator { //
common.CommonInfo common = 1;
string code = 2;
string separatorType = 3;
}
/** 上下行(区段/信号机) */
enum Direction {
UP = 0;
@ -211,8 +235,3 @@ message RelatedRef {
DevicePort devicePort = 2; //
uint32 id = 3;
}
message GenerateAxleCountingConfig {
repeated uint32 bbConnect = 1; //bb连接处生成计轴的道岔id()
repeated uint32 noGenerateGroup = 2;//
}