Ejemplo n.º 1
0
 public void AddNewVehicleDataToGarage(VehicleDetails i_NewVehicle)
 {
     this.Vehicles.Add(i_NewVehicle.Vehicle.LicensePlate, i_NewVehicle);
 }
Ejemplo n.º 2
0
        public void ChangeCarStatus(string i_key, VehicleDetails.eVehicleStatus i_Pick)
        {
            VehicleDetails vehicleToChange = this.GetVehicleDetails(i_key);

            vehicleToChange.Status = i_Pick;
        }
Ejemplo n.º 3
0
        public Vehicle GetVehicle(string i_LicensePlate)
        {
            VehicleDetails vehicle = GetVehicleDetails(i_LicensePlate);

            return(vehicle.Vehicle);
        }