修改:计轴故障bug

This commit is contained in:
joylink_zhangsai 2021-07-05 16:14:38 +08:00
parent 889f45fe40
commit 343ce12cea

View File

@ -181,7 +181,7 @@ public class AtpSectionService {
//目前ARB故障才会导致ARB判定 //目前ARB故障才会导致ARB判定
if (Section.AxleFault.ARB.equals(section.getFault()) && section.getVirtualAxleCounter().isOccupy() && !sectionList.contains(section)) { if (Section.AxleFault.ARB.equals(section.getFault()) && section.getVirtualAxleCounter().isOccupy() && !sectionList.contains(section)) {
section.judgeAsARB(); section.judgeAsARB();
} else if (section.getVirtualAxleCounter().isOccupy() && sectionList.contains(section)){ } else if (section.getVirtualAxleCounter().isOccupy()){
section.judgeAsNctOccupied(); section.judgeAsNctOccupied();
} }
// if (/*!section.isInvalid() &&*/ section.isNctOccupied()) { // if (/*!section.isInvalid() &&*/ section.isNctOccupied()) {