Ejemplo n.º 1
0
 private void CarSelector_OnCarChanged(DISP_Car car)
 {
     CarNumber = car != null ? car.Car.CarNumber: "";
     OnPropertyChanged("EnableButton");
     OnClearHistory();
     HistoryRows.Clear();
     _loadedObdData.Clear();
 }
Ejemplo n.º 2
0
 private void StartLoadData()
 {
     HistoryRows.Clear();
     Vaiting = true;
     if (CarSelector.SelectedCar == null)
     {
         return;
     }
     CarNumber = CarSelector.SelectedCar.Car.CarNumber;
     //ReportsHandler.Instance.GetCompilateReport(CarSelector.SelectedCar.Car.Id, DateStart, DateStop);
     _handler.StartLoadHistory(CarSelector.SelectedCar.Car.Id, DateStart, DateStop);
 }
Ejemplo n.º 3
0
 private void CarSelector_OnCarChanged(DISP_Car car)
 {
     if (car == null)
     {
         return;
     }
     Position = new DISP_Car
     {
         Car = new SCarModel
         {
             CarNumber = car.Car.CarNumber,
             Id        = car.Car.Id
         }
     };
     HistoryRows.Clear();
     LoadData();
 }