Skip to content

Commit bc3a13b

Browse files
committed
CC: delete obsolete parameters
1 parent 391e882 commit bc3a13b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/CruiseControl.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ public enum SpeedSelectorMode { Parking, Neutral, On, Start }
142142
public bool HasProportionalSpeedSelector = false;
143143
public bool SpeedSelectorIsDiscrete = false;
144144
public bool DoComputeNumberOfAxles = false;
145-
public bool DisableManualSwitchToManualWhenSetForceNotAtZero = false;
146-
public bool DisableManualSwitchToAutoWhenThrottleNotAtZero = false;
147145
public bool DisableManualSwitchToAutoWhenSetSpeedNotAtTop = false;
148146
public bool EnableSelectedSpeedSelectionWhenManualModeSet = false;
149147
public bool ModeSwitchAllowedWithThrottleNotAtZero = false;
@@ -254,8 +252,6 @@ public CruiseControl(CruiseControl other, MSTSLocomotive locomotive)
254252
TrainBrakeCommandHasPriorityOverCruiseControl = other.TrainBrakeCommandHasPriorityOverCruiseControl;
255253
HasIndependentThrottleDynamicBrakeLever = other.HasIndependentThrottleDynamicBrakeLever;
256254
HasProportionalSpeedSelector = other.HasProportionalSpeedSelector;
257-
DisableManualSwitchToManualWhenSetForceNotAtZero = other.DisableManualSwitchToManualWhenSetForceNotAtZero;
258-
DisableManualSwitchToAutoWhenThrottleNotAtZero = other.DisableManualSwitchToAutoWhenThrottleNotAtZero;
259255
DisableManualSwitchToAutoWhenSetSpeedNotAtTop = other.DisableManualSwitchToAutoWhenSetSpeedNotAtTop;
260256
EnableSelectedSpeedSelectionWhenManualModeSet = other.EnableSelectedSpeedSelectionWhenManualModeSet;
261257
SpeedSelectorIsDiscrete = other.SpeedSelectorIsDiscrete;
@@ -306,8 +302,6 @@ public void Parse(STFReader stf)
306302
case "disablecruisecontrolonthrottleandzerospeed": DisableCruiseControlOnThrottleAndZeroSpeed = stf.ReadBoolBlock(false); break;
307303
case "disablecruisecontrolonthrottleandzeroforce": DisableCruiseControlOnThrottleAndZeroForce = stf.ReadBoolBlock(false); break;
308304
case "disablecruisecontrolonthrottleandzeroforceandzerospeed": DisableCruiseControlOnThrottleAndZeroForceAndZeroSpeed = stf.ReadBoolBlock(false); break;
309-
case "disablemanualswitchtomanualwhensetforcenotatzero": DisableManualSwitchToManualWhenSetForceNotAtZero = stf.ReadBoolBlock(false); break;
310-
case "disablemanualswitchtoautowhenthrottlenotatzero": DisableManualSwitchToAutoWhenThrottleNotAtZero = stf.ReadBoolBlock(false); break;
311305
case "disablemanualswitchtoautowhensetspeednotattop": DisableManualSwitchToAutoWhenSetSpeedNotAtTop = stf.ReadBoolBlock(false); break;
312306
case "enableselectedspeedselectionwhenmanualmodeset": EnableSelectedSpeedSelectionWhenManualModeSet = stf.ReadBoolBlock(false); break;
313307
case "forcestepsthrottletable":

0 commit comments

Comments
 (0)