From bc17d59d5b67ee37e2300a12e5a38662b88d6fe6 Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 15 Dec 2023 09:29:39 +0800 Subject: [PATCH] =?UTF-8?q?id=E8=B0=83=E6=95=B4string=3D>uint32?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 60968c2..3b20ec1 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -69,6 +69,7 @@ message CommonInfo { string graphicType = 2; Transform transform = 3; repeated ChildTransform childTransforms = 4; + uint32 nid = 5; } message Link { @@ -108,6 +109,7 @@ message Platform { // string upAndDown =5; //上下行--upLink表示上行,downLink表示下行 string refStation = 6; //关联的车站 bool up = 7; //上下行--true表示上行,false表示下行 + uint32 nrefStation = 8; } message Station { @@ -136,6 +138,7 @@ message TrainWindow { CommonInfo common = 1; string code = 2; repeated string refDeviceId = 3; //关联的逻辑区段的id或道岔区段id + repeated uint32 nrefDeviceId = 4; } message AxleCounting { @@ -196,11 +199,12 @@ message RunLine { // string upPathLineId = 6; // string downPathLineId = 7; repeated string containSta = 8; - repeated string linkPathLines = 9; - string lineId = 10; + repeated string linkPathLines = 9; //关联pathLine + string lineId = 10; // 实际线路id repeated int32 dashPointIndexs = 11; // 虚线段点序号 repeated int32 grayPointIndexs = 12; // 虚线段点序号 - string lineColor = 13; + string lineColor = 13; // 线路显示颜色 + repeated uint32 nlinkPathLines = 14; //关联pathLine } /** 物理区段 */ @@ -220,6 +224,7 @@ message Section { repeated string children = 8; // 下属逻辑区段id(非岔区)/下属道岔id(岔区) string destinationCode = 9; // 目的地码 bool turning = 10; //是否转换轨 + repeated uint32 nchildren = 11; } /** 逻辑区段 */ @@ -262,6 +267,7 @@ message RelatedRef { DeviceType deviceType = 1; //关联的设备类型 string id = 2; //关联的设备ID DevicePort devicePort = 3; //关联的设备端口 + uint32 nid = 4; } message Separator {// 分隔符