生成计轴不过滤计轴
This commit is contained in:
parent
ff2f7655bf
commit
b02f57d1f8
@ -162,16 +162,11 @@ export class AxleCountingDraw extends GraphicDrawAssistant<
|
||||
1
|
||||
);
|
||||
});
|
||||
//由区段生成计轴--区段和区段
|
||||
//由区段生成计轴--区段和区段或区段和道岔
|
||||
const sections = this.app.queryStore
|
||||
.queryByType<Section>(Section.Type)
|
||||
.filter((section) => {
|
||||
return (
|
||||
section.relationManage.getRelationsOfGraphicAndOtherType(
|
||||
section,
|
||||
AxleCounting.Type
|
||||
).length < 2 && section.datas.sectionType == SectionType.Physical
|
||||
);
|
||||
return section.datas.sectionType == SectionType.Physical;
|
||||
});
|
||||
|
||||
sections.forEach((section) => {
|
||||
|
Loading…
Reference in New Issue
Block a user