Exemplo n.º 1
0
		public ElexolUSBModule()
		{
			_commandHandler = new ElexolUSBCommandHandler();
			DataPolicyFactory = new ElexolUSBDataPolicyFactory();

			//set 2 minute timer before retrying to access com port
			_retryTimer = new System.Timers.Timer(120000);
			_retryTimer.Elapsed += new ElapsedEventHandler(_retryTimer_Elapsed);
			_retryCounter = 0;
		}
Exemplo n.º 2
0
        public ElexolUSBModule()
        {
            _commandHandler   = new ElexolUSBCommandHandler();
            DataPolicyFactory = new ElexolUSBDataPolicyFactory();

            //set 2 minute timer before retrying to access com port
            _retryTimer          = new System.Timers.Timer(120000);
            _retryTimer.Elapsed += new ElapsedEventHandler(_retryTimer_Elapsed);
            _retryCounter        = 0;
        }