Exemplo n.º 1
0
        public async Task <IActionResult> PutCarDetails(int id, CarDetails carDetails)
        {
            if (id != carDetails.PMId)
            {
                return(BadRequest());
            }

            _context.Entry(carDetails).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!CarDetailsExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }
Exemplo n.º 2
0
        public string CarResigtration(CarDetails oDetails)
        {
            DataTable dt = new DataTable();
            ConnectionStringSettings objCSS = ConfigurationManager.ConnectionStrings["ConnectionString"];

            using (SqlConnection objCnn = new SqlConnection(objCSS.ConnectionString))
            {
                using (SqlCommand objCmd = new SqlCommand())
                {
                    objCmd.Connection  = objCnn;
                    objCmd.CommandType = CommandType.StoredProcedure;
                    objCmd.CommandText = "SP_CAR_REGISTRATION";
                    objCmd.Parameters.Add(new SqlParameter("@FLAG", "CAR_REGISTRATION"));
                    objCmd.Parameters.Add(new SqlParameter("@CAR_NAME", oDetails.CarName));
                    objCmd.Parameters.Add(new SqlParameter("@CAR_IMAGE", oDetails.CarImagePath));
                    objCmd.Parameters.Add(new SqlParameter("@CAR_RATE", oDetails.CarRateHourly));
                    objCmd.Parameters.Add(new SqlParameter("@REGISTERED_BY", 1));

                    objCmd.CommandTimeout = 0;
                    SqlDataAdapter objDa = new SqlDataAdapter(objCmd);
                    objDa.Fill(dt);
                }
            }

            return(dt.Rows[0]["Result"].ToString());;
        }
Exemplo n.º 3
0
    static public void Main()
    {
        CarDetails[] myCars = new CarDetails[2];
        string       make;
        string       model;
        int          year;
        string       color;

        for (int i = 0; i < myCars.Length; i++)
        {
            Console.WriteLine("Entre detalhes para o carro {0}: ", i + 1);
            Console.Write("Marca: ");
            make = Console.ReadLine();
            Console.Write("Modelo: ");
            model = Console.ReadLine();
            Console.Write("Ano: ");
            year = GetNumber();
            Console.Write("Cor: ");
            color = Console.ReadLine();

            myCars[i] = new CarDetails(make, model, year, color);
        }

        Console.Clear();

        for (int i = 0; i < myCars.Length; i++)
        {
            myCars[i].PrintDetails();
        }
    }
Exemplo n.º 4
0
		public void init(CarDetails aCarDetailsScreen,GTCar aCarToReplace) {
			GarageManager.REF.interfacePanel.gameObject.SetActive(false);
			
			GarageCameraController camController = GameObject.Find("Main Camera").GetComponent<GarageCameraController>();
			btnBuyCar = GameObject.Find ("BtnBuyCar").GetComponent<UIButton>();
			camController.lookAtThis = GameObject.Find ("GarageCenter");
			GameObject g = GameObject.Find("CameraPathForCarOnSale");
			GameObject lbl = GameObject.Find ("lblDivisionLabel");
			centerLight = GameObject.Find ("Center Car Spotlight");
			lblDivisionLabel = lbl.GetComponent<UILabel>();
			if(g!=null) {
				CameraPath cp = g.GetComponent<CameraPath>();
				cp.enabled = true;
				
				CameraPathAnimator cpa = g.GetComponent<CameraPathAnimator>();
				cpa.enabled = true;
			}
			Lean.LeanTouch.OnFingerSwipe += OnFingerSwipe;
			_carToReplace = aCarToReplace;
			_carDetailsScreen = aCarDetailsScreen;
			GTTeam team = ChampionshipSeason.ACTIVE_SEASON.getUsersTeam();
			int division = ChampionshipSeason.ACTIVE_SEASON.leagueForTeam(team).divisionNumber;
			int i = 0;
			for(i = 0;i<CarDatabase.REF.cars.Count;i++) {
				if(CarDatabase.REF.cars[i].leagueRequired>=division) {
					continue;
				} else {
					
					break;
				}
			}
			i--;
			currentIndex = i;
			showCar(currentIndex);
		}
