初始化-创建模型间的关系

This commit is contained in:
xzb 2023-07-17 14:53:31 +08:00
parent 5ead82f5bf
commit 04303f8802

View File

@ -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; //