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

1T
This commit is contained in:
2022-09-13 08:47:55 -07:00
parent 5d15be7ce2
commit b76b7e0ab1
14 changed files with 540 additions and 6 deletions

View File

@ -245,6 +245,8 @@ public class ProcessData : IProcessData
{
// 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;
@ -284,6 +286,10 @@ public class ProcessData : IProcessData
else
employee = segments[4];
}
if (layer.Length > 1 && layer[0] == '0')
layer = layer.Substring(1);
if (zone.Length > 1 && zone[0] == '0')
zone = zone.Substring(1);
result = new(employee, layer, lot, psn, rds, reactor, zone);
return result;
}