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