2023-03-23 10:17:42 -07:00

73 lines
2.4 KiB
C#

using Adaptation.Shared;
using Adaptation.Shared.Methods;
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.SECS;
public class Description : IDescription, Shared.Properties.IDescription
{
public int Test { get; set; }
public int Count { get; set; }
public int Index { get; set; }
[JsonPropertyName("CURRENT_RECIPE_NAME")]
public string PSN { get; set; } // Part
[JsonPropertyName("LotID")]
public string Reactor { get; set; } // Process
public string MesEntity { get; set; }
[JsonPropertyName("ID")]
public string RDS { get; set; } // Lot
[JsonPropertyName("PATTERNTYPE")]
public string Recipe { get; set; } // Item descriptor
[JsonPropertyName("SAMPLETYPE")]
public string Employee { get; set; } // Item descriptor
public string Date { get; set; }
string IDescription.GetEventDescription() => "File Has been read and parsed";
List<string> IDescription.GetNames(IFileRead fileRead, Logistics logistics) =>
throw new NotImplementedException();
List<string> IDescription.GetDetailNames() =>
throw new NotImplementedException();
List<string> IDescription.GetHeaderNames() =>
throw new NotImplementedException();
IDescription IDescription.GetDisplayNames() =>
throw new NotImplementedException();
List<string> IDescription.GetParameterNames() =>
throw new NotImplementedException();
JsonProperty[] IDescription.GetDefault(IFileRead fileRead, Logistics logistics) =>
throw new NotImplementedException();
List<string> IDescription.GetPairedParameterNames() =>
throw new NotImplementedException();
List<string> IDescription.GetIgnoreParameterNames(Test test) =>
throw new NotImplementedException();
IDescription IDescription.GetDefaultDescription(IFileRead fileRead, Logistics logistics) =>
throw new NotImplementedException();
Dictionary<string, string> IDescription.GetDisplayNamesJsonElement(IFileRead fileRead) =>
throw new NotImplementedException();
List<IDescription> IDescription.GetDescriptions(IFileRead fileRead, Logistics logistics, List<Test> tests, IProcessData iProcessData) =>
throw new NotImplementedException();
internal static string GetDateFormat() => "MM/dd/yyyy hh:mm:ss tt";
}