Beispiel #1
0
 private void SerialPrintThread()
 {
     while (true && !this._requestStop)
     {
         IPrintObject nextModl = PrintQueue.PopAJob();
         if (nextModl == null)
         {
             printEvent.WaitOne();
         }
         else
         {
             DoPrintJobWithModel(nextModl);
             Thread.Sleep(nextModl.Intervel() * 1000);
         }
     }
 }