MET08DDUPSFS6420 - v2.43.4 - Builtin MonA, Run with layer and

1T
This commit is contained in:
2022-09-13 09:02:32 -07:00
parent f8ca86e5a0
commit ba0a3d65d1
11 changed files with 516 additions and 9 deletions

View File

@ -271,8 +271,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;
@ -290,11 +293,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;