protected override void OnStop() { if (!UnderPowerMonitorScheduler.GetInstance().IsShutdown) { UnderPowerMonitorScheduler.GetInstance().Shutdown(false); } }
protected override void OnContinue() { UnderPowerMonitorScheduler.GetInstance().ResumeAll(); base.OnContinue(); }
protected override void OnPause() { UnderPowerMonitorScheduler.GetInstance().PauseAll(); base.OnPause(); }
protected override void OnStart(string[] args) { UnderPowerMonitorScheduler.GetInstance().Start(); }