public void Initialize() { _timer = new Mock<ThreadingTimerWrapper>(); _settings=new WatchDogTimerSettings(10000); _watchDog = new WatchDogTimer(_timer.Object, _settings); _tokenSource=new Mock<CancellationTokenSourceWrapper>(); }
internal CMProxyState(CMProxy proxy) { _proxy = proxy; _ardResponseFac = new ArduinoResponseFactory(); Wdt = new WatchDogTimer(Callback); Wdt.LimitTime = WdtLimitTime; }
public void Initialize() { _timer = new Mock <ThreadingTimerWrapper>(); _settings = new WatchDogTimerSettings(10000); _watchDog = new WatchDogTimer(_timer.Object, _settings); _tokenSource = new Mock <CancellationTokenSourceWrapper>(); }