Start() public method

public Start ( ) : void
return void
コード例 #1
0
        public SerialPortWatcher()
        {
            _pluggedPorts = new List<Tuple<SerialPort, object>>();
            _unpluggedPorts = new List<Tuple<SerialPort, object>>();

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