MET08DDUPSFS6420 - v2.43.4 - Builtin MonA, Run with layer and
1T
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user