This commit is contained in:
xzb 2023-11-22 13:22:45 +08:00
commit a86b1c92dd
3 changed files with 73 additions and 17 deletions

View File

@ -13,6 +13,7 @@ message IBPGraphicStorage {
// UniqueIdType UniqueIdPrefix = 7;
repeated IbpRelatedDevice ibpRelatedDevices = 8;
repeated IbpLight ibpLights = 9;
repeated IbpStationText ibpStationTexts = 10;
}
message IBPButton {
@ -73,3 +74,21 @@ message IbpRelatedDevice {
repeated graphicData.DeviceCombinationtype combinationtypes = 2; //
// 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;
/** IBP盘 */
IBP = 3;
/** 列车数据 */
TrainData = 4;
}

View File

@ -12,7 +12,7 @@ message RtssGraphicStorage {
repeated Platform Platforms = 4;
repeated Station stations = 5;
// repeated Rect rects = 6;
// repeated Train train = 7;
repeated Train train = 7;
repeated Signal signals = 8;
repeated Turnout turnouts = 9;
repeated Section section = 10;
@ -42,8 +42,10 @@ message RtssGraphicStorage {
repeated StationRelateDevice stationRelateDeviceList = 34; //
repeated SectionCodePoint sectionCodePointList = 35; //
ScreenDoorConfig screenDoorConfig = 36;//--
repeated Beacon beacons = 37;
repeated Beacon beacons = 37; //
GenerateAxleCountingConfig generateAxleCountingConfig = 38;//
repeated DepartureTimer departureTimers = 39; //
repeated AutoReturnBox autoReturnBoxs = 40; //
}
message Canvas {
@ -125,7 +127,7 @@ message Platform {
string code = 2;
//bool hasdoor = 3; //
//string direction = 4; //
int32 index = 5; //
// int32 index = 5; //
//int32 refStationIndex = 6; //
// repeated string centralizedStations = 7; //
//repeated RelatedRef platformRef = 8; //
@ -159,9 +161,12 @@ message Station {
bool concentrationStations = 4; //
// string kilometerCode = 5; //
KilometerSystem kilometerSystem = 6; //
int32 index = 7;
// int32 index = 7;
string refIbpMapCode = 8; // IBP地图Code
string stationName = 9; //
string stationNameAcronym = 10; //
bool depots = 11; //
repeated string manageStations = 12; // -id
}
message TrainWindow {
@ -180,7 +185,7 @@ message AxleCounting {
KilometerSystem kilometerSystem = 3; //
repeated RelatedRef axleCountingRef =
4; // id和端口
int32 index = 5; //
// int32 index = 5; //
//bool invent = 6; //--
TypeDetectionPoint type = 7; //
repeated string centralizedStations = 8; //
@ -219,7 +224,7 @@ message Turnout { //(后端不关注)
RelatedRef pcRef = 11; // C端关联的设备
// KilometerSystem kilometerSystem = 12; //
repeated KilometerSystem kilometerSystem = 13; //
int32 index = 14; //
// int32 index = 14; //
string paTrackSectionId = 15; // A端轨道区段id
string pbTrackSectionId = 16; // B端轨道区段id
string pcTrackSectionId = 17; // C端轨道区段id
@ -246,7 +251,7 @@ message Signal {
// int64 kilometer = 4;
// string coordinateSystem = 5;
KilometerSystem kilometerSystem = 6;
int32 index = 7; //
// int32 index = 7; //
RelatedRef refDev = 8; ///
repeated string centralizedStations = 9; //
//
@ -266,6 +271,7 @@ message Signal {
}
//
Model mt = 10;
string belongStation = 11; // ()
}
/** 物理区段(包含岔区和非岔区) */
@ -282,7 +288,7 @@ message Section {
RelatedRef pbRef = 5; // B端关联的设备()()
SectionType sectionType = 6; //
repeated string axleCountings = 7; //
int32 index = 8; //
// int32 index = 8; //
string trackSectionId = 9; // id
bool isCurve = 10; // 线
int32 segmentsCount = 12; // 线
@ -332,7 +338,7 @@ message Transponder { // 应答器
CommonInfo common = 1;
string code = 2;
int32 transponderType = 3;
int32 index = 4; //
// int32 index = 4; //
KilometerSystem kilometerSystem = 5; //
RelatedRef TransponderRef = 6; //
repeated string centralizedStations = 7; //
@ -361,7 +367,7 @@ message SectionLink {
7; // SectionLink A端连接设备 SectionLink/Turnout
RelatedRef bRef = 8; // SectionLink B端连接设备
// SectionLink/Turnout
int32 index = 9; //
// int32 index = 9; //
}
message AxleCountingSection { //
@ -371,7 +377,7 @@ message AxleCountingSection { // 计轴区段
RelatedRef paRef = 4; // A端关联的计轴
RelatedRef pbRef = 5; // B端关联的计轴
repeated TurnoutPosRef turnoutPos = 6; //--01
int32 index = 7; //
// int32 index = 7; //
}
message LogicSection { //
@ -379,7 +385,7 @@ message LogicSection { // 逻辑区段
string code = 2; //
repeated Point points = 3;
string axleSectionId = 4; // Id
int32 index = 5; //
// int32 index = 5; //
string turnoutId = 6; // idC端关联的轨道link
}
@ -391,7 +397,7 @@ message TrackSection { //轨道区段
CommonInfo common = 1;
repeated Point points = 2;
string code = 3; //
int32 index = 4; //
// int32 index = 4; //
TrackSectionType type = 5; //
string destinationCode = 6; //
repeated string trackLogicSection = 7; //id()
@ -417,7 +423,7 @@ message StopPosition {
string code = 2;
bool flip = 3; //
CoachNum coachNum = 4; //
int32 index = 5; //
// int32 index = 5; //
KilometerSystem kilometerSystem = 6;
RelatedRef refDev = 7; //
}
@ -426,7 +432,7 @@ message SpksSwitch {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
// int32 index = 4; //
// int32 refStand = 5; //
repeated string refSections = 6; // id
string refStand = 7; //
@ -436,7 +442,7 @@ message EsbButton {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
// int32 index = 4; //
// int32 refStand = 5; //
string refStand = 6; //
}
@ -445,7 +451,7 @@ message GatedBox {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
// int32 index = 4; //
string refScreenDoor = 5; //
string refGatedBoxMapCode = 6; // Code
}
@ -505,6 +511,19 @@ message CalculateLink {
string deviceType = 3;
}
}
/** 发车计时器 */
message DepartureTimer {
CommonInfo common = 1;
string code = 2;
}
message AutoReturnBox {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
string refStand = 5; //
}
message UniqueIdOfStationLayout {
string city = 1;//
@ -534,3 +553,19 @@ message SectionCodePoint {
string centralizedStation = 1;
repeated string sectionIds = 2; //id列表
}
//
message Train {
enum TrainModel { //
A = 0;
B = 1;
C = 2;
D = 3;
}
TrainModel trainModel = 1; //
int32 carriageLength = 2; //
int32 totalLength = 3; //
int32 minDiameter = 4; //
int32 maxDiameter = 5; //
string trainSets = 6; //
}