Aegis.IO.SerialPortWatcher.SerialPortWatcher C# (CSharp) Method

SerialPortWatcher() public method

public SerialPortWatcher ( ) : System
return System
        public SerialPortWatcher()
        {
            _pluggedPorts = new List<Tuple<SerialPort, object>>();
            _unpluggedPorts = new List<Tuple<SerialPort, object>>();

            _timer = new IntervalTimer(500, () => { Check(); });
            _timer.Start();
        }