Slot wasn't set in Description GetDefault
This commit is contained in:
@ -39,7 +39,7 @@ public partial class ProcessData : IProcessData
|
||||
public string Wafer { get; set; }
|
||||
public string Zone { get; set; }
|
||||
//
|
||||
public string SlotNumber { get; set; }
|
||||
public string Slot { get; set; }
|
||||
public string ThicknessFourteen3mmEdgeMean { get; set; }
|
||||
public string ThicknessFourteen3mmEdgePercent { get; set; }
|
||||
public string ThicknessFourteen5mmEdgeMean { get; set; }
|
||||
@ -257,7 +257,7 @@ public partial class ProcessData : IProcessData
|
||||
Detail detail;
|
||||
string reactor;
|
||||
int counter = 1;
|
||||
int slotNumber = 0;
|
||||
int slot = 0;
|
||||
List<Detail> details = new();
|
||||
StringBuilder titleFixed = new();
|
||||
StringBuilder waferFixed = new();
|
||||
@ -267,7 +267,7 @@ public partial class ProcessData : IProcessData
|
||||
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 slotNumber);
|
||||
bool isWaferSlot = !string.IsNullOrEmpty(txt.Header.Wafer) && txt.Header.Wafer.Length is 1 or 2 && int.TryParse(txt.Header.Wafer, out slot);
|
||||
Descriptor descriptor = isWaferSlot ? GetDescriptor(txt.Header.Batch) : GetDescriptor(txt.Header.Wafer);
|
||||
psn = descriptor.PSN;
|
||||
rds = descriptor.RDS;
|
||||
@ -332,9 +332,9 @@ public partial class ProcessData : IProcessData
|
||||
Employee = employee;
|
||||
JobID = logistics.JobID;
|
||||
UniqueId = uniqueId;
|
||||
Slot = slot.ToString("00");
|
||||
Title = titleFixed.ToString();
|
||||
Wafer = waferFixed.ToString();
|
||||
SlotNumber = slotNumber.ToString("00");
|
||||
foreach (Site site in txt.Body.Sites)
|
||||
{
|
||||
detail = new()
|
||||
|
Reference in New Issue
Block a user