Squashed commit of the following:
All checks were successful
CI / Docker-Build (push) Successful in 2m34s

commit d784e2f0e6
Author: joylink_zhaoerwei <Bob_Engineer@163.com>
Date:   Wed Jun 19 10:56:19 2024 +0800

    一键关联集中站加道岔物理区段也关联

commit 00d413d494
Author: joylink_zhaoerwei <Bob_Engineer@163.com>
Date:   Wed Jun 19 09:56:52 2024 +0800

    1.生成计轴时删除区段有问题的计轴(区段延伸处)2.隐藏使用集中区分割线的其他线边界处3.隐藏数据校验
This commit is contained in:
joylink_zhaoerwei 2024-06-19 10:57:21 +08:00
parent 4fc4fa6c4f
commit 371755d2b5

View File

@ -794,6 +794,24 @@ function oneClickRelateCentralizedStation() {
}); });
}); });
handleCentralizedStationsData(otherLineListDevice, []); handleCentralizedStationsData(otherLineListDevice, []);
//--()
const turnoutPhysicalSections = drawApp.queryStore
.queryByType<Section>(Section.Type)
.filter(
(section) =>
section.datas.sectionType ==
graphicData.Section.SectionType.TurnoutPhysical
);
turnoutPhysicalSections.forEach((turnoutPhysicalSection) => {
const refAxleCounting = turnoutPhysicalSection.relationManage
.getRelationsOfGraphicAndOtherType(
turnoutPhysicalSection,
AxleCounting.Type
)[0]
.getOtherGraphic<AxleCounting>(turnoutPhysicalSection);
turnoutPhysicalSection.datas.centralizedStations =
refAxleCounting.datas.centralizedStations;
});
function handleNodeConWithSec( function handleNodeConWithSec(
relatedRef: graphicData.RelatedRef, relatedRef: graphicData.RelatedRef,