2.49.0
Removed 24 hour filter for missing header Added MesEntity to file name for OI
This commit is contained in:
@ -328,7 +328,17 @@ public partial class ProcessData : IProcessData
|
||||
string defaultLayer = string.Empty;
|
||||
string defaultReactor = string.Empty;
|
||||
string defaultEmployee = string.Empty;
|
||||
if (string.IsNullOrEmpty(text) || (text.Length is 2 or 3 && Regex.IsMatch(text, "^[a-zA-z]{2,3}")))
|
||||
if (Regex.IsMatch(text, @"^[a-zA-z][0-9]{4}$"))
|
||||
{
|
||||
wafer = text.ToUpper();
|
||||
psn = defaultPSN;
|
||||
rds = defaultRDS;
|
||||
zone = defaultZone;
|
||||
layer = defaultLayer;
|
||||
reactor = defaultReactor;
|
||||
employee = defaultEmployee;
|
||||
}
|
||||
else if (string.IsNullOrEmpty(text) || (text.Length is 2 or 3 && Regex.IsMatch(text, "^[a-zA-z]{2,3}")))
|
||||
{
|
||||
wafer = text;
|
||||
employee = text;
|
||||
@ -419,41 +429,38 @@ public partial class ProcessData : IProcessData
|
||||
reactor = descriptor.Reactor;
|
||||
if (employee != wafer)
|
||||
employee = descriptor.Employee;
|
||||
if (logistics.DateTimeFromSequence > DateTime.Now.AddHours(-24))
|
||||
if (string.IsNullOrEmpty(lastProcessData.Wafer))
|
||||
{
|
||||
if (string.IsNullOrEmpty(lastProcessData.Wafer))
|
||||
{
|
||||
lastProcessData.Batch = JobID;
|
||||
lastProcessData.Cassette = JobID;
|
||||
lastProcessData.Employee = JobID;
|
||||
lastProcessData.Recipe = JobID;
|
||||
lastProcessData.Title = JobID;
|
||||
}
|
||||
lastProcessData.Wafer = wafer;
|
||||
lastProcessData.Reactor = reactor;
|
||||
lastProcessData.RDS = rds;
|
||||
string check = "--------";
|
||||
if (string.IsNullOrEmpty(batch) || batch.Contains(check))
|
||||
batch = lastProcessData.Batch;
|
||||
else
|
||||
lastProcessData.Batch = batch;
|
||||
if (string.IsNullOrEmpty(cassette) || cassette.Contains(check))
|
||||
cassette = lastProcessData.Cassette;
|
||||
else
|
||||
lastProcessData.Cassette = cassette;
|
||||
if (string.IsNullOrEmpty(employee) || employee.Contains(check))
|
||||
employee = lastProcessData.Employee;
|
||||
else
|
||||
lastProcessData.Employee = employee;
|
||||
if (string.IsNullOrEmpty(recipe) || recipe.Contains(check))
|
||||
recipe = lastProcessData.Recipe;
|
||||
else
|
||||
lastProcessData.Recipe = recipe;
|
||||
if (string.IsNullOrEmpty(title) || title.Contains(check))
|
||||
title = lastProcessData.Title;
|
||||
else
|
||||
lastProcessData.Title = title;
|
||||
lastProcessData.Batch = JobID;
|
||||
lastProcessData.Cassette = JobID;
|
||||
lastProcessData.Employee = JobID;
|
||||
lastProcessData.Recipe = JobID;
|
||||
lastProcessData.Title = JobID;
|
||||
}
|
||||
lastProcessData.Wafer = wafer;
|
||||
lastProcessData.Reactor = reactor;
|
||||
lastProcessData.RDS = rds;
|
||||
string check = "--------";
|
||||
if (string.IsNullOrEmpty(batch) || batch.Contains(check))
|
||||
batch = lastProcessData.Batch;
|
||||
else
|
||||
lastProcessData.Batch = batch;
|
||||
if (string.IsNullOrEmpty(cassette) || cassette.Contains(check))
|
||||
cassette = lastProcessData.Cassette;
|
||||
else
|
||||
lastProcessData.Cassette = cassette;
|
||||
if (string.IsNullOrEmpty(employee) || employee.Contains(check))
|
||||
employee = lastProcessData.Employee;
|
||||
else
|
||||
lastProcessData.Employee = employee;
|
||||
if (string.IsNullOrEmpty(recipe) || recipe.Contains(check))
|
||||
recipe = lastProcessData.Recipe;
|
||||
else
|
||||
lastProcessData.Recipe = recipe;
|
||||
if (string.IsNullOrEmpty(title) || title.Contains(check))
|
||||
title = lastProcessData.Title;
|
||||
else
|
||||
lastProcessData.Title = title;
|
||||
//fix title
|
||||
StringBuilder titleFixed = new();
|
||||
foreach (char c in title)
|
||||
|
Reference in New Issue
Block a user