示例#1
0
 private void DisposeLastFileExporter()
 {
     if (null != this.fileExporter)
     {
         this.fileExporter.Dispose();
         this.fileExporter = null;
     }
     RSDBHelper.SaveCacheData();
 }
示例#2
0
 private void CreateFileExporter(DetectionParamsItem paramsItem)
 {
     lock (this)
     {
         if (null == this.fileExporter)
         {
             this.fileExporter = new RSExportBase(paramsItem.DataFilePath, paramsItem.IsAppended);
             this.LoadLastStopCount();
         }
     }
 }