MET08DDUPSP1TBI - v2.43.4 - Builtin MonA,

Run with layer and 1T
This commit is contained in:
2022-09-07 12:38:37 -07:00
parent 90c44cffbb
commit 65b4ae1463
15 changed files with 859 additions and 185 deletions

View File

@ -478,8 +478,11 @@ public class ProcessData : IProcessData
}
else
{
employee = string.Empty;
// Remove illegal characters \/:*?"<>| found in the Lot.
lot = Regex.Replace(text, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
if (lot.StartsWith("1T") || lot.StartsWith("1t"))
lot = lot.Substring(2);
string[] segments = lot.Split('-');
if (segments.Length == 0)
reactor = defaultReactor;
@ -497,11 +500,7 @@ public class ProcessData : IProcessData
if (segments.Length <= 2)
psn = defaultPSN;
else
psn = segments[2];
if (segments.Length <= 3)
employee = string.Empty;
else
employee = segments[3];
psn = segments[2].Split('.')[0];
}
result = new(employee, lot, psn, rds, reactor);
return result;