屏蔽门故障只对非CTC进路有效

This commit is contained in:
Jade 2021-12-14 17:42:08 +08:00
parent 8c7b9f6f89
commit 7047768aa9

View File

@ -262,7 +262,7 @@ public class CiService {
} }
} }
// 屏蔽门 // 屏蔽门
if (!CollectionUtils.isEmpty(route.getPsdList())) { if (!CollectionUtils.isEmpty(route.getPsdList()) && !route.getStart().isCbtcMode()) {
for (PSD psd : route.getPsdList()) { for (PSD psd : route.getPsdList()) {
if ((Stand.Fault.PSD_CANNOT_BE_CLOSED.equals(psd.getStand().getFault()) || if ((Stand.Fault.PSD_CANNOT_BE_CLOSED.equals(psd.getStand().getFault()) ||
Stand.Fault.NO_CLOSE_AND_LOCK.equals(psd.getStand().getFault())) && Stand.Fault.NO_CLOSE_AND_LOCK.equals(psd.getStand().getFault())) &&