计轴区段关联关系管理中添加道岔位置关系

This commit is contained in:
joylink_zhaoerwei 2023-07-12 10:41:28 +08:00
parent 37d73efc9d
commit 4427c51410

View File

@ -116,6 +116,17 @@ export class AxleCountingSection extends JlGraphic {
) )
); );
} }
if (this.datas?.turnoutPosRef.length) {
this.datas.turnoutPosRef.forEach((ref) => {
this.relationManage.addRelation(
this,
new GraphicRelationParam(
this.queryStore.queryById(ref.id),
ref.position
)
);
});
}
} }
} }