道岔物理区段与计轴关系
This commit is contained in:
parent
22085a33a8
commit
6d68372f2e
@ -316,14 +316,19 @@ export class Section extends JlGraphic implements ILineGraphic {
|
||||
);
|
||||
}
|
||||
if (this.datas.trackSectionId) {
|
||||
console.log(
|
||||
this.queryStore.queryById<TrackSection>(this.datas.trackSectionId)
|
||||
);
|
||||
this.relationManage.addRelation(
|
||||
this,
|
||||
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)
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user