diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json
index 51aea34..0a0e079 100644
--- a/Adaptation/.vscode/tasks.json
+++ b/Adaptation/.vscode/tasks.json
@@ -78,7 +78,7 @@
"args": [
"/target:Build",
"/restore:True",
- "/p:RestoreSources=https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/%3Bhttps://packagemanagement.eu.infineon.com:4430/api/v2/%3Bhttps://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json%3Bhttps://tfs.intra.infineon.com/tfs/FactoryIntegration/_packaging/EAF%40Local/nuget/v3/index.json%3Bhttps://api.nuget.org/v3/index.json",
+ "/p:RestoreSources=https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/%3Bhttps://tfs.intra.infineon.com/tfs/FactoryIntegration/_packaging/EAF/nuget/v3/index.json%3Bhttps://tfs.intra.infineon.com/tfs/FactoryIntegration/_packaging/EAF%40Local/nuget/v3/index.json%3Bhttps://api.nuget.org/v3/index.json",
"/detailedsummary",
"/consoleloggerparameters:PerformanceSummary;ErrorsOnly;",
"/property:Configuration=Debug;TargetFrameworkVersion=v4.8",
@@ -86,6 +86,18 @@
],
"problemMatcher": "$msCompile"
},
+ {
+ "label": "Project",
+ "type": "shell",
+ "command": "code ../DEP08CEPIEPSILON.csproj",
+ "problemMatcher": []
+ },
+ {
+ "label": "Git Config",
+ "type": "shell",
+ "command": "code ../.git/config",
+ "problemMatcher": []
+ },
{
"label": "Kanbn Console",
"type": "npm",
diff --git a/Adaptation/DEP08CEPIEPSILON.Tests.csproj b/Adaptation/DEP08CEPIEPSILON.Tests.csproj
index f825df1..5c5b13b 100644
--- a/Adaptation/DEP08CEPIEPSILON.Tests.csproj
+++ b/Adaptation/DEP08CEPIEPSILON.Tests.csproj
@@ -35,7 +35,7 @@
-
+
NU1701
NU1701
@@ -44,41 +44,39 @@
NU1701
NU1701
NU1701
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
NU1701
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
NU1701
- NU1701
- NU1701
- NU1701
+
+
+
+
+
diff --git a/Adaptation/Shared/ProcessDataStandardFormat.cs b/Adaptation/Shared/ProcessDataStandardFormat.cs
index 136ccae..b2ca7b6 100644
--- a/Adaptation/Shared/ProcessDataStandardFormat.cs
+++ b/Adaptation/Shared/ProcessDataStandardFormat.cs
@@ -152,9 +152,11 @@ public class ProcessDataStandardFormat
{
string value;
string[] segments;
+ List lines = new();
StringBuilder stringBuilder = new();
foreach (string bodyLine in bodyLines)
{
+ _ = stringBuilder.Clear();
_ = stringBuilder.Append('{');
segments = bodyLine.Trim().Split('\t');
if (!lookForNumbers)
@@ -179,10 +181,11 @@ public class ProcessDataStandardFormat
}
}
_ = stringBuilder.Remove(stringBuilder.Length - 1, 1);
- _ = stringBuilder.AppendLine("},");
+ _ = stringBuilder.AppendLine("}");
+ lines.Add(stringBuilder.ToString());
}
- _ = stringBuilder.Remove(stringBuilder.Length - 3, 3);
- results = JsonSerializer.Deserialize(string.Concat("[", stringBuilder, "]"));
+ string json = $"[{string.Join(",", lines)}]";
+ results = JsonSerializer.Deserialize(json);
}
return results;
}
diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.57.0/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.57.0/DEP08CEPIEPSILON.cs
index b3f4b69..d8ed20e 100644
--- a/Adaptation/_Tests/CreateSelfDescription/Production/v2.57.0/DEP08CEPIEPSILON.cs
+++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.57.0/DEP08CEPIEPSILON.cs
@@ -1,4 +1,4 @@
-#if true
+#if v2_57_0
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/DEP08CEPIEPSILON.cs
new file mode 100644
index 0000000..42cc6af
--- /dev/null
+++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/DEP08CEPIEPSILON.cs
@@ -0,0 +1,74 @@
+#if true
+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.Production.v2_59_0;
+
+[TestClass]
+public class DEP08CEPIEPSILON : EAFLoggingUnitTesting
+{
+
+#pragma warning disable CA2254
+#pragma warning disable IDE0060
+
+ internal static string DummyRoot { get; private set; }
+ internal static DEP08CEPIEPSILON EAFLoggingUnitTesting { get; private set; }
+
+ static DEP08CEPIEPSILON() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy";
+
+ public DEP08CEPIEPSILON() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
+ {
+ if (EAFLoggingUnitTesting is null)
+ throw new Exception();
+ }
+
+ public DEP08CEPIEPSILON(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
+ {
+ }
+
+ [ClassInitialize]
+ public static void ClassInitialize(TestContext testContext)
+ {
+ EAFLoggingUnitTesting ??= new DEP08CEPIEPSILON(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();
+ }
+
+ [Ignore]
+ [TestMethod]
+ public void Production__v2_59_0__DEP08CEPIEPSILON__R32()
+ {
+ string check = "T27*.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"));
+ }
+
+ [Ignore]
+ [TestMethod]
+ public void Production__v2_59_0__DEP08CEPIEPSILON__R62()
+ {
+ string check = "T41*.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"));
+ }
+
+}
+#endif
\ No newline at end of file
diff --git a/Adaptation/_Tests/Extract/Production/v2.57.0/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/Extract/Production/v2.57.0/DEP08CEPIEPSILON.cs
index 986dfe6..be19199 100644
--- a/Adaptation/_Tests/Extract/Production/v2.57.0/DEP08CEPIEPSILON.cs
+++ b/Adaptation/_Tests/Extract/Production/v2.57.0/DEP08CEPIEPSILON.cs
@@ -1,4 +1,4 @@
-#if true
+#if v2_57_0
using Adaptation._Tests.Shared;
using Adaptation.Shared;
using Adaptation.Shared.Methods;
diff --git a/Adaptation/_Tests/Extract/Production/v2.59.0/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/Extract/Production/v2.59.0/DEP08CEPIEPSILON.cs
new file mode 100644
index 0000000..e3cb625
--- /dev/null
+++ b/Adaptation/_Tests/Extract/Production/v2.59.0/DEP08CEPIEPSILON.cs
@@ -0,0 +1,72 @@
+#if true
+using Adaptation._Tests.Shared;
+using Adaptation.Shared;
+using Adaptation.Shared.Methods;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+using System;
+using System.Diagnostics;
+using System.Reflection;
+
+namespace Adaptation._Tests.Extract.Production.v2_59_0;
+
+[TestClass]
+public class DEP08CEPIEPSILON
+{
+
+#pragma warning disable CA2254
+#pragma warning disable IDE0060
+
+ private static CreateSelfDescription.Production.v2_59_0.DEP08CEPIEPSILON _DEP08CEPIEPSILON;
+
+ [ClassInitialize]
+ public static void ClassInitialize(TestContext testContext)
+ {
+ CreateSelfDescription.Production.v2_59_0.DEP08CEPIEPSILON.ClassInitialize(testContext);
+ _DEP08CEPIEPSILON = CreateSelfDescription.Production.v2_59_0.DEP08CEPIEPSILON.EAFLoggingUnitTesting;
+ }
+
+ private static void NonThrowTryCatch()
+ {
+ try
+ { throw new Exception(); }
+ catch (Exception) { }
+ }
+
+ [Ignore]
+ [TestMethod]
+ public void Production__v2_59_0__DEP08CEPIEPSILON__R32() => _DEP08CEPIEPSILON.Production__v2_59_0__DEP08CEPIEPSILON__R32();
+
+ [Ignore]
+ [TestMethod]
+ public void Production__v2_59_0__DEP08CEPIEPSILON__R32638594189939758135__First()
+ {
+ string check = "T27*.pdsf";
+ MethodBase methodBase = new StackFrame().GetMethod();
+ _DEP08CEPIEPSILON.Production__v2_59_0__DEP08CEPIEPSILON__R32();
+ string[] variables = _DEP08CEPIEPSILON.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
+ IFileRead fileRead = _DEP08CEPIEPSILON.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
+ Logistics logistics = new(fileRead);
+ _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
+ NonThrowTryCatch();
+ }
+
+ [Ignore]
+ [TestMethod]
+ public void Production__v2_59_0__DEP08CEPIEPSILON__R62() => _DEP08CEPIEPSILON.Production__v2_59_0__DEP08CEPIEPSILON__R62();
+
+ [Ignore]
+ [TestMethod]
+ public void Production__v2_59_0__DEP08CEPIEPSILON__R62638594189939758135__First()
+ {
+ string check = "T41*.pdsf";
+ MethodBase methodBase = new StackFrame().GetMethod();
+ _DEP08CEPIEPSILON.Production__v2_59_0__DEP08CEPIEPSILON__R62();
+ string[] variables = _DEP08CEPIEPSILON.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
+ IFileRead fileRead = _DEP08CEPIEPSILON.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
+ Logistics logistics = new(fileRead);
+ _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
+ NonThrowTryCatch();
+ }
+
+}
+#endif
\ No newline at end of file
diff --git a/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs
index 53d0488..de1475f 100644
--- a/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs
+++ b/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs
@@ -64,7 +64,7 @@ public class DEP08CEPIEPSILON : LoggingUnitTesting, IDisposable
StringBuilder results = new();
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
{
- new("DEP08CEPIEPSILON", "v2.57.0"),
+ new("DEP08CEPIEPSILON", "v2.59.0"),
};
string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
diff --git a/DEP08CEPIEPSILON.csproj b/DEP08CEPIEPSILON.csproj
index 7ff0b6d..f69fbf2 100644
--- a/DEP08CEPIEPSILON.csproj
+++ b/DEP08CEPIEPSILON.csproj
@@ -162,13 +162,13 @@
- 2.57.0
+ 2.59.0
5.2.7
- 6.0.3
+ 8.0.3
4.3.0
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index dbb7388..872c2e8 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -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.57.0.0")]
-[assembly: AssemblyFileVersion("2.57.0.0")]
+[assembly: AssemblyVersion("2.59.0.0")]
+[assembly: AssemblyFileVersion("2.59.0.0")]