public SelectSensorsViewModel() { IsBusy = true; sensorList = new ObservableCollection <Sensor>(); sensorService = new SensorServices(this); //MessagingCenter.Send(this, "StopTSensorConnection"); //MessagingCenter.Send(this, "StartTSensorConnection"); //sensorList = sensorService.GetSensors(); // mockup data todo remove later sensorService.RefreshSensors(); // todo måste köras på egen tråd för att inte crascha på iOS SensorList.CollectionChanged += SensorList_CollectionChanged; }
public List <Sensor> Get() { SensorServices.GetSensors("a"); return(new List <Sensor>()); }
public SensorController(SensorServices SensorService) { _SensorService = SensorService; }
public Engine() { this.sensorServices = new SensorServices(); }