岔心校验bug
This commit is contained in:
parent
413a025023
commit
d399df63de
@ -383,7 +383,7 @@ public class MapDeviceBuilder {
|
||||
errMsgList.add(String.format("道岔区段[%s(%s)]有问题",
|
||||
section.getName(), section.getCode()));
|
||||
}
|
||||
if (section.isAxleCounterSection()) {
|
||||
if (section.isAxleCounterSection() && Objects.nonNull(section.getParent()) && section.getParent().isCross()) {
|
||||
Section leftSection = section.getLeftSection();
|
||||
if (Objects.nonNull(leftSection)) {
|
||||
if (!leftSection.isSwitchTrack()) {
|
||||
|
Loading…
Reference in New Issue
Block a user