From 8d2f5c7506e63202847cab4bd6a935a7310aa000 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 21 Nov 2024 16:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E5=AD=90=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/electronicMap_graphic_data.proto | 29 +++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/src/electronicMap_graphic_data.proto b/src/electronicMap_graphic_data.proto index 385c341..a976174 100644 --- a/src/electronicMap_graphic_data.proto +++ b/src/electronicMap_graphic_data.proto @@ -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;//指定的道岔组不生成计轴 -}