Add IndexOf and AttemptCounter properties to WSRequest and Description classes; implement getValue function in recipes-and-patterns.js

This commit is contained in:
2025-10-13 17:51:36 -07:00
parent 5c2a3c97e9
commit ddf12e5ec0
16 changed files with 757 additions and 579 deletions

View File

@ -1,76 +1,90 @@
namespace Adaptation.FileHandlers.txt;
using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.txt;
public class Detail
{
public string Grade { get; set; }
[JsonPropertyName("Grade")] public string Grade { get; set; }
public string HeaderUniqueID { get; set; }
public string Side { get; set; }
public string SrcDest { get; set; }
[JsonPropertyName("Side")] public string Side { get; set; }
[JsonPropertyName("SrcDest")] public string SrcDest { get; set; }
public string UniqueID { get; set; }
public string WaferID { get; set; }
[JsonPropertyName("WaferID")] public string WaferID { get; set; }
public string Data { get; set; }
public string DcnAll { get; set; }
public string DcnArea { get; set; }
public string DcnAreaCount { get; set; }
public string DcnBin1 { get; set; }
public string DcnBin2 { get; set; }
public string DcnBin3 { get; set; }
public string DcnBin4 { get; set; }
public string DcnBin5 { get; set; }
public string DcnBin6 { get; set; }
public string DcnBin7 { get; set; }
public string DcnBin8 { get; set; }
public string DcnHazeAvg { get; set; }
public string DcnHazeMedian { get; set; }
public string DcnHazeStdDev { get; set; }
public string DcnLpd { get; set; }
public string DcnLpdES { get; set; }
public string DcnLpdN { get; set; }
public string DcnMicroScr { get; set; }
public string DcnScr { get; set; }
public string DcnSlip { get; set; }
public string DnnAll { get; set; }
public string DnnArea { get; set; }
public string DnnAreaCount { get; set; }
public string DnnBin1 { get; set; }
public string DnnBin2 { get; set; }
public string DnnBin3 { get; set; }
public string DnnBin4 { get; set; }
public string DnnBin5 { get; set; }
public string DnnBin6 { get; set; }
public string DnnBin7 { get; set; }
public string DnnBin8 { get; set; }
public string DnnHazeAvg { get; set; }
public string DnnHazeMedian { get; set; }
public string DnnHazeStdDev { get; set; }
public string DnnLpd { get; set; }
public string DnnLpdES { get; set; }
public string DnnLpdN { get; set; }
public string DnnMicroScr { get; set; }
public string DnnScr { get; set; }
public string DnnSlip { get; set; }
public string DwnAll { get; set; }
public string DwnArea { get; set; }
public string DwnAreaCount { get; set; }
public string DwnBin1 { get; set; }
public string DwnBin2 { get; set; }
public string DwnBin3 { get; set; }
public string DwnBin4 { get; set; }
public string DwnBin5 { get; set; }
public string DwnBin6 { get; set; }
public string DwnBin7 { get; set; }
public string DwnBin8 { get; set; }
public string DwnHazeAvg { get; set; }
public string DwnHazeMedian { get; set; }
public string DwnHazeStdDev { get; set; }
public string DwnLpd { get; set; }
public string DwnLpdES { get; set; }
public string DwnLpdN { get; set; }
public string DwnMicroScr { get; set; }
public string DwnScr { get; set; }
public string DwnSlip { get; set; }
[JsonPropertyName("DcnAll")] public string DcnAll { get; set; }
[JsonPropertyName("DcnArea")] public string DcnArea { get; set; }
[JsonPropertyName("DcnAreaCount")] public string DcnAreaCount { get; set; }
[JsonPropertyName("DcnBin1")] public string DcnBin1 { get; set; }
[JsonPropertyName("DcnBin2")] public string DcnBin2 { get; set; }
[JsonPropertyName("DcnBin3")] public string DcnBin3 { get; set; }
[JsonPropertyName("DcnBin4")] public string DcnBin4 { get; set; }
[JsonPropertyName("DcnBin5")] public string DcnBin5 { get; set; }
[JsonPropertyName("DcnBin6")] public string DcnBin6 { get; set; }
[JsonPropertyName("DcnBin7")] public string DcnBin7 { get; set; }
[JsonPropertyName("DcnBin8")] public string DcnBin8 { get; set; }
[JsonPropertyName("DcnHazeAvg")] public string DcnHazeAvg { get; set; }
[JsonPropertyName("DcnHazeMedian")] public string DcnHazeMedian { get; set; }
[JsonPropertyName("DcnHazeStdDev")] public string DcnHazeStdDev { get; set; }
[JsonPropertyName("DcnLpd")] public string DcnLpd { get; set; }
[JsonPropertyName("DcnLpdES")] public string DcnLpdES { get; set; }
[JsonPropertyName("DcnLpdN")] public string DcnLpdN { get; set; }
[JsonPropertyName("DcnMicroScr")] public string DcnMicroScr { get; set; }
[JsonPropertyName("DcnScr")] public string DcnScr { get; set; }
[JsonPropertyName("DcnSlip")] public string DcnSlip { get; set; }
[JsonPropertyName("DnnAll")] public string DnnAll { get; set; }
[JsonPropertyName("DnnArea")] public string DnnArea { get; set; }
[JsonPropertyName("DnnAreaCount")] public string DnnAreaCount { get; set; }
[JsonPropertyName("DnnBin1")] public string DnnBin1 { get; set; }
[JsonPropertyName("DnnBin2")] public string DnnBin2 { get; set; }
[JsonPropertyName("DnnBin3")] public string DnnBin3 { get; set; }
[JsonPropertyName("DnnBin4")] public string DnnBin4 { get; set; }
[JsonPropertyName("DnnBin5")] public string DnnBin5 { get; set; }
[JsonPropertyName("DnnBin6")] public string DnnBin6 { get; set; }
[JsonPropertyName("DnnBin7")] public string DnnBin7 { get; set; }
[JsonPropertyName("DnnBin8")] public string DnnBin8 { get; set; }
[JsonPropertyName("DnnHazeAvg")] public string DnnHazeAvg { get; set; }
[JsonPropertyName("DnnHazeMedian")] public string DnnHazeMedian { get; set; }
[JsonPropertyName("DnnHazeStdDev")] public string DnnHazeStdDev { get; set; }
[JsonPropertyName("DnnLpd")] public string DnnLpd { get; set; }
[JsonPropertyName("DnnLpdES")] public string DnnLpdES { get; set; }
[JsonPropertyName("DnnLpdN")] public string DnnLpdN { get; set; }
[JsonPropertyName("DnnMicroScr")] public string DnnMicroScr { get; set; }
[JsonPropertyName("DnnScr")] public string DnnScr { get; set; }
[JsonPropertyName("DnnSlip")] public string DnnSlip { get; set; }
[JsonPropertyName("DwnAll")] public string DwnAll { get; set; }
[JsonPropertyName("DwnArea")] public string DwnArea { get; set; }
[JsonPropertyName("DwnAreaCount")] public string DwnAreaCount { get; set; }
[JsonPropertyName("DwnBin1")] public string DwnBin1 { get; set; }
[JsonPropertyName("DwnBin2")] public string DwnBin2 { get; set; }
[JsonPropertyName("DwnBin3")] public string DwnBin3 { get; set; }
[JsonPropertyName("DwnBin4")] public string DwnBin4 { get; set; }
[JsonPropertyName("DwnBin5")] public string DwnBin5 { get; set; }
[JsonPropertyName("DwnBin6")] public string DwnBin6 { get; set; }
[JsonPropertyName("DwnBin7")] public string DwnBin7 { get; set; }
[JsonPropertyName("DwnBin8")] public string DwnBin8 { get; set; }
[JsonPropertyName("DwnHazeAvg")] public string DwnHazeAvg { get; set; }
[JsonPropertyName("DwnHazeMedian")] public string DwnHazeMedian { get; set; }
[JsonPropertyName("DwnHazeStdDev")] public string DwnHazeStdDev { get; set; }
[JsonPropertyName("DwnLpd")] public string DwnLpd { get; set; }
[JsonPropertyName("DwnLpdES")] public string DwnLpdES { get; set; }
[JsonPropertyName("DwnLpdN")] public string DwnLpdN { get; set; }
[JsonPropertyName("DwnMicroScr")] public string DwnMicroScr { get; set; }
[JsonPropertyName("DwnScr")] public string DwnScr { get; set; }
[JsonPropertyName("DwnSlip")] public string DwnSlip { get; set; }
public Detail() => Data = "*Data*";
}
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
[JsonSerializable(typeof(Detail))]
internal partial class DetailSourceGenerationContext : JsonSerializerContext
{
}
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
[JsonSerializable(typeof(Detail[]))]
internal partial class DetailArraySourceGenerationContext : JsonSerializerContext
{
}