예제 #1
0
 public void Defrost()
 {
     _notification.StartNotification();
     _power.MicrowavePower = 1000;
     _drive.TurlRight(); _drive.TurlRight();
     _power.MicrowavePower = 500;
     _drive.Stop();
     _drive.TurlLeft();
     _drive.TurlLeft();
     _power.MicrowavePower = 200;
     _drive.Stop();
     _drive.TurlRight();
     _drive.TurlRight();
     _drive.Stop();
     _power.MicrowavePower = 0;
     _notification.StopNotification();
 }
예제 #2
0
 public void Making()
 {
     _notification.StartNotification();
     _time.Timing = 45;
     _ingredients.Ingredient();
     _ingredients.AddSugar();
     _ingredients.AddCream();
     _ingredients.AddMilk();
     _time.Timing = 30;
     _coffee.StartDrinding();
     _coffee.StopDrinding();
     _time.Timing = 15;
     _ingredients.AddWater();
     _time.Timing = 0;
     _notification.RedyCoffee();
     _notification.StopNotification();
 }