diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json index 792c43e..48512b9 100644 --- a/Adaptation/.vscode/tasks.json +++ b/Adaptation/.vscode/tasks.json @@ -68,7 +68,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", @@ -76,6 +76,18 @@ ], "problemMatcher": "$msCompile" }, + { + "label": "Project", + "type": "shell", + "command": "code ../METCLIMATEC.csproj", + "problemMatcher": [] + }, + { + "label": "Git Config", + "type": "shell", + "command": "code ../.git/config", + "problemMatcher": [] + }, { "label": "Kanbn Console", "type": "npm", diff --git a/Adaptation/METCLIMATEC.Tests.csproj b/Adaptation/METCLIMATEC.Tests.csproj index fb62160..ff36bdc 100644 --- a/Adaptation/METCLIMATEC.Tests.csproj +++ b/Adaptation/METCLIMATEC.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.59.0/METCLIMATEC.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/METCLIMATEC.cs new file mode 100644 index 0000000..cc70b6c --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/METCLIMATEC.cs @@ -0,0 +1,117 @@ +#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 METCLIMATEC : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static METCLIMATEC EAFLoggingUnitTesting { get; private set; } + + static METCLIMATEC() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public METCLIMATEC() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public METCLIMATEC(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new METCLIMATEC(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 Production__v2_59_0__METCLIMATEC__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 Production__v2_59_0__METCLIMATEC__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 Production__v2_59_0__METCLIMATEC__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 Production__v2_59_0__METCLIMATEC__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 Production__v2_59_0__METCLIMATEC__Dummy() + { + string check = "637953064190000000.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")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/TRENDLOG.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/TRENDLOG.cs new file mode 100644 index 0000000..b2863b4 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/TRENDLOG.cs @@ -0,0 +1,66 @@ +#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 TRENDLOG : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static TRENDLOG EAFLoggingUnitTesting { get; private set; } + + static TRENDLOG() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public TRENDLOG() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public TRENDLOG(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new TRENDLOG(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 Production__v2_59_0__TRENDLOG__csv() + { + string check = "*.csv.trg"; + MethodBase methodBase = new StackFrame().GetMethod(); + // string check = "Dev *, A*, present-value, *D*-*-*-*.csv.trg"; + 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/CreateSelfDescription/Staging/v2.57.0/METCLIMATEC.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/METCLIMATEC.cs index fe47ae0..56504b5 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/METCLIMATEC.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/METCLIMATEC.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/Staging/v2.57.0/TRENDLOG.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TRENDLOG.cs index d26f748..8f093f7 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TRENDLOG.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TRENDLOG.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/Extract/Production/v2.59.0/METCLIMATEC.cs b/Adaptation/_Tests/Extract/Production/v2.59.0/METCLIMATEC.cs new file mode 100644 index 0000000..3eac330 --- /dev/null +++ b/Adaptation/_Tests/Extract/Production/v2.59.0/METCLIMATEC.cs @@ -0,0 +1,100 @@ +#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 METCLIMATEC +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Production.v2_59_0.METCLIMATEC _METCLIMATEC; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Production.v2_59_0.METCLIMATEC.ClassInitialize(testContext); + _METCLIMATEC = CreateSelfDescription.Production.v2_59_0.METCLIMATEC.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__METCLIMATEC__MoveMatchingFiles() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__METCLIMATEC__MoveMatchingFiles637953064190000000__Normal() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _METCLIMATEC.Production__v2_59_0__METCLIMATEC__MoveMatchingFiles(); + Assert.IsFalse(string.IsNullOrEmpty(_METCLIMATEC.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _METCLIMATEC.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _METCLIMATEC.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__METCLIMATEC__IQSSi() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__METCLIMATEC__IQSSi638465291633220310__Normal() + { + string check = "*.pdsf"; + _METCLIMATEC.Production__v2_59_0__METCLIMATEC__IQSSi(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _METCLIMATEC.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _METCLIMATEC.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__METCLIMATEC__Processed() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__METCLIMATEC__Archive() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__METCLIMATEC__Dummy() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__Dummy(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Production/v2.59.0/TRENDLOG.cs b/Adaptation/_Tests/Extract/Production/v2.59.0/TRENDLOG.cs new file mode 100644 index 0000000..1bedac2 --- /dev/null +++ b/Adaptation/_Tests/Extract/Production/v2.59.0/TRENDLOG.cs @@ -0,0 +1,86 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Reflection; +using System.Text.Json; + +namespace Adaptation._Tests.Extract.Production.v2_59_0; + +[TestClass] +public class TRENDLOG +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Production.v2_59_0.TRENDLOG _TRENDLOG; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Production.v2_59_0.TRENDLOG.ClassInitialize(testContext); + _TRENDLOG = CreateSelfDescription.Production.v2_59_0.TRENDLOG.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__TRENDLOG__csv() => _TRENDLOG.Production__v2_59_0__TRENDLOG__csv(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__TRENDLOG__csv638465291633220310__Normal() + { + bool validatePDSF = false; + string check = "*.csv.trg"; + _TRENDLOG.Production__v2_59_0__TRENDLOG__csv(); + MethodBase methodBase = new StackFrame().GetMethod(); + // string check = "Dev *, A*, present-value, *D*-*-*-*.csv.trg"; + Assert.IsFalse(string.IsNullOrEmpty(_TRENDLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _TRENDLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _TRENDLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Tuple> extractResult = fileRead.ReExtract(); + Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); + Assert.IsNotNull(extractResult.Item3); + Assert.IsNotNull(extractResult.Item4); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_59_0__TRENDLOG__csv638465291633220312__Normal() + { + bool validatePDSF = false; + string check = "*.csv.trg"; + _TRENDLOG.Production__v2_59_0__TRENDLOG__csv(); + MethodBase methodBase = new StackFrame().GetMethod(); + // string check = "Dev *, A*, present-value, *D*-*-*-*.csv.trg"; + Assert.IsFalse(string.IsNullOrEmpty(_TRENDLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _TRENDLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _TRENDLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Tuple> extractResult = fileRead.ReExtract(); + Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); + Assert.IsNotNull(extractResult.Item3); + Assert.IsNotNull(extractResult.Item4); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.57.0/METCLIMATEC.cs b/Adaptation/_Tests/Extract/Staging/v2.57.0/METCLIMATEC.cs index 7b19d2f..d94a8e9 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.57.0/METCLIMATEC.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.57.0/METCLIMATEC.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/Staging/v2.57.0/TRENDLOG.cs b/Adaptation/_Tests/Extract/Staging/v2.57.0/TRENDLOG.cs index 36325a6..d67e8f6 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.57.0/TRENDLOG.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.57.0/TRENDLOG.cs @@ -1,4 +1,4 @@ -#if true +#if v2_57_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Adaptation/_Tests/Static/METCLIMATEC.cs b/Adaptation/_Tests/Static/METCLIMATEC.cs index fd20b9a..2ac922e 100644 --- a/Adaptation/_Tests/Static/METCLIMATEC.cs +++ b/Adaptation/_Tests/Static/METCLIMATEC.cs @@ -58,20 +58,20 @@ public class METCLIMATEC : LoggingUnitTesting, IDisposable [Ignore] #endif [TestMethod] - public void Staging() + public void Production() { MethodBase methodBase = new StackFrame().GetMethod(); StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("METCLIMATEC", "v2.57.0"), + new("METCLIMATEC", "v2.59.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"; diff --git a/Adaptation/_Tests/Static/csv.cs b/Adaptation/_Tests/Static/csv.cs index ce586f0..e3a75b8 100644 --- a/Adaptation/_Tests/Static/csv.cs +++ b/Adaptation/_Tests/Static/csv.cs @@ -58,20 +58,20 @@ public class CSV : LoggingUnitTesting, IDisposable [Ignore] #endif [TestMethod] - public void Staging() + public void Production() { MethodBase methodBase = new StackFrame().GetMethod(); StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("TRENDLOG", "v2.57.0"), + new("TRENDLOG", "v2.59.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"; diff --git a/METCLIMATEC.csproj b/METCLIMATEC.csproj index d0d525a..77c684f 100644 --- a/METCLIMATEC.csproj +++ b/METCLIMATEC.csproj @@ -168,10 +168,10 @@ - 2.57.0 + 2.59.0 - 6.0.3 + 8.0.3 diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 2b9d8ae..084cd17 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")]