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 User Login(string username, string password)
 {
     var dms = new Dms();
     var user = dms.Login(username, password);
     User = user;
     return user;
 }
Example #4
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));
     }    
 }