public AnalogicToggles(IEletricalComponent component)
 {
     _commands[0] = new TurnOnHeatCommand(component);
     _commands[1] = new TurnOnRadioCommand(component);
 }
Beispiel #2
0
 public DigitalDashboard(IEletricalComponent component)
 {
     _commands[0] = new TurnOnHeatCommand(component);
     _commands[1] = new TurnOnRadioCommand(component);
 }