IQS <blank>
This commit is contained in:
@ -112,10 +112,40 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
|
||||
internal static string GetLines(Logistics logistics, List<txt.Description> descriptions)
|
||||
{
|
||||
StringBuilder result = new(logistics.MesEntity);
|
||||
if (descriptions is null)
|
||||
{ }
|
||||
return result.ToString();
|
||||
StringBuilder results = new();
|
||||
txt.Description x = descriptions[0];
|
||||
char del = x.MesEntity == x.Reactor ? '\t' : '~';
|
||||
_ = results.Append(x.UniqueId).Append(del).
|
||||
Append(x.Run).Append(del).
|
||||
Append(x.Date).Append(del).
|
||||
Append(x.Lot).Append(del).
|
||||
Append(x.Recipe).Append(del).
|
||||
Append(x.Reactor).Append(del).
|
||||
Append(x.RDS).Append(del).
|
||||
Append(x.PSN).Append(del).
|
||||
Append(x.Layer).Append(del).
|
||||
Append(x.Zone).Append(del).
|
||||
Append(logistics.MesEntity).Append(del).
|
||||
Append(x.Employee).Append(del).
|
||||
Append(x.Engineer).Append(del).
|
||||
Append(x.DLRatio).Append(del).
|
||||
Append(x.Temp).Append(del).
|
||||
Append(x.AutoOptimizeGain).Append(del).
|
||||
Append(x.AutoProbeHeightSet).Append(del).
|
||||
Append(x.DataReject).Append(del).
|
||||
Append(x.FileName).Append(del).
|
||||
Append(x.Avg).Append(del).
|
||||
Append(x.StdDev).Append(del).
|
||||
Append(x.SemiRadial).Append(del);
|
||||
foreach (txt.Description description in descriptions)
|
||||
{
|
||||
_ = results.Append(description.Pt).Append(del).
|
||||
Append(description.R).Append(del).
|
||||
Append(description.T).Append(del).
|
||||
Append(description.Rs).Append(del).
|
||||
Append(description.Merit).Append(del);
|
||||
};
|
||||
return results.ToString();
|
||||
}
|
||||
|
||||
private void SaveOpenInsightFile(string reportFullPath, DateTime dateTime, List<txt.Description> descriptions, Test[] tests)
|
||||
|
@ -49,7 +49,7 @@ public class FromIQS
|
||||
.Append(" and pd.f_name = '").Append(description.PSN).AppendLine("' ")
|
||||
.AppendLine(" and jd.f_name in ('CDE1', 'CDE2', 'CDE3', 'CDE4', 'CDE5', 'CDE6') ")
|
||||
.Append(" and jd.f_name = '").Append(logistics.MesEntity).AppendLine("' ")
|
||||
.Append(" and pl.f_name = '").Append(description.RDS).AppendLine("' ")
|
||||
.Append(" and pl.f_name = '").Append(string.IsNullOrEmpty(description.RDS) ? "<blank>" : description.RDS).AppendLine("' ")
|
||||
.Append(" and dateadd(HH, -7, (dateadd(SS, convert(bigint, se.f_sgtm), '19700101'))) = '").Append(dateTime).AppendLine("' ")
|
||||
.AppendLine(" for json path ");
|
||||
return result.ToString();
|
||||
|
Reference in New Issue
Block a user