private void TryTurnOffLamp() { if (CanTurnOffLamp()) { Lamp.ExecuteCommand(CommandFatory.TurnOffCommand); } }