/// <summary> /// Constructor. /// </summary> public IHSEngine() { Devices = new ObservableCollection <IHSDevice>(); DeviceInfo = new IHSDeviceInfo(); SensorReadings = new IHSSensorReadings(); Gps = new IHSGps(); }
public IHSSensorReadingsHandler(IHSSensorReadings sensorReadings, IHSGps Gps, GattDeviceService gnImuService, GattDeviceService gnGPSservice, GattDeviceService gnSystemService) { _sensorReadings = sensorReadings; _gpsReading = Gps; _gnImuService = gnImuService; _gnGPSservice = gnGPSservice; _gnSystemService = gnSystemService; GetGattCharacteristicsForImuService(); GetGattCharacteristicsForGPSService(); SensorsListenedTo = Sensors.None; }