internal VehicleInRepair(string i_OwnerName, string i_PhoneNumberOfOwner, List <string> i_DataMemory, SupportVehicle.eVehicleType i_VehicleType) { r_TypeOfVehicle = SupportVehicle.CreateVehicle(i_DataMemory, i_VehicleType); m_Owner = i_OwnerName; m_PhoneNumberOfOwner = i_PhoneNumberOfOwner; m_VehicleCondition = eVehicleCondition.inRepair; }
//Constructor public Vehicle(string newMake, string newModel, eVehicleCondition newCondition, double newPrice) { make = newMake; model = newModel; condition = newCondition; price = newPrice; }
public VehicleInformation(string i_OwnerName, string i_OwnerTelephone, Vehicle i_Vehicle) { m_OwnerName = i_OwnerName; m_OwnerTelephone = i_OwnerTelephone; m_Vehicle = i_Vehicle; m_VehicleCondition = eVehicleCondition.Repair; }
//Constructor public Car(string make, string model, eVehicleCondition condition, double price, int passengerCapacity) : base(make, model, condition, price) { PassengerCapacity = passengerCapacity; }
//Constructor public Bike(string make, string model, eVehicleCondition condition, double price, int engineCapacity) : base(make, model, condition, price) { EngineCapacity = engineCapacity; }
//Constructor public Truck(string make, string model, eVehicleCondition condition, double price, int cargoCapacity) : base(make, model, condition, price) { CargoCapacity = cargoCapacity; }