修改:非通信车占用判定
This commit is contained in:
parent
2781568f82
commit
8099ee57e9
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user