From 24517a1895749c1e5852c90b0c6b3f098b6c2499 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Wed, 27 Jul 2022 14:49:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=A1=8C=E8=BD=A6=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=8F=8D=E5=BA=8F=E5=88=97=E5=8C=96BUG=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../simulation/cbtc/data/storage/plan/StorageCtcRunPlanLog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/plan/StorageCtcRunPlanLog.java b/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/plan/StorageCtcRunPlanLog.java index 56feb8e8f..c075294ba 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/plan/StorageCtcRunPlanLog.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/plan/StorageCtcRunPlanLog.java @@ -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());