Exemplo n.º 1
0
        private void DoWork(object state)
        {
            _controlUnit.InitiateControl();
            _pressureContainer.UpdatePressure();
            var pressure = _pressureSensor.GetValue();

            _reactorHub.Clients.All.SendAsync("pressureUpdate", pressure);
        }