Ejemplo n.º 1
0
        private void GetReadInterval()
        {
            int result = 0;

            try
            {
                result = channel.GetReadInterval(this.Id);
            }
            catch (System.Exception ex)
            {
                logger.LogException(LogLevel.Info, string.Format("MonitoringAIO.GetReadInterval.{0}", this.Id), ex);
                return;
            }
            if (result > 0)
            {
                this.TimerInterval = new TimeSpan(0, 0, 0, result);
            }
        }