B2018-069 Revert PDF Location to default temporary folder when running baseline testing

This commit is contained in:
Rich 2018-05-07 16:04:17 +00:00
parent e4a99e09cf
commit 86c85bee58
2 changed files with 8 additions and 3 deletions

View File

@ -107,7 +107,11 @@ namespace VEPROMS
}
public string PDFPath
{
get { return txbPDFLocation.Text; }
get {// B2018-069 Revert to Temporary for Baseline testing
if (PromsPrinter.BaselineTesting)
return VlnSettings.TemporaryFolder;
return txbPDFLocation.Text;
}
set { txbPDFLocation.Text = value; }
}
public string RevDate

View File

@ -2124,8 +2124,8 @@ namespace VEPROMS
- Rich- WINDOWS7-RHM
- Paul- Paul-PC
- Michelle- Michelle-PC
- Harrys Mac- WIN-04QLPEH7JKH
- Harrys PC- Harry-7100
- Harrys Mac- WIN-04QLPEH7JKH
- Harrys PC- Harry-7100
- Caitlin- Caitlin-PC
*/
if ("|VOLIAN0|JCB2-HP|BODINE-64|WINDOWS7-RHM|PAUL-PC|MICHELLE-PC|WIN-O4QLPEH7JKH|HARRY-7100|CAITLIN-PC|".Contains("|" + Environment.UserDomainName.ToUpper() + "|"))
@ -2316,6 +2316,7 @@ namespace VEPROMS
{
if(parameter.StartsWith("/P="))
{
PromsPrinter.BaselineTesting = true;// Set Baseline Testing property for PROMsPrinter
string[] dvstrs = parameter.Substring(3).Split(",".ToCharArray());
foreach (string dvstr in dvstrs)
{