Exemplo n.º 5
0
        public async Task <ActionResult <CarDetails> > PostCarDetails(CarDetails carDetails)
        {
            _context.CarDetails.Add(carDetails);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetCarDetails", new { id = carDetails.PMId }, carDetails));
        }
        static void Main(string[] args)
        {
            List <Polygon> polygons = new List <Polygon>();

            polygons.Add(new Polygon());
            polygons.Add(new Rectangle());
            polygons.Add(new Triangle());

            foreach (Polygon p in polygons)
            {
                p.Draw();
            }

            //Inheritance Example
            Rectangle2 R = new Rectangle2(5, 4);

            Console.WriteLine(R.GetArea());

            //Interface Example
            Console.WriteLine("Enter the Car model:");
            string model = Console.ReadLine();

            Console.WriteLine("Enter the Car company:");
            string     company = Console.ReadLine();
            CarDetails c       = new CarDetails();

            c.Get(model, company);
            c.Display();
            Console.ReadKey();
        }
        void UpdateBattleCamera(DataSample data)
        {
            if (data.Telemetry.SessionTimeSpan <= cameraChangeTime)
            {
                return;
            }

            cameraChangeTime = data.Telemetry.SessionTimeSpan + this.battleCameraChangePeriod;

            var otherCar = ChangeCarForCamera(data, battleFollower);

            var cameraSet = otherCar == null ? new [] { CameraAngle.LookingInfrontOfCar, CameraAngle.LookingAtCar } : new [] { CameraAngle.LookingInfrontOfCar, CameraAngle.LookingBehindCar, CameraAngle.LookingAtCar };

            camera         = cameraControl.FindACamera(cameraSet, adjustedCamera, 2);
            adjustedCamera = null;

            if (camera.CameraAngle == CameraAngle.LookingBehindCar)
            {
                TraceInfo.WriteLine("{0} Changing to forward car, with reverse camera", data.Telemetry.SessionTimeSpan);
                car = otherCar;
            }
            else
            {
                car = battleFollower;
            }
            TraceInfo.WriteLine("{0} Changing camera to driver: {1}; camera: {2}", data.Telemetry.SessionTimeSpan, car.UserName, camera.CameraName);
            cameraControl.CameraOnDriver(car.CarNumberRaw, camera.CameraNumber);
        }
Exemplo n.º 8
0
 public async Task OnGetAsync()
 {
     if (!string.IsNullOrEmpty(SearchString))
     {
         CarDetails = CarDetails.Where(t => t.Name.Contains(SearchString)).ToList();
     }
 }
