联锁检查添加新屏蔽门故障检查判断
This commit is contained in:
parent
1d60e2dd18
commit
14735fb16e
@ -237,7 +237,9 @@ public class CiService {
|
||||
// 屏蔽门
|
||||
if (!CollectionUtils.isEmpty(route.getPsdList())) {
|
||||
for (PSD psd : route.getPsdList()) {
|
||||
if(Stand.Fault.PSD_CANNOT_BE_CLOSED.equals(psd.getStand().getFault()) && !psd.getStand().isInterlockRelease()) {
|
||||
if ((Stand.Fault.PSD_CANNOT_BE_CLOSED.equals(psd.getStand().getFault()) ||
|
||||
Stand.Fault.NO_CLOSE_AND_LOCK.equals(psd.getStand().getFault())) &&
|
||||
!psd.getStand().isInterlockRelease()) {
|
||||
return Signal.LEVEL_Guide;
|
||||
}
|
||||
// if (!psd.isCloseAndLock() && !psd.isInterlockRelease()) {
|
||||
|
Loading…
Reference in New Issue
Block a user