public IGetResponse GetMeasuredData() { Log.Trace("GetMeasuredData"); return(new GetResponse( GetResponse.ResponseStatus.OK, MeasuredData.GetMeasuredData())); }
public SensorsWorker(int delay) { readingWorker = new BackgroundWorker(); readingWorker.WorkerSupportsCancellation = true; readingWorker.DoWork += ReadingWorker_DoWork; this.readingDelay = delay; basicData = OverviewData.GetOverviewData(); detailData = MeasuredData.GetMeasuredData(); }