Пример #1
0
 public Calculation()
 {
     TimerCallback = ChangeBuffer;
     InitData();
     _dataProvider = DeviceDataProvider.GetProvider;
 }
 public MockImpulseInvoker()
 {
     _dataProvider = DeviceDataProvider.GetProvider;
     _random       = new Random();
     _timer        = new StoppableTimer(TimeSpan.FromSeconds(1), Callback);
 }