Exemplo n.º 1
0
        public Module()
        {
            _commandHandler   = new CommandHandler();
            DataPolicyFactory = new RenardDataPolicyFactory();

            //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 Module()
        {
            _commandHandler = new CommandHandler();
            DataPolicyFactory = new RenardDataPolicyFactory();

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