Refactor QS408M and PDSF File Handlers
- Updated Detail class to include JsonSourceGenerationOptions and JsonSerializable attributes for source generation. - Modified ProcessData class to utilize source generation context for Description deserialization. - Renamed RowSourceGenerationContext to QS408MRowSourceGenerationContext for clarity. - Updated Run class to use QS408MRunSourceGenerationContext for serialization. - Enhanced Description class with source generation attributes. - Refactored FileRead class to use source generation context for Description deserialization. - Added new methods in ProcessDataStandardFormat for JSON element array extraction. - Introduced new PDSF file handler classes: Body, Constant, FileRead, Footer, Header, Row, Run, and Site. - Implemented logic for parsing and handling PDSF data structures. - Added unit tests for PDSF processing to ensure functionality.
This commit is contained in:
21
Adaptation/FileHandlers/pdsf/Constant.cs
Normal file
21
Adaptation/FileHandlers/pdsf/Constant.cs
Normal file
@ -0,0 +1,21 @@
|
||||
namespace Adaptation.FileHandlers.pdsf;
|
||||
|
||||
internal class Constant
|
||||
{
|
||||
|
||||
public string Period { get; } = ".";
|
||||
public string Slot { get; } = "Slot:";
|
||||
public string Semicolon { get; } = ";";
|
||||
public string Batch { get; } = "batch:";
|
||||
public string TwoSpaces { get; } = " ";
|
||||
public string Wafer { get; } = "wafer:";
|
||||
public string BioRad { get; } = "Bio-Rad";
|
||||
public string Recipe { get; } = "Recipe:";
|
||||
public string Cassette { get; } = "cassette:";
|
||||
public string Operator { get; } = "operator:";
|
||||
public string Thickness { get; } = "thickness";
|
||||
public string MeanThickness { get; } = "mean thickness =";
|
||||
public string StandardDeviation { get; } = ", std. dev =";
|
||||
public string WaferFieldIsMissing { get; } = "Wafer field is missing.";
|
||||
|
||||
}
|
Reference in New Issue
Block a user