初始化-创建模型间的关系
This commit is contained in:
parent
5ead82f5bf
commit
04303f8802
@ -127,7 +127,7 @@ message AxleCounting {
|
||||
CommonInfo common = 1;
|
||||
string code = 2; // 名称
|
||||
KilometerSystem kilometerSystem = 3; //公里标
|
||||
repeated RelatedRef axleCountingRef = 4; // 计轴关联的区段和道岔
|
||||
repeated RelatedRef axleCountingRef = 4; // 计轴关联的物理区段和道岔
|
||||
int32 index = 5; //计轴的索引编号
|
||||
}
|
||||
|
||||
@ -141,7 +141,7 @@ message AxleCounting {
|
||||
// string code = 2;
|
||||
// }
|
||||
|
||||
message Turnout {
|
||||
message Turnout {//(后端不关注)
|
||||
CommonInfo common = 1;
|
||||
string code = 2;
|
||||
repeated Point pointA = 6; // A端坐标列表
|
||||
@ -180,8 +180,8 @@ message Section {
|
||||
CommonInfo common = 1;
|
||||
string code = 2; // 编号
|
||||
repeated Point points = 3; // 点列表
|
||||
RelatedRef paRef = 4; // 区段A端关联的设备(非岔区)
|
||||
RelatedRef pbRef = 5; // 区段B端关联的设备(非岔区)
|
||||
RelatedRef paRef = 4; // 区段A端关联的设备(非岔区)(后端不关注)
|
||||
RelatedRef pbRef = 5; // 区段B端关联的设备(非岔区)(后端不关注)
|
||||
SectionType sectionType = 6; // 区段类型
|
||||
repeated string axleCountings = 7; // 区段对应的计轴
|
||||
int32 index = 8; // 索引
|
||||
@ -234,8 +234,8 @@ 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)
|
||||
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; // 索引编号
|
||||
|
Loading…
Reference in New Issue
Block a user