Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
        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();
        }