public void Execute() { prevSpeed = fan.GetSpeed(); fan.Off(); }
public void Execute() { prevSpeed = fan.GetSpeed(); fan.High(); }
public void Execute() { prevSpeed = fan.GetSpeed(); fan.Medium(); }
public void Excecute() { prevspeed = ceilingFan.GetSpeed(); ceilingFan.High(); }