Example #1
0
        public void ToDms()
        {
            string projPath = Path.Combine(service.TestFolder, resultsFolderName, projectName);

            if (!Directory.Exists(projPath))
            {
                throw new DirectoryNotFoundException(projPath);
            }
            service.notifyStatus("Uploading...");
            Dms dms = new Dms();

            service.RunInNewThread(() => dms.DmsTransfer(projPath, this));
        }
Example #2
0
        public void ToDms()
        {
            var projPath = Path.Combine(service.Config.Computerinstallpath, resultsFolderName, projectName);

            if (!Directory.Exists(projPath))
            {
                throw new DirectoryNotFoundException(projPath);
            }
            service.NotifyStatus("This can take up to 10 minutes");
            var dms = new Dms();

            if (service.Config.StormDb == "0")
            {
                service.RunInNewThread(() => dms.BackupDMSTransfer(projPath, this));
            }
            else
            {
                service.RunInNewThread(() => dms.DmsTransfer(projPath, this));
            }
        }
Example #3
0
 public void ToDms()
 {
     var projPath = Path.Combine(service.Config.Computerinstallpath, resultsFolderName, projectName);
     if (!Directory.Exists(projPath))
     {
         throw new DirectoryNotFoundException(projPath);
     }
     service.NotifyStatus("This can take up to 10 minutes");
     var dms = new Dms();
         
     if(service.Config.StormDb == "0")
     {
         service.RunInNewThread(() => dms.BackupDMSTransfer(projPath, this));
     }
     else
     {
         service.RunInNewThread(() => dms.DmsTransfer(projPath, this));
     }    
 }