Example #1
0
        public static void InflateTiresToMaximum(string i_VehicleLicensePlate)
        {
            Vehicle vehicleToInflateTo = getVehicleDetailesByLicensePlate(i_VehicleLicensePlate).Vehicle;

            Wheel[] vehicleWheels = vehicleToInflateTo.Wheels;

            for (int i = 0; i < vehicleWheels.Length; i++)
            {
                Wheel.InflateAction(ref vehicleWheels[i]);
            }
        }