Beispiel #1
0
 public void Execute()
 {
     _garageDoor.LightOn();
     _garageDoor.Down();
     _garageDoor.Stop();
     _garageDoor.LightOff();
 }
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.On();
     garageDoor.LightOn();
 }
 public void Undo()
 {
     door.Stop();
 }
Beispiel #4
0
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }