【大铁CTC线路名称】

This commit is contained in:
weizhihong 2022-06-08 13:25:17 +08:00
parent a951c621d2
commit 11070c6aa4

View File

@ -335,11 +335,10 @@ public class SimulationBuilder {
return start + end; return start + end;
}; };
List<CtcStationRunPlanLog> ctcStationRunPlanLogList = new LinkedList<>(); List<CtcStationRunPlanLog> ctcStationRunPlanLogList = new LinkedList<>();
final String planLineName = "甲丙";
// 由于车次号是唯一标识地铁车次不适用这里只去一车次组的车次信息 // 由于车次号是唯一标识地铁车次不适用这里只去一车次组的车次信息
serverTripMap.values().stream().findFirst().stream().forEach(tripPlanList -> { serverTripMap.values().stream().findFirst().stream().forEach(tripPlanList -> {
tripPlanList.forEach(tripPlan -> { tripPlanList.forEach(tripPlan -> {
String planLineName = planLineNameFunction
.apply(tripPlan.getStartSection().getStation().getName(), tripPlan.getEndSection().getStation().getName());
CtcStationRunPlanLog ctcStationRunPlanLog = null; CtcStationRunPlanLog ctcStationRunPlanLog = null;
CtcStationRunPlanLog.RunPlanItem arriveRunPlanItem = null, departRunPlanItem = null; CtcStationRunPlanLog.RunPlanItem arriveRunPlanItem = null, departRunPlanItem = null;
StationPlan stationPlan, adjacentStationPlan; StationPlan stationPlan, adjacentStationPlan;