This commit is contained in:
Yuan 2023-10-13 13:59:35 +08:00
commit 3c13e9122b
4 changed files with 35 additions and 17 deletions

View File

@ -55,6 +55,28 @@ message SignalState{
// //
string id = 1; string id = 1;
} }
//
message Signal {
enum Aspect {
//
OFF = 0;
//
ON = 1;
//绿
L = 2;
//
H = 3;
//
U = 4;
//
HU= 5;
//
B=6;
//
A=7;
}
}
// //
message PlatformState{ message PlatformState{
// //

View File

@ -1,7 +1,8 @@
syntax = "proto3"; syntax = "proto3";
import "stationLayoutGraphics.proto"; import "stationLayoutGraphics.proto";
import "relayCabinetLayoutGraphics.proto";
package ibpGraphicData; package ibpGraphicData;
option go_package = "./ats/verify/protos/graphicData";
message IBPGraphicStorage { message IBPGraphicStorage {
graphicData.Canvas canvas = 1; graphicData.Canvas canvas = 1;
@ -10,8 +11,12 @@ 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;
<<<<<<< HEAD
// UniqueIdType UniqueIdPrefix = 7; // UniqueIdType UniqueIdPrefix = 7;
repeated IbpRelatedDevice ibpRelatedDevices = 8; repeated IbpRelatedDevice ibpRelatedDevices = 8;
=======
relayCabinetGraphicData.UniqueIdType UniqueIdPrefix = 7;
>>>>>>> b33cc6eee0d88f566a6370e12633da50883b4d34
} }
message IBPButton { message IBPButton {
@ -48,17 +53,10 @@ 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 {

View File

@ -55,10 +55,6 @@ message PslText {
/* 门控箱关联的设备列表 */ /* 门控箱关联的设备列表 */
message GatedRelateDevice { message GatedRelateDevice {
string code = 1;// string code = 1;//
repeated Combinationtype combinationtypes = 2; // repeated graphicData.DeviceCombinationtype combinationtypes = 2; //
graphicData.RelatedRef.DeviceType deviceType = 3;// graphicData.RelatedRef.DeviceType deviceType = 3;//
} }
message Combinationtype {
string code = 1;
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
} }
/** 坡度公里标 */ /** 坡度公里标 */
@ -469,10 +471,10 @@ message KilometerConvert {
/* 车站关联的设备列表 */ /* 车站关联的设备列表 */
message StationRelateDevice { message StationRelateDevice {
string code = 1;// string code = 1;//
repeated Combinationtype combinationtypes = 2; // repeated DeviceCombinationtype combinationtypes = 2; //
RelatedRef.DeviceType deviceType = 3;// RelatedRef.DeviceType deviceType = 3;//
} }
message Combinationtype { message DeviceCombinationtype {
string code = 1; string code = 1;
repeated string refDevices = 2;// repeated string refDevices = 2;//
} }