Complete Class

This commit is contained in:
Mike Phares 2024-10-31 09:53:26 -07:00
parent bb1552d210
commit 2b16357d44
18 changed files with 671 additions and 82 deletions

View File

@ -9,6 +9,7 @@ using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace Adaptation.FileHandlers.InterceptIQS;
@ -111,8 +112,17 @@ public class FileRead : Shared.FileRead, IFileRead
private void ReWriteFile(string reportFullPath, DateTime dateTime)
{
string text = File.ReadAllText(reportFullPath);
List<string> segments = text.Split(new string[] { "," }, StringSplitOptions.None).ToList();
string text;
List<string> segments = new();
for (int i = 0; i < _FileConnectorConfiguration.ConnectionRetryInterval; i++)
{
segments.Clear();
text = File.ReadAllText(reportFullPath);
segments.AddRange(text.Split(new string[] { "," }, StringSplitOptions.None));
if (segments.Count == 22)
break;
Thread.Sleep(500);
}
if (segments.Count == 22)
{
string rds = segments[2];

View File

@ -0,0 +1,52 @@
using System;
using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.pcl;
#nullable enable
internal class Complete
{
public Complete(Header header, Summary summary, ReadOnlyCollection<Point> points)
{
Header = header;
Summary = summary;
Points = points;
}
public Header Header { get; }
public Summary Summary { get; }
public ReadOnlyCollection<Point> Points { get; }
public static Complete? Get(int take, string site, string multiple, string summaryLine, string lastUnits, string[] lines)
{
Complete? result;
Header? header = Header.Get(lines, site, summaryLine);
if (header is null)
result = null;
else
{
Summary? summary = SummarySegment.Get(lines, site, summaryLine);
if (summary is null)
result = null;
else
{
ReadOnlyCollection<Point> points = Point.GetCollection(lines, take, site, multiple, summaryLine, lastUnits) ?? throw new NullReferenceException(nameof(summary));
if (points.Count == 0)
result = null;
else
result = new(header, summary, points);
}
}
return result;
}
}
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(Complete))]
internal partial class CompleteSourceGenerationContext : JsonSerializerContext
{
}

View File

