修改头码车默认运行时间
This commit is contained in:
parent
d99901c568
commit
2a7d83d198
@ -135,7 +135,7 @@ public class AtsHeadTrainStageService implements AtsStageService {
|
|||||||
float distance = routePaths.stream().min(Comparator.comparingDouble(RoutePath::calculateDistance)).get().calculateDistance();
|
float distance = routePaths.stream().min(Comparator.comparingDouble(RoutePath::calculateDistance)).get().calculateDistance();
|
||||||
return (int) (distance / (45 / 3.6));
|
return (int) (distance / (45 / 3.6));
|
||||||
}
|
}
|
||||||
return 120;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Section queryNextPlanSection(SimulationDataRepository repository, Section headSection, TrainInfo trainInfo) {
|
public static Section queryNextPlanSection(SimulationDataRepository repository, Section headSection, TrainInfo trainInfo) {
|
||||||
|
Loading…
Reference in New Issue
Block a user