514 lines
22 KiB
C#
514 lines
22 KiB
C#
using Adaptation.Shared;
|
|
using Adaptation.Shared.Methods;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Adaptation.FileHandlers.pcl;
|
|
|
|
public class Description : IDescription, Shared.Properties.IDescription
|
|
{
|
|
|
|
[JsonPropertyName("EventId")] public int Test { get; set; }
|
|
[JsonPropertyName("Count")] public int Count { get; set; }
|
|
[JsonPropertyName("Index")] public int Index { get; set; }
|
|
//
|
|
public string EventName { get; set; }
|
|
public string NullData { get; set; }
|
|
public string JobID { get; set; }
|
|
public string Sequence { get; set; }
|
|
[JsonPropertyName("MesEntity")] public string MesEntity { get; set; }
|
|
public string ReportFullPath { get; set; }
|
|
public string ProcessJobID { get; set; }
|
|
public string MID { get; set; }
|
|
//
|
|
[JsonPropertyName("Date")] public string Date { get; set; }
|
|
[JsonPropertyName("Employee")] public string Employee { get; set; }
|
|
public string Lot { get; set; }
|
|
[JsonPropertyName("PSN")] public string PSN { get; set; }
|
|
[JsonPropertyName("Reactor")] public string Reactor { get; set; }
|
|
[JsonPropertyName("Recipe")] public string Recipe { get; set; }
|
|
[JsonPropertyName("IndexOf")] public string IndexOf { get; set; }
|
|
[JsonPropertyName("AttemptCounter")] public string AttemptCounter { get; set; }
|
|
//
|
|
[JsonPropertyName("Comments")] public string Comments { get; set; }
|
|
[JsonPropertyName("Diameter")] public string Diameter { get; set; }
|
|
[JsonPropertyName("Exclusion")] public string Exclusion { get; set; }
|
|
[JsonPropertyName("Gain")] public string Gain { get; set; }
|
|
public string HeaderUniqueId { get; set; }
|
|
[JsonPropertyName("Laser")] public string Laser { get; set; }
|
|
[JsonPropertyName("ParseErrorText")] public string ParseErrorText { get; set; }
|
|
[JsonPropertyName("RDS")] public string RDS { get; set; }
|
|
[JsonPropertyName("WaferId")] public string Slot { get; set; }
|
|
public string UniqueId { get; set; }
|
|
//
|
|
[JsonPropertyName("AreaCount")] public string AreaCount { get; set; }
|
|
[JsonPropertyName("AreaCountAvg")] public string AreaCountAvg { get; set; }
|
|
[JsonPropertyName("AreaCountMax")] public string AreaCountMax { get; set; }
|
|
[JsonPropertyName("AreaCountMin")] public string AreaCountMin { get; set; }
|
|
[JsonPropertyName("AreaCountStdDev")] public string AreaCountStdDev { get; set; }
|
|
[JsonPropertyName("WaferAreaTotal")] public string AreaTotal { get; set; }
|
|
[JsonPropertyName("AreaTotalAvg")] public string AreaTotalAvg { get; set; }
|
|
[JsonPropertyName("AreaTotalMax")] public string AreaTotalMax { get; set; }
|
|
[JsonPropertyName("AreaTotalMin")] public string AreaTotalMin { get; set; }
|
|
[JsonPropertyName("AreaTotalStdDev")] public string AreaTotalStdDev { get; set; }
|
|
[JsonPropertyName("Bin1")] public string Bin1 { get; set; }
|
|
[JsonPropertyName("Bin2")] public string Bin2 { get; set; }
|
|
[JsonPropertyName("Bin3")] public string Bin3 { get; set; }
|
|
[JsonPropertyName("Bin4")] public string Bin4 { get; set; }
|
|
[JsonPropertyName("Bin5")] public string Bin5 { get; set; }
|
|
[JsonPropertyName("Bin6")] public string Bin6 { get; set; }
|
|
[JsonPropertyName("Bin7")] public string Bin7 { get; set; }
|
|
[JsonPropertyName("Bin8")] public string Bin8 { get; set; }
|
|
[JsonPropertyName("WaferHazeAverage")] public string HazeAverage { get; set; }
|
|
[JsonPropertyName("HazeAverageAvg")] public string HazeAverageAvg { get; set; }
|
|
[JsonPropertyName("HazeAverageMax")] public string HazeAverageMax { get; set; }
|
|
[JsonPropertyName("HazeAverageMin")] public string HazeAverageMin { get; set; }
|
|
[JsonPropertyName("HazeAverageStdDev")] public string HazeAverageStdDev { get; set; }
|
|
[JsonPropertyName("HazePeak")] public string HazePeak { get; set; }
|
|
[JsonPropertyName("WaferHazeRegion")] public string HazeRegion { get; set; }
|
|
[JsonPropertyName("HazeRegionAvg")] public string HazeRegionAvg { get; set; }
|
|
[JsonPropertyName("HazeRegionMax")] public string HazeRegionMax { get; set; }
|
|
[JsonPropertyName("HazeRegionMin")] public string HazeRegionMin { get; set; }
|
|
[JsonPropertyName("HazeRegionStdDev")] public string HazeRegionStdDev { get; set; }
|
|
[JsonPropertyName("HazeRng")] public string HazeRng { get; set; }
|
|
[JsonPropertyName("LPDCM2")] public string LPDCM2 { get; set; }
|
|
[JsonPropertyName("LPDCM2Avg")] public string LPDCM2Avg { get; set; }
|
|
[JsonPropertyName("LPDCM2Max")] public string LPDCM2Max { get; set; }
|
|
[JsonPropertyName("LPDCM2Min")] public string LPDCM2Min { get; set; }
|
|
[JsonPropertyName("LPDCM2StdDev")] public string LPDCM2StdDev { get; set; }
|
|
[JsonPropertyName("LPDCount")] public string LPDCount { get; set; }
|
|
[JsonPropertyName("LPDCountAvg")] public string LPDCountAvg { get; set; }
|
|
[JsonPropertyName("LPDCountMax")] public string LPDCountMax { get; set; }
|
|
[JsonPropertyName("LPDCountMin")] public string LPDCountMin { get; set; }
|
|
[JsonPropertyName("LPDCountStdDev")] public string LPDCountStdDev { get; set; }
|
|
[JsonPropertyName("Mean")] public string Mean { get; set; }
|
|
[JsonPropertyName("ScratchCount")] public string ScratchCount { get; set; }
|
|
[JsonPropertyName("ScratchCountAvg")] public string ScratchCountAvg { get; set; }
|
|
[JsonPropertyName("ScratchCountMax")] public string ScratchCountMax { get; set; }
|
|
[JsonPropertyName("ScratchCountMin")] public string ScratchCountMin { get; set; }
|
|
[JsonPropertyName("ScratchCountStdDev")] public string ScratchCountStdDev { get; set; }
|
|
[JsonPropertyName("WaferScratchTotal")] public string ScratchTotal { get; set; }
|
|
[JsonPropertyName("ScratchTotalAvg")] public string ScratchTotalAvg { get; set; }
|
|
[JsonPropertyName("ScratchTotalMax")] public string ScratchTotalMax { get; set; }
|
|
[JsonPropertyName("ScratchTotalMin")] public string ScratchTotalMin { get; set; }
|
|
[JsonPropertyName("ScratchTotalStdDev")] public string ScratchTotalStdDev { get; set; }
|
|
[JsonPropertyName("Sort")] public string Sort { get; set; }
|
|
[JsonPropertyName("StdDev")] public string StdDev { get; set; }
|
|
[JsonPropertyName("SumOfDefects")] public string SumOfDefects { get; set; }
|
|
[JsonPropertyName("SumOfDefectsAvg")] public string SumOfDefectsAvg { get; set; }
|
|
[JsonPropertyName("SumOfDefectsMax")] public string SumOfDefectsMax { get; set; }
|
|
[JsonPropertyName("SumOfDefectsMin")] public string SumOfDefectsMin { get; set; }
|
|
[JsonPropertyName("SumOfDefectsStdDev")] public string SumOfDefectsStdDev { get; set; }
|
|
[JsonPropertyName("Thresh")] public string Thresh { get; set; }
|
|
[JsonPropertyName("Thruput")] public string Thruput { get; set; }
|
|
|
|
string IDescription.GetEventDescription() => "File Has been read and parsed";
|
|
|
|
List<string> IDescription.GetNames(IFileRead fileRead, Logistics logistics)
|
|
{
|
|
List<string> results = new();
|
|
IDescription description = GetDefault(fileRead, logistics);
|
|
string json = JsonSerializer.Serialize(description, description.GetType());
|
|
object @object = JsonSerializer.Deserialize<object>(json);
|
|
if (@object is not JsonElement jsonElement)
|
|
throw new Exception();
|
|
foreach (JsonProperty jsonProperty in jsonElement.EnumerateObject())
|
|
results.Add(jsonProperty.Name);
|
|
return results;
|
|
}
|
|
|
|
List<string> IDescription.GetDetailNames()
|
|
{
|
|
List<string> results = new()
|
|
{
|
|
nameof(Comments),
|
|
nameof(Diameter),
|
|
nameof(Exclusion),
|
|
nameof(Gain),
|
|
nameof(HeaderUniqueId),
|
|
nameof(Laser),
|
|
nameof(ParseErrorText),
|
|
nameof(RDS),
|
|
nameof(Slot),
|
|
nameof(UniqueId)
|
|
};
|
|
return results;
|
|
}
|
|
|
|
List<string> IDescription.GetHeaderNames()
|
|
{
|
|
List<string> results = new()
|
|
{
|
|
nameof(Date),
|
|
nameof(Employee),
|
|
nameof(Lot),
|
|
nameof(PSN),
|
|
nameof(Reactor),
|
|
nameof(Recipe)
|
|
};
|
|
return results;
|
|
}
|
|
|
|
IDescription IDescription.GetDisplayNames()
|
|
{
|
|
Description result = GetDisplayNames();
|
|
return result;
|
|
}
|
|
|
|
List<string> IDescription.GetParameterNames()
|
|
{
|
|
List<string> results = new()
|
|
{
|
|
nameof(AreaCount),
|
|
nameof(AreaCountAvg),
|
|
nameof(AreaCountMax),
|
|
nameof(AreaCountMin),
|
|
nameof(AreaCountStdDev),
|
|
nameof(AreaTotal),
|
|
nameof(AreaTotalAvg),
|
|
nameof(AreaTotalMax),
|
|
nameof(AreaTotalMin),
|
|
nameof(AreaTotalStdDev),
|
|
nameof(Bin1),
|
|
nameof(Bin2),
|
|
nameof(Bin3),
|
|
nameof(Bin4),
|
|
nameof(Bin5),
|
|
nameof(Bin6),
|
|
nameof(Bin7),
|
|
nameof(Bin8),
|
|
nameof(HazeAverage),
|
|
nameof(HazeAverageAvg),
|
|
nameof(HazeAverageMax),
|
|
nameof(HazeAverageMin),
|
|
nameof(HazeAverageStdDev),
|
|
nameof(HazePeak),
|
|
nameof(HazeRegion),
|
|
nameof(HazeRegionAvg),
|
|
nameof(HazeRegionMax),
|
|
nameof(HazeRegionMin),
|
|
nameof(HazeRegionStdDev),
|
|
nameof(HazeRng),
|
|
nameof(LPDCM2),
|
|
nameof(LPDCM2Avg),
|
|
nameof(LPDCM2Max),
|
|
nameof(LPDCM2Min),
|
|
nameof(LPDCM2StdDev),
|
|
nameof(LPDCount),
|
|
nameof(LPDCountAvg),
|
|
nameof(LPDCountMax),
|
|
nameof(LPDCountMin),
|
|
nameof(LPDCountStdDev),
|
|
nameof(Mean),
|
|
nameof(ScratchCount),
|
|
nameof(ScratchCountAvg),
|
|
nameof(ScratchCountMax),
|
|
nameof(ScratchCountMin),
|
|
nameof(ScratchCountStdDev),
|
|
nameof(ScratchTotal),
|
|
nameof(ScratchTotalAvg),
|
|
nameof(ScratchTotalMax),
|
|
nameof(ScratchTotalMin),
|
|
nameof(ScratchTotalStdDev),
|
|
nameof(Sort),
|
|
nameof(StdDev),
|
|
nameof(SumOfDefects),
|
|
nameof(SumOfDefectsAvg),
|
|
nameof(SumOfDefectsMax),
|
|
nameof(SumOfDefectsMin),
|
|
nameof(SumOfDefectsStdDev),
|
|
nameof(Thresh),
|
|
nameof(Thruput)
|
|
};
|
|
return results;
|
|
}
|
|
|
|
JsonProperty[] IDescription.GetDefault(IFileRead fileRead, Logistics logistics)
|
|
{
|
|
JsonProperty[] results;
|
|
IDescription description = GetDefault(fileRead, logistics);
|
|
string json = JsonSerializer.Serialize(description, description.GetType());
|
|
object @object = JsonSerializer.Deserialize<object>(json);
|
|
results = ((JsonElement)@object).EnumerateObject().ToArray();
|
|
return results;
|
|
}
|
|
|
|
List<string> IDescription.GetPairedParameterNames()
|
|
{
|
|
List<string> results = new();
|
|
return results;
|
|
}
|
|
|
|
List<string> IDescription.GetIgnoreParameterNames(Test test)
|
|
{
|
|
List<string> results = new();
|
|
return results;
|
|
}
|
|
|
|
IDescription IDescription.GetDefaultDescription(IFileRead fileRead, Logistics logistics)
|
|
{
|
|
Description result = GetDefault(fileRead, logistics);
|
|
return result;
|
|
}
|
|
|
|
Dictionary<string, string> IDescription.GetDisplayNamesJsonElement(IFileRead fileRead)
|
|
{
|
|
Dictionary<string, string> results = new();
|
|
IDescription description = GetDisplayNames();
|
|
string json = JsonSerializer.Serialize(description, description.GetType());
|
|
JsonElement jsonElement = JsonSerializer.Deserialize<JsonElement>(json);
|
|
foreach (JsonProperty jsonProperty in jsonElement.EnumerateObject())
|
|
{
|
|
if (!results.ContainsKey(jsonProperty.Name))
|
|
results.Add(jsonProperty.Name, string.Empty);
|
|
if (jsonProperty.Value is JsonElement jsonPropertyValue)
|
|
results[jsonProperty.Name] = jsonPropertyValue.ToString();
|
|
}
|
|
return results;
|
|
}
|
|
|
|
List<IDescription> IDescription.GetDescriptions(IFileRead fileRead, Logistics logistics, List<Test> tests, IProcessData iProcessData)
|
|
{
|
|
List<IDescription> results = new();
|
|
if (iProcessData is null || iProcessData.Details.Count == 0 || iProcessData is not ProcessData processData)
|
|
results.Add(GetDefault(fileRead, logistics));
|
|
else
|
|
{
|
|
string nullData;
|
|
Description description;
|
|
object configDataNullData = fileRead.NullData;
|
|
if (configDataNullData is null)
|
|
nullData = string.Empty;
|
|
else
|
|
nullData = configDataNullData.ToString();
|
|
for (int i = 0; i < iProcessData.Details.Count; i++)
|
|
{
|
|
if (iProcessData.Details[i] is not Detail detail)
|
|
continue;
|
|
description = new Description
|
|
{
|
|
Test = (int)tests[i],
|
|
Count = tests.Count,
|
|
Index = i,
|
|
//
|
|
EventName = fileRead.EventName,
|
|
NullData = nullData,
|
|
JobID = fileRead.CellInstanceName,
|
|
Sequence = logistics.Sequence.ToString(),
|
|
MesEntity = logistics.MesEntity,
|
|
ReportFullPath = logistics.ReportFullPath,
|
|
ProcessJobID = logistics.ProcessJobID,
|
|
MID = logistics.MID,
|
|
//
|
|
Date = processData.Date.ToString(GetDateFormat()),
|
|
Employee = processData.Employee,
|
|
Lot = processData.Lot,
|
|
PSN = processData.PSN,
|
|
Reactor = processData.Reactor,
|
|
Recipe = processData.Recipe,
|
|
IndexOf = nameof(IndexOf),
|
|
AttemptCounter = nameof(AttemptCounter),
|
|
//
|
|
Comments = detail.Comments,
|
|
Diameter = detail.Diameter,
|
|
Exclusion = detail.Exclusion,
|
|
Gain = detail.Gain,
|
|
HeaderUniqueId = detail.UniqueId,
|
|
Laser = detail.Laser,
|
|
ParseErrorText = processData.ParseErrorText,
|
|
RDS = processData.RDS,
|
|
Slot = detail.Slot,
|
|
UniqueId = detail.UniqueId,
|
|
//
|
|
AreaCount = detail.AreaCount,
|
|
AreaCountAvg = processData.AreaCountAvg,
|
|
AreaCountMax = processData.AreaCountMax,
|
|
AreaCountMin = processData.AreaCountMin,
|
|
AreaCountStdDev = processData.AreaCountStdDev,
|
|
AreaTotal = detail.AreaTotal,
|
|
AreaTotalAvg = processData.AreaTotalAvg,
|
|
AreaTotalMax = processData.AreaTotalMax,
|
|
AreaTotalMin = processData.AreaTotalMin,
|
|
AreaTotalStdDev = processData.AreaTotalStdDev,
|
|
Bin1 = detail.Bin1,
|
|
Bin2 = detail.Bin2,
|
|
Bin3 = detail.Bin3,
|
|
Bin4 = detail.Bin4,
|
|
Bin5 = detail.Bin5,
|
|
Bin6 = detail.Bin6,
|
|
Bin7 = detail.Bin7,
|
|
Bin8 = detail.Bin8,
|
|
HazeAverage = detail.HazeAverage,
|
|
HazeAverageAvg = processData.HazeAverageAvg,
|
|
HazeAverageMax = processData.HazeAverageMax,
|
|
HazeAverageMin = processData.HazeAverageMin,
|
|
HazeAverageStdDev = processData.HazeAverageStdDev,
|
|
HazePeak = detail.HazePeak,
|
|
HazeRegion = detail.HazeRegion,
|
|
HazeRegionAvg = processData.HazeRegionAvg,
|
|
HazeRegionMax = processData.HazeRegionMax,
|
|
HazeRegionMin = processData.HazeRegionMin,
|
|
HazeRegionStdDev = processData.HazeRegionStdDev,
|
|
HazeRng = detail.HazeRng,
|
|
LPDCM2 = detail.LPDCM2,
|
|
LPDCM2Avg = processData.LPDCM2Avg,
|
|
LPDCM2Max = processData.LPDCM2Max,
|
|
LPDCM2Min = processData.LPDCM2Min,
|
|
LPDCM2StdDev = processData.LPDCM2StdDev,
|
|
LPDCount = detail.LPDCount,
|
|
LPDCountAvg = processData.LPDCountAvg,
|
|
LPDCountMax = processData.LPDCountMax,
|
|
LPDCountMin = processData.LPDCountMin,
|
|
LPDCountStdDev = processData.LPDCountStdDev,
|
|
Mean = detail.Mean,
|
|
ScratchCount = detail.ScratchCount,
|
|
ScratchCountAvg = processData.ScratchCountAvg,
|
|
ScratchCountMax = processData.ScratchCountMax,
|
|
ScratchCountMin = processData.ScratchCountMin,
|
|
ScratchCountStdDev = processData.ScratchCountStdDev,
|
|
ScratchTotal = detail.ScratchTotal,
|
|
ScratchTotalAvg = processData.ScratchTotalAvg,
|
|
ScratchTotalMax = processData.ScratchTotalMax,
|
|
ScratchTotalMin = processData.ScratchTotalMin,
|
|
ScratchTotalStdDev = processData.ScratchTotalStdDev,
|
|
Sort = detail.Sort,
|
|
StdDev = detail.StdDev,
|
|
SumOfDefects = detail.SumOfDefects,
|
|
SumOfDefectsAvg = processData.SumOfDefectsAvg,
|
|
SumOfDefectsMax = processData.SumOfDefectsMax,
|
|
SumOfDefectsMin = processData.SumOfDefectsMin,
|
|
SumOfDefectsStdDev = processData.SumOfDefectsStdDev,
|
|
Thresh = detail.Thresh,
|
|
Thruput = detail.Thruput
|
|
};
|
|
results.Add(description);
|
|
}
|
|
}
|
|
return results;
|
|
}
|
|
|
|
private static Description GetDisplayNames()
|
|
{
|
|
Description result = new();
|
|
return result;
|
|
}
|
|
|
|
private Description GetDefault(IFileRead fileRead, Logistics logistics)
|
|
{
|
|
Description result = new()
|
|
{
|
|
Test = -1,
|
|
Count = 0,
|
|
Index = -1,
|
|
//
|
|
EventName = fileRead.EventName,
|
|
NullData = fileRead.NullData,
|
|
JobID = fileRead.CellInstanceName,
|
|
Sequence = logistics.Sequence.ToString(),
|
|
MesEntity = fileRead.MesEntity,
|
|
ReportFullPath = logistics.ReportFullPath,
|
|
ProcessJobID = logistics.ProcessJobID,
|
|
MID = logistics.MID,
|
|
//
|
|
Date = nameof(Date),
|
|
Employee = nameof(Employee),
|
|
Lot = nameof(Lot),
|
|
PSN = nameof(PSN),
|
|
Reactor = nameof(Reactor),
|
|
Recipe = nameof(Recipe),
|
|
IndexOf = nameof(IndexOf),
|
|
AttemptCounter = nameof(AttemptCounter),
|
|
//
|
|
Comments = nameof(Comments),
|
|
Diameter = nameof(Diameter),
|
|
Exclusion = nameof(Exclusion),
|
|
Gain = nameof(Gain),
|
|
HeaderUniqueId = nameof(HeaderUniqueId),
|
|
Laser = nameof(Laser),
|
|
ParseErrorText = nameof(ParseErrorText),
|
|
RDS = nameof(RDS),
|
|
Slot = nameof(Slot),
|
|
UniqueId = nameof(UniqueId),
|
|
//
|
|
AreaCount = nameof(AreaCount),
|
|
AreaCountAvg = nameof(AreaCountAvg),
|
|
AreaCountMax = nameof(AreaCountMax),
|
|
AreaCountMin = nameof(AreaCountMin),
|
|
AreaCountStdDev = nameof(AreaCountStdDev),
|
|
AreaTotal = nameof(AreaTotal),
|
|
AreaTotalAvg = nameof(AreaTotalAvg),
|
|
AreaTotalMax = nameof(AreaTotalMax),
|
|
AreaTotalMin = nameof(AreaTotalMin),
|
|
AreaTotalStdDev = nameof(AreaTotalStdDev),
|
|
Bin1 = nameof(Bin1),
|
|
Bin2 = nameof(Bin2),
|
|
Bin3 = nameof(Bin3),
|
|
Bin4 = nameof(Bin4),
|
|
Bin5 = nameof(Bin5),
|
|
Bin6 = nameof(Bin6),
|
|
Bin7 = nameof(Bin7),
|
|
Bin8 = nameof(Bin8),
|
|
HazeAverage = nameof(HazeAverage),
|
|
HazeAverageAvg = nameof(HazeAverageAvg),
|
|
HazeAverageMax = nameof(HazeAverageMax),
|
|
HazeAverageMin = nameof(HazeAverageMin),
|
|
HazeAverageStdDev = nameof(HazeAverageStdDev),
|
|
HazePeak = nameof(HazePeak),
|
|
HazeRegion = nameof(HazeRegion),
|
|
HazeRegionAvg = nameof(HazeRegionAvg),
|
|
HazeRegionMax = nameof(HazeRegionMax),
|
|
HazeRegionMin = nameof(HazeRegionMin),
|
|
HazeRegionStdDev = nameof(HazeRegionStdDev),
|
|
HazeRng = nameof(HazeRng),
|
|
LPDCM2 = nameof(LPDCM2),
|
|
LPDCM2Avg = nameof(LPDCM2Avg),
|
|
LPDCM2Max = nameof(LPDCM2Max),
|
|
LPDCM2Min = nameof(LPDCM2Min),
|
|
LPDCM2StdDev = nameof(LPDCM2StdDev),
|
|
LPDCount = nameof(LPDCount),
|
|
LPDCountAvg = nameof(LPDCountAvg),
|
|
LPDCountMax = nameof(LPDCountMax),
|
|
LPDCountMin = nameof(LPDCountMin),
|
|
LPDCountStdDev = nameof(LPDCountStdDev),
|
|
Mean = nameof(Mean),
|
|
ScratchCount = nameof(ScratchCount),
|
|
ScratchCountAvg = nameof(ScratchCountAvg),
|
|
ScratchCountMax = nameof(ScratchCountMax),
|
|
ScratchCountMin = nameof(ScratchCountMin),
|
|
ScratchCountStdDev = nameof(ScratchCountStdDev),
|
|
ScratchTotal = nameof(ScratchTotal),
|
|
ScratchTotalAvg = nameof(ScratchTotalAvg),
|
|
ScratchTotalMax = nameof(ScratchTotalMax),
|
|
ScratchTotalMin = nameof(ScratchTotalMin),
|
|
ScratchTotalStdDev = nameof(ScratchTotalStdDev),
|
|
Sort = nameof(Sort),
|
|
StdDev = nameof(StdDev),
|
|
SumOfDefects = nameof(SumOfDefects),
|
|
SumOfDefectsAvg = nameof(SumOfDefectsAvg),
|
|
SumOfDefectsMax = nameof(SumOfDefectsMax),
|
|
SumOfDefectsMin = nameof(SumOfDefectsMin),
|
|
SumOfDefectsStdDev = nameof(SumOfDefectsStdDev),
|
|
Thresh = nameof(Thresh),
|
|
Thruput = nameof(Thruput)
|
|
};
|
|
return result;
|
|
}
|
|
|
|
internal static string GetDateFormat() => "MM/dd/yyyy hh:mm:ss tt";
|
|
|
|
}
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
|
[JsonSerializable(typeof(Description))]
|
|
internal partial class DescriptionSourceGenerationContext : JsonSerializerContext
|
|
{
|
|
}
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
|
[JsonSerializable(typeof(Description[]))]
|
|
internal partial class DescriptionArraySourceGenerationContext : JsonSerializerContext
|
|
{
|
|
} |