Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
walker_sheng 2022-07-27 14:55:04 +08:00
commit eee106a1c9

View File

@ -53,7 +53,7 @@ public class StorageCtcRunPlanLog {
ctcRunPlanParam.setElectrical(runPlanLog.isElectrical());
}
ctcRunPlanParam.setTransfinite(runPlanLog.getTransfinite());
if (runPlanLog.getPassenger().equals(CtcStationRunPlanLog.PlanPropertiesType.PASSENGER)) {
if (CtcStationRunPlanLog.PlanPropertiesType.PASSENGER.equals(runPlanLog.getPassenger())) {
ctcRunPlanParam.setPassenger(true);
}
ctcRunPlanParam.setKeyTrains(runPlanLog.getKeyTrains());