public void Undo()
 {
     garageDoor.Close();
 }
示例#2
0
 public void Execute()
 {
     _garageDoor.Close();
 }
 public void Undo()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
 public void Execute()
 {
     _door.Close();
 }
示例#5
0
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
示例#6
0
 public void Undo()
 {
     door.Close();
 }