コード例 #1
0
        private bool DoneTrying()
        {
            ConfigurationBO        cbo       = (ConfigurationBO)SingletonManager.GetSingleton(typeof(ConfigurationBO));
            ConfigurationContainer container = cbo.CContainer;

            return(this.RetryCount > container.MaxRetryCount);
        }
コード例 #2
0
        public void ResetTimer()
        {
            this.QTimer.Stop();
            ConfigurationBO cbo = (ConfigurationBO)SingletonManager.GetSingleton(typeof(ConfigurationBO));

            this.QTimer.Interval = Convert.ToInt32(cbo.CContainer.WaitTime);
            this.QTimer.Start();
        }
コード例 #3
0
        public HandlerBO() : base()
        {
            this.Copier = new SimpleCopy();
            ConfigurationBO cbo = (ConfigurationBO)SingletonManager.GetSingleton(typeof(ConfigurationBO));

            this.QTimer           = new Timer(Convert.ToInt32(cbo.CContainer.WaitTime));
            this.QTimer.AutoReset = true;
            this.QTimer.Elapsed  += new ElapsedEventHandler(this.Timer_Tick);
        }