Exemplo n.º 1
0
    public Bus(double fuelQuantity, double fuelConsumption, double tankCapacity)

        : base(fuelQuantity, fuelConsumption, tankCapacity)

    {
        this.airConditionerCondition = AirConditionerCondition.On;
    }
Exemplo n.º 2
0
 public void SwitchOffAirConditioner()
 {
     this.airConditionerCondition = AirConditionerCondition.Off;
 }
Exemplo n.º 3
0
 public void SwitchOnAirConditioner()
 {
     this.airConditionerCondition = AirConditionerCondition.On;
 }
Exemplo n.º 4
0
 public Bus(double fuelQuantity, double litersPerKm, double tankCapacity) : base(fuelQuantity, litersPerKm, tankCapacity)
 {
     this.air = AirConditionerCondition.On;
 }