修改bug:通信车与非通信车占用区段未隔开

This commit is contained in:
joylink_zhangsai 2021-08-23 14:32:26 +08:00
parent 96ab9cd256
commit e4df304b10

View File

@ -392,8 +392,7 @@ public class MaService {
if (route != null) {
if (this.isSwitchFaultRoute(route, section)) {
// 道岔故障进路直接构建返回
ma = new Ma(train, section, MaType.Fault_Route);
break;
ma = this.checkAndUpdateMa(ma, new Ma(train, section, MaType.Fault_Route));
}
}
if (section.isClosed()) {