@ -0,0 +1,188 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.pcl;
#nullable enable
internal class Header
// internal record Header([property: JsonPropertyName("Operator")] string Operator,
// [property: JsonPropertyName("Start Voltage")] string StartVoltage,
// [property: JsonPropertyName("Wafer")] string Wafer,
// [property: JsonPropertyName("Stop Voltage")] string StopVoltage,
// [property: JsonPropertyName("Lot")] string Lot,
// [property: JsonPropertyName("Ramp Rate")] string RampRate,
// [property: JsonPropertyName("Plan")] string Plan,
// [property: JsonPropertyName("G limit")] string GLimit,
// [property: JsonPropertyName("Date")] string Date,
// [property: JsonPropertyName("Time")] string Time,
// [property: JsonPropertyName("Setup File")] string SetupFile,
// [property: JsonPropertyName("Wafer size")] string WaferSize,
// [property: JsonPropertyName("Folder")] string Folder,
// [property: JsonPropertyName("Ccomp")] string Ccomp,
// [property: JsonPropertyName("Pattern")] string Pattern,
// [property: JsonPropertyName("Area")] string Area,
// [property: JsonPropertyName("Cond Type")] string CondType,
// [property: JsonPropertyName("Rho Method")] string RhoMethod,
// [property: JsonPropertyName("Model")] string Model)
{
[JsonConstructor]
public Header(string @operator, string startVoltage, string wafer, string stopVoltage, string lot, string rampRate, string plan, string gLimit, string date, string time, string setupFile, string waferSize, string folder, string ccomp, string pattern, string area, string condType, string rhoMethod, string model)
{
Operator = @operator;
StartVoltage = startVoltage;
Wafer = wafer;
StopVoltage = stopVoltage;
Lot = lot;
RampRate = rampRate;
Plan = plan;
GLimit = gLimit;
Date = date;
Time = time;
SetupFile = setupFile;
WaferSize = waferSize;
Folder = folder;
Ccomp = ccomp;
Pattern = pattern;
Area = area;
CondType = condType;
RhoMethod = rhoMethod;
Model = model;
}
[JsonPropertyName("Operator")] public string Operator { get; }
[JsonPropertyName("Start Voltage")] public string StartVoltage { get; }
[JsonPropertyName("Wafer")] public string Wafer { get; }
[JsonPropertyName("Stop Voltage")] public string StopVoltage { get; }
[JsonPropertyName("Lot")] public string Lot { get; }
[JsonPropertyName("Ramp Rate")] public string RampRate { get; }
[JsonPropertyName("Plan")] public string Plan { get; }
[JsonPropertyName("G limit")] public string GLimit { get; }
[JsonPropertyName("Date")] public string Date { get; }
[JsonPropertyName("Time")] public string Time { get; }
[JsonPropertyName("Setup File")] public string SetupFile { get; }
[JsonPropertyName("Wafer size")] public string WaferSize { get; }
[JsonPropertyName("Folder")] public string Folder { get; }
[JsonPropertyName("Ccomp")] public string Ccomp { get; }
[JsonPropertyName("Pattern")] public string Pattern { get; }
[JsonPropertyName("Area")] public string Area { get; }
[JsonPropertyName("Cond Type")] public string CondType { get; }
[JsonPropertyName("Rho Method")] public string RhoMethod { get; }
[JsonPropertyName("Model")] public string Model { get; }
private static string[] GetRemove() =>
new string[]
{
" L L",
" O O",
" G G",
" C C",
" O O",
" N N",
" C C",
" E E",
" N N",
" T T",
" R R",
" A A",
" T T",
" I I",
" O O",
" N N"
};
public static Header Get() =>
new(string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty);
private static ReadOnlyCollection<JsonProperty> GetJsonProperties()
{
JsonProperty[] results;
string json;
Header header = Get();
json = JsonSerializer.Serialize(header);
JsonElement jsonElement = JsonSerializer.Deserialize<JsonElement>(json);
results = jsonElement.EnumerateObject().ToArray();
return new(results);
}
public static Header? Get(string[] lines, string site, string summaryLine)
{
Header? result;
string json;
string check;
string[] segments;
string[] segmentsB;
string[] segmentsC;
bool found = false;
string[] remove = GetRemove();
Dictionary<string, string> keyValuePairs = new();
ReadOnlyCollection<JsonProperty> jsonProperties = GetJsonProperties();
foreach (string line in lines)
{
if (line.Contains(site))
found = true;
if (!found)
continue;
if (line == summaryLine)
break;
foreach (JsonProperty jsonProperty in jsonProperties)
{
segments = line.Split(new string[] { $"{jsonProperty.Name}:", $"{jsonProperty.Name} :" }, StringSplitOptions.None);
if (segments.Length < 2)
continue;
check = segments[1].Trim();
foreach (JsonProperty jsonPropertyB in jsonProperties)
{
segmentsB = check.Split(new string[] { $"{jsonPropertyB.Name}:", $"{jsonPropertyB.Name} :" }, StringSplitOptions.None);
if (segmentsB.Length > 1)
check = segmentsB[0].Trim();
}
foreach (string r in remove)
{
segmentsC = check.Split(new string[] { r }, StringSplitOptions.None);
if (segmentsC.Length > 1)
check = segmentsC[0].Trim();
}
keyValuePairs.Add(jsonProperty.Name, check);
}
}
if (keyValuePairs.Count != jsonProperties.Count)
result = null;
else
{
json = JsonSerializer.Serialize(keyValuePairs);
result = JsonSerializer.Deserialize(json, HeaderSourceGenerationContext.Default.Header) ?? throw new NullReferenceException(nameof(result));
}
return result;
}
}
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(Header))]
internal partial class HeaderSourceGenerationContext : JsonSerializerContext
{
}

View File

