private Task IdleCommandTrack() { train.ThrottleMinimal(); train.ThrottleSupport(); train.ThrottleIdle(); DelaySimulation.Wait(500); train.ThrottleRelease(); train.DynamicBrakeApply50(); DelaySimulation.Wait(500); train.DynamicBrakeRelease(); train.BrakesFullService(); return(Task.CompletedTask); }
private async Task IdleCommandTrack() { train.ThrottleMinimal(); train.ThrottleSupport(); train.ThrottleIdle(); await Task.Delay(5000); train.ThrottleRelease(); train.DynamicBrakeApply50(); await Task.Delay(2000); train.DynamicBrakeRelease(); train.BrakesFullService(); }