public Vehicle(string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel) { Name = nameCar; TypeOfVehicle = typesOfVehicle; TypeOfColor = typesOfColor; Color = colors; TypeOfEngine = typesOfEngine; TypeOfFuel = typesOfFuel; }
public HardTruck(TypesOfTruck typeOfTruck, int weight, string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel, double engineCapacity, double averageFuelСonsumption, int yearOfRelease, string vincode) : base(nameCar, typesOfVehicle, typesOfColor, colors, typesOfEngine, typesOfFuel, engineCapacity, averageFuelСonsumption, yearOfRelease, vincode) { TypeOfTruck = typeOfTruck; Weight = weight; }
public Vehicle(string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel, double engineCapacity, double averageFuelСonsumption, int yearOfRelease, string vincode) { Name = nameCar; TypeOfVehicle = typesOfVehicle; TypeOfColor = typesOfColor; Color = colors; TypeOfEngine = typesOfEngine; TypeOfFuel = typesOfFuel; EngineCapacity = engineCapacity; AverageFuelСonsumption = averageFuelСonsumption; YearOfRelease = yearOfRelease; Vincode = vincode; }
public RaceCar(double averageRate, string nameOfTeam, string captainName, double totalCost, int amountOfRaceStaff, int amountOfTrackStaff, string owningCompanyName, string representingCompanyName, string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel, double engineCapacity, double upTo100, double averageFuelСonsumption, int amountOfSeats, int amountOfDoors, int yearOfRelease, string vincode) : base(nameCar, typesOfVehicle, typesOfColor, colors, typesOfEngine, typesOfFuel, engineCapacity, averageFuelСonsumption, amountOfSeats, amountOfDoors, yearOfRelease, vincode) { UpTo100 = upTo100; AverageRate = averageRate; NameOfTeam = nameOfTeam; CaptainName = captainName; TotalCost = totalCost; AmountOfRaceStaff = amountOfRaceStaff; AmountOfTrackStaff = amountOfTrackStaff; OwningCompanyName = owningCompanyName; RepresentingCompanyName = representingCompanyName; }
public Vehicle(string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel, double engineCapacity, int weight, double upTo100, double averageFuelСonsumption, int amountOfSeats, int yearOfRelease, string vincode) { name = nameCar; TypeOfVehicle = typesOfVehicle; TypeOfColor = typesOfColor; Color = colors; TypeOfEngine = typesOfEngine; TypeOfFuel = typesOfFuel; EngineCapacity = engineCapacity; Weight = weight; UpTo100 = upTo100; AverageFuelСonsumption = averageFuelСonsumption; AmountOfSeats = amountOfSeats; YearOfRelease = yearOfRelease; Vincode = vincode; }
public RaceCar(string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel) : base(nameCar, typesOfVehicle, typesOfColor, colors, typesOfEngine, typesOfFuel) { }
public Car(string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel, double engineCapacity, double averageFuelСonsumption, int amountOfSeats, int amountOfDoors, int yearOfRelease, string vincode) : base(nameCar, typesOfVehicle, typesOfColor, colors, typesOfEngine, typesOfFuel, engineCapacity, averageFuelСonsumption, yearOfRelease, vincode) { AmountOfSeats = amountOfSeats; AmountOfDoors = amountOfDoors; }
public Helicopter(int liftingCapacity, TypesOfHelicopters typeOfHelicopter, TypesOfProperty typesOfProperty, string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel, double engineCapacity, double averageFuelСonsumption, int amountOfSeats, int amountOfDoors, int yearOfRelease, string vincode) : base(nameCar, typesOfVehicle, typesOfColor, colors, typesOfEngine, typesOfFuel, engineCapacity, averageFuelСonsumption, yearOfRelease, vincode) { TypeOfHelicopter = typeOfHelicopter; TypeOfProperty = typesOfProperty; LiftingCapacity = liftingCapacity; }