轨道区段

This commit is contained in:
Yuan 2023-08-15 11:13:55 +08:00
parent 269cba242a
commit 0c23c16549

View File

@ -33,6 +33,8 @@ message RtssGraphicStorage {
repeated SlopeKiloMarker slopeKiloMarker = 25; //
repeated CurvatureKiloMarker curvatureKiloMarker = 26; //
repeated Curvature curvatures = 27; //
repeated TrackSection trackSections = 28; //
repeated TrackLogicSection trackLogicSections = 29; //
}
message Canvas {
@ -166,6 +168,9 @@ message Turnout { //(后端不关注)
// KilometerSystem kilometerSystem = 12; //
repeated KilometerSystem kilometerSystem = 13; //
int32 index = 14; //
string paTrackSectionId = 15; // A端轨道区段id
string pbTrackSectionId = 16; // B端轨道区段id
string pcTrackSectionId = 17; // C端轨道区段id
}
/** 左右行 **/
@ -206,6 +211,7 @@ message Section {
SectionType sectionType = 6; //
repeated string axleCountings = 7; //
int32 index = 8; //
string trackSectionId = 9; // id
}
//
@ -264,9 +270,12 @@ message SectionLink {
string code = 2;
repeated Point points = 3;
bool up = 4; //
SimpleRef aSimRef = 5; // SectionLink A端连接设备 AxleCounting/Turnout //
SimpleRef bSimRef = 6; // SectionLink B端连接设备 AxleCounting/Turnout //
RelatedRef aRef = 7; // SectionLink A端连接设备 SectionLink/Turnout
SimpleRef aSimRef =
5; // SectionLink A端连接设备 AxleCounting/Turnout //
SimpleRef bSimRef =
6; // SectionLink B端连接设备 AxleCounting/Turnout //
RelatedRef aRef =
7; // SectionLink A端连接设备 SectionLink/Turnout
RelatedRef bRef = 8; // SectionLink B端连接设备
// SectionLink/Turnout
int32 index = 9; //
@ -292,6 +301,28 @@ message LogicSection { // 逻辑区段
6; // idC端关联的轨道link
}
message TrackSection { //
enum TrackSectionType {
NORMAL = 0; //
FORK = 1; //
}
CommonInfo common = 1;
repeated Point points = 2;
string code = 3; //
int32 index = 4; //
TrackSectionType type = 5; //
string destinationCode = 6; //
repeated string trackLogicSection = 7; //id()
// //id(/)(/)
}
message TrackLogicSection { //
CommonInfo common = 1;
repeated Point points = 2;
string code = 3; //
int32 length = 4; //(mm)
}
message StopPosition {
enum CoachNum {
Four = 0;