示例#1
0
 public void Execute()
 {
     prevSpeed = fan.GetSpeed();
     fan.Off();
 }
示例#2
0
 public void Execute()
 {
     prevSpeed = fan.GetSpeed();
     fan.High();
 }
示例#3
0
 public void Execute()
 {
     prevSpeed = fan.GetSpeed();
     fan.Medium();
 }
 public void Excecute()
 {
     prevspeed = ceilingFan.GetSpeed();
     ceilingFan.High();
 }