Beispiel #1
0
 public void handleRequest()
 {
     Console.WriteLine("Turning fan off...");
     fan.setState(fan.getFanOffState());
 }
Beispiel #2
0
 public void handleRequest()
 {
     Console.WriteLine("Turning fan on to low.");
     fan.setState(fan.getFanLowState());
 }
 public void handleRequest()
 {
     Console.WriteLine("Turning fan on to high...");
     fan.setState(fan.getFanHighState());
 }