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

This commit is contained in:
2025-09-22 16:49:20 -07:00
parent 48ad90c0f1
commit ab990d5e2e
4 changed files with 118 additions and 1 deletions

View File

@ -24,6 +24,7 @@ public class WSRequest
public string RDS { get; set; }
public string Reactor { get; set; }
public string Recipe { get; set; }
public string IndexOf { get; set; }
public string StdDev { get; set; }
public string Title { get; set; }
public string UniqueId { get; set; }
@ -52,6 +53,7 @@ public class WSRequest
RDS = x.RDS;
Reactor = x.Reactor;
Recipe = x.Recipe;
IndexOf = x.IndexOf;
StdDev = x.GradeStdDev; // different name
Title = x.Title;
UniqueId = x.UniqueId;

View File

@ -30,6 +30,7 @@ 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("Cassette")] public string Cassette { get; set; }
[JsonPropertyName("GradeStdDev")] public string GradeStdDev { get; set; }