Esempio n. 1
0
 public Car(
     string i_OwnersName,
     string i_OwnersPhone,
     string i_Model,
     string i_RegistrationPlate,
     Energy i_EnergyType,
     float i_EnergyLevel,
     float i_CurrentAirPressure,
     string i_ManufacturerName,
     GarageENums.eVehicleType i_VehicleType,
     Car.eCarColor i_CarColor,
     Car.eNumberOfCarDoors i_NumberOfDoors)
     : base(
         i_OwnersName,
         i_OwnersPhone,
         i_Model,
         i_RegistrationPlate,
         i_EnergyType,
         i_EnergyLevel,
         k_CarWheelsNumber,
         i_ManufacturerName,
         i_CurrentAirPressure,
         k_CarWheelMaxPressure,
         i_VehicleType)
 {
     m_CarColor      = i_CarColor;
     m_NumberOfDoors = i_NumberOfDoors;
 }
Esempio n. 2
0
 public FuelCar(
     string i_OwnersName,
     string i_OwnersPhone,
     string i_Model,
     string i_RegistrationPlate,
     float i_EnergyLevel,
     float i_CurrentAirPressure,
     string i_ManufacturerName,
     Car.eCarColor i_CarColor,
     Car.eNumberOfCarDoors i_NumberOfDoors)
     : base(
         i_OwnersName,
         i_OwnersPhone,
         i_Model,
         i_RegistrationPlate,
         new FuelTank(k_FuelTankCapacity, i_EnergyLevel, k_FuelType),
         i_EnergyLevel,
         i_CurrentAirPressure,
         i_ManufacturerName,
         k_VehicleType,
         i_CarColor,
         i_NumberOfDoors)
 {
 }
Esempio n. 3
0
 public ElectricCar(
     string i_OwnersName,
     string i_OwnersPhone,
     string i_Model,
     string i_RegistrationPlate,
     float i_EnergyLevel,
     float i_CurrentAirPressure,
     string i_ManufacturerName,
     Car.eCarColor i_CarColor,
     Car.eNumberOfCarDoors i_NumberOfDoors)
     : base(
         i_OwnersName,
         i_OwnersPhone,
         i_Model,
         i_RegistrationPlate,
         new ElectricBattery(k_MaxChargeTime, i_EnergyLevel),
         i_EnergyLevel,
         i_CurrentAirPressure,
         i_ManufacturerName,
         k_VehicleType,
         i_CarColor,
         i_NumberOfDoors)
 {
 }