internal HudsonLedSygnalizer()
        {
            // Init led notifier
            _LedNotifier = new LedNotifier();
            _HudsonClient = new HudsonClient(new Uri(_HudsonUrl), _HudsonUserName, _HudsonUserPassword);

            // Init main timer
            _Timer = new Timer();
            _Timer.Interval = HudsonLedSygnalizerSettings.Default.MainInterval;
            _Timer.Elapsed += new ElapsedEventHandler(Timer_Elapsed);
            _Timer.Enabled = false;
        }
Beispiel #2
0
        internal HudsonLedSygnalizer()
        {
            // Init led notifier
            _LedNotifier  = new LedNotifier();
            _HudsonClient = new HudsonClient(new Uri(_HudsonUrl), _HudsonUserName, _HudsonUserPassword);

            // Init main timer
            _Timer          = new Timer();
            _Timer.Interval = HudsonLedSygnalizerSettings.Default.MainInterval;
            _Timer.Elapsed += new ElapsedEventHandler(Timer_Elapsed);
            _Timer.Enabled  = false;
        }