@ -0,0 +1,157 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.pcl;
#nullable enable
internal class Point
// internal record Point([property: JsonPropertyName("Site")] string Site,
// [property: JsonPropertyName("X")] string X,
// [property: JsonPropertyName("Y")] string Y,
// [property: JsonPropertyName("Navg")] string NAvg,
// [property: JsonPropertyName("Rhoavg")] string RhoAvg,
// [property: JsonPropertyName("Nsl")] string Nsl,
// [property: JsonPropertyName("Rhosl")] string Rhosl,
// [property: JsonPropertyName("Vd")] string Vd,
// [property: JsonPropertyName("Phase")] string Phase,
// [property: JsonPropertyName("Flat Z")] string FlatZ,
// [property: JsonPropertyName("Grade")] string Grade,
// [property: JsonPropertyName("X Left")] string XLeft,
// [property: JsonPropertyName("X Right")] string XRight,
// [property: JsonPropertyName("Bottom Y")] string BottomY,
// [property: JsonPropertyName("Top Y")] string TopY)
{
public Point(string site, string x, string y, string nAvg, string rhoAvg, string nsl, string rhosl, string vd, string phase, string flatZ, string grade, string xLeft, string xRight, string bottomY, string topY)
{
Site = site;
X = x;
Y = y;
NAvg = nAvg;
RhoAvg = rhoAvg;
Nsl = nsl;
Rhosl = rhosl;
Vd = vd;
Phase = phase;
FlatZ = flatZ;
Grade = grade;
XLeft = xLeft;
XRight = xRight;
BottomY = bottomY;
TopY = topY;
}
[JsonPropertyName("Site")] public string Site { get; }
[JsonPropertyName("X")] public string X { get; }
[JsonPropertyName("Y")] public string Y { get; }
[JsonPropertyName("Navg")] public string NAvg { get; }
[JsonPropertyName("Rhoavg")] public string RhoAvg { get; }
[JsonPropertyName("Nsl")] public string Nsl { get; }
[JsonPropertyName("Rhosl")] public string Rhosl { get; }
[JsonPropertyName("Vd")] public string Vd { get; }
[JsonPropertyName("Phase")] public string Phase { get; }
[JsonPropertyName("Flat Z")] public string FlatZ { get; }
[JsonPropertyName("Grade")] public string Grade { get; }
[JsonPropertyName("X Left")] public string XLeft { get; }
[JsonPropertyName("X Right")] public string XRight { get; }
[JsonPropertyName("Bottom Y")] public string BottomY { get; }
[JsonPropertyName("Top Y")] public string TopY { get; }
public static Point Get() =>
new(string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty);
public static ReadOnlyCollection<Point> GetCollection(string[] lines, int take, string site, string multiple, string summaryLine, string lastUnits)
{
List<Point> results = new();
string s;
string line;
Point point;
string[] segments;
string[] segmentsB;
bool found = false;
bool foundB = false;
string[] segmentsC;
List<string> sites = new();
for (int i = 0; i < lines.Length; i++)
{
line = lines[i];
segmentsC = line.Split(new string[] { site }, StringSplitOptions.RemoveEmptyEntries);
if (segmentsC.Length > 1)
{
foreach (string segment in segmentsC)
sites.Add(segment.Trim());
}
if (line == summaryLine)
{
sites.RemoveAt(0);
found = true;
}
if (!found)
continue;
if (!foundB && line.Contains(multiple))
foundB = true;
if (line != lastUnits)
continue;
if (foundB)
{
foundB = false;
continue;
}
for (int j = 0; j < sites.Count; j++)
{
s = sites[j];
if (i + take > lines.Length)
break;
segments = s.Split(new string[] { "(", ",", ")" }, StringSplitOptions.None);
if (segments.Length < 2)
break;
segmentsB = lines[i + 10].Split(' ');
if (segmentsB.Length < 2)
break;
point = new(segments[0].Trim(),
segments[1].Trim(),
segments[2].Trim(),
nAvg: lines[i + 2].Trim(),
nsl: lines[i + 3].Trim(),
vd: lines[i + 4].Trim(),
flatZ: lines[i + 5].Trim(),
rhoAvg: lines[i + 6].Trim(),
rhosl: lines[i + 7].Trim(),
phase: lines[i + 8].Trim(),
grade: lines[i + 9].Trim(),
xLeft: segmentsB[0],
xRight: segmentsB[1],
bottomY: lines[i + 11].Trim(),
topY: lines[i + 12].Trim());
results.Add(point);
i += take;
}
sites.Clear();
}
return new(results);
}
}
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(Point))]
internal partial class PointSourceGenerationContext : JsonSerializerContext
{
}

View File

