SECS Description for get IQS
This commit is contained in:
@ -116,17 +116,22 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
return results;
|
||||
}
|
||||
|
||||
internal static string GetLines(Logistics logistics, List<Shared.Properties.IDescription> descriptions)
|
||||
internal static string GetLines(Logistics logistics, List<SECS.Description> descriptions)
|
||||
{
|
||||
StringBuilder results = new();
|
||||
Shared.Properties.IDescription x = descriptions[0];
|
||||
char del = x.MesEntity == x.Reactor ? '\t' : '~';
|
||||
_ = results.Append(logistics.MesEntity).Append(del)
|
||||
.Append(x.MesEntity).Append(del);
|
||||
char del = '\t';
|
||||
SECS.Description x = descriptions[0];
|
||||
_ = results.Append(x.MesEntity).Append(del)
|
||||
.Append(x.Reactor).Append(del)
|
||||
.Append(x.RDS).Append(del)
|
||||
.Append(x.Recipe).Append(del)
|
||||
.Append(x.PSN).Append(del)
|
||||
.Append(x.Employee).Append(del)
|
||||
.Append(logistics.MesEntity).Append(del);
|
||||
return results.ToString();
|
||||
}
|
||||
|
||||
private void SaveOpenInsightFile(string reportFullPath, DateTime dateTime, string logistics, List<Shared.Properties.IDescription> descriptions, Test[] tests)
|
||||
private void SaveOpenInsightFile(string reportFullPath, DateTime dateTime, string logistics, List<SECS.Description> descriptions, Test[] tests)
|
||||
{
|
||||
bool isDummyRun = false;
|
||||
List<(Shared.Properties.IScopeInfo, string)> collection = new();
|
||||
@ -172,7 +177,7 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
_Logistics = new Logistics(reportFullPath, pdsf.Item1);
|
||||
SetFileParameterLotIDToLogisticsMID();
|
||||
JsonElement[] jsonElements = ProcessDataStandardFormat.GetArray(pdsf);
|
||||
List<Shared.Properties.IDescription> descriptions = GetDuplicatorDescriptions(jsonElements);
|
||||
List<SECS.Description> descriptions = SECS.ProcessData.GetDescriptions(jsonElements);
|
||||
Test[] tests = (from l in descriptions select (Test)l.Test).ToArray();
|
||||
if (_IsEAFHosted && _FileConnectorConfiguration.FileScanningIntervalInSeconds > 0)
|
||||
SaveOpenInsightFile(reportFullPath, dateTime, pdsf.Item1, descriptions, tests);
|
||||
|
Reference in New Issue
Block a user