Beispiel #1
0
        public void PerformCoalQualityImport(ModelImportStatus mos, System.IO.Stream bmFileStream, System.IO.Stream ffFileStream,
                                             ImportDataMap importMap, System.ComponentModel.BackgroundWorker backgroundWorker, Guid NKDProjectID,
                                             string connString, int numLines, bool checkForDuplicates, bool doImportOverwrite)
        {
            this.currentWorker = backgroundWorker;
            // talk to the import lib to do the import
            DateTime startTime = DateTime.Now;
            int      batchSize = 100;

            //UpdateStatus("Creating new NKD block model", 20.0);
            ImportUtils.CoalQualityImport cqImp = null;
            cqImp = new ImportUtils.CoalQualityImport();
            cqImp.AddCoalQualityData(mos, bmFileStream, importMap, batchSize, UpdateStatus, numLines, connString, NKDProjectID, checkForDuplicates, doImportOverwrite);
        }
Beispiel #2
0
        public void PerformCoalQualityImport(ModelImportStatus mos, System.IO.Stream bmFileStream, System.IO.Stream ffFileStream,
                                      ImportDataMap importMap, System.ComponentModel.BackgroundWorker backgroundWorker, Guid NKDProjectID,
                                      string connString, int numLines, bool checkForDuplicates, bool doImportOverwrite)
        {
            this.currentWorker = backgroundWorker;
            // talk to the import lib to do the import
            DateTime startTime = DateTime.Now;
            int batchSize = 100;
            //UpdateStatus("Creating new NKD block model", 20.0);
            ImportUtils.CoalQualityImport cqImp = null;
            cqImp = new ImportUtils.CoalQualityImport();
            cqImp.AddCoalQualityData(mos, bmFileStream, importMap, batchSize, UpdateStatus, numLines, connString, NKDProjectID, checkForDuplicates, doImportOverwrite);


        }