@ -530,6 +530,27 @@ public class ProcessData : IProcessData
}
}
#nullable enable
private Complete? GetComplete(string altHeaderFileName)
{
Complete? result;
const int take = 12;
const string site = "Site: ";
const string multiple = "MULTIPLE";
const string summaryLine = "SUMMARY A A";
const string lastUnits = "Flat Z: Grade : % Flat Z: Grade : % Flat Z: Grade : %";
string[] lines = File.ReadAllLines(altHeaderFileName);
if (lines.Length > take)
result = Complete.Get(take, site, multiple, summaryLine, lastUnits, lines);
else
{
result = null;
_Log.Warn($"File {altHeaderFileName} has less than 5 lines");
}
return result;
}
#pragma warning disable IDE0060
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string ghostPCLFileName, string pdfTextStripperFileName)
#pragma warning restore IDE0060
@ -673,9 +694,24 @@ public class ProcessData : IProcessData
detail.UniqueId = string.Concat(detail, detail.UniqueId);
}
fileInfoCollection.Add(logistics.FileInfo);
try
{
Complete? complete = GetComplete(altHeaderFileName);
if (complete is null)
_Log.Warn($"Could not get Complete from {altHeaderFileName}");
else
{
FileInfo fileInfo = new($"{altHeaderFileName}.json");
string json = JsonSerializer.Serialize(complete, CompleteSourceGenerationContext.Default.Complete);
File.WriteAllText(fileInfo.FullName, json);
fileInfoCollection.Add(fileInfo);
}
}
catch (Exception ex)
{
_Log.Error($"Error in {nameof(GetComplete)}", ex);
}
}
#nullable enable
internal static List<Description> GetDescriptions(JsonElement[] jsonElements)
{

View File

@ -0,0 +1,19 @@
namespace Adaptation.FileHandlers.pcl;
#nullable enable
internal class Summary
{
public Summary(SummarySegment? mean, SummarySegment? standardDeviationPercentage, SummarySegment? radialGradient)
{
Mean = mean;
StandardDeviationPercentage = standardDeviationPercentage;
RadialGradient = radialGradient;
}
public SummarySegment? Mean { get; }
public SummarySegment? StandardDeviationPercentage { get; }
public SummarySegment? RadialGradient { get; }
}

View File

@ -0,0 +1,122 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.pcl;
#nullable enable
internal class SummarySegment
// internal record SummarySegment([property: JsonPropertyName("Navg")] string NAvg,
// [property: JsonPropertyName("Nsl")] string Nsl,
// [property: JsonPropertyName("Vd")] string Vd,
// [property: JsonPropertyName("@ Flat Z")] string FlatZ,
// [property: JsonPropertyName("Rhoavg")] string RhoAvg,
// [property: JsonPropertyName("Rhosl")] string Rhosl,
// [property: JsonPropertyName("Phase")] string Phase,
// [property: JsonPropertyName("Grade")] string Grade,
// [property: JsonPropertyName("@ Rs")] string Rs)
{
public SummarySegment(string nAvg, string nsl, string vd, string flatZ, string rhoAvg, string rhosl, string phase, string grade, string rs)
{
NAvg = nAvg;
Nsl = nsl;
Vd = vd;
FlatZ = flatZ;
RhoAvg = rhoAvg;
Rhosl = rhosl;
Phase = phase;
Grade = grade;
Rs = rs;
}
[JsonPropertyName("Navg")] public string NAvg { get; }
[JsonPropertyName("Nsl")] public string Nsl { get; }
[JsonPropertyName("Vd")] public string Vd { get; }
[JsonPropertyName("@ Flat Z")] public string FlatZ { get; }
[JsonPropertyName("Rhoavg")] public string RhoAvg { get; }
[JsonPropertyName("Rhosl")] public string Rhosl { get; }
[JsonPropertyName("Phase")] public string Phase { get; }
[JsonPropertyName("Grade")] public string Grade { get; }
[JsonPropertyName("@ Rs")] public string Rs { get; }
public static SummarySegment Get() =>
new(string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty,
string.Empty);
private static ReadOnlyCollection<JsonProperty> GetJsonProperties()
{
JsonProperty[] results;
string json;
SummarySegment summarySegment = Get();
json = JsonSerializer.Serialize(summarySegment);
JsonElement jsonElement = JsonSerializer.Deserialize<JsonElement>(json);
results = jsonElement.EnumerateObject().ToArray();
return new(results);
}
public static Summary? Get(string[] lines, string site, string summaryLine)
{
Summary? result;
string json;
string[] segments;
bool found = false;
string[] segmentsB;
Dictionary<string, string> keyValuePairs = new();
Dictionary<string, string> keyValuePairsB = new();
Dictionary<string, string> keyValuePairsC = new();
ReadOnlyCollection<JsonProperty> jsonProperties = GetJsonProperties();
foreach (string line in lines)
{
if (line == summaryLine)
found = true;
if (!found)
continue;
if (line.Contains(site))
break;
foreach (JsonProperty jsonProperty in jsonProperties)
{
segments = line.Split(new string[] { $"{jsonProperty.Name}:", $"{jsonProperty.Name} :" }, StringSplitOptions.None);
if (segments.Length < 2 || !line.StartsWith(jsonProperty.Name))
continue;
segmentsB = segments[1].Trim().Split(' ');
if (segmentsB.Length < 3)
continue;
keyValuePairs.Add(jsonProperty.Name, segmentsB[0]);
keyValuePairsB.Add(jsonProperty.Name, segmentsB[1]);
keyValuePairsC.Add(jsonProperty.Name, segmentsB[2]);
}
}
if (keyValuePairs.Count != jsonProperties.Count || keyValuePairsB.Count != jsonProperties.Count || keyValuePairsC.Count != jsonProperties.Count)
result = null;
else
{
json = JsonSerializer.Serialize(keyValuePairs);
SummarySegment? mean = JsonSerializer.Deserialize(json, SummarySegmentSourceGenerationContext.Default.SummarySegment);
json = JsonSerializer.Serialize(keyValuePairsB);
SummarySegment? standardDeviationPercentage = JsonSerializer.Deserialize(json, SummarySegmentSourceGenerationContext.Default.SummarySegment);
json = JsonSerializer.Serialize(keyValuePairsC);
SummarySegment? radialGradient = JsonSerializer.Deserialize(json, SummarySegmentSourceGenerationContext.Default.SummarySegment);
result = new(mean, standardDeviationPercentage, radialGradient);
}
return result;
}
}
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(SummarySegment))]
internal partial class SummarySegmentSourceGenerationContext : JsonSerializerContext
{
}

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
namespace Adaptation._Tests.CreateSelfDescription.Production.v2_57_0;
[TestClass]
public class HGCV1 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class HGCV1 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV1__pcl()
public void Production__v2_57_0__HGCV1__pcl()
{
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
namespace Adaptation._Tests.CreateSelfDescription.Production.v2_57_0;
[TestClass]
public class HGCV2 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class HGCV2 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV2__pcl()
public void Production__v2_57_0__HGCV2__pcl()
{
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
namespace Adaptation._Tests.CreateSelfDescription.Production.v2_57_0;
[TestClass]
public class HGCV3 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class HGCV3 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV3__pcl()
public void Production__v2_57_0__HGCV3__pcl()
{
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
namespace Adaptation._Tests.CreateSelfDescription.Production.v2_57_0;
[TestClass]
public class MET08RESIHGCV : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__MoveMatchingFiles()
public void Production__v2_57_0__MET08RESIHGCV__MoveMatchingFiles()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -65,7 +65,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer()
public void Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -78,7 +78,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__IQSSi()
public void Production__v2_57_0__MET08RESIHGCV__IQSSi()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -91,7 +91,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsight()
public void Production__v2_57_0__MET08RESIHGCV__OpenInsight()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -104,7 +104,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments()
public void Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -117,7 +117,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__APC()
public void Production__v2_57_0__MET08RESIHGCV__APC()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -130,7 +130,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__SPaCe()
public void Production__v2_57_0__MET08RESIHGCV__SPaCe()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -143,7 +143,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__Processed()
public void Production__v2_57_0__MET08RESIHGCV__Processed()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -156,7 +156,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__Archive()
public void Production__v2_57_0__MET08RESIHGCV__Archive()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -169,7 +169,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__Dummy()
public void Production__v2_57_0__MET08RESIHGCV__Dummy()
{
string check = "638417860100000000.zip";
MethodBase methodBase = new StackFrame().GetMethod();
@ -182,7 +182,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__InterceptIQS()
public void Production__v2_57_0__MET08RESIHGCV__InterceptIQS()
{
string check = "HgCV_Unload_Res_9Points.txt";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -7,7 +7,7 @@ using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
namespace Adaptation._Tests.Extract.Production.v2_57_0;
[TestClass]
public class HGCV1
@ -16,13 +16,13 @@ public class HGCV1
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.HGCV1 _HGCV1;
private static CreateSelfDescription.Production.v2_57_0.HGCV1 _HGCV1;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.HGCV1.ClassInitialize(testContext);
_HGCV1 = CreateSelfDescription.Staging.v2_57_0.HGCV1.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.HGCV1.ClassInitialize(testContext);
_HGCV1 = CreateSelfDescription.Production.v2_57_0.HGCV1.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -36,17 +36,17 @@ public class HGCV1
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV1__pcl() => _HGCV1.Staging__v2_57_0__HGCV1__pcl();
public void Production__v2_57_0__HGCV1__pcl() => _HGCV1.Production__v2_57_0__HGCV1__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV1__pcl637955429602879992__Normal()
public void Production__v2_57_0__HGCV1__pcl637955429602879992__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV1.Staging__v2_57_0__HGCV1__pcl();
_HGCV1.Production__v2_57_0__HGCV1__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV1.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV1.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);

View File

@ -7,7 +7,7 @@ using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
namespace Adaptation._Tests.Extract.Production.v2_57_0;
[TestClass]
public class HGCV2
@ -16,13 +16,13 @@ public class HGCV2
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.HGCV2 _HGCV2;
private static CreateSelfDescription.Production.v2_57_0.HGCV2 _HGCV2;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.HGCV2.ClassInitialize(testContext);
_HGCV2 = CreateSelfDescription.Staging.v2_57_0.HGCV2.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.HGCV2.ClassInitialize(testContext);
_HGCV2 = CreateSelfDescription.Production.v2_57_0.HGCV2.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -36,17 +36,17 @@ public class HGCV2
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV2__pcl() => _HGCV2.Staging__v2_57_0__HGCV2__pcl();
public void Production__v2_57_0__HGCV2__pcl() => _HGCV2.Production__v2_57_0__HGCV2__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV2__pcl637955471606299897__Normal()
public void Production__v2_57_0__HGCV2__pcl637955471606299897__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV2.Staging__v2_57_0__HGCV2__pcl();
_HGCV2.Production__v2_57_0__HGCV2__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV2.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV2.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);

View File

@ -7,7 +7,7 @@ using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
namespace Adaptation._Tests.Extract.Production.v2_57_0;
[TestClass]
public class HGCV3
@ -16,13 +16,13 @@ public class HGCV3
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.HGCV3 _HGCV3;
private static CreateSelfDescription.Production.v2_57_0.HGCV3 _HGCV3;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.HGCV3.ClassInitialize(testContext);
_HGCV3 = CreateSelfDescription.Staging.v2_57_0.HGCV3.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.HGCV3.ClassInitialize(testContext);
_HGCV3 = CreateSelfDescription.Production.v2_57_0.HGCV3.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -36,18 +36,18 @@ public class HGCV3
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV3__pcl() => _HGCV3.Staging__v2_57_0__HGCV3__pcl();
public void Production__v2_57_0__HGCV3__pcl() => _HGCV3.Production__v2_57_0__HGCV3__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
[ExpectedException(typeof(AssertFailedException))]
public void Staging__v2_57_0__HGCV3__pcl637812984345592512__MinFileLength()
public void Production__v2_57_0__HGCV3__pcl637812984345592512__MinFileLength()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV3.Staging__v2_57_0__HGCV3__pcl();
_HGCV3.Production__v2_57_0__HGCV3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
@ -60,11 +60,11 @@ public class HGCV3
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV3__pcl637816384579205568__Normal()
public void Production__v2_57_0__HGCV3__pcl637816384579205568__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV3.Staging__v2_57_0__HGCV3__pcl();
_HGCV3.Production__v2_57_0__HGCV3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
@ -77,11 +77,11 @@ public class HGCV3
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV3__pcl637955459372840332__Normal()
public void Production__v2_57_0__HGCV3__pcl637955459372840332__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV3.Staging__v2_57_0__HGCV3__pcl();
_HGCV3.Production__v2_57_0__HGCV3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
@ -94,11 +94,11 @@ public class HGCV3
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__HGCV3__pcl638416903464189143__PopulateCalculated()
public void Production__v2_57_0__HGCV3__pcl638416903464189143__PopulateCalculated()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV3.Staging__v2_57_0__HGCV3__pcl();
_HGCV3.Production__v2_57_0__HGCV3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);

View File

@ -7,7 +7,7 @@ using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
namespace Adaptation._Tests.Extract.Production.v2_57_0;
[TestClass]
public class MET08RESIHGCV
@ -16,13 +16,13 @@ public class MET08RESIHGCV
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.MET08RESIHGCV _MET08RESIHGCV;
private static CreateSelfDescription.Production.v2_57_0.MET08RESIHGCV _MET08RESIHGCV;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.MET08RESIHGCV.ClassInitialize(testContext);
_MET08RESIHGCV = CreateSelfDescription.Staging.v2_57_0.MET08RESIHGCV.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.MET08RESIHGCV.ClassInitialize(testContext);
_MET08RESIHGCV = CreateSelfDescription.Production.v2_57_0.MET08RESIHGCV.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -36,18 +36,18 @@ public class MET08RESIHGCV
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__MoveMatchingFiles();
public void Production__v2_57_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__MoveMatchingFiles();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal()
public void Production__v2_57_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal()
{
string check = "*.pdsf";
bool validatePDSF = false;
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__MoveMatchingFiles();
_MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__MoveMatchingFiles();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -59,18 +59,18 @@ public class MET08RESIHGCV
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer();
public void Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal()
public void Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal()
{
string check = "*.pdsf";
bool validatePDSF = false;
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer();
_MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewer();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -82,23 +82,23 @@ public class MET08RESIHGCV
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__IQSSi();
public void Production__v2_57_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__IQSSi();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__OpenInsight();
public void Production__v2_57_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__OpenInsight();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql()
public void Production__v2_57_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__OpenInsight();
_MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__OpenInsight();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -110,11 +110,11 @@ public class MET08RESIHGCV
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql()
public void Production__v2_57_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__OpenInsight();
_MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__OpenInsight();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -126,17 +126,17 @@ public class MET08RESIHGCV
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
public void Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments638116020180910181__Viewer()
public void Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments638116020180910181__Viewer()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
_MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -148,47 +148,47 @@ public class MET08RESIHGCV
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__APC();
public void Production__v2_57_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__APC();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__SPaCe();
public void Production__v2_57_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__SPaCe();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__Processed();
public void Production__v2_57_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__Processed();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__Archive();
public void Production__v2_57_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__Archive();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__Dummy();
public void Production__v2_57_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__Dummy();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__InterceptIQS() => _MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__InterceptIQS();
public void Production__v2_57_0__MET08RESIHGCV__InterceptIQS() => _MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__InterceptIQS();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08RESIHGCV__InterceptIQS638507610398652181__First()
public void Production__v2_57_0__MET08RESIHGCV__InterceptIQS638507610398652181__First()
{
string check = "HgCV_Unload_Res_9Points.txt";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_57_0__MET08RESIHGCV__InterceptIQS();
_MET08RESIHGCV.Production__v2_57_0__MET08RESIHGCV__InterceptIQS();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);

View File

@ -58,7 +58,7 @@ public class MET08RESIHGCV : LoggingUnitTesting, IDisposable
[Ignore]
#endif
[TestMethod]
public void Staging()
public void Production()
{
MethodBase methodBase = new StackFrame().GetMethod();
StringBuilder results = new();
@ -66,12 +66,12 @@ public class MET08RESIHGCV : LoggingUnitTesting, IDisposable
{
new("MET08RESIHGCV", "v2.57.0"),
};
string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2";
string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
foreach ((string cellInstanceName, string cellInstanceVersionName) in collection)
{
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{production}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
_ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}");
}
string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber";

View File

@ -198,7 +198,7 @@ public class PCL : LoggingUnitTesting, IDisposable
[Ignore]
#endif
[TestMethod]
public void Staging()
public void Production()
{
MethodBase methodBase = new StackFrame().GetMethod();
StringBuilder results = new();
@ -211,12 +211,12 @@ public class PCL : LoggingUnitTesting, IDisposable
new("HGCV2-EQPT", "v2.12.3"),
new("HGCV3-EQPT", "v2.12.3"),
};
string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2";
string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
foreach ((string cellInstanceName, string cellInstanceVersionName) in collection)
{
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{production}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
_ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}");
}
string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber";

View File

@ -116,11 +116,16 @@
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewer\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewer\WSRequest.cs" />
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewerAttachments\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\Complete.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\Description.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\Descriptor.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\Detail.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\Header.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\Point.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\ProcessData.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\Summary.cs" />
<Compile Include="Adaptation\FileHandlers\pcl\SummarySegment.cs" />
<Compile Include="Adaptation\FileHandlers\Processed\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\SPaCe\FileRead.cs" />
<Compile Include="Adaptation\Ifx\Eaf\Common\Configuration\ConnectionSetting.cs" />