CSV like PDSF ready to test
This commit is contained in:
59
Adaptation/FileHandlers/QS408M/Row.cs
Normal file
59
Adaptation/FileHandlers/QS408M/Row.cs
Normal file
@ -0,0 +1,59 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.QS408M;
|
||||
|
||||
#nullable enable
|
||||
|
||||
internal class Row
|
||||
{
|
||||
|
||||
public Row(Run run, int i)
|
||||
{
|
||||
Title = run.Header.Title;
|
||||
Recipe = run.Header.Recipe;
|
||||
DateTime = run.Header.DateTime;
|
||||
Operator = run.Header.Operator;
|
||||
Batch = run.Header.Batch;
|
||||
Cassette = run.Header.Cassette;
|
||||
UsedLast = run.Header.UsedLast;
|
||||
Wafer = run.Header.Wafer;
|
||||
//
|
||||
Position = run.Sites[i].Position;
|
||||
Thickness = run.Sites[i].Thickness;
|
||||
//
|
||||
WaferMeanThickness = run.Body.WaferMeanThickness;
|
||||
StdDev = run.Body.StdDev;
|
||||
PassFail = run.Body.PassFail;
|
||||
//
|
||||
Line = run.Footer.Line;
|
||||
RadialVariationThickness = run.Footer.RadialVariationThickness;
|
||||
Slot = run.Footer.Slot;
|
||||
}
|
||||
|
||||
public string Title { get; }
|
||||
public string Recipe { get; }
|
||||
public string DateTime { get; }
|
||||
public string Operator { get; }
|
||||
public string Batch { get; }
|
||||
public string Cassette { get; }
|
||||
public bool UsedLast { get; }
|
||||
public string Wafer { get; }
|
||||
//
|
||||
public string Position { get; }
|
||||
public string Thickness { get; }
|
||||
//
|
||||
public string WaferMeanThickness { get; }
|
||||
public string StdDev { get; }
|
||||
public string PassFail { get; }
|
||||
//
|
||||
public string Line { get; }
|
||||
public string RadialVariationThickness { get; }
|
||||
public string Slot { get; }
|
||||
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSerializable(typeof(Row))]
|
||||
internal partial class RowSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user