Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message
This commit is contained in:
commit
551f341746
@ -21,7 +21,7 @@ message RtssGraphicStorage {
|
||||
repeated Separator separators = 14;
|
||||
repeated SectionLink sectionLinks = 15;
|
||||
repeated AxleCountingSection axleCountingSections = 16;
|
||||
repeated AxleCountingSection logicSections = 17;
|
||||
repeated LogicSection logicSections = 17;
|
||||
}
|
||||
|
||||
message Canvas {
|
||||
@ -125,6 +125,7 @@ message AxleCounting {
|
||||
string code = 2;
|
||||
KilometerSystem kilometerSystem = 3; //公里标
|
||||
repeated RelatedRef axleCountingRef = 4; // 关联的设备
|
||||
int32 indexNumber = 5; //计轴的索引编号
|
||||
}
|
||||
|
||||
message Train {
|
||||
@ -164,20 +165,21 @@ message Signal {
|
||||
KilometerSystem kilometerSystem = 6;
|
||||
}
|
||||
|
||||
/** 物理区段(包含岔区和非岔区) */
|
||||
message Section {
|
||||
enum SectionType {
|
||||
Physical = 0;
|
||||
Logic = 1;
|
||||
TurnoutPhysical = 2;
|
||||
}
|
||||
|
||||
CommonInfo common = 1;
|
||||
string code = 2;
|
||||
repeated Point points = 3;
|
||||
RelatedRef paRef = 4; // 区段A端关联的设备
|
||||
RelatedRef pbRef = 5; // 区段B端关联的设备
|
||||
string code = 2; // 编号
|
||||
repeated Point points = 3; // 点列表
|
||||
RelatedRef paRef = 4; // 区段A端关联的设备(非岔区)
|
||||
RelatedRef pbRef = 5; // 区段B端关联的设备(非岔区)
|
||||
SectionType sectionType = 6; // 区段类型
|
||||
repeated string children = 7; // 物理区段的下属逻辑区段/道岔物理区段的下属道岔
|
||||
repeated string axleCountings = 7; // 区段对应的计轴
|
||||
int32 index = 8; // 索引
|
||||
}
|
||||
|
||||
message KilometerPoint {
|
||||
@ -193,6 +195,7 @@ message RelatedRef {
|
||||
Turnout = 1;
|
||||
TrainWindow = 2;
|
||||
AxleCounting = 3;
|
||||
SectionLink = 4;
|
||||
}
|
||||
|
||||
enum DevicePort {
|
||||
@ -209,7 +212,7 @@ message RelatedRef {
|
||||
//与道岔的位置关系
|
||||
message TurnoutPosRef {
|
||||
string id = 1; //道岔的ID
|
||||
int32 position= 2; //道岔的正反为,0是正位,1是反位
|
||||
int32 position = 2; //道岔的正反为,0是正位,1是反位
|
||||
}
|
||||
|
||||
message Separator { // 分隔符
|
||||
@ -218,11 +221,24 @@ message Separator { // 分隔符
|
||||
string separatorType = 3;
|
||||
}
|
||||
|
||||
message SimpleRef{
|
||||
enum DeviceType {
|
||||
Turnout = 0;
|
||||
AxleCounting = 1;
|
||||
}
|
||||
DeviceType deviceType = 1;
|
||||
string id = 2;
|
||||
}
|
||||
|
||||
message SectionLink {
|
||||
CommonInfo common = 1;
|
||||
string code = 2;
|
||||
repeated Point points = 3;
|
||||
string refDevice = 4;
|
||||
bool up = 4;
|
||||
SimpleRef aSimRef = 5;
|
||||
SimpleRef bSimRef = 6;
|
||||
RelatedRef aRef = 7;
|
||||
RelatedRef bRef = 8;
|
||||
}
|
||||
|
||||
message AxleCountingSection { // 计轴区段
|
||||
@ -231,5 +247,15 @@ message AxleCountingSection { // 计轴区段
|
||||
repeated Point points = 3;
|
||||
RelatedRef paRef = 4; // 区段A端关联的设备
|
||||
RelatedRef pbRef = 5; // 区段B端关联的设备
|
||||
repeated TurnoutPosRef turnoutPos=6; //关联道岔的正反位
|
||||
repeated TurnoutPosRef turnoutPos = 6; //关联道岔的正反位
|
||||
int32 indexNumber = 7; //区段的索引编号
|
||||
}
|
||||
|
||||
message LogicSection { // 逻辑区段
|
||||
CommonInfo common = 1;
|
||||
string code = 2;
|
||||
repeated Point points = 3;
|
||||
string axleSectionId = 4; // 关联的计轴区段Id
|
||||
int32 indexNumber = 5; // 索引编号
|
||||
string turnoutId = 6; // 关联的岔芯对应的道岔id
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user