private void Tick(object sender, EventArgs e) { if (SleepState.IsStop()) { return; } EpgQueue epgQueue = RecTimer.GetInstance().GetEpgQueue(); if (epgQueue.Enable && epgQueue.Count > 0) { return; } if (this.GetNextTime() - DateTime.Now > new TimeSpan(0, 10, 0)) { this.Sleep(); } }
public EpgTask(Tuner tuner, EpgQueue epgQueue) { this.tuner = tuner; this.epgQueue = epgQueue; }