Test v2.49.2

Epi Pro support
nuget server name
This commit is contained in:
2023-05-22 12:13:19 -07:00
parent 8e5c8a24a1
commit add4414b89
4 changed files with 13 additions and 13 deletions

View File

@ -295,15 +295,15 @@ public partial class ProcessData : IProcessData
string employee = txt.Header.Operator;
DateTime dateTime = GetDateTime(logistics, tickOffset, txt.Header.DateTime);
// Remove illegal characters \/:*?"<>| found in the Batch
string batch = Regex.Replace(txt.Header.Batch, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
bool isWaferSlot = !string.IsNullOrEmpty(txt.Header.Wafer) && txt.Header.Wafer.Length is 1 or 2 && int.TryParse(txt.Header.Wafer, out slot);
bool isWaferSlot = !string.IsNullOrEmpty(txt.Header.Wafer) && txt.Header.Wafer.Length is 1 or 2 && int.TryParse(txt.Header.Wafer, out slot) && slot < 27;
string batch = !isWaferSlot ? logistics.JobID : Regex.Replace(txt.Header.Batch, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
Descriptor descriptor = isWaferSlot ? GetDescriptor(txt.Header.Batch) : GetDescriptor(txt.Header.Wafer);
psn = descriptor.PSN;
rds = descriptor.RDS;
zone = descriptor.Zone;
wafer = descriptor.Wafer;
layer = descriptor.Layer;
reactor = descriptor.Reactor;
wafer = isWaferSlot ? slot.ToString("00") : descriptor.Wafer;
if (string.IsNullOrEmpty(employee))
employee = descriptor.Employee;
foreach (char c in txt.Header.Title)
@ -318,13 +318,13 @@ public partial class ProcessData : IProcessData
}
if (string.IsNullOrEmpty(lastProcessData.Wafer))
{
lastProcessData.Batch = JobID;
lastProcessData.Cassette = JobID;
lastProcessData.Employee = JobID;
lastProcessData.Recipe = JobID;
lastProcessData.Title = JobID;
lastProcessData.Batch = logistics.JobID;
lastProcessData.Cassette = logistics.JobID;
lastProcessData.Employee = logistics.JobID;
lastProcessData.Recipe = logistics.JobID;
lastProcessData.Title = logistics.JobID;
}
lastProcessData.Wafer = wafer;
lastProcessData.Wafer = waferFixed.ToString();
lastProcessData.Reactor = reactor;
lastProcessData.RDS = rds;
string check = "--------";