public void Run() { EnsureProjections(); _eventReader.StartReading(); _simulator.Start(); _console.ReadKey("Press any key to stop sample..."); Stop(); }
public void Run() { _projection.Ensure(); _eventReader.StartReading(); ReadCounter(); _deviceSimulator.Start(2, TimeSpan.FromSeconds(1)); _console.ReadKey(); Stop(); }
public void Run() { EnsureProjections(); _eventReader.StartReading(); ConfigureDevices(); _deviceSimulator.Start(4, TimeSpan.FromSeconds(1)); _console.ReadKey(); Stop(); }
public void Run() { ShowAverages(); EnsureProjections(); _eventReader.StartReading(); _deviceSimulator.Start(2, TimeSpan.FromMilliseconds(300)); _console.ReadKey("Press any key to stop sample..."); Stop(); ShowAverages(); }
private void Start() { _eventReader.StartReading(); _webServer.Start(); }