道岔物理区段与计轴关系

This commit is contained in:
Yuan 2023-09-08 10:21:11 +08:00
parent 22085a33a8
commit 6d68372f2e

View File

@ -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)
);
});
}
}
}