From 593a7c477e03273a2aa97aae9fd14a1d567c7453 Mon Sep 17 00:00:00 2001 From: Yuan Date: Fri, 13 Oct 2023 13:58:53 +0800 Subject: [PATCH] ibp --- protos/ibpGraphics.proto | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/protos/ibpGraphics.proto b/protos/ibpGraphics.proto index 5132b53..e59b8d0 100644 --- a/protos/ibpGraphics.proto +++ b/protos/ibpGraphics.proto @@ -10,7 +10,8 @@ message IBPGraphicStorage { repeated IbpKey ibpKeys = 4; repeated IbpArrow ibpArrows = 5; repeated IBPText IBPTexts = 6; - UniqueIdType UniqueIdPrefix = 7; + // UniqueIdType UniqueIdPrefix = 7; + repeated IbpRelatedDevice ibpRelatedDevices = 8; } message IBPButton { @@ -60,8 +61,19 @@ message IbpArrow { repeated Point points = 3; } -message UniqueIdType { - string city = 1; //城市 - string lineId = 2; //线路号 - string belongsStation = 3; //所属车站 +// message UniqueIdType { +// string city = 1; //城市 +// string lineId = 2; //线路号 +// string belongsStation = 3; //所属车站 +// } + +message IbpRelatedDevice { + string code = 1; + repeated Combinationtype combinationtypes = 2; //组合类型 + graphicData.RelatedRef.DeviceType deviceType = 3; //设备类型 +} + +message Combinationtype { + string code = 1; + repeated string refDevices = 2; //关联的设备 }