Exemple #1
0
        public void PerformAssayImport(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.AssayImport assImp = null;
            assImp = new ImportUtils.AssayImport();
            assImp.AddAssayData(mos, bmFileStream, importMap, batchSize, UpdateStatus, numLines, connString, NKDProjectID, checkForDuplicates, doImportOverwrite);
        }
Exemple #2
0
        public void PerformAssayImport(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.AssayImport assImp = null;
            assImp = new ImportUtils.AssayImport();
            assImp.AddAssayData(mos, bmFileStream, importMap, batchSize, UpdateStatus, numLines, connString, NKDProjectID, checkForDuplicates, doImportOverwrite);


        }