修改ZC默认关联的区段筛选bug

This commit is contained in:
joylink_zhangsai 2021-12-07 15:47:41 +08:00
parent 2433e7d813
commit 2e09968362

View File

@ -325,7 +325,7 @@ public class MapDeviceBuilder {
elementMap.values().stream() elementMap.values().stream()
.filter(element -> element instanceof Section) .filter(element -> element instanceof Section)
.map(element -> (Section) element) .map(element -> (Section) element)
.filter(Section::isAxleCounterSection) .filter(Section::isAxleCounter)
.forEach(section -> { .forEach(section -> {
zc.addSection(section); zc.addSection(section);
section.addZc(zc); section.addZc(zc);