public Oven(Lamp lightLevel, Status state = Status.off, int temperature = 0) { State = state; Temperature = temperature; LightLevel = lightLevel; }
public Fridge(string name, int consumption, Lamp lightLevel, int temperature = 0) : base(name, consumption) { Temperature = temperature; _lightLevel = lightLevel; }