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