Refactor CommonB and Job classes to remove LoadLockSide and ReactorType properties; update constructors and methods to accommodate changes and improve data handling
28 lines
908 B
C#
28 lines
908 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Adaptation.FileHandlers.TIBCO.Transport;
|
|
|
|
public class RunDataSheet
|
|
{
|
|
|
|
[JsonConstructor]
|
|
public RunDataSheet(string loadLockSide,
|
|
int number,
|
|
int psn,
|
|
int reactor,
|
|
string reactorType)
|
|
{
|
|
PSN = psn;
|
|
Number = number;
|
|
LoadLockSide = loadLockSide;
|
|
Reactor = reactor;
|
|
ReactorType = reactorType;
|
|
}
|
|
|
|
[JsonPropertyName("keyId")] public int Number { get; } // { init; get; }
|
|
[JsonPropertyName("loadLockSide")] public string LoadLockSide { get; } // { init; get; }
|
|
[JsonPropertyName("PSN")] public int PSN { get; } // { init; get; }
|
|
[JsonPropertyName("reactor")] public int Reactor { get; } // { init; get; }
|
|
[JsonPropertyName("reactorType")] public string ReactorType { get; } // { init; get; }
|
|
|
|
} |