Add IndexOf and AttemptCounter properties to WSRequest and Description classes; implement getValue function in recipes-and-patterns.js
This commit is contained in:
@ -13,11 +13,13 @@ public class WSRequest
|
||||
{
|
||||
|
||||
public int Id { get; set; }
|
||||
public string AttemptCounter { get; set; }
|
||||
public string Batch { get; set; }
|
||||
public string Cassette { get; set; }
|
||||
public string CellName { get; set; }
|
||||
public string Date { get; set; }
|
||||
public string FilePath { get; set; }
|
||||
public string IndexOf { get; set; }
|
||||
public string MeanThickness { get; set; }
|
||||
public string Operator { get; set; }
|
||||
public string PSN { get; set; }
|
||||
@ -43,9 +45,11 @@ public class WSRequest
|
||||
Details = new List<Stratus.Detail>();
|
||||
//Header
|
||||
{
|
||||
AttemptCounter = x.AttemptCounter;
|
||||
Batch = x.Lot; // different name
|
||||
Cassette = x.Cassette;
|
||||
Date = x.Date;
|
||||
IndexOf = x.IndexOf;
|
||||
MeanThickness = x.MeanThickness;
|
||||
Operator = x.Employee; // different name
|
||||
PSN = x.PSN;
|
||||
|
||||
@ -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("Cassette")] public string Cassette { get; set; }
|
||||
[JsonPropertyName("GradeStdDev")] public string GradeStdDev { get; set; }
|
||||
@ -203,6 +205,8 @@ public class Description : IDescription, Shared.Properties.IDescription
|
||||
PSN = processData.PSN,
|
||||
Reactor = processData.Reactor,
|
||||
Recipe = detail.Recipe,
|
||||
IndexOf = nameof(IndexOf),
|
||||
AttemptCounter = nameof(AttemptCounter),
|
||||
//
|
||||
Cassette = processData.Cassette,
|
||||
GradeStdDev = processData.StdDev,
|
||||
@ -262,6 +266,8 @@ public class Description : IDescription, Shared.Properties.IDescription
|
||||
PSN = nameof(PSN),
|
||||
Reactor = nameof(Reactor),
|
||||
Recipe = nameof(Recipe),
|
||||
IndexOf = nameof(IndexOf),
|
||||
AttemptCounter = nameof(AttemptCounter),
|
||||
//
|
||||
Cassette = nameof(Cassette),
|
||||
GradeStdDev = nameof(GradeStdDev),
|
||||
|
||||
Reference in New Issue
Block a user