Remove with Text
Remove GetEngineeringSpcReview Better error message EnforceCodeStyleInBuild NginxFileSystem Remove Reactors and Working Directory AppSettings Delete self contained Thunder Tests Back to .net8.0 api/v4/InfinityQS ApiExplorerSettings Wafer Counter
This commit is contained in:
@ -30,7 +30,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
}
|
||||
|
||||
string IInfinityQSV3Repository.GetCommandText(string subGroupId)
|
||||
{
|
||||
{ // cSpell:disable
|
||||
StringBuilder result = new();
|
||||
if (string.IsNullOrEmpty(subGroupId))
|
||||
throw new ArgumentException(null, nameof(subGroupId));
|
||||
@ -50,10 +50,10 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
_ = result.Append(" where sd.f_sgrp = ").Append(subGroupId).AppendLine(" ");
|
||||
_ = result.AppendLine(" for json path ");
|
||||
return result.ToString();
|
||||
}
|
||||
} // cSpell:enable
|
||||
|
||||
string IInfinityQSV3Repository.GetCommandText(string? subGroupId, string? process, string? job, string? part, string? lot, string? dateTime)
|
||||
{
|
||||
{ // cSpell:disable
|
||||
StringBuilder result = new();
|
||||
const string dateTimeFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
if (!string.IsNullOrEmpty(dateTime) && (dateTime.Contains('-') || dateTime.Contains(' ') || dateTime.Contains(':')) && dateTime.Length != dateTimeFormat.Length)
|
||||
@ -144,7 +144,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
.AppendLine(" iq.td_test ")
|
||||
.AppendLine(" for json path ");
|
||||
return result.ToString();
|
||||
}
|
||||
} // cSpell:enable
|
||||
|
||||
private static StringBuilder GetForJsonPath(IDbConnectionFactory dbConnectionFactory, string commandText)
|
||||
{
|
||||
@ -226,7 +226,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
}
|
||||
|
||||
string IInfinityQSV3Repository.GetCommandText(InfinityQSV3 infinityQSV3)
|
||||
{
|
||||
{ // cSpell:disable
|
||||
StringBuilder result = new();
|
||||
if (string.IsNullOrEmpty(infinityQSV3.Process))
|
||||
throw new ArgumentException(nameof(infinityQSV3.Process));
|
||||
@ -254,7 +254,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
.Append(" and ev.f_sgtm = ").Append(infinityQSV3.SubGroupDateTime).AppendLine(" ")
|
||||
.AppendLine(" for json path ");
|
||||
return result.ToString();
|
||||
}
|
||||
} // cSpell:enable
|
||||
|
||||
Result<InfinityQSV3[]> IInfinityQSV3Repository.GetHeader(string subGroupId)
|
||||
{
|
||||
@ -281,7 +281,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
}
|
||||
|
||||
string IInfinityQSV3Repository.GetCommandText(string process, string? part)
|
||||
{
|
||||
{ // cSpell:disable
|
||||
StringBuilder result = new();
|
||||
if (string.IsNullOrEmpty(process))
|
||||
throw new ArgumentException(null, nameof(process));
|
||||
@ -304,7 +304,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
.Append(" and part.f_name = '").Append(part).AppendLine("' ")
|
||||
.AppendLine(" for json path; ");
|
||||
return result.ToString();
|
||||
}
|
||||
} // cSpell:enable
|
||||
|
||||
string IInfinityQSV3Repository.GetProductDataAverageSumOfDefectsProcessMeanProcessSigma(string process, string? recipe)
|
||||
{
|
||||
@ -363,7 +363,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
}
|
||||
|
||||
string IInfinityQSV3Repository.GetCommandText(List<string> eppReactorNumbers)
|
||||
{
|
||||
{ // cSpell:disable
|
||||
StringBuilder result = new();
|
||||
_ = result
|
||||
.AppendLine(" select se.f_sgrp, ")
|
||||
@ -411,7 +411,7 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
.AppendLine(" order by iq.pr_name ")
|
||||
.AppendLine(" for json path; ");
|
||||
return result.ToString();
|
||||
}
|
||||
} // cSpell:enable
|
||||
|
||||
private static List<string> Convert(int[] night)
|
||||
{
|
||||
@ -484,17 +484,16 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
continue;
|
||||
used.Add(i);
|
||||
found = false;
|
||||
timeSpan = new(ticks - infinityQS1090FullLoad.SubGroupIdFormated.Ticks);
|
||||
timeSpan = new(ticks - infinityQS1090FullLoad.SubGroupIdFormatted.Ticks);
|
||||
loadedCount = reactor.LoadedRDS is null ? 0 : reactor.LoadedRDS.Count;
|
||||
loadedRDS = reactor.LoadedRDS is null ? " " : reactor.LoadedRDS[0].ToString();
|
||||
results.Add(new string[]
|
||||
{
|
||||
results.Add(new string[]{
|
||||
reactor.ReactorNo.ToString(),
|
||||
reactor.E10State,
|
||||
loadedRDS,
|
||||
infinityQS1090FullLoad.Value.ToString(),
|
||||
infinityQS1090FullLoad.TemperatureOffsetPercentage.ToString(),
|
||||
infinityQS1090FullLoad.SubGroupIdFormated.ToString(),
|
||||
infinityQS1090FullLoad.SubGroupIdFormatted.ToString(),
|
||||
Math.Floor(timeSpan.TotalHours).ToString()
|
||||
});
|
||||
for (int j = i + 1; j < infinityQS1090FullLoads.Length; j++)
|
||||
@ -510,21 +509,21 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
continue;
|
||||
used.Add(j);
|
||||
found = true;
|
||||
timeSpan = new(ticks - infinityQS1090FullLoad.SubGroupIdFormated.Ticks);
|
||||
timeSpan = new(ticks - infinityQS1090FullLoad.SubGroupIdFormatted.Ticks);
|
||||
loadedCount = reactor.LoadedRDS is null ? 0 : reactor.LoadedRDS.Count;
|
||||
loadedRDS = reactor.LoadedRDS is null ? " " : reactor.LoadedRDS[0].ToString();
|
||||
columns = new();
|
||||
columns.AddRange(results[^1]);
|
||||
columns.AddRange(new string[]
|
||||
{
|
||||
" ",
|
||||
reactor.ReactorNo.ToString(),
|
||||
reactor.E10State,
|
||||
loadedRDS,
|
||||
infinityQS1090FullLoad.Value.ToString(),
|
||||
infinityQS1090FullLoad.TemperatureOffsetPercentage.ToString(),
|
||||
infinityQS1090FullLoad.SubGroupIdFormated.ToString(),
|
||||
Math.Floor(timeSpan.TotalHours).ToString()
|
||||
" ",
|
||||
reactor.ReactorNo.ToString(),
|
||||
reactor.E10State,
|
||||
loadedRDS,
|
||||
infinityQS1090FullLoad.Value.ToString(),
|
||||
infinityQS1090FullLoad.TemperatureOffsetPercentage.ToString(),
|
||||
infinityQS1090FullLoad.SubGroupIdFormatted.ToString(),
|
||||
Math.Floor(timeSpan.TotalHours).ToString()
|
||||
});
|
||||
results[^1] = columns.ToArray();
|
||||
break;
|
||||
@ -556,8 +555,8 @@ public class InfinityQSV3Repository : IInfinityQSV3Repository
|
||||
foreach (string[] row in collection)
|
||||
{
|
||||
_ = result.Append("<tr>");
|
||||
foreach (string coulmn in row)
|
||||
_ = result.Append("<td>").Append(coulmn).Append("</td>");
|
||||
foreach (string column in row)
|
||||
_ = result.Append("<td>").Append(column).Append("</td>");
|
||||
_ = result.Append("</tr>");
|
||||
}
|
||||
return result.ToString();
|
||||
|
Reference in New Issue
Block a user