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