This commit is contained in:
fan 2023-11-23 10:08:57 +08:00
commit eec2602adc
3 changed files with 24 additions and 1 deletions

View File

@ -13,6 +13,7 @@ message IBPGraphicStorage {
// UniqueIdType UniqueIdPrefix = 7; // UniqueIdType UniqueIdPrefix = 7;
repeated IbpRelatedDevice ibpRelatedDevices = 8; repeated IbpRelatedDevice ibpRelatedDevices = 8;
repeated IbpLight ibpLights = 9; repeated IbpLight ibpLights = 9;
repeated IbpStationText ibpStationTexts = 10;
} }
message IBPButton { message IBPButton {
@ -73,3 +74,21 @@ message IbpRelatedDevice {
repeated graphicData.DeviceCombinationtype combinationtypes = 2; // repeated graphicData.DeviceCombinationtype combinationtypes = 2; //
// graphicData.RelatedRef.DeviceType deviceType = 3; // // graphicData.RelatedRef.DeviceType deviceType = 3; //
} }
message IbpStationText {
enum IbpStationTextType {
CURRENT = 0;
UP = 1;
DOWN = 2;
}
enum IbpStationTextAlign {
LEFT = 0;
RIGHT = 1;
CENTER = 2;
}
graphicData.CommonInfo common = 1;
IbpStationTextType type = 2;
string color = 4;
int32 fontSize = 5;
IbpStationTextAlign align = 6;
}

View File

@ -11,4 +11,6 @@ enum PictureType {
RelayCabinetLayout = 2; RelayCabinetLayout = 2;
/** IBP盘 */ /** IBP盘 */
IBP = 3; IBP = 3;
/** 列车数据 */
TrainData = 4;
} }

View File

@ -12,7 +12,7 @@ message RtssGraphicStorage {
repeated Platform Platforms = 4; repeated Platform Platforms = 4;
repeated Station stations = 5; repeated Station stations = 5;
// repeated Rect rects = 6; // repeated Rect rects = 6;
// repeated Train train = 7; repeated Train train = 7;
repeated Signal signals = 8; repeated Signal signals = 8;
repeated Turnout turnouts = 9; repeated Turnout turnouts = 9;
repeated Section section = 10; repeated Section section = 10;
@ -166,6 +166,7 @@ message Station {
string stationName = 9; // string stationName = 9; //
string stationNameAcronym = 10; // string stationNameAcronym = 10; //
bool depots = 11; // bool depots = 11; //
repeated string manageStations = 12; // -id
} }
message TrainWindow { message TrainWindow {
@ -341,6 +342,7 @@ message Transponder { // 应答器
KilometerSystem kilometerSystem = 5; // KilometerSystem kilometerSystem = 5; //
RelatedRef TransponderRef = 6; // RelatedRef TransponderRef = 6; //
repeated string centralizedStations = 7; // repeated string centralizedStations = 7; //
string fixedTelegram = 8;//
} }
message SimpleRef { message SimpleRef {