Date bug
This commit is contained in:
parent
3ec72bd596
commit
6bace13b45
@ -79,11 +79,15 @@ public class ProcessData : IProcessData
|
|||||||
_I = 0;
|
_I = 0;
|
||||||
_Data = string.Empty;
|
_Data = string.Empty;
|
||||||
JobID = logistics.JobID;
|
JobID = logistics.JobID;
|
||||||
|
Date = GetDateTime(logistics);
|
||||||
MesEntity = logistics.MesEntity;
|
MesEntity = logistics.MesEntity;
|
||||||
_Log = LogManager.GetLogger(typeof(ProcessData));
|
_Log = LogManager.GetLogger(typeof(ProcessData));
|
||||||
Parse(fileRead, logistics, fileInfoCollection, ghostPCLFileName);
|
Parse(fileRead, logistics, fileInfoCollection, ghostPCLFileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static DateTime GetDateTime(Logistics logistics) =>
|
||||||
|
logistics.DateTimeFromSequence;
|
||||||
|
|
||||||
string IProcessData.GetCurrentReactor(IFileRead fileRead, Logistics logistics, Dictionary<string, string> reactors) => throw new Exception(string.Concat("See ", nameof(Parse)));
|
string IProcessData.GetCurrentReactor(IFileRead fileRead, Logistics logistics, Dictionary<string, string> reactors) => throw new Exception(string.Concat("See ", nameof(Parse)));
|
||||||
|
|
||||||
Tuple<string, Test[], JsonElement[], List<FileInfo>> IProcessData.GetResults(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection)
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> IProcessData.GetResults(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection)
|
||||||
@ -419,8 +423,7 @@ public class ProcessData : IProcessData
|
|||||||
_I = 0;
|
_I = 0;
|
||||||
_Data = pages[headerFileName];
|
_Data = pages[headerFileName];
|
||||||
ScanPast("Date:");
|
ScanPast("Date:");
|
||||||
string dateTime = GetToEOL();
|
_ = GetToEOL();
|
||||||
Date = DateTime.Parse(dateTime);
|
|
||||||
Set(logistics);
|
Set(logistics);
|
||||||
// determine number of wafers and their slot numbers
|
// determine number of wafers and their slot numbers
|
||||||
_Log.Debug(_Data.Substring(_I));
|
_Log.Debug(_Data.Substring(_I));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user