HttpSelfHostConfigurationBaseAddress
OpenInsightApplicationProgrammingInterface Infineon.EAF.Runtime 2.49.3
This commit is contained in:
parent
c6782d1cb3
commit
2614782d58
@ -1,5 +1,5 @@
|
||||
---
|
||||
type: "kanbn"
|
||||
type: kanbn
|
||||
created: 2023-07-07T15:37:56.040Z
|
||||
updated: 2023-07-18T19:52:59.668Z
|
||||
startedColumns:
|
||||
@ -14,10 +14,10 @@ taskTemplate: '^+^_${overdue ? ''^R'' : ''''}${name}^: ${relations ? (''\n^-^/^g
|
||||
|
||||
## Backlog
|
||||
|
||||
- [signalr](tasks/signalr.md)
|
||||
|
||||
## Todo
|
||||
|
||||
- [public-const-to-eaf](tasks/public-const-to-eaf.md)
|
||||
|
||||
## In Progress
|
||||
|
||||
## Done
|
||||
|
9
Adaptation/.kanbn/tasks/public-const-to-eaf.md
Normal file
9
Adaptation/.kanbn/tasks/public-const-to-eaf.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
created: 2023-08-02T14:35:58.342Z
|
||||
updated: 2023-08-02T14:35:58.333Z
|
||||
assigned: ""
|
||||
progress: 0
|
||||
tags: []
|
||||
---
|
||||
|
||||
# public const to EAF
|
@ -1,11 +0,0 @@
|
||||
---
|
||||
type: "note"
|
||||
created: 2023-06-09T00:12:37.326Z
|
||||
updated: 2023-07-20T18:37:47.949Z
|
||||
---
|
||||
|
||||
# signalr
|
||||
|
||||
## SignalR
|
||||
|
||||
- [HgCV](-1054372370.jpg)
|
2
Adaptation/.vscode/launch.json
vendored
2
Adaptation/.vscode/launch.json
vendored
@ -4,7 +4,7 @@
|
||||
"name": ".NET Core Attach",
|
||||
"type": "coreclr",
|
||||
"request": "attach",
|
||||
"processId": 21276
|
||||
"processId": 23684
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
#if NETFRAMEWORK && NET48
|
||||
using Adaptation.FileHandlers.TIBCO.Transport;
|
||||
using System.Web.Http;
|
||||
using System.Web.Http.Results;
|
||||
|
||||
|
@ -1,7 +1,10 @@
|
||||
using Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
using Adaptation.FileHandlers.TIBCO.Transport;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Net.Http;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@ -12,7 +15,7 @@ public class BarcodeHelper
|
||||
|
||||
#nullable enable
|
||||
|
||||
private static string? GetJson(System.Net.Http.HttpContent? httpContent)
|
||||
private static string? GetJson(HttpContent? httpContent)
|
||||
{
|
||||
string? result;
|
||||
if (httpContent is null)
|
||||
@ -46,7 +49,7 @@ public class BarcodeHelper
|
||||
return result;
|
||||
}
|
||||
|
||||
internal static PostReplay? Post(string id, System.Net.Http.HttpContent? httpContent)
|
||||
internal static PostReplay? Post(string id, HttpContent? httpContent)
|
||||
{
|
||||
PostReplay? result;
|
||||
string? json = GetJson(httpContent);
|
||||
@ -59,16 +62,46 @@ public class BarcodeHelper
|
||||
result = null;
|
||||
else
|
||||
{
|
||||
const string hyphen = "-";
|
||||
Job? job;
|
||||
string? mid;
|
||||
List<QaMetTest>? collection;
|
||||
Dictionary<string, List<QaMetTest>> qaMetTests = new();
|
||||
Write(TIBCO.FileRead.BarcodeHostFileShare, id, notification.Value);
|
||||
Job job = GetJob(TIBCO.FileRead.LSL2SQLConnectionString, TIBCO.FileRead.MetrologyFileShare, TIBCO.FileRead.BarcodeHostFileShare, id, notification.Value);
|
||||
string mid = job.SpecName == hyphen || job.ProcessSpecName == hyphen ? $"{job.ProcessType}" : $"{job.ProcessType}.{job.SpecName}.{job.ProcessSpecName}";
|
||||
try
|
||||
{
|
||||
// https://oi-prod-ec-api.mes.infineon.com/api/oiWizard/materials/rds/
|
||||
const string hyphen = "-";
|
||||
HttpClient httpClient = new();
|
||||
job = GetJob(TIBCO.FileRead.LSL2SQLConnectionString, TIBCO.FileRead.MetrologyFileShare, TIBCO.FileRead.BarcodeHostFileShare, id, notification.Value);
|
||||
mid = job.SpecName == hyphen || job.ProcessSpecName == hyphen ? $"{job.ProcessType}" : $"{job.ProcessType}.{job.SpecName}.{job.ProcessSpecName}";
|
||||
string httpClientResult = httpClient.GetStringAsync($"{FileRead.OpenInsightApplicationProgrammingInterface}/materials/rds/{job.LotName}").Result;
|
||||
Root? root = JsonSerializer.Deserialize<Root>(httpClientResult);
|
||||
httpClient.Dispose();
|
||||
if (root is not null)
|
||||
{
|
||||
foreach (PrsStage prsStage in root.Rds.ProdSpec.PrsStages)
|
||||
{
|
||||
if (prsStage.QaMetTests is null)
|
||||
continue;
|
||||
foreach (QaMetTest qaMetTest in prsStage.QaMetTests)
|
||||
{
|
||||
if (qaMetTest.ToolClass != notification.Value.ToolClass)
|
||||
continue;
|
||||
if (!qaMetTests.TryGetValue(prsStage.Stage, out collection))
|
||||
{
|
||||
qaMetTests.Add(prsStage.Stage, new());
|
||||
if (!qaMetTests.TryGetValue(prsStage.Stage, out collection))
|
||||
throw new Exception();
|
||||
}
|
||||
collection.Add(qaMetTest);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception) { }
|
||||
result = new(job, mid, job.RecipeName);
|
||||
catch (Exception)
|
||||
{
|
||||
mid = null;
|
||||
}
|
||||
result = new(mid, qaMetTests); // .ProdSpec.PrsStages[0].QaMetTests[0].Recipe);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
@ -5,12 +5,16 @@ public readonly struct Notification
|
||||
|
||||
public KeyPressEvent KeyPressEvent { get; }
|
||||
public string LastScanServiceResultValue { get; }
|
||||
public string ToolClass { get; }
|
||||
public string HttpContentBody { get; }
|
||||
|
||||
[System.Text.Json.Serialization.JsonConstructor]
|
||||
public Notification(KeyPressEvent keyPressEvent, string lastScanServiceResultValue)
|
||||
public Notification(KeyPressEvent keyPressEvent, string lastScanServiceResultValue, string toolClass, string httpContentBody)
|
||||
{
|
||||
KeyPressEvent = keyPressEvent;
|
||||
LastScanServiceResultValue = lastScanServiceResultValue;
|
||||
ToolClass = toolClass;
|
||||
HttpContentBody = httpContentBody;
|
||||
}
|
||||
|
||||
}
|
@ -1,20 +1,21 @@
|
||||
using Adaptation.FileHandlers.TIBCO.Transport;
|
||||
using Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.ApiController;
|
||||
|
||||
public class PostReplay
|
||||
{
|
||||
|
||||
public Job Job { get; }
|
||||
public string MId { get; }
|
||||
public string Recipe { get; }
|
||||
#nullable enable
|
||||
|
||||
public string? MId { get; }
|
||||
public Dictionary<string, List<QaMetTest>> QaMetTests { get; }
|
||||
|
||||
[System.Text.Json.Serialization.JsonConstructor]
|
||||
public PostReplay(Job job, string mid, string recipe)
|
||||
public PostReplay(string? mid, Dictionary<string, List<QaMetTest>> qaMetTests)
|
||||
{
|
||||
Job = job;
|
||||
MId = mid;
|
||||
Recipe = recipe;
|
||||
QaMetTests = qaMetTests;
|
||||
}
|
||||
|
||||
}
|
@ -19,6 +19,9 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
|
||||
#nullable enable
|
||||
|
||||
public const string HttpSelfHostConfigurationBaseAddress = "http://localhost:8080/";
|
||||
public const string OpenInsightApplicationProgrammingInterface = "https://oi-prod-ec-api.mes.infineon.com/api/oiWizard";
|
||||
|
||||
private long? _TickOffset;
|
||||
#if NETFRAMEWORK && NET48
|
||||
private readonly HttpSelfHostServer? _HttpSelfHostServer;
|
||||
@ -36,14 +39,26 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
throw new Exception(cellInstanceConnectionName);
|
||||
if (_IsDuplicator)
|
||||
throw new Exception(cellInstanceConnectionName);
|
||||
string barcodeHostFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "Barcode.Host.FileShare");
|
||||
if (barcodeHostFileShare != TIBCO.FileRead.BarcodeHostFileShare)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(TIBCO.FileRead.BarcodeHostFileShare)}]");
|
||||
string httpSelfHostConfigurationBaseAddress = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "Http.Self.Host.Configuration.Base.Address");
|
||||
if (httpSelfHostConfigurationBaseAddress != HttpSelfHostConfigurationBaseAddress)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(HttpSelfHostConfigurationBaseAddress)}]");
|
||||
string lsl2SQLConnectionString = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "ConnectionString.LSL2SQL");
|
||||
if (lsl2SQLConnectionString != TIBCO.FileRead.LSL2SQLConnectionString)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(TIBCO.FileRead.LSL2SQLConnectionString)}]");
|
||||
string metrologyFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "Metrology.FileShare");
|
||||
if (metrologyFileShare != TIBCO.FileRead.MetrologyFileShare)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(TIBCO.FileRead.MetrologyFileShare)}]");
|
||||
string openInsightApplicationProgrammingInterface = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.Application.Programming.Interface");
|
||||
if (openInsightApplicationProgrammingInterface != OpenInsightApplicationProgrammingInterface)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(OpenInsightApplicationProgrammingInterface)}]");
|
||||
#if NETFRAMEWORK && NET48
|
||||
if (!_IsEAFHosted)
|
||||
_HttpSelfHostServer = null;
|
||||
else
|
||||
{
|
||||
// string propertyName = string.Concat("CellInstance.", cellInstanceName, ".HttpSelfHostConfiguration.BaseAddress");
|
||||
// string httpSelfHostConfigurationBaseAddress = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, propertyName);
|
||||
string httpSelfHostConfigurationBaseAddress = "http://localhost:8080/";
|
||||
HttpSelfHostConfiguration config = new(httpSelfHostConfigurationBaseAddress);
|
||||
_ = config.Routes.MapHttpRoute("API Default", "api/{controller}/{id}", new { id = RouteParameter.Optional });
|
||||
_HttpSelfHostServer = new(config);
|
||||
|
18
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/BackSide.cs
Normal file
18
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/BackSide.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class BackSide
|
||||
{
|
||||
[JsonPropertyName("scratches")]
|
||||
public int? Scratches { get; set; }
|
||||
|
||||
[JsonPropertyName("scratchLen")]
|
||||
public int? ScratchLen { get; set; }
|
||||
|
||||
[JsonPropertyName("nodules")]
|
||||
public object Nodules { get; set; }
|
||||
|
||||
[JsonPropertyName("spikes")]
|
||||
public object Spikes { get; set; }
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class CleanInsp
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public int KeyId { get; set; }
|
||||
|
||||
[JsonPropertyName("stage")]
|
||||
public string Stage { get; set; }
|
||||
|
||||
[JsonPropertyName("cleans")]
|
||||
public Cleans Cleans { get; set; }
|
||||
|
||||
[JsonPropertyName("inspection")]
|
||||
public Inspection Inspection { get; set; }
|
||||
|
||||
[JsonPropertyName("surfScan")]
|
||||
public SurfScan SurfScan { get; set; }
|
||||
}
|
22
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Cleans.cs
Normal file
22
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Cleans.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class Cleans
|
||||
{
|
||||
[JsonPropertyName("cleanRecipe")]
|
||||
public object CleanRecipe { get; set; }
|
||||
|
||||
[JsonPropertyName("cleanSigReq")]
|
||||
public bool CleanSigReq { get; set; }
|
||||
|
||||
[JsonPropertyName("cleanTools")]
|
||||
public List<object> CleanTools { get; set; }
|
||||
|
||||
[JsonPropertyName("specs")]
|
||||
public Spec Specs { get; set; }
|
||||
|
||||
[JsonPropertyName("operations")]
|
||||
public List<object> Operations { get; set; }
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class CustEpiPart
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public string KeyId { get; set; }
|
||||
}
|
12
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/EpiPart.cs
Normal file
12
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/EpiPart.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class EpiPart
|
||||
{
|
||||
[JsonPropertyName("keyID")]
|
||||
public int KeyID { get; set; }
|
||||
|
||||
[JsonPropertyName("waferSize")]
|
||||
public string WaferSize { get; set; }
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class FrontSide
|
||||
{
|
||||
[JsonPropertyName("lpd")]
|
||||
public int? Lpd { get; set; }
|
||||
|
||||
[JsonPropertyName("scratches")]
|
||||
public int? Scratches { get; set; }
|
||||
|
||||
[JsonPropertyName("scratchLen")]
|
||||
public string ScratchLen { get; set; }
|
||||
|
||||
[JsonPropertyName("pits")]
|
||||
public int? Pits { get; set; }
|
||||
|
||||
[JsonPropertyName("mounds")]
|
||||
public int? Mounds { get; set; }
|
||||
|
||||
[JsonPropertyName("stackFaults")]
|
||||
public int? StackFaults { get; set; }
|
||||
|
||||
[JsonPropertyName("spikes")]
|
||||
public int? Spikes { get; set; }
|
||||
|
||||
[JsonPropertyName("spots")]
|
||||
public int? Spots { get; set; }
|
||||
|
||||
[JsonPropertyName("blDefects")]
|
||||
public int? BlDefects { get; set; }
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class Inspection
|
||||
{
|
||||
[JsonPropertyName("microscope")]
|
||||
public bool Microscope { get; set; }
|
||||
|
||||
[JsonPropertyName("brightlight")]
|
||||
public bool Brightlight { get; set; }
|
||||
|
||||
[JsonPropertyName("inspSigReq")]
|
||||
public bool InspSigReq { get; set; }
|
||||
|
||||
[JsonPropertyName("inspInterval")]
|
||||
public int? InspInterval { get; set; }
|
||||
|
||||
[JsonPropertyName("frontSide")]
|
||||
public FrontSide FrontSide { get; set; }
|
||||
|
||||
[JsonPropertyName("backSide")]
|
||||
public BackSide BackSide { get; set; }
|
||||
|
||||
[JsonPropertyName("specs")]
|
||||
public Spec Specs { get; set; }
|
||||
}
|
49
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/ProdSpec.cs
Normal file
49
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/ProdSpec.cs
Normal file
@ -0,0 +1,49 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class ProdSpec
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public int KeyId { get; set; }
|
||||
|
||||
[JsonPropertyName("specType")]
|
||||
public string SpecType { get; set; }
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
[JsonPropertyName("minutesPerWafer")]
|
||||
public double MinutesPerWafer { get; set; }
|
||||
|
||||
[JsonPropertyName("proveInTime")]
|
||||
public double ProveInTime { get; set; }
|
||||
|
||||
[JsonPropertyName("layerType")]
|
||||
public string LayerType { get; set; }
|
||||
|
||||
[JsonPropertyName("reactorType")]
|
||||
public string ReactorType { get; set; }
|
||||
|
||||
[JsonPropertyName("susceptorType")]
|
||||
public string SusceptorType { get; set; }
|
||||
|
||||
[JsonPropertyName("tubePressureType")]
|
||||
public string TubePressureType { get; set; }
|
||||
|
||||
[JsonPropertyName("recipeLayers")]
|
||||
public List<RecipeLayer> RecipeLayers { get; set; }
|
||||
|
||||
[JsonPropertyName("prodVers")]
|
||||
public List<ProdVer> ProdVers { get; set; }
|
||||
|
||||
[JsonPropertyName("epiPart")]
|
||||
public EpiPart EpiPart { get; set; }
|
||||
|
||||
[JsonPropertyName("custEpiParts")]
|
||||
public List<CustEpiPart> CustEpiParts { get; set; }
|
||||
|
||||
[JsonPropertyName("prsStages")]
|
||||
public List<PrsStage> PrsStages { get; set; }
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class ProdVer
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public int KeyId { get; set; }
|
||||
}
|
28
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/PrsStage.cs
Normal file
28
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/PrsStage.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class PrsStage
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public string KeyId { get; set; }
|
||||
|
||||
[JsonPropertyName("psn")]
|
||||
public int Psn { get; set; }
|
||||
|
||||
[JsonPropertyName("stage")]
|
||||
public string Stage { get; set; }
|
||||
|
||||
[JsonPropertyName("cleans")]
|
||||
public Cleans Cleans { get; set; }
|
||||
|
||||
[JsonPropertyName("inspection")]
|
||||
public Inspection Inspection { get; set; }
|
||||
|
||||
[JsonPropertyName("surfscan")]
|
||||
public SurfScan Surfscan { get; set; }
|
||||
|
||||
[JsonPropertyName("qaMetTests")]
|
||||
public List<QaMetTest> QaMetTests { get; set; }
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class QaMetTest
|
||||
{
|
||||
[JsonPropertyName("test")]
|
||||
public string Test { get; set; }
|
||||
|
||||
[JsonPropertyName("property")]
|
||||
public string Property { get; set; }
|
||||
|
||||
[JsonPropertyName("propertyDesc")]
|
||||
public string PropertyDesc { get; set; }
|
||||
|
||||
[JsonPropertyName("toolClass")]
|
||||
public string ToolClass { get; set; }
|
||||
|
||||
[JsonPropertyName("recipe")]
|
||||
public string Recipe { get; set; }
|
||||
|
||||
[JsonPropertyName("recipePattern")]
|
||||
public string RecipePattern { get; set; }
|
||||
|
||||
[JsonPropertyName("min")]
|
||||
public double Min { get; set; }
|
||||
|
||||
[JsonPropertyName("max")]
|
||||
public double Max { get; set; }
|
||||
|
||||
[JsonPropertyName("phaseMin")]
|
||||
public double? PhaseMin { get; set; }
|
||||
|
||||
[JsonPropertyName("slots")]
|
||||
public object Slots { get; set; }
|
||||
|
||||
[JsonPropertyName("wfrQty")]
|
||||
public int WfrQty { get; set; }
|
||||
|
||||
[JsonPropertyName("reactSched")]
|
||||
public bool ReactSched { get; set; }
|
||||
|
||||
[JsonPropertyName("interval")]
|
||||
public int Interval { get; set; }
|
||||
|
||||
[JsonPropertyName("start")]
|
||||
public int Start { get; set; }
|
||||
|
||||
[JsonPropertyName("sequence")]
|
||||
public string Sequence { get; set; }
|
||||
}
|
97
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Rds.cs
Normal file
97
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Rds.cs
Normal file
@ -0,0 +1,97 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class Rds
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public int KeyId { get; set; }
|
||||
|
||||
[JsonPropertyName("reactor")]
|
||||
public int Reactor { get; set; }
|
||||
|
||||
[JsonPropertyName("workOrder")]
|
||||
public int WorkOrder { get; set; }
|
||||
|
||||
[JsonPropertyName("cassNo")]
|
||||
public int CassNo { get; set; }
|
||||
|
||||
[JsonPropertyName("combStatus")]
|
||||
public string CombStatus { get; set; }
|
||||
|
||||
[JsonPropertyName("partNo")]
|
||||
public int PartNo { get; set; }
|
||||
|
||||
[JsonPropertyName("PSN")]
|
||||
public int PSN { get; set; }
|
||||
|
||||
[JsonPropertyName("entryId")]
|
||||
public string EntryId { get; set; }
|
||||
|
||||
[JsonPropertyName("entryDtm")]
|
||||
public string EntryDtm { get; set; }
|
||||
|
||||
[JsonPropertyName("preEpiSig")]
|
||||
public string PreEpiSig { get; set; }
|
||||
|
||||
[JsonPropertyName("preEpiSigDtm")]
|
||||
public string PreEpiSigDtm { get; set; }
|
||||
|
||||
[JsonPropertyName("operatorIn")]
|
||||
public string OperatorIn { get; set; }
|
||||
|
||||
[JsonPropertyName("dtmIn")]
|
||||
public string DtmIn { get; set; }
|
||||
|
||||
[JsonPropertyName("operatorOut")]
|
||||
public string OperatorOut { get; set; }
|
||||
|
||||
[JsonPropertyName("dtmOut")]
|
||||
public string DtmOut { get; set; }
|
||||
|
||||
[JsonPropertyName("postEpiSig")]
|
||||
public string PostEpiSig { get; set; }
|
||||
|
||||
[JsonPropertyName("postEpiSigDtm")]
|
||||
public string PostEpiSigDtm { get; set; }
|
||||
|
||||
[JsonPropertyName("supVerSig")]
|
||||
public string SupVerSig { get; set; }
|
||||
|
||||
[JsonPropertyName("supVerSigDtm")]
|
||||
public string SupVerSigDtm { get; set; }
|
||||
|
||||
[JsonPropertyName("shipDtm")]
|
||||
public object ShipDtm { get; set; }
|
||||
|
||||
[JsonPropertyName("subPartNo")]
|
||||
public int SubPartNo { get; set; }
|
||||
|
||||
[JsonPropertyName("shipNo")]
|
||||
public object ShipNo { get; set; }
|
||||
|
||||
[JsonPropertyName("cassWaferQty")]
|
||||
public int CassWaferQty { get; set; }
|
||||
|
||||
[JsonPropertyName("loadLockSide")]
|
||||
public string LoadLockSide { get; set; }
|
||||
|
||||
[JsonPropertyName("waferSize")]
|
||||
public string WaferSize { get; set; }
|
||||
|
||||
[JsonPropertyName("reactorType")]
|
||||
public string ReactorType { get; set; }
|
||||
|
||||
[JsonPropertyName("prodSpec")]
|
||||
public ProdSpec ProdSpec { get; set; }
|
||||
|
||||
[JsonPropertyName("cleanInsp")]
|
||||
public List<CleanInsp> CleanInsp { get; set; }
|
||||
|
||||
[JsonPropertyName("woMatQA")]
|
||||
public WoMatQA WoMatQA { get; set; }
|
||||
|
||||
[JsonPropertyName("rdsLayers")]
|
||||
public List<RdsLayer> RdsLayers { get; set; }
|
||||
}
|
63
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/RdsLayer.cs
Normal file
63
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/RdsLayer.cs
Normal file
@ -0,0 +1,63 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class RdsLayer
|
||||
{
|
||||
[JsonPropertyName("keyID")]
|
||||
public string KeyID { get; set; }
|
||||
|
||||
[JsonPropertyName("EpiTime")]
|
||||
public double EpiTime { get; set; }
|
||||
|
||||
[JsonPropertyName("DiluentAdjParam")]
|
||||
public int DiluentAdjParam { get; set; }
|
||||
|
||||
[JsonPropertyName("DopantFlow")]
|
||||
public double DopantFlow { get; set; }
|
||||
|
||||
[JsonPropertyName("HCLFlow")]
|
||||
public object HCLFlow { get; set; }
|
||||
|
||||
[JsonPropertyName("BakeTime")]
|
||||
public string BakeTime { get; set; }
|
||||
|
||||
[JsonPropertyName("EpiH2Flow")]
|
||||
public int EpiH2Flow { get; set; }
|
||||
|
||||
[JsonPropertyName("TCSFlow")]
|
||||
public int TCSFlow { get; set; }
|
||||
|
||||
[JsonPropertyName("DCSFlow")]
|
||||
public object DCSFlow { get; set; }
|
||||
|
||||
[JsonPropertyName("FOffset")]
|
||||
public int FOffset { get; set; }
|
||||
|
||||
[JsonPropertyName("SOffset")]
|
||||
public int SOffset { get; set; }
|
||||
|
||||
[JsonPropertyName("ROffset")]
|
||||
public int ROffset { get; set; }
|
||||
|
||||
[JsonPropertyName("Etch1")]
|
||||
public string Etch1 { get; set; }
|
||||
|
||||
[JsonPropertyName("Etch2")]
|
||||
public string Etch2 { get; set; }
|
||||
|
||||
[JsonPropertyName("Etch3")]
|
||||
public string Etch3 { get; set; }
|
||||
|
||||
[JsonPropertyName("AUX1")]
|
||||
public object AUX1 { get; set; }
|
||||
|
||||
[JsonPropertyName("AUX2")]
|
||||
public object AUX2 { get; set; }
|
||||
|
||||
[JsonPropertyName("ULTemp")]
|
||||
public int ULTemp { get; set; }
|
||||
|
||||
[JsonPropertyName("SuscEtch")]
|
||||
public object SuscEtch { get; set; }
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class RecipeLayer
|
||||
{
|
||||
[JsonPropertyName("layerNo")]
|
||||
public int LayerNo { get; set; }
|
||||
|
||||
[JsonPropertyName("layerId")]
|
||||
public string LayerId { get; set; }
|
||||
|
||||
[JsonPropertyName("layerType")]
|
||||
public string LayerType { get; set; }
|
||||
|
||||
[JsonPropertyName("layerRecipe")]
|
||||
public int LayerRecipe { get; set; }
|
||||
|
||||
[JsonPropertyName("layerDopant")]
|
||||
public string LayerDopant { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickMin")]
|
||||
public double LayerThickMin { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickTarget")]
|
||||
public double LayerThickTarget { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickMax")]
|
||||
public double LayerThickMax { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickUnits")]
|
||||
public string LayerThickUnits { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickAMin")]
|
||||
public object LayerThickAMin { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickATarget")]
|
||||
public object LayerThickATarget { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickAMaxes")]
|
||||
public object LayerThickAMaxes { get; set; }
|
||||
|
||||
[JsonPropertyName("layerThickAUnits")]
|
||||
public object LayerThickAUnits { get; set; }
|
||||
|
||||
[JsonPropertyName("layerResMin")]
|
||||
public double LayerResMin { get; set; }
|
||||
|
||||
[JsonPropertyName("layerResTarget")]
|
||||
public int LayerResTarget { get; set; }
|
||||
|
||||
[JsonPropertyName("layerResMax")]
|
||||
public double LayerResMax { get; set; }
|
||||
|
||||
[JsonPropertyName("layerResUnits")]
|
||||
public string LayerResUnits { get; set; }
|
||||
|
||||
[JsonPropertyName("layerSResMin")]
|
||||
public object LayerSResMin { get; set; }
|
||||
|
||||
[JsonPropertyName("layerSResTarget")]
|
||||
public object LayerSResTarget { get; set; }
|
||||
|
||||
[JsonPropertyName("layerSResMax")]
|
||||
public object LayerSResMax { get; set; }
|
||||
|
||||
[JsonPropertyName("layerSResUnits")]
|
||||
public object LayerSResUnits { get; set; }
|
||||
}
|
15
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Root.cs
Normal file
15
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Root.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class Root
|
||||
{
|
||||
[JsonPropertyName("rds")]
|
||||
public Rds Rds { get; set; }
|
||||
|
||||
[JsonPropertyName("_links")]
|
||||
public object Links { get; set; }
|
||||
|
||||
[JsonPropertyName("_class")]
|
||||
public string Class { get; set; }
|
||||
}
|
73
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Spec.cs
Normal file
73
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Spec.cs
Normal file
@ -0,0 +1,73 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class Spec
|
||||
{
|
||||
[JsonPropertyName("recipe")]
|
||||
public string Recipe { get; set; }
|
||||
|
||||
[JsonPropertyName("defect")]
|
||||
public int Defect { get; set; }
|
||||
|
||||
[JsonPropertyName("haze")]
|
||||
public int Haze { get; set; }
|
||||
|
||||
[JsonPropertyName("sampleQty")]
|
||||
public int SampleQty { get; set; }
|
||||
|
||||
[JsonPropertyName("tools")]
|
||||
public List<object> Tools { get; set; }
|
||||
|
||||
[JsonPropertyName("recipes")]
|
||||
public List<object> Recipes { get; set; }
|
||||
|
||||
[JsonPropertyName("microscopeReq")]
|
||||
public bool MicroscopeReq { get; set; }
|
||||
|
||||
[JsonPropertyName("brightlightReq")]
|
||||
public bool BrightlightReq { get; set; }
|
||||
|
||||
[JsonPropertyName("lpd")]
|
||||
public int Lpd { get; set; }
|
||||
|
||||
[JsonPropertyName("scratches")]
|
||||
public int Scratches { get; set; }
|
||||
|
||||
[JsonPropertyName("scratchLen")]
|
||||
public int ScratchLen { get; set; }
|
||||
|
||||
[JsonPropertyName("pits")]
|
||||
public int Pits { get; set; }
|
||||
|
||||
[JsonPropertyName("mounds")]
|
||||
public int Mounds { get; set; }
|
||||
|
||||
[JsonPropertyName("stackFaults")]
|
||||
public int StackFaults { get; set; }
|
||||
|
||||
[JsonPropertyName("spikes")]
|
||||
public int Spikes { get; set; }
|
||||
|
||||
[JsonPropertyName("spots")]
|
||||
public int Spots { get; set; }
|
||||
|
||||
[JsonPropertyName("fov")]
|
||||
public int Fov { get; set; }
|
||||
|
||||
[JsonPropertyName("blDefects")]
|
||||
public int BlDefects { get; set; }
|
||||
|
||||
[JsonPropertyName("bsideScratches")]
|
||||
public int BsideScratches { get; set; }
|
||||
|
||||
[JsonPropertyName("bsideScratchLen")]
|
||||
public int BsideScratchLen { get; set; }
|
||||
|
||||
[JsonPropertyName("bsideNodules")]
|
||||
public object BsideNodules { get; set; }
|
||||
|
||||
[JsonPropertyName("bsideSpikes")]
|
||||
public object BsideSpikes { get; set; }
|
||||
}
|
13
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/SurfScan.cs
Normal file
13
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/SurfScan.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class SurfScan
|
||||
{
|
||||
[JsonPropertyName("surfscanSigReq")]
|
||||
public bool SurfscanSigReq { get; set; }
|
||||
|
||||
[JsonPropertyName("surfscanRecipes")]
|
||||
public List<SurfscanRecipe> SurfscanRecipes { get; set; }
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class SurfScan2
|
||||
{
|
||||
[JsonPropertyName("specs")]
|
||||
public List<Spec> Specs { get; set; }
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class SurfscanRecipe
|
||||
{
|
||||
[JsonPropertyName("recipe")]
|
||||
public string Recipe { get; set; }
|
||||
|
||||
[JsonPropertyName("defects")]
|
||||
public int Defects { get; set; }
|
||||
|
||||
[JsonPropertyName("haze")]
|
||||
public int Haze { get; set; }
|
||||
|
||||
[JsonPropertyName("sampleSize")]
|
||||
public int SampleSize { get; set; }
|
||||
}
|
73
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Test.cs
Normal file
73
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/Test.cs
Normal file
@ -0,0 +1,73 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class Test
|
||||
{
|
||||
[JsonPropertyName("stage")]
|
||||
public string Stage { get; set; }
|
||||
|
||||
[JsonPropertyName("profile")]
|
||||
public string Profile { get; set; }
|
||||
|
||||
[JsonPropertyName("prop")]
|
||||
public string Prop { get; set; }
|
||||
|
||||
[JsonPropertyName("toolClass")]
|
||||
public string ToolClass { get; set; }
|
||||
|
||||
[JsonPropertyName("recipe")]
|
||||
public string Recipe { get; set; }
|
||||
|
||||
[JsonPropertyName("recipePattern")]
|
||||
public string RecipePattern { get; set; }
|
||||
|
||||
[JsonPropertyName("specMin")]
|
||||
public double SpecMin { get; set; }
|
||||
|
||||
[JsonPropertyName("specMax")]
|
||||
public double SpecMax { get; set; }
|
||||
|
||||
[JsonPropertyName("specSlot")]
|
||||
public object SpecSlot { get; set; }
|
||||
|
||||
[JsonPropertyName("testSlot")]
|
||||
public object TestSlot { get; set; }
|
||||
|
||||
[JsonPropertyName("testResult")]
|
||||
public List<double> TestResult { get; set; }
|
||||
|
||||
[JsonPropertyName("testSig")]
|
||||
public string TestSig { get; set; }
|
||||
|
||||
[JsonPropertyName("testSigDtm")]
|
||||
public string TestSigDtm { get; set; }
|
||||
|
||||
[JsonPropertyName("specStdDev")]
|
||||
public object SpecStdDev { get; set; }
|
||||
|
||||
[JsonPropertyName("testStdDev")]
|
||||
public object TestStdDev { get; set; }
|
||||
|
||||
[JsonPropertyName("specWfrQty")]
|
||||
public int SpecWfrQty { get; set; }
|
||||
|
||||
[JsonPropertyName("dataPoints")]
|
||||
public List<List<object>> DataPoints { get; set; }
|
||||
|
||||
[JsonPropertyName("testResultMin")]
|
||||
public List<object> TestResultMin { get; set; }
|
||||
|
||||
[JsonPropertyName("testResultMax")]
|
||||
public List<object> TestResultMax { get; set; }
|
||||
|
||||
[JsonPropertyName("testOutOfSpec")]
|
||||
public bool TestOutOfSpec { get; set; }
|
||||
|
||||
[JsonPropertyName("phaseMin")]
|
||||
public object PhaseMin { get; set; }
|
||||
|
||||
[JsonPropertyName("failReason")]
|
||||
public object FailReason { get; set; }
|
||||
}
|
13
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/WoMatQA.cs
Normal file
13
Adaptation/FileHandlers/MoveAllFiles/OpenInsight/WoMatQA.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.MoveAllFiles.OpenInsight;
|
||||
|
||||
public class WoMatQA
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public string KeyId { get; set; }
|
||||
|
||||
[JsonPropertyName("tests")]
|
||||
public List<Test> Tests { get; set; }
|
||||
}
|
@ -17,7 +17,7 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
|
||||
public const string BarcodeHostFileShare = @"\\messv02ecc1.ec.local\EC_Metrology_Si\BarcodeHost\API";
|
||||
public const string MetrologyFileShare = @"\\messv02ecc1.ec.local\EC_Metrology_Si\WorkMaterialOut\API";
|
||||
public const string LSL2SQLConnectionString = @"Data Source=10.95.128.28\\PROD1,53959;Initial Catalog=LSL2SQL;Persist Security Info=True;User ID=srpadmin;Password=0okm9ijn;";
|
||||
public const string LSL2SQLConnectionString = @"Data Source=10.95.128.28\PROD1,53959;Initial Catalog=LSL2SQL;Persist Security Info=True;User ID=srpadmin;Password=0okm9ijn;";
|
||||
|
||||
private long? _TickOffset;
|
||||
|
||||
@ -33,15 +33,15 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
throw new Exception(cellInstanceConnectionName);
|
||||
if (!_IsDuplicator)
|
||||
throw new Exception(cellInstanceConnectionName);
|
||||
string metrologyFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "Metrology.FileShare");
|
||||
if (metrologyFileShare != MetrologyFileShare)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(MetrologyFileShare)}]");
|
||||
string barcodeHostFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "BarcodeHost.FileShare");
|
||||
string barcodeHostFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "Barcode.Host.FileShare");
|
||||
if (barcodeHostFileShare != BarcodeHostFileShare)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(BarcodeHostFileShare)}]");
|
||||
string lsl2SQLConnectionString = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "ConnectionString.LSL2SQL");
|
||||
if (lsl2SQLConnectionString != LSL2SQLConnectionString)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(LSL2SQLConnectionString)}]");
|
||||
string metrologyFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "Metrology.FileShare");
|
||||
if (metrologyFileShare != MetrologyFileShare)
|
||||
throw new NotSupportedException($"Update configuration for [{nameof(MetrologyFileShare)}]");
|
||||
ModelObjectParameterDefinition[] tibcoParameters = GetProperties(cellInstanceConnectionName, modelObjectParameters, "TIBCO.");
|
||||
string tibcoParameterChannel = GetPropertyValue(cellInstanceConnectionName, tibcoParameters, "TIBCO.IFX_CHANNEL");
|
||||
string tibcoParameterSubject = GetPropertyValue(cellInstanceConnectionName, tibcoParameters, "TIBCO.IFX_SUBJECT");
|
||||
|
@ -47,9 +47,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting?.Dispose();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__MoveMatchingFiles()
|
||||
{
|
||||
@ -60,9 +58,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsightMetrologyViewer()
|
||||
{
|
||||
@ -73,9 +69,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__IQSSi()
|
||||
{
|
||||
@ -86,9 +80,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsight()
|
||||
{
|
||||
@ -99,9 +91,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments()
|
||||
{
|
||||
@ -112,9 +102,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__APC()
|
||||
{
|
||||
@ -125,9 +113,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__SPaCe()
|
||||
{
|
||||
@ -138,9 +124,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__Processed()
|
||||
{
|
||||
@ -151,9 +135,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__Archive()
|
||||
{
|
||||
@ -164,9 +146,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__Dummy()
|
||||
{
|
||||
|
@ -47,9 +47,7 @@ public class SP101 : EAFLoggingUnitTesting
|
||||
EAFLoggingUnitTesting?.Dispose();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__SP101__txt()
|
||||
{
|
||||
|
@ -0,0 +1,191 @@
|
||||
using Adaptation._Tests.Shared;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3;
|
||||
|
||||
[TestClass]
|
||||
public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
internal static string DummyRoot { get; private set; }
|
||||
internal static MET08DDUPSP1TBI EAFLoggingUnitTesting { get; private set; }
|
||||
|
||||
static MET08DDUPSP1TBI() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
|
||||
|
||||
public MET08DDUPSP1TBI() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||
{
|
||||
if (EAFLoggingUnitTesting is null)
|
||||
throw new Exception();
|
||||
}
|
||||
|
||||
public MET08DDUPSP1TBI(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||
{
|
||||
}
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
EAFLoggingUnitTesting ??= new MET08DDUPSP1TBI(testContext);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
|
||||
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
|
||||
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
|
||||
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
|
||||
}
|
||||
|
||||
[ClassCleanup()]
|
||||
public static void ClassCleanup()
|
||||
{
|
||||
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
|
||||
EAFLoggingUnitTesting?.Dispose();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__MoveMatchingFiles()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsightMetrologyViewer()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__IQSSi()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsight()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__APC()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__SPaCe()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__Processed()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__Archive()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__Dummy()
|
||||
{
|
||||
string check = "637400748000000000.zip";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__TIBCO()
|
||||
{
|
||||
string check = "*.idc";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
using Adaptation._Tests.Shared;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3;
|
||||
|
||||
[TestClass]
|
||||
public class SP101_EQPT : EAFLoggingUnitTesting
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
internal static string DummyRoot { get; private set; }
|
||||
internal static SP101_EQPT EAFLoggingUnitTesting { get; private set; }
|
||||
|
||||
static SP101_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
|
||||
|
||||
public SP101_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||
{
|
||||
if (EAFLoggingUnitTesting is null)
|
||||
throw new Exception();
|
||||
}
|
||||
|
||||
public SP101_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||
{
|
||||
}
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
EAFLoggingUnitTesting ??= new SP101_EQPT(testContext);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
|
||||
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
|
||||
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
|
||||
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
|
||||
}
|
||||
|
||||
[ClassCleanup()]
|
||||
public static void ClassCleanup()
|
||||
{
|
||||
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
|
||||
EAFLoggingUnitTesting?.Dispose();
|
||||
}
|
||||
|
||||
private static void NonThrowTryCatch()
|
||||
{
|
||||
try
|
||||
{ throw new Exception(); }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__SP101_EQPT__MoveAllFiles()
|
||||
{
|
||||
string check = "*";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
NonThrowTryCatch();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
using Adaptation._Tests.Shared;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3;
|
||||
|
||||
[TestClass]
|
||||
public class SP101 : EAFLoggingUnitTesting
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
internal static string DummyRoot { get; private set; }
|
||||
internal static SP101 EAFLoggingUnitTesting { get; private set; }
|
||||
|
||||
static SP101() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
|
||||
|
||||
public SP101() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||
{
|
||||
if (EAFLoggingUnitTesting is null)
|
||||
throw new Exception();
|
||||
}
|
||||
|
||||
public SP101(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||
{
|
||||
}
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
EAFLoggingUnitTesting ??= new SP101(testContext);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
|
||||
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
|
||||
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
|
||||
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
|
||||
}
|
||||
|
||||
[ClassCleanup()]
|
||||
public static void ClassCleanup()
|
||||
{
|
||||
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
|
||||
EAFLoggingUnitTesting?.Dispose();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__SP101__txt()
|
||||
{
|
||||
string check = "*.txt";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||
}
|
||||
|
||||
}
|
@ -30,15 +30,11 @@ public class MET08DDUPSP1TBI
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__MoveMatchingFiles() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__MoveMatchingFiles();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__MoveMatchingFiles637955319879801344__Normal()
|
||||
{
|
||||
@ -52,27 +48,19 @@ public class MET08DDUPSP1TBI
|
||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsightMetrologyViewer() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsightMetrologyViewer();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__IQSSi() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__IQSSi();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsight() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsight();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsight638052814829645888__IqsSql()
|
||||
{
|
||||
@ -85,39 +73,27 @@ public class MET08DDUPSP1TBI
|
||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__APC() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__APC();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__SPaCe() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__SPaCe();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__Processed() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__Processed();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__Archive() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__Archive();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__MET08DDUPSP1TBI__Dummy() => _MET08DDUPSP1TBI.Staging__v2_49_2__MET08DDUPSP1TBI__Dummy();
|
||||
|
||||
|
@ -22,15 +22,11 @@ public class SP101
|
||||
_SP101 = CreateSelfDescription.Staging.v2_49_2.SP101.EAFLoggingUnitTesting;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__SP101__txt() => _SP101.Staging__v2_49_2__SP101__txt();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_2__SP101__txt637955319879801344__Normal()
|
||||
{
|
||||
|
148
Adaptation/_Tests/Extract/Staging/v2.49.3/MET08DDUPSP1TBI.cs
Normal file
148
Adaptation/_Tests/Extract/Staging/v2.49.3/MET08DDUPSP1TBI.cs
Normal file
@ -0,0 +1,148 @@
|
||||
using Adaptation.Shared;
|
||||
using Adaptation.Shared.Methods;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Adaptation._Tests.Extract.Staging.v2_49_3;
|
||||
|
||||
[TestClass]
|
||||
public class MET08DDUPSP1TBI
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
private static CreateSelfDescription.Staging.v2_49_3.MET08DDUPSP1TBI _MET08DDUPSP1TBI;
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
CreateSelfDescription.Staging.v2_49_3.MET08DDUPSP1TBI.ClassInitialize(testContext);
|
||||
_MET08DDUPSP1TBI = CreateSelfDescription.Staging.v2_49_3.MET08DDUPSP1TBI.EAFLoggingUnitTesting;
|
||||
}
|
||||
|
||||
private static void NonThrowTryCatch()
|
||||
{
|
||||
try
|
||||
{ throw new Exception(); }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__MoveMatchingFiles() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__MoveMatchingFiles();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__MoveMatchingFiles637955319879801344__Normal()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
bool validatePDSF = false;
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
_MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__MoveMatchingFiles();
|
||||
string[] variables = _MET08DDUPSP1TBI.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
||||
IFileRead fileRead = _MET08DDUPSP1TBI.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||
Logistics logistics = new(fileRead);
|
||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
|
||||
NonThrowTryCatch();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsightMetrologyViewer() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsightMetrologyViewer();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__IQSSi() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__IQSSi();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsight() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsight();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsight638052814829645888__IqsSql()
|
||||
{
|
||||
string check = "*.pdsf";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
_MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsight();
|
||||
string[] variables = _MET08DDUPSP1TBI.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
|
||||
IFileRead fileRead = _MET08DDUPSP1TBI.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||
Logistics logistics = new(fileRead);
|
||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||
NonThrowTryCatch();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__APC() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__APC();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__SPaCe() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__SPaCe();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__Processed() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__Processed();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__Archive() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__Archive();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__Dummy() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__Dummy();
|
||||
|
||||
#if true
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__TIBCO() => _MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__TIBCO();
|
||||
|
||||
#if true
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__MET08DDUPSP1TBI__TIBCO638217888620242702__Normal()
|
||||
{
|
||||
string check = "*.idc";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
_MET08DDUPSP1TBI.Staging__v2_49_3__MET08DDUPSP1TBI__TIBCO();
|
||||
string[] variables = _MET08DDUPSP1TBI.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
|
||||
_ = _MET08DDUPSP1TBI.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||
for (int i = 0; i < int.MaxValue; i++)
|
||||
System.Threading.Thread.Sleep(500);
|
||||
NonThrowTryCatch();
|
||||
}
|
||||
|
||||
}
|
27
Adaptation/_Tests/Extract/Staging/v2.49.3/SP101-EQPT.cs
Normal file
27
Adaptation/_Tests/Extract/Staging/v2.49.3/SP101-EQPT.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace Adaptation._Tests.Extract.Staging.v2_49_3;
|
||||
|
||||
[TestClass]
|
||||
public class SP101_EQPT
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
private static CreateSelfDescription.Staging.v2_49_3.SP101_EQPT _SP101_EQPT;
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
CreateSelfDescription.Staging.v2_49_3.SP101_EQPT.ClassInitialize(testContext);
|
||||
_SP101_EQPT = CreateSelfDescription.Staging.v2_49_3.SP101_EQPT.EAFLoggingUnitTesting;
|
||||
}
|
||||
|
||||
#if true
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__SP101_EQPT__MoveAllFiles() => _SP101_EQPT.Staging__v2_49_3__SP101_EQPT__MoveAllFiles();
|
||||
|
||||
}
|
56
Adaptation/_Tests/Extract/Staging/v2.49.3/SP101.cs
Normal file
56
Adaptation/_Tests/Extract/Staging/v2.49.3/SP101.cs
Normal file
@ -0,0 +1,56 @@
|
||||
using Adaptation.Shared;
|
||||
using Adaptation.Shared.Methods;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Adaptation._Tests.Extract.Staging.v2_49_3;
|
||||
|
||||
[TestClass]
|
||||
public class SP101
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
private static CreateSelfDescription.Staging.v2_49_3.SP101 _SP101;
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
CreateSelfDescription.Staging.v2_49_3.SP101.ClassInitialize(testContext);
|
||||
_SP101 = CreateSelfDescription.Staging.v2_49_3.SP101.EAFLoggingUnitTesting;
|
||||
}
|
||||
|
||||
private static void NonThrowTryCatch()
|
||||
{
|
||||
try
|
||||
{ throw new Exception(); }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__SP101__txt() => _SP101.Staging__v2_49_3__SP101__txt();
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_3__SP101__txt637955319879801344__Normal()
|
||||
{
|
||||
string check = "*.txt";
|
||||
bool validatePDSF = false;
|
||||
_SP101.Staging__v2_49_3__SP101__txt();
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
string[] variables = _SP101.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
||||
IFileRead fileRead = _SP101.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||
Logistics logistics = new(fileRead);
|
||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
|
||||
NonThrowTryCatch();
|
||||
}
|
||||
|
||||
}
|
91
Adaptation/_Tests/Static/API.cs
Normal file
91
Adaptation/_Tests/Static/API.cs
Normal file
@ -0,0 +1,91 @@
|
||||
using Adaptation._Tests.Shared;
|
||||
using Adaptation.FileHandlers.MoveAllFiles;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Net.Http;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace Adaptation._Tests.Static;
|
||||
|
||||
[TestClass]
|
||||
public class API : LoggingUnitTesting, IDisposable
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
internal static API LoggingUnitTesting { get; private set; }
|
||||
|
||||
public API() : base(testContext: null, declaringType: null)
|
||||
{
|
||||
if (LoggingUnitTesting is null)
|
||||
throw new Exception();
|
||||
}
|
||||
|
||||
public API(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType)
|
||||
{
|
||||
}
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext) => LoggingUnitTesting ??= new API(testContext);
|
||||
|
||||
[ClassCleanup()]
|
||||
public static void ClassCleanup()
|
||||
{
|
||||
LoggingUnitTesting?.Logger?.LogInformation("Cleanup");
|
||||
LoggingUnitTesting?.Dispose();
|
||||
}
|
||||
|
||||
private static void NonThrowTryCatch()
|
||||
{
|
||||
try
|
||||
{ throw new Exception(); }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
#if true
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void TestApiA()
|
||||
{
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
#nullable enable
|
||||
HttpClient httpClient = new();
|
||||
string httpClientResult = httpClient.GetStringAsync($"{FileRead.OpenInsightApplicationProgrammingInterface}/materials/rds/601132").Result;
|
||||
FileHandlers.MoveAllFiles.OpenInsight.Root? root = JsonSerializer.Deserialize<FileHandlers.MoveAllFiles.OpenInsight.Root>(httpClientResult);
|
||||
httpClient.Dispose();
|
||||
Assert.IsNotNull(root?.Rds.ProdSpec.PrsStages);
|
||||
List<FileHandlers.MoveAllFiles.OpenInsight.QaMetTest>? collection;
|
||||
Dictionary<string, List<FileHandlers.MoveAllFiles.OpenInsight.QaMetTest>> qaMetTests = new();
|
||||
foreach (FileHandlers.MoveAllFiles.OpenInsight.PrsStage prsStage in root.Rds.ProdSpec.PrsStages)
|
||||
{
|
||||
if (prsStage.QaMetTests is null)
|
||||
continue;
|
||||
foreach (FileHandlers.MoveAllFiles.OpenInsight.QaMetTest qaMetTest in prsStage.QaMetTests)
|
||||
{
|
||||
if (qaMetTest.ToolClass != "FTIR")
|
||||
continue;
|
||||
if (!qaMetTests.TryGetValue(prsStage.Stage, out collection))
|
||||
{
|
||||
qaMetTests.Add(prsStage.Stage, new());
|
||||
if (!qaMetTests.TryGetValue(prsStage.Stage, out collection))
|
||||
throw new Exception();
|
||||
}
|
||||
collection.Add(qaMetTest);
|
||||
}
|
||||
}
|
||||
Assert.IsTrue(qaMetTests.Count > 0);
|
||||
string json = JsonSerializer.Serialize(qaMetTests, new JsonSerializerOptions { WriteIndented = true });
|
||||
Assert.IsTrue(!string.IsNullOrEmpty(json));
|
||||
System.IO.File.WriteAllText("D:/.json", json);
|
||||
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase?.Name, " - Exit"));
|
||||
NonThrowTryCatch();
|
||||
#nullable restore
|
||||
}
|
||||
|
||||
}
|
@ -55,7 +55,7 @@ public class MET08DDUPSP1TBI : LoggingUnitTesting, IDisposable
|
||||
StringBuilder results = new();
|
||||
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
|
||||
{
|
||||
new("MET08DDUPSP1TBI", "v2.49.2"),
|
||||
new("MET08DDUPSP1TBI", "v2.49.3"),
|
||||
};
|
||||
string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2";
|
||||
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
|
||||
|
@ -208,7 +208,7 @@ public class TXT : LoggingUnitTesting, IDisposable
|
||||
StringBuilder results = new();
|
||||
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
|
||||
{
|
||||
new("SP101", "v2.49.2"),
|
||||
new("SP101", "v2.49.3"),
|
||||
new("SP101-EQPT", "v2.47.0"),
|
||||
};
|
||||
string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2";
|
||||
|
@ -113,6 +113,27 @@
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\ApiController\Notification.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\ApiController\PostReplay.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\FileRead.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\BackSide.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\CleanInsp.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\Cleans.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\CustEpiPart.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\EpiPart.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\FrontSide.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\Inspection.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\ProdSpec.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\ProdVer.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\PrsStage.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\QaMetTest.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\Rds.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\RdsLayer.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\RecipeLayer.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\Root.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\Spec.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\SurfScan.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\SurfScan2.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\SurfscanRecipe.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\Test.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveAllFiles\OpenInsight\WoMatQA.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\MoveMatchingFiles\FileRead.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewerAttachments\FileRead.cs" />
|
||||
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewer\FileRead.cs" />
|
||||
@ -182,7 +203,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Infineon.EAF.Runtime">
|
||||
<Version>2.49.2</Version>
|
||||
<Version>2.49.3</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.AspNet.WebApi.SelfHost">
|
||||
<Version>5.2.7</Version>
|
||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.49.2.0")]
|
||||
[assembly: AssemblyFileVersion("2.49.2.0")]
|
||||
[assembly: AssemblyVersion("2.49.3.0")]
|
||||
[assembly: AssemblyFileVersion("2.49.3.0")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user