修改大铁调车进路生成逻辑
This commit is contained in:
parent
0e4f0b7b83
commit
b4470f92c9
@ -405,11 +405,11 @@ public class DraftMapRouteServiceImpl implements DraftMapRouteService {
|
||||
}
|
||||
} else { //反向信号机
|
||||
if (destination.equals(last.getSignalOf(!right))) {
|
||||
sections.remove(i);
|
||||
// sections.remove(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
sections.remove(i);
|
||||
sections.remove(i); //最后一个区段上没有与终端信号机相同的信号机
|
||||
}
|
||||
//添加进路
|
||||
Route route = new Route(routeCodeGenerator.next(), "D_" + signal.getShowName() + "-" + destination.getShowName());
|
||||
|
Loading…
Reference in New Issue
Block a user