63 lines
1.3 KiB
Protocol Buffer
63 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
import "stationLayoutGraphics.proto";
|
|
import "relayCabinetLayoutGraphics.proto";
|
|
package ibpGraphicData;
|
|
option go_package = "./ats/verify/protos/graphicData";
|
|
|
|
message IBPGraphicStorage {
|
|
graphicData.Canvas canvas = 1;
|
|
repeated IBPButton ibpButtons = 2;
|
|
repeated IbpAlarm ibpAlarms = 3;
|
|
repeated IbpKey ibpKeys = 4;
|
|
repeated IbpArrow ibpArrows = 5;
|
|
repeated IBPText IBPTexts = 6;
|
|
relayCabinetGraphicData.UniqueIdType UniqueIdPrefix = 7;
|
|
}
|
|
|
|
message IBPButton {
|
|
|
|
enum IbpButtonColor {
|
|
gray = 0;
|
|
red = 1;
|
|
green = 2;
|
|
blue = 3;
|
|
yellow = 4;
|
|
}
|
|
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
IbpButtonColor color = 3;
|
|
bool isSelfReset = 4;
|
|
}
|
|
|
|
message IBPText {
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
string content = 3;
|
|
string color = 4;
|
|
int32 fontSize = 5;
|
|
}
|
|
|
|
message IbpAlarm {
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
}
|
|
|
|
message IbpKey {
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
}
|
|
|
|
|
|
message IbpArrow {
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
repeated graphicData.Point points = 3;
|
|
}
|
|
|
|
// message UniqueIdType {
|
|
// string city = 1; //城市
|
|
// string lineId = 2; //线路号
|
|
// string belongsStation = 3; //所属车站
|
|
// }
|