轨道区段
This commit is contained in:
parent
269cba242a
commit
0c23c16549
@ -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; // 关联的岔芯对应的道岔id,此时该逻辑区段为该道岔C端关联的轨道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;
|
||||
|
Loading…
Reference in New Issue
Block a user