Skip to content

Commit c027307

Browse files
committed
chore: clarify use of the engine state variables for sound triggers
1 parent 127a70e commit c027307

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerSupplies/DieselPowerSupply.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,13 @@ public class DefaultDieselPowerSupply : DieselPowerSupply
163163
private Timer PowerOnTimer;
164164
private Timer AuxPowerOnTimer;
165165

166+
/// <remarks>
167+
/// Used for the corresponding first engine on/off sound triggers.
168+
/// </remarks>
166169
private DieselEngineState PreviousFirstEngineState;
170+
/// <remarks>
171+
/// Used for the corresponding second engine on/off sound triggers.
172+
/// </remarks>
167173
private DieselEngineState PreviousSecondEngineState;
168174

169175
private bool QuickPowerOn = false;

0 commit comments

Comments
 (0)