72 lines
3.0 KiB
C#
72 lines
3.0 KiB
C#
using Adaptation.Shared;
|
|
using Adaptation.Shared.Properties;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Adaptation.FileHandlers.MET08THFTIRQS408M
|
|
{
|
|
|
|
public class ProcessData
|
|
{
|
|
|
|
internal static List<Tuple<int, Enum, string>> HyphenTuples => new()
|
|
{
|
|
new Tuple<int, Enum, string>(0, Hyphen.IsNaEDA, @"\EC_EDA\Staging\Traces\~\Source"),
|
|
new Tuple<int, Enum, string>(15, Hyphen.IsXToOpenInsightMetrologyViewer, @"\EC_EAFLog\TracesMES\~\Source"),
|
|
new Tuple<int, Enum, string>(-36, Hyphen.IsXToIQSSi, @"\EC_SPC_Si\Traces\~\PollPath"),
|
|
new Tuple<int, Enum, string>(36, Hyphen.IsXToOpenInsight, @"\\messa01ec.ec.local\APPS\Metrology\~\Source"),
|
|
new Tuple<int, Enum, string>(-36, Hyphen.IsXToOpenInsightMetrologyViewerAttachments, @"\EC_Characterization_Si\In Process\~\Source"),
|
|
new Tuple<int, Enum, string>(360, Hyphen.IsXToAPC, @"\EC_APC\Staging\Traces\~\PollPath"),
|
|
new Tuple<int, Enum, string>(-36, Hyphen.IsXToSPaCe, @"\EC_SPC_Si\Traces\~\Source"),
|
|
new Tuple<int, Enum, string>(180, Hyphen.IsXToArchive, @"\EC_EAFLog\TracesArchive\~\Source"),
|
|
new Tuple<int, Enum, string>(36, Hyphen.IsArchive, @"\EC_Characterization_Si\Processed")
|
|
//new Tuple<int, Enum, string>("IsDummy"
|
|
};
|
|
|
|
internal static string GetLines(IFileRead fileRead, Logistics logistics, List<QS408M.Description> descriptions)
|
|
{
|
|
StringBuilder results = new();
|
|
char del = '\t';
|
|
if (fileRead is null)
|
|
{ }
|
|
if (logistics is null)
|
|
{ }
|
|
QS408M.Description x = descriptions[0];
|
|
results.Append(x.UniqueId).Append(del).
|
|
Append(x.Date).Append(del).
|
|
Append(x.Employee).Append(del).
|
|
Append(x.Recipe).Append(del).
|
|
Append(x.Reactor).Append(del).
|
|
Append(x.RDS).Append(del).
|
|
Append(x.PSN).Append(del).
|
|
Append(x.Layer).Append(del).
|
|
Append(x.Zone).Append(del).
|
|
Append(x.Cassette).Append(del).
|
|
Append(x.Wafer).Append(del).
|
|
Append(x.RVThickness);
|
|
return results.ToString();
|
|
}
|
|
|
|
internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, DateTime dateTime, string logisticsSequenceMemoryDirectory, List<QS408M.Description> descriptions, string matchDirectory)
|
|
{
|
|
if (fileRead is null)
|
|
{ }
|
|
if (logistics is null)
|
|
{ }
|
|
if (openInsightMetrologyViewerAPI is null)
|
|
{ }
|
|
if (dateTime == DateTime.MinValue)
|
|
{ }
|
|
if (logisticsSequenceMemoryDirectory is null)
|
|
{ }
|
|
if (descriptions is null)
|
|
{ }
|
|
if (matchDirectory is null)
|
|
{ }
|
|
//Not used
|
|
}
|
|
|
|
}
|
|
|
|
} |