Reqiure Complete
This commit is contained in:
@ -79,7 +79,7 @@ public class Wafer
|
||||
public string Thruput { get; }
|
||||
public string Recipe { get; }
|
||||
|
||||
internal static ReadOnlyCollection<Wafer> Get(string headerFileName, Dictionary<string, string> pages, Constant constant)
|
||||
internal static ReadOnlyCollection<Wafer> Get(ReadOnlyDictionary<string, string> pages, Constant constant, string headerFileName)
|
||||
{
|
||||
List<Wafer> results = new();
|
||||
Wafer wafer;
|
||||
@ -96,9 +96,11 @@ public class Wafer
|
||||
stringList = new();
|
||||
if (!pages.TryGetValue(keyValuePair.Key, out text))
|
||||
throw new Exception();
|
||||
if (string.IsNullOrEmpty(text) || !text.Contains(constant.Id))
|
||||
continue;
|
||||
Header.ScanPast(text, i, constant.Date);
|
||||
string date = Header.GetToEOL(text, i);
|
||||
Header.ScanPast(text, i, "ID#");
|
||||
Header.ScanPast(text, i, constant.Id);
|
||||
string id = Header.GetToEOL(text, i);
|
||||
if (id.Length > 5)
|
||||
id = string.Concat(id.Substring(0, 5), "... - ***");
|
||||
|
||||
Reference in New Issue
Block a user