Beispiel #1
0
 public void SetBatch(BatchProcess.BatchProcess batchProcess)
 {
     if (_batchProcess == null)
     {
         System.Diagnostics.Debug.WriteLine("Error in GrandScheduler.SetBatch() old batchProcess is still running.");
     }
     _batchProcess = batchProcess;
 }
 public void SetBatch(BatchProcess.BatchProcess batchProcess)
 {
     if(_batchProcess==null)
     {
         System.Diagnostics.Debug.WriteLine("Error in GrandScheduler.SetBatch() old batchProcess is still running.");
     }
     _batchProcess = batchProcess;
 }
 /// <summary>
 /// Is called, if result picture is created.
 /// Return true if new rendering should be startet.
 /// </summary>
 public bool PictureIsCreated(Iterate iter, PictureData pictureData)
 {
     if (_batchProcess!=null)
     {
         bool retVal= _batchProcess.OnPictureCreated( iter,  pictureData);
         if (!retVal)
             _batchProcess = null;
         return retVal;
     }
     return false;
 }