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;
 }
Esempio n. 2
0
 //Constructor
 public Vehicle(string newMake, string newModel, eVehicleCondition newCondition, double newPrice)
 {
     make      = newMake;
     model     = newModel;
     condition = newCondition;
     price     = newPrice;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 //Constructor
 public Car(string make, string model, eVehicleCondition condition, double price, int passengerCapacity) : base(make, model, condition, price)
 {
     PassengerCapacity = passengerCapacity;
 }
Esempio n. 5
0
 //Constructor
 public Bike(string make, string model, eVehicleCondition condition, double price, int engineCapacity) : base(make, model, condition, price)
 {
     EngineCapacity = engineCapacity;
 }
Esempio n. 6
0
 //Constructor
 public Truck(string make, string model, eVehicleCondition condition, double price, int cargoCapacity) : base(make, model, condition, price)
 {
     CargoCapacity = cargoCapacity;
 }