Squashed commit of the following:
All checks were successful
CI / Docker-Build (push) Successful in 2m34s
All checks were successful
CI / Docker-Build (push) Successful in 2m34s
commitd784e2f0e6
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Wed Jun 19 10:56:19 2024 +0800 一键关联集中站加道岔物理区段也关联 commit00d413d494
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Wed Jun 19 09:56:52 2024 +0800 1.生成计轴时删除区段有问题的计轴(区段延伸处)2.隐藏使用集中区分割线的其他线边界处3.隐藏数据校验
This commit is contained in:
parent
4fc4fa6c4f
commit
371755d2b5
@ -794,6 +794,24 @@ function oneClickRelateCentralizedStation() {
|
||||
});
|
||||
});
|
||||
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(
|
||||
relatedRef: graphicData.RelatedRef,
|
||||
|
Loading…
Reference in New Issue
Block a user