Пример #1
0
 private void DisposeLastFileExporter()
 {
     if (null != this.fileExporter)
     {
         this.fileExporter.Dispose();
         this.fileExporter = null;
     }
     DBHelper.SaveCacheData();
 }
Пример #2
0
 private void CreateFileExporter(DetectionParamsItem paramsItem)
 {
     lock (this)
     {
         if (null == this.fileExporter)
         {
             this.fileExporter = new ExportBase(paramsItem.DataFilePath, paramsItem.IsAppended);
             this.LoadLastStopCount();
         }
     }
 }