Exemplo n.º 9
0
        private void SetProposedDate()
        {
            try
            {
                Int32              intCarID      = Convert.ToInt32(Request.QueryString["DtlID"]);
                CarDetails         objCarDetails = new CarDetails();
                Details_Milestones objMileStones = new Details_Milestones();

                objMileStones.CarID   = intCarID;
                objMileStones.Propsed = Convert.ToDateTime(txtPropDate.Text);
                //objValveManipulation.Size = txtSize.Text;
                //objValveManipulation.PresentStatus = txtPresentStatus.Text;
                //objValveManipulation.Proposed_Status = txtProposedStatus.Text;
                //objValveManipulation.Status_After_the_Activity = txtStatusAfActivity.Text;
                if (objCarDetails.SetProposedDate(objMileStones) == true)
                {
                    Page.ClientScript.RegisterStartupScript(this.GetType(), "JsFunc", "javascript:RefreshParent();", true);
                }
                else
                {
                }
            }
            catch (Exception err)
            {
            }
        }
        public string saveImage(CarDetails oDetail)
        {
            string isSaved = "";

            try
            {
                string FileName      = Path.GetFileNameWithoutExtension(oDetail.CarImageFile.FileName);
                string FileExtension = Path.GetExtension(oDetail.CarImageFile.FileName);

                if (FileExtension.ToString() == ".jpeg" || FileExtension.ToString() == ".jpg" || FileExtension.ToString() == ".png")
                {
                    FileName             = DateTime.Now.ToString("yyyyMMdd") + "-" + FileName.Trim() + FileExtension;
                    oDetail.CarImagePath = Server.MapPath("~/CarImages/") + FileName;
                    oDetail.CarImageFile.SaveAs(oDetail.CarImagePath);
                    isSaved = "1";
                }
                else
                {
                    isSaved = "File format not supported.";
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(isSaved);
        }
        public static bool FinishedLap(CarDetails currentCarDetails)
        {
            bool reachedFinishedLine = Distance(StartLine, currentCarDetails.CarLocationData.Location) < 50.00;
            bool isFirstRecording    = (Math.Abs(currentCarDetails.PreviousLapTime - currentCarDetails.CarLocationData.TimeStamp) / 1000.00) > 30.00;

            return(reachedFinishedLine && isFirstRecording);
        }
Exemplo n.º 12
0
    static void Main()
    {
        CarDetails[] mycars = new CarDetails[10];
        string       make;
        string       model;
        int          year;
        string       colour;
        string       rego;

        for (int i = 0; i < mycars.Length; i++)
        {
            Console.WriteLine("Enter details for car {0}: ", i + 1);
            Console.Write("Make: ");
            make = Console.ReadLine();
            Console.Write("Model: ");
            model = Console.ReadLine();
            Console.Write("Year: ");
            year = Convert.ToInt32(Console.ReadLine());
            Console.Write("Colour: ");
            colour = Console.ReadLine();
            Console.Write("Registration Number: ");
            rego = Console.ReadLine();

            mycars[i] = new CarDetails(make, model, year, colour, rego);
        }

        Console.Clear();
        for (int i = 0; i < mycars.Length; i++)
        {
            mycars[i].PrintDetails();
        }
    }
Exemplo n.º 13
0
        private static int?GetPositionFor(DataSample data, CarDetails carDetails)
        {
            var car = carDetails.Car(data);

            if (data.Telemetry.RaceDistance > 1.10)
            {
                return(car.Position);
            }

            var session = data.SessionData.SessionInfo.Sessions.Qualifying();

            if (session == null || session.ResultsPositions == null)
            {
                return(null);
            }

            var qualifyingResult = session.ResultsPositions.FirstOrDefault(p => p.CarIdx == car.CarIdx);

            if (qualifyingResult == null)
            {
                return(null);
            }

            return((int)qualifyingResult.Position);
        }
Exemplo n.º 14
0
        public void Generate_CarEvent_Payload()
        {
            CarDetails carDetails = JsonConvert.DeserializeObject <CarDetails>(FirstCarAddedPayload);

            Event actualResult = carDetails.GenerateCarEvent(EventType.LapComplete);

            Assert.AreEqual(ExpectedCarEvent, actualResult.ToString());
        }
Exemplo n.º 15
0
        public void Generate_Speed_CarStatus_Payload()
        {
            CarDetails carDetails = JsonConvert.DeserializeObject <CarDetails>(FirstCarAddedPayload);

            CarStatus actualResult = carDetails.GenerateCarStatusPayload(StatusPayloadType.Speed);

            Assert.AreEqual(ExpectedSpeedCarStatus, actualResult.ToString());
        }
 /// <summary>
 /// Orders all cars positions and returns the current cars position
 /// </summary>
 /// <param name="currentCarInformation"></param>
 /// <returns></returns>
 private int ReorderAllCarsAndGetCurrentCarsPosition(CarDetails currentCarInformation)
 {
     return(_allCarDetailsCache.Values
            .OrderByDescending(x => x.LapNumber)
            .ThenByDescending(x => x.DistancedTraveled)
            .Select(x => x.CarIndex).ToList()
            .IndexOf(currentCarInformation.CarIndex) + 1);
 }
        public ActionResult DeleteCar(CarDetails car)
        {
            var deletecar = db.CarDetails.FirstOrDefault(s => s.Id == car.Id);

            db.CarDetails.Remove(deletecar);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
Exemplo n.º 18
0
    static void Main()
    {
        string     filename = "cars.txt";
        CarDetails c1       = new CarDetails("Honda", "Civic", 2006, "red", "345RGT");

        Console.Clear();
        c1.PrintDetails(filename);
    }
Exemplo n.º 19
0
        public async Task <ActionResult> CreateOffer(CarView view)
        {
            ImageModel model = new ImageModel();

            model.ImageFile = Request.Files["ImageFile"];
            string fileName  = Path.GetFileNameWithoutExtension(model.ImageFile.FileName.ToString());
            string extension = Path.GetExtension(model.ImageFile.FileName);

            fileName        = fileName + DateTime.Now.ToString("yymmssfff") + extension;
            model.ImagePath = "~/Images/" + fileName;
            fileName        = Path.Combine(Server.MapPath("~/Images/"), fileName);
            model.ImageFile.SaveAs(fileName);
            var user = await UserManager.FindByIdAsync(User.Identity.GetUserId());

            var details = new CarDetails()
            {
                AccelTime   = Convert.ToDecimal(view.accel, System.Globalization.CultureInfo.InvariantCulture),
                CarType     = view.cartype,
                CurbWeight  = Convert.ToDecimal(view.curb, System.Globalization.CultureInfo.InvariantCulture),
                DriveType   = view.drive,
                EngineType  = view.engine,
                GasMileage  = Convert.ToDecimal(view.gas, System.Globalization.CultureInfo.InvariantCulture),
                GearboxType = view.gear,
                Power       = Convert.ToInt32(view.power),
                Price       = Convert.ToDecimal(view.price, System.Globalization.CultureInfo.InvariantCulture),
                TopSpeed    = Convert.ToInt32(view.top),
                Torque      = Convert.ToInt32(view.torque)
            };

            var imagesList = new List <ImageModel>();

            imagesList.Add(model);
            var carList = new List <Car>();

            var car = new Car()
            {
                Brand             = view.brand,
                Model             = view.model,
                YearOfManufacture = Convert.ToInt32(view.yom),
                CarDetails        = details,
                ImageModels       = imagesList
            };

            carList.Add(car);
            var offer = new Offer()
            {
                Name  = view.name,
                Price = Convert.ToDecimal(view.price, System.Globalization.CultureInfo.InvariantCulture),
                Cars  = carList
            };

            user.Offers.Add(offer);
            await UserManager.UpdateAsync(user);

            return(Redirect(Request.UrlReferrer.ToString()));
        }
Exemplo n.º 20
0
        // Created By PVMS
        // Handle Select index change event for Event dropdown
        protected void ddlEvent_OnSelectedIndexChanged(object sender, EventArgs e)
        {
            CarDetails          objCarDetails   = new CarDetails();
            List <ActivityType> objActivityType = objCarDetails.GetActivityType(Convert.ToInt32(ddlEvent.SelectedValue));

            ddlAct.DataSource     = objActivityType;
            ddlAct.DataValueField = "ID";
            ddlAct.DataTextField  = "ActivityType1";
            ddlAct.DataBind();
        }
Exemplo n.º 21
0
        // Created By PVMS
        // Handle Select index change event for BusinessZone dropdown
        protected void ddlBusinessZone_OnSelectedIndexChanged(object sender, EventArgs e)
        {
            CarDetails         objCarDetails = new CarDetails();
            List <DMZFacility> objDMZ        = objCarDetails.GetDMZ(Convert.ToInt32(ddlBusinessZone.SelectedValue));

            ddlDMZ.DataSource     = objDMZ;
            ddlDMZ.DataValueField = "ID";
            ddlDMZ.DataTextField  = "DMZ_Facility";
            ddlDMZ.DataBind();
        }
Exemplo n.º 22
0
        public async Task AddCarAndDetails(Car car, CarDetails details)
        {
            _context.CarDetails.Add(details);
            await _context.SaveChangesAsync();

            car.Details = details;

            _context.Cars.Add(car);
            await _context.SaveChangesAsync();
        }
Exemplo n.º 23
0
    static void Main()
    {
        string filename = "cars.txt";

        File.Delete(filename);
        CarDetails c1 = new CarDetails("Audi", "A3", 2014, "black", "EF63XVG");

        Console.Clear();
        c1.PrintDetails(filename);
    }
        public IHttpActionResult GetCarDetails(int id)
        {
            CarDetails carDetails = db.CarDetail.Find(id);

            if (carDetails == null)
            {
                return(NotFound());
            }

            return(Ok(carDetails));
        }
Exemplo n.º 25
0
        public CarDetails FetchAllCars(string location, string startdate, string enddate, string pickuptime, string dropofftime)
        {
            try
            {
                carDetails = new CarDetails();
                XmlDocument doc = new XmlDocument();
                using (var client = new HttpClient())
                {
                    client.BaseAddress = new Uri("http://api.hotwire.com/v1/search/car");
                    string urlParams = "?apikey=8mgjwdbgs6pxuupdwmje72uu&dest=" + location + "&startdate=" + startdate + "&resultType=N&enddate=" + enddate + "&pickuptime=" + pickuptime + "&dropofftime=" + dropofftime;
                    // client.DefaultRequestHeaders.Accept.Clear();
                    // client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json"));

                    var response = client.GetAsync(urlParams).Result;
                    if (response.IsSuccessStatusCode)
                    {
                        responseString = response.Content.ReadAsStringAsync().Result;
                        doc.LoadXml(responseString);

                        if (doc.DocumentElement.ChildNodes[0].ChildNodes.Count == 0)
                        {
                            GetCarTypesDetails(doc);
                            carDetails.carResults = GetCarDetails(doc);
                        }

                        else
                        {
                            Exceptions exceptions = new Exceptions();
                            exceptions.ExceptionMessage = doc.DocumentElement.ChildNodes[0].ChildNodes[0].ChildNodes[1].InnerText.ToString();
                            carDetails.carResults       = null;
                            carDetails.ExceptionDetails = exceptions;
                        }
                    }

                    else
                    {
                        Exceptions exceptions = new Exceptions();
                        exceptions.ExceptionMessage = "Car Service API was not called successfully";
                        carDetails.carResults       = null;
                        carDetails.ExceptionDetails = exceptions;
                    }
                }

                return(carDetails);
            }
            catch (Exception ex)
            {
                Exceptions exceptions = new Exceptions();
                exceptions.ExceptionMessage = "Error in FetchAllCars() :" + ex.InnerException;
                carDetails.carResults       = null;
                carDetails.ExceptionDetails = exceptions;
                return(carDetails);
            }
        }
Exemplo n.º 26
0
        private void addCarInfo()
        {
            carDetailsSQL CarDetails   = new carDetailsSQL();
            CarDetails    CarDetailsFB = new CarDetails();

            CarDetails.markaVozila      = markaVozila.Text;
            CarDetails.tipVozila        = tipVozila.Text;
            CarDetails.godina           = godinaProizvodnje.Text;
            CarDetails.modelVozila      = modelVozila.Text;
            CarDetails.tipMotora        = tipMotora.Text;
            CarDetails.snagaMotora      = snagaMotora.Text;
            CarDetails.zapremninaMotora = zapremninaMotora.Text;
            CarDetails.carName          = carName.Text;
            CarDetails.uid = id;

            CarDetailsFB.markaVozila      = markaVozila.Text;
            CarDetailsFB.tipVozila        = tipVozila.Text;
            CarDetailsFB.godina           = godinaProizvodnje.Text;
            CarDetailsFB.modelVozila      = modelVozila.Text;
            CarDetailsFB.tipMotora        = tipMotora.Text;
            CarDetailsFB.snagaMotora      = snagaMotora.Text;
            CarDetailsFB.zapremninaMotora = zapremninaMotora.Text;
            CarDetailsFB.uid = id;

            try
            {
                //insert user

                con.db.Insert(CarDetails);
                var firebase = new FirebaseClient(FirebaseURL);
                var item     = firebase.Child("car").Child(id).Child(carName.Text).PutAsync(CarDetailsFB);
                Toast.MakeText(this, "Uspješno ste dodali automobil", ToastLength.Long).Show();
            }
            catch (System.Exception)
            {
                if (!string.IsNullOrEmpty(getCarName))
                {
                    var firebase = new FirebaseClient(FirebaseURL);
                    var item     = firebase.Child("car").Child(id).Child(carName.Text).PutAsync <CarDetails>(CarDetailsFB);

                    con.db.Execute("UPDATE carDetailsSQL SET markaVozila = '" + CarDetails.markaVozila + "', tipVozila = '" + CarDetails.tipVozila + "', godina = '" + CarDetails.godina + "'," +
                                   " modelVozila = '" + CarDetails.modelVozila + "', tipMotora = '" + CarDetails.tipMotora + "', snagaMotora = '" + CarDetails.snagaMotora + "'," +
                                   " zapremninaMotora = '" + CarDetails.zapremninaMotora + "' WHERE uid = '" + id + "' ");
                    Toast.MakeText(this, "Spremljeno", ToastLength.Long).Show();
                }

                if (string.IsNullOrEmpty(getCarName))
                {
                    Toast.MakeText(this, "Već ste dodali automobil s ovim skraćenim nazivom", ToastLength.Long).Show();
                    carName.SetTextColor(Android.Graphics.Color.Red);
                    allGood = false;
                }
            }
        }
        public IHttpActionResult PostCarDetails(CarDetails carDetails)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            db.CarDetail.Add(carDetails);
            db.SaveChanges();

            return(CreatedAtRoute("DefaultApi", new { id = carDetails.ID }, carDetails));
        }
Exemplo n.º 28
0
        public async Task CarTapped(object eventArgs)
        {
            var args          = eventArgs as Syncfusion.ListView.XForms.ItemTappedEventArgs;
            var carMake       = (args.ItemData as APICarModel).MakeName;
            var carModel      = (args.ItemData as APICarModel).ModelName;
            var pdf           = PDFServices.CreatePDF(carMake, carModel);
            var CarDetailPage = new CarDetails();
            var CarDetailVM   = new CarDetailViewModel(pdf);

            CarDetailPage.BindingContext = CarDetailVM;
            await Application.Current.MainPage.Navigation.PushAsync(CarDetailPage);
        }
Exemplo n.º 29
0
 // Start is called before the first frame update
 void Start()
 {
     manager.Start();
     foreach (Transform child in transform)
     {
         obj = child.GetComponent <CarDetails>();
         cars.Add(obj);
     }
     currentindex  = 0;
     cashtext.text = gameManger.player.cash.ToString();
     updatecar();
 }
Exemplo n.º 30
0
        /// <summary>
        /// 发布车源
        /// </summary>
        /// <param name="details"></param>
        /// <returns></returns>
        public int AddCarDetails(CarDetails details)
        {
            using (IDbConnection conn = new OracleConnection(strcon))
            {
                string sql = string.Format("insert into cardetails(brandid,carcolorid,displacement,seat,address,details,stock,price,times,iscollection) values('{0}','{1}','{2}','{3}','{4}','{5}','{6}','{7}','{8}',0)", details.Brandid, details.Carcolorid, details.Displacement, details.Seat, details.Address, details.Details, details.Stock, details.Price, details.Times);

                //int i = 1;1232

                var Idetails = conn.Execute(sql);
                return(Idetails);
            }
        }
Exemplo n.º 31
0
 private void GenerateData()
 {
     CarDetails.Add(new CarModelDetails("Beetle", 36700, 178, 28));
     CarDetails.Add(new CarModelDetails("Fox", 23970, 170, 23));
     CarDetails.Add(new CarModelDetails("Polo", 34675, 160, 22));
     CarDetails.Add(new CarModelDetails("Golf", 44950, 180, 36));
     CarDetails.Add(new CarModelDetails("GolfPlus", 74950, 150, 18));
     CarDetails.Add(new CarModelDetails("Jetta", 37300, 190, 25));
     CarDetails.Add(new CarModelDetails("Passat", 40765, 175, 26));
     CarDetails.Add(new CarModelDetails("Scirocco", 23799, 150, 22));
     CarDetails.Add(new CarModelDetails("Touran", 49400, 160, 29));
     CarDetails.Add(new CarModelDetails("Phaeton", 25149, 165, 22));
 }
Exemplo n.º 32
0
	public CarDetails createCarDetailsScreen(GameObject aLastScreen,GTCar aCar,bool aShowButtons) {
		destroyCarDetailsScreen();
		GameObject g = NGUITools.AddChild(GameObject.Find ("UI Root"),prefabCarDetails.gameObject);
		carDetailsScreen = g.GetComponent<CarDetails>();
		carDetailsScreen.initCar(aCar);
		if(!aShowButtons) {
			carDetailsScreen.disableButtons();
		}
		return carDetailsScreen;
	}