protected override void ProcessSysTimerTick() { base.ProcessSysTimerTick(); if (!Settings.sysAutoRefreshData) return; if (RefreshDataProc == null) { RefreshDataProc = new common.TimerProcess(); RefreshDataProc.WaitInSeconds = Settings.sysGlobal.RefreshDataInSecs; RefreshDataProc.OnProcess += new common.TimerProcess.OnProcessEvent(RefreshData); } if (RefreshDataProc.IsEndWaitTime()) RefreshDataProc.Execute(); if (RefreshAlertProc == null) { RefreshAlertProc = new common.TimerProcess(); RefreshAlertProc.WaitInSeconds = Settings.sysGlobal.CheckAlertInSeconds; RefreshAlertProc.OnProcess += new common.TimerProcess.OnProcessEvent(RefreshAlert); } if (RefreshAlertProc.IsEndWaitTime()) RefreshAlertProc.Execute(); }