File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Simulation/RollingStocks/SubSystems Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ public abstract class TrainControlSystem : AbstractTrainScriptClass
223223 /// <summary>
224224 /// Get doors state
225225 /// </summary>
226- public Func < DoorSide , DoorState > DoorState ;
226+ public Func < DoorSide , DoorState > CurrentDoorState ;
227227 /// <summary>
228228 /// Returns throttle percent
229229 /// </summary>
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ public void Initialize()
362362 }
363363 } ;
364364 Script . ArePantographsDown = ( ) => Locomotive . Pantographs . State == PantographState . Down ;
365- Script . DoorState = ( side ) => Locomotive . Train . DoorState ( Locomotive . Flipped ^ Locomotive . GetCabFlipped ( ) ? Doors . FlippedDoorSide ( side ) : side ) ;
365+ Script . CurrentDoorState = ( side ) => Locomotive . Train . DoorState ( Locomotive . Flipped ^ Locomotive . GetCabFlipped ( ) ? Doors . FlippedDoorSide ( side ) : side ) ;
366366 Script . ThrottlePercent = ( ) => Locomotive . ThrottleController . CurrentValue * 100 ;
367367 Script . MaxThrottlePercent = ( ) => MaxThrottlePercent ;
368368 Script . DynamicBrakePercent = ( ) => Locomotive . DynamicBrakeController == null ? 0 : Locomotive . DynamicBrakeController . CurrentValue * 100 ;
You can’t perform that action at this time.
0 commit comments