proto文件调整

This commit is contained in:
fan 2023-10-13 13:32:41 +08:00
parent 5604ad84ed
commit 9eedbdd555
3 changed files with 12 additions and 16 deletions

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
import "stationLayoutGraphics.proto"; import "stationLayoutGraphics.proto";
import "relayCabinetLayoutGraphics.proto";
package ibpGraphicData; package ibpGraphicData;
message IBPGraphicStorage { message IBPGraphicStorage {
@ -10,7 +10,7 @@ message IBPGraphicStorage {
repeated IbpKey ibpKeys = 4; repeated IbpKey ibpKeys = 4;
repeated IbpArrow ibpArrows = 5; repeated IbpArrow ibpArrows = 5;
repeated IBPText IBPTexts = 6; repeated IBPText IBPTexts = 6;
UniqueIdType UniqueIdPrefix = 7; relayCabinetGraphicData.UniqueIdType UniqueIdPrefix = 7;
} }
message IBPButton { message IBPButton {
@ -47,21 +47,15 @@ message IbpKey {
string code = 2; string code = 2;
} }
message Point {
// x坐标
float x = 1;
// y坐标
float y = 2;
}
message IbpArrow { message IbpArrow {
graphicData.CommonInfo common = 1; graphicData.CommonInfo common = 1;
string code = 2; string code = 2;
repeated Point points = 3; repeated graphicData.Point points = 3;
} }
message UniqueIdType { // message UniqueIdType {
string city = 1; // // string city = 1; //
string lineId = 2; //线 // string lineId = 2; //线
string belongsStation = 3; // // string belongsStation = 3; //
} // }

View File

@ -55,10 +55,10 @@ message PslText {
/* 门控箱关联的设备列表 */ /* 门控箱关联的设备列表 */
message GatedRelateDevice { message GatedRelateDevice {
string code = 1;// string code = 1;//
repeated Combinationtype combinationtypes = 2; // repeated GatedCombinationtype combinationtypes = 2; //
graphicData.RelatedRef.DeviceType deviceType = 3;// graphicData.RelatedRef.DeviceType deviceType = 3;//
} }
message Combinationtype { message GatedCombinationtype {
string code = 1; string code = 1;
repeated string refDevices = 2;// repeated string refDevices = 2;//
} }

View File

@ -149,6 +149,7 @@ message Station {
// string kilometerCode = 5; // // string kilometerCode = 5; //
KilometerSystem kilometerSystem = 6; // KilometerSystem kilometerSystem = 6; //
int32 index = 7; int32 index = 7;
string refIbpMapCode = 8; // IBP地图Code
} }
message TrainWindow { message TrainWindow {
@ -408,6 +409,7 @@ message GatedBox {
bool flip = 3; // bool flip = 3; //
int32 index = 4; // int32 index = 4; //
string refScreenDoor = 5; // string refScreenDoor = 5; //
string refGatedBoxMapCode = 6; // Code
} }
/** 坡度公里标 */ /** 坡度公里标 */