区段与计轴关系读取
This commit is contained in:
parent
40ae549484
commit
a39f2120ab
@ -317,13 +317,15 @@ export class Section extends JlGraphic implements ILineGraphic {
|
||||
this.queryStore.queryById<TrackSection>(this.datas.trackSectionId)
|
||||
);
|
||||
}
|
||||
if (this.datas.axleCountings) {
|
||||
this.datas.axleCountings.forEach((id) => {
|
||||
this.relationManage.addRelation(
|
||||
this,
|
||||
this.queryStore.queryById<AxleCounting>(id)
|
||||
);
|
||||
});
|
||||
if (this.datas.sectionType === SectionType.TurnoutPhysical) {
|
||||
if (this.datas.axleCountings) {
|
||||
this.datas.axleCountings.forEach((id) => {
|
||||
this.relationManage.addRelation(
|
||||
this,
|
||||
this.queryStore.queryById<AxleCounting>(id)
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user