public RemoteLoader()
 {
     remoteControl        = new RemoteControl();
     livingRoomLight      = new Light("Living Room Light");
     kitchenLight         = new Light("Kitchen Light");
     livingRoomCeilingFan = new CeilingFan("Living Room Ceiling Fan");
     garageDoor           = new Door("Garage Door");
     stereo = new Stereo("Stereo");
     Main();
 }
Пример #2
0
 public StereoOnForCdCommand(Stereo stereo)
 {
     this._stereo = stereo;
 }
Пример #3
0
 public StereoOffCommand(Stereo stereo)
 {
     this._stereo = stereo;
 }