修改:非通信车占用判定

This commit is contained in:
joylink_zhangsai 2021-07-05 17:12:53 +08:00
parent 2781568f82
commit 8099ee57e9

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.isFault() && section.getVirtualAxleCounter().isOccupy()){ } else if (Section.AxleFault.FAULT.equals(section.getFault()) && section.getVirtualAxleCounter().isOccupy()){
section.judgeAsNctOccupied(); section.judgeAsNctOccupied();
} }
// if (/*!section.isInvalid() &&*/ section.isNctOccupied()) { // if (/*!section.isInvalid() &&*/ section.isNctOccupied()) {