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

This commit is contained in:
2025-10-13 17:07:42 -07:00
parent 2bda7012cd
commit a9bfda7da6
5 changed files with 136 additions and 8 deletions

View File

@ -17,6 +17,7 @@ public class WSRequest
//
public string Area { get; set; }
public string AttemptCounter { get; set; }
public string Ccomp { get; set; }
public string CellName { get; set; }
public string CondType { get; set; }
@ -30,6 +31,7 @@ public class WSRequest
public string GradeRadialGradient { get; set; }
public string GradeStdDev { get; set; }
public int Id { get; set; }
public string IndexOf { get; set; }
public string Layer { get; set; }
public string Lot { get; set; }
public string Model { get; set; }
@ -84,6 +86,7 @@ public class WSRequest
//Header
{
Area = x.Area;
AttemptCounter = x.AttemptCounter;
Ccomp = x.Ccomp;
CondType = x.CondType;
Date = x.Date;
@ -95,6 +98,7 @@ public class WSRequest
GradeMean = x.GradeMean;
GradeRadialGradient = x.GradeRadialGradient;
GradeStdDev = x.GradeStdDev;
IndexOf = x.IndexOf;
Operator = logistics.MesEntity; // different name
Layer = x.Layer;
Lot = x.Lot;

View File

@ -30,6 +30,8 @@ public class Description : IDescription, Shared.Properties.IDescription
[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("Area")] public string Area { get; set; }
[JsonPropertyName("Folder")] public string Folder { get; set; }
@ -312,6 +314,8 @@ public class Description : IDescription, Shared.Properties.IDescription
PSN = processData.PSN,
Reactor = processData.Reactor,
Recipe = string.Empty,
IndexOf = nameof(IndexOf),
AttemptCounter = nameof(AttemptCounter),
//
Area = processData.Area,
Folder = processData.Folder,
@ -427,6 +431,8 @@ public class Description : IDescription, Shared.Properties.IDescription
PSN = nameof(PSN),
Reactor = nameof(Reactor),
Recipe = nameof(Recipe),
IndexOf = nameof(IndexOf),
AttemptCounter = nameof(AttemptCounter),
//
Area = nameof(Area),
Folder = nameof(Folder),