private void AnalyticModelCreatedCallback(IVehicleAnalyticModel result) { vehicleAnalyticModel = result; PsaDatasetPersistency retriever = new PsaDatasetPersistency(DatasetsRetrieved, ErrorCallback); retriever.GetAllForVehicle(vehicle.Vin); }
public void UpdateForVehicle(Vehicle veh) { this.vehicle = veh; if (vehicle == null) { data.Clear(); return; } if (vehicle is Vehicle) { PsaDatasetPersistency retriever = new PsaDatasetPersistency(DataRetrieved, ErrorCallback); retriever.GetAllForVehicle(vehicle.Vin); } else { throw new NotImplementedException(); } }