Recipe bug fix intruduced in MET08THFTIRQS408M

This commit is contained in:
Mike Phares 2023-06-20 07:41:40 -07:00
parent 192ee2aade
commit 5c6d8b2a51
2 changed files with 3 additions and 1 deletions

View File

@ -505,7 +505,7 @@ public partial class ProcessData : IProcessData
_Log.Debug("****ProcessData Removing Recipe"); _Log.Debug("****ProcessData Removing Recipe");
recipe = recipe.Remove(recipe.Length - 1, 1); recipe = recipe.Remove(recipe.Length - 1, 1);
} }
detail.Recipe = recipe.Split(' ').First(); detail.Recipe = recipe;
_ = GetToEOL(); _ = GetToEOL();
if (PeekNextLine().Contains("Thickness")) if (PeekNextLine().Contains("Thickness"))
{ {

View File

@ -239,6 +239,8 @@ public partial class ProcessData : IProcessData
cassetteDateTime = logistics.DateTimeFromSequence.AddTicks(count * -1); cassetteDateTime = logistics.DateTimeFromSequence.AddTicks(count * -1);
user = processData.Employee?.ToString() ?? ""; user = processData.Employee?.ToString() ?? "";
recipe = detail.Recipe?.ToString() ?? ""; recipe = detail.Recipe?.ToString() ?? "";
if (isBioRad)
recipe = recipe.Split(' ').First();
_ = contents.Append("Bio-Rad ").Append("QS400MEPI".PadRight(17)).Append("Recipe: ").Append(recipe.PadRight(25)).AppendLine(processData.Date.ToString(Stratus.Description.GetDateFormat())); _ = contents.Append("Bio-Rad ").Append("QS400MEPI".PadRight(17)).Append("Recipe: ").Append(recipe.PadRight(25)).AppendLine(processData.Date.ToString(Stratus.Description.GetDateFormat()));
_ = contents.Append("operator: ").Append(user.PadRight(22)).Append("batch: BIORAD #").AppendLine(logistics.JobID.Substring(6, 1)); _ = contents.Append("operator: ").Append(user.PadRight(22)).Append("batch: BIORAD #").AppendLine(logistics.JobID.Substring(6, 1));
_ = contents.Append("cassette: ").Append("".PadRight(22)).Append("wafer: ").AppendLine(processData.Cassette); _ = contents.Append("cassette: ").Append("".PadRight(22)).Append("wafer: ").AppendLine(processData.Cassette);