mesfs.infineon.com
Infineon.EAF.Runtime 2.52.0 pool name Kanban
This commit is contained in:
parent
d2e291fe64
commit
49d8e3b309
4
.gitignore
vendored
4
.gitignore
vendored
@ -335,9 +335,11 @@ ASALocalRun/
|
|||||||
!**/.vscode/extensions.json
|
!**/.vscode/extensions.json
|
||||||
!**/.vscode/format-report.json
|
!**/.vscode/format-report.json
|
||||||
!**/.vscode/launch.json
|
!**/.vscode/launch.json
|
||||||
|
!**/.vscode/mklink.md
|
||||||
!**/.vscode/settings.json
|
!**/.vscode/settings.json
|
||||||
!**/.vscode/tasks.json
|
!**/.vscode/tasks.json
|
||||||
|
!**/.vscode/mklink.md
|
||||||
|
|
||||||
*.lnk
|
*.lnk
|
||||||
|
|
||||||
Adaptation/.kanbn
|
.kanbn/**/*
|
11
.vscode/mklink.md
vendored
Normal file
11
.vscode/mklink.md
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
type: "note"
|
||||||
|
created: "2023-10-20T03:52:57.401Z"
|
||||||
|
updated: "2023-10-20T03:53:49.161Z"
|
||||||
|
---
|
||||||
|
|
||||||
|
# mklink
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\.kanbn" "D:\Documents\Kanban\MESAFIBACKLOG"
|
||||||
|
```
|
15
Adaptation/.vscode/mklink.md
vendored
Normal file
15
Adaptation/.vscode/mklink.md
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
type: "note"
|
||||||
|
created: "2023-10-20T03:56:21.490Z"
|
||||||
|
updated: "2023-10-20T03:57:15.006Z"
|
||||||
|
---
|
||||||
|
|
||||||
|
# mklink
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mklink /J "T:\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\Adaptation\.kanbn" "D:\Documents\Kanban\MESAFIBACKLOG"
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mklink /J "T:\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\Adaptation\.kanbn" "D:\5-Other-Small\Kanban\MESAFIBACKLOG"
|
||||||
|
```
|
@ -16,15 +16,17 @@ public class CellInstanceConnectionName
|
|||||||
nameof(APC) => new APC.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(APC) => new APC.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(Archive) => new Archive.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(Archive) => new Archive.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(ConvertExcelToJson) => new ConvertExcelToJson.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(ConvertExcelToJson) => new ConvertExcelToJson.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
|
nameof(CopyToPaths) => new CopyToPaths.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(DownloadExcelFile) => new DownloadExcelFile.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(DownloadExcelFile) => new DownloadExcelFile.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(Dummy) => new Dummy.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(Dummy) => new Dummy.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(IQSSi) => new IQSSi.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(IQSSi) => new IQSSi.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
|
nameof(json) => new json.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
|
nameof(Kanban) => new Kanban.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(MoveMatchingFiles) => new MoveMatchingFiles.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(MoveMatchingFiles) => new MoveMatchingFiles.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(OpenInsight) => new OpenInsight.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(OpenInsight) => new OpenInsight.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(OpenInsightMetrologyViewer) => new OpenInsightMetrologyViewer.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(OpenInsightMetrologyViewer) => new OpenInsightMetrologyViewer.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(OpenInsightMetrologyViewerAttachments) => new OpenInsightMetrologyViewerAttachments.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(OpenInsightMetrologyViewerAttachments) => new OpenInsightMetrologyViewerAttachments.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(Processed) => new Processed.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(Processed) => new Processed.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
nameof(json) => new json.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
|
||||||
nameof(SPaCe) => new SPaCe.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
nameof(SPaCe) => new SPaCe.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null),
|
||||||
_ => throw new Exception($"\"{cellInstanceConnectionName}\" not mapped")
|
_ => throw new Exception($"\"{cellInstanceConnectionName}\" not mapped")
|
||||||
};
|
};
|
||||||
|
@ -94,17 +94,17 @@ public class ProcessData : IProcessData
|
|||||||
if (@object is null)
|
if (@object is null)
|
||||||
value = string.Empty;
|
value = string.Empty;
|
||||||
else
|
else
|
||||||
value = string.Concat(@object);
|
value = JsonSerializer.Serialize(@object.ToString());
|
||||||
if (value.Contains("\""))
|
if (value.Contains("\\n"))
|
||||||
value = value.Replace("\"", "\\\"");
|
value = value.Replace("\\n", "<br>");
|
||||||
if (value.Contains("\n"))
|
if (value.Contains("\\t"))
|
||||||
value = value.Replace("\n", "<br>");
|
value = value.Replace("\\t", " ");
|
||||||
name = table.Columns[j].ColumnName.ToString().Trim();
|
name = JsonSerializer.Serialize(table.Columns[j].ColumnName.ToString().Trim());
|
||||||
if (name.Contains("\""))
|
if (name.Contains("\\n"))
|
||||||
name = name.Replace("\"", "\\\"");
|
name = name.Replace("\\n", "<br>");
|
||||||
if (name.Contains("\n"))
|
if (name.Contains("\\t"))
|
||||||
name = name.Replace("\n", "<br>");
|
name = name.Replace("\\t", " ");
|
||||||
_ = jsonString.Append('"').Append(name).Append("\":").Append('"').Append(value).Append('"');
|
_ = jsonString.Append(name).Append(':').Append(value);
|
||||||
if (j < table.Columns.Count - 1)
|
if (j < table.Columns.Count - 1)
|
||||||
_ = jsonString.Append(',');
|
_ = jsonString.Append(',');
|
||||||
}
|
}
|
||||||
@ -118,6 +118,34 @@ public class ProcessData : IProcessData
|
|||||||
return jsonString.ToString();
|
return jsonString.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static List<FIBacklogMesa> Parse(IFileRead fileRead, JsonElement[] jsonElements)
|
||||||
|
{
|
||||||
|
string key;
|
||||||
|
string json;
|
||||||
|
FIBacklogMesa? fiBacklogMesa;
|
||||||
|
JsonProperty[] jsonProperties;
|
||||||
|
List<FIBacklogMesa> fiBacklogMesaCollection = new();
|
||||||
|
foreach (JsonElement jsonElement in jsonElements)
|
||||||
|
{
|
||||||
|
if (jsonElement.ValueKind != JsonValueKind.Object)
|
||||||
|
continue;
|
||||||
|
jsonProperties = jsonElement.EnumerateObject().ToArray();
|
||||||
|
if (jsonProperties.Length < 2)
|
||||||
|
continue;
|
||||||
|
key = jsonProperties[0].Value.ToString();
|
||||||
|
if (string.IsNullOrEmpty(key))
|
||||||
|
continue;
|
||||||
|
json = jsonElement.ToString();
|
||||||
|
if (!fileRead.IsEAFHosted)
|
||||||
|
File.WriteAllText(".json", json);
|
||||||
|
fiBacklogMesa = JsonSerializer.Deserialize<FIBacklogMesa>(json);
|
||||||
|
if (fiBacklogMesa is null)
|
||||||
|
throw new NullReferenceException();
|
||||||
|
fiBacklogMesaCollection.Add(fiBacklogMesa);
|
||||||
|
}
|
||||||
|
return fiBacklogMesaCollection;
|
||||||
|
}
|
||||||
|
|
||||||
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string sheet)
|
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string sheet)
|
||||||
{
|
{
|
||||||
if (fileRead is null)
|
if (fileRead is null)
|
||||||
@ -129,10 +157,20 @@ public class ProcessData : IProcessData
|
|||||||
if (dataTable.Rows.Count == 0)
|
if (dataTable.Rows.Count == 0)
|
||||||
throw new Exception("No rows");
|
throw new Exception("No rows");
|
||||||
string json = DataTableToJSON(dataTable);
|
string json = DataTableToJSON(dataTable);
|
||||||
FIBacklogMesa[]? fIBacklogMesaCollection = JsonSerializer.Deserialize<FIBacklogMesa[]>(json, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true });
|
if (!fileRead.IsEAFHosted)
|
||||||
if (fIBacklogMesaCollection is null || !fIBacklogMesaCollection.Any())
|
File.WriteAllText(".json", json);
|
||||||
|
JsonElement[]? jsonElements = JsonSerializer.Deserialize<JsonElement[]>(json, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true });
|
||||||
|
if (jsonElements is null || !jsonElements.Any())
|
||||||
throw new NullReferenceException();
|
throw new NullReferenceException();
|
||||||
json = JsonSerializer.Serialize(from l in fIBacklogMesaCollection orderby l.Req.Length, l.Req select l, new JsonSerializerOptions() { WriteIndented = true });
|
if (!fileRead.ReportFullPath.Contains("Backlog"))
|
||||||
|
json = JsonSerializer.Serialize(jsonElements, new JsonSerializerOptions() { WriteIndented = true });
|
||||||
|
else
|
||||||
|
{
|
||||||
|
List<FIBacklogMesa> fiBacklogMesaCollection = Parse(fileRead, jsonElements);
|
||||||
|
json = JsonSerializer.Serialize(from l in fiBacklogMesaCollection orderby l.Req.Length, l.Req select l, new JsonSerializerOptions() { WriteIndented = true });
|
||||||
|
}
|
||||||
|
if (!fileRead.IsEAFHosted)
|
||||||
|
File.WriteAllText(".json", json);
|
||||||
_Details.Add(json);
|
_Details.Add(json);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
135
Adaptation/FileHandlers/CopyToPaths/FileRead.cs
Normal file
135
Adaptation/FileHandlers/CopyToPaths/FileRead.cs
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
using Adaptation.Eaf.Management.ConfigurationData.CellAutomation;
|
||||||
|
using Adaptation.Ifx.Eaf.EquipmentConnector.File.Configuration;
|
||||||
|
using Adaptation.Shared;
|
||||||
|
using Adaptation.Shared.Duplicator;
|
||||||
|
using Adaptation.Shared.Methods;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Threading;
|
||||||
|
|
||||||
|
namespace Adaptation.FileHandlers.CopyToPaths;
|
||||||
|
|
||||||
|
public class FileRead : Shared.FileRead, IFileRead
|
||||||
|
{
|
||||||
|
|
||||||
|
private readonly ReadOnlyDictionary<string, string> _CopyToPaths;
|
||||||
|
|
||||||
|
public FileRead(ISMTP smtp, Dictionary<string, string> fileParameter, string cellInstanceName, int? connectionCount, string cellInstanceConnectionName, FileConnectorConfiguration fileConnectorConfiguration, string equipmentTypeName, string parameterizedModelObjectDefinitionType, IList<ModelObjectParameterDefinition> modelObjectParameters, string equipmentDictionaryName, Dictionary<string, List<long>> dummyRuns, Dictionary<long, List<string>> staticRuns, bool useCyclicalForDescription, bool isEAFHosted) :
|
||||||
|
base(new Description(), false, smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null)
|
||||||
|
{
|
||||||
|
_MinFileLength = 10;
|
||||||
|
_NullData = string.Empty;
|
||||||
|
_Logistics = new(this);
|
||||||
|
if (_FileParameter is null)
|
||||||
|
throw new Exception(cellInstanceConnectionName);
|
||||||
|
if (_ModelObjectParameterDefinitions is null)
|
||||||
|
throw new Exception(cellInstanceConnectionName);
|
||||||
|
if (!_IsDuplicator)
|
||||||
|
throw new Exception(cellInstanceConnectionName);
|
||||||
|
Dictionary<string, string> copyToPaths = new();
|
||||||
|
string cellInstancecellInstanceConnectionNamed = string.Concat("CellInstance.", cellInstanceName, '.', cellInstanceConnectionName, '.');
|
||||||
|
ModelObjectParameterDefinition[] modelObjectParameterDefinitions = GetProperties(cellInstanceConnectionName, modelObjectParameters, cellInstancecellInstanceConnectionNamed);
|
||||||
|
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in modelObjectParameterDefinitions)
|
||||||
|
copyToPaths.Add(modelObjectParameterDefinition.Name.Split('.')[3], modelObjectParameterDefinition.Value);
|
||||||
|
_CopyToPaths = new(copyToPaths);
|
||||||
|
}
|
||||||
|
|
||||||
|
void IFileRead.Move(Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResults, Exception exception) => Move(extractResults);
|
||||||
|
|
||||||
|
void IFileRead.WaitForThread() => WaitForThread(thread: null, threadExceptions: null);
|
||||||
|
|
||||||
|
string IFileRead.GetEventDescription()
|
||||||
|
{
|
||||||
|
string result = _Description.GetEventDescription();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
List<string> IFileRead.GetHeaderNames()
|
||||||
|
{
|
||||||
|
List<string> results = _Description.GetHeaderNames();
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
string[] IFileRead.Move(Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResults, string to, string from, string resolvedFileLocation, Exception exception)
|
||||||
|
{
|
||||||
|
string[] results = Move(extractResults, to, from, resolvedFileLocation, exception);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
JsonProperty[] IFileRead.GetDefault()
|
||||||
|
{
|
||||||
|
JsonProperty[] results = _Description.GetDefault(this, _Logistics);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
Dictionary<string, string> IFileRead.GetDisplayNamesJsonElement()
|
||||||
|
{
|
||||||
|
Dictionary<string, string> results = _Description.GetDisplayNamesJsonElement(this);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
List<IDescription> IFileRead.GetDescriptions(IFileRead fileRead, List<Test> tests, IProcessData processData)
|
||||||
|
{
|
||||||
|
List<IDescription> results = _Description.GetDescriptions(fileRead, _Logistics, tests, processData);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> IFileRead.GetExtractResult(string reportFullPath, string eventName)
|
||||||
|
{
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results;
|
||||||
|
if (string.IsNullOrEmpty(eventName))
|
||||||
|
throw new Exception();
|
||||||
|
_ReportFullPath = reportFullPath;
|
||||||
|
DateTime dateTime = DateTime.Now;
|
||||||
|
results = GetExtractResult(reportFullPath, dateTime);
|
||||||
|
if (results.Item3 is null)
|
||||||
|
results = new Tuple<string, Test[], JsonElement[], List<FileInfo>>(results.Item1, Array.Empty<Test>(), JsonSerializer.Deserialize<JsonElement[]>("[]"), results.Item4);
|
||||||
|
if (results.Item3.Length > 0 && _IsEAFHosted)
|
||||||
|
WritePDSF(this, results.Item3);
|
||||||
|
UpdateLastTicksDuration(DateTime.Now.Ticks - dateTime.Ticks);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> IFileRead.ReExtract()
|
||||||
|
{
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results;
|
||||||
|
List<string> headerNames = _Description.GetHeaderNames();
|
||||||
|
Dictionary<string, string> keyValuePairs = _Description.GetDisplayNamesJsonElement(this);
|
||||||
|
results = ReExtract(this, headerNames, keyValuePairs);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
private Tuple<string, Test[], JsonElement[], List<FileInfo>> GetExtractResult(string reportFullPath, DateTime dateTime)
|
||||||
|
{
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results;
|
||||||
|
string path;
|
||||||
|
string checkDirectory;
|
||||||
|
string ticks = dateTime.Ticks.ToString();
|
||||||
|
string fileExtension = Path.GetExtension(reportFullPath);
|
||||||
|
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(reportFullPath);
|
||||||
|
_Logistics = new Logistics(reportFullPath, $"LOGISTICS_1{'\t'}A_JOBID={"BACKLOG"};A_MES_ENTITY={"BACKLOG"};");
|
||||||
|
foreach (KeyValuePair<string, string> keyValuePair in _CopyToPaths)
|
||||||
|
{
|
||||||
|
path = keyValuePair.Value.Replace("%OriginalFileName%", fileNameWithoutExtension).Replace("%OriginalFileExtension%", fileExtension).Replace($".{fileExtension}", fileExtension);
|
||||||
|
checkDirectory = Path.GetDirectoryName(path);
|
||||||
|
if (string.IsNullOrEmpty(checkDirectory))
|
||||||
|
continue;
|
||||||
|
if (!Directory.Exists(checkDirectory))
|
||||||
|
_ = Directory.CreateDirectory(Path.Combine(checkDirectory, ticks));
|
||||||
|
if (File.Exists(path))
|
||||||
|
{
|
||||||
|
if (_IsEAFHosted)
|
||||||
|
File.Delete(path);
|
||||||
|
Thread.Sleep(500);
|
||||||
|
}
|
||||||
|
if (_IsEAFHosted)
|
||||||
|
File.Copy(reportFullPath, path);
|
||||||
|
}
|
||||||
|
results = new(_Logistics.Logistics1[0], Array.Empty<Test>(), Array.Empty<JsonElement>(), new List<FileInfo>());
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
194
Adaptation/FileHandlers/Kanban/FileRead.cs
Normal file
194
Adaptation/FileHandlers/Kanban/FileRead.cs
Normal file
@ -0,0 +1,194 @@
|
|||||||
|
using Adaptation.Eaf.Management.ConfigurationData.CellAutomation;
|
||||||
|
using Adaptation.Ifx.Eaf.EquipmentConnector.File.Configuration;
|
||||||
|
using Adaptation.Shared;
|
||||||
|
using Adaptation.Shared.Duplicator;
|
||||||
|
using Adaptation.Shared.Methods;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
namespace Adaptation.FileHandlers.Kanban;
|
||||||
|
|
||||||
|
public class FileRead : Shared.FileRead, IFileRead
|
||||||
|
{
|
||||||
|
|
||||||
|
private readonly ReadOnlyCollection<string> _CSSLines;
|
||||||
|
private readonly ReadOnlyCollection<string> _FrontMatterLines;
|
||||||
|
|
||||||
|
public FileRead(ISMTP smtp, Dictionary<string, string> fileParameter, string cellInstanceName, int? connectionCount, string cellInstanceConnectionName, FileConnectorConfiguration fileConnectorConfiguration, string equipmentTypeName, string parameterizedModelObjectDefinitionType, IList<ModelObjectParameterDefinition> modelObjectParameters, string equipmentDictionaryName, Dictionary<string, List<long>> dummyRuns, Dictionary<long, List<string>> staticRuns, bool useCyclicalForDescription, bool isEAFHosted) :
|
||||||
|
base(new Description(), false, smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null)
|
||||||
|
{
|
||||||
|
_MinFileLength = 10;
|
||||||
|
_NullData = string.Empty;
|
||||||
|
_Logistics = new(this);
|
||||||
|
if (_FileParameter is null)
|
||||||
|
throw new Exception(cellInstanceConnectionName);
|
||||||
|
if (_ModelObjectParameterDefinitions is null)
|
||||||
|
throw new Exception(cellInstanceConnectionName);
|
||||||
|
if (!_IsDuplicator)
|
||||||
|
throw new Exception(cellInstanceConnectionName);
|
||||||
|
List<string> cssLines = new();
|
||||||
|
string cssLinesName = string.Concat("CellInstance.", cellInstanceName, '.', cellInstanceConnectionName, ".CSS.Lines");
|
||||||
|
ModelObjectParameterDefinition[] cssLinesDefinitions = GetProperties(cellInstanceConnectionName, modelObjectParameters, cssLinesName);
|
||||||
|
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in cssLinesDefinitions)
|
||||||
|
cssLines.Add(modelObjectParameterDefinition.Value);
|
||||||
|
_CSSLines = new(cssLines);
|
||||||
|
List<string> FrontMatterLines = new();
|
||||||
|
string FrontMatterLinesName = string.Concat("CellInstance.", cellInstanceName, '.', cellInstanceConnectionName, ".Front.Matter.Lines");
|
||||||
|
ModelObjectParameterDefinition[] FrontMatterLinesDefinitions = GetProperties(cellInstanceConnectionName, modelObjectParameters, FrontMatterLinesName);
|
||||||
|
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in FrontMatterLinesDefinitions)
|
||||||
|
FrontMatterLines.Add(modelObjectParameterDefinition.Value);
|
||||||
|
_FrontMatterLines = new(FrontMatterLines);
|
||||||
|
}
|
||||||
|
|
||||||
|
void IFileRead.Move(Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResults, Exception exception) => Move(extractResults);
|
||||||
|
|
||||||
|
void IFileRead.WaitForThread() => WaitForThread(thread: null, threadExceptions: null);
|
||||||
|
|
||||||
|
string IFileRead.GetEventDescription()
|
||||||
|
{
|
||||||
|
string result = _Description.GetEventDescription();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
List<string> IFileRead.GetHeaderNames()
|
||||||
|
{
|
||||||
|
List<string> results = _Description.GetHeaderNames();
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
string[] IFileRead.Move(Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResults, string to, string from, string resolvedFileLocation, Exception exception)
|
||||||
|
{
|
||||||
|
string[] results = Move(extractResults, to, from, resolvedFileLocation, exception);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
JsonProperty[] IFileRead.GetDefault()
|
||||||
|
{
|
||||||
|
JsonProperty[] results = _Description.GetDefault(this, _Logistics);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
Dictionary<string, string> IFileRead.GetDisplayNamesJsonElement()
|
||||||
|
{
|
||||||
|
Dictionary<string, string> results = _Description.GetDisplayNamesJsonElement(this);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
List<IDescription> IFileRead.GetDescriptions(IFileRead fileRead, List<Test> tests, IProcessData processData)
|
||||||
|
{
|
||||||
|
List<IDescription> results = _Description.GetDescriptions(fileRead, _Logistics, tests, processData);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> IFileRead.GetExtractResult(string reportFullPath, string eventName)
|
||||||
|
{
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results;
|
||||||
|
if (string.IsNullOrEmpty(eventName))
|
||||||
|
throw new Exception();
|
||||||
|
_ReportFullPath = reportFullPath;
|
||||||
|
DateTime dateTime = DateTime.Now;
|
||||||
|
results = GetExtractResult(reportFullPath, dateTime);
|
||||||
|
if (results.Item3 is null)
|
||||||
|
results = new Tuple<string, Test[], JsonElement[], List<FileInfo>>(results.Item1, Array.Empty<Test>(), JsonSerializer.Deserialize<JsonElement[]>("[]"), results.Item4);
|
||||||
|
if (results.Item3.Length > 0 && _IsEAFHosted)
|
||||||
|
WritePDSF(this, results.Item3);
|
||||||
|
UpdateLastTicksDuration(DateTime.Now.Ticks - dateTime.Ticks);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> IFileRead.ReExtract()
|
||||||
|
{
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results;
|
||||||
|
List<string> headerNames = _Description.GetHeaderNames();
|
||||||
|
Dictionary<string, string> keyValuePairs = _Description.GetDisplayNamesJsonElement(this);
|
||||||
|
results = ReExtract(this, headerNames, keyValuePairs);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Save(string key, string fileNameWithoutExtension, string rootDirectory, JsonElement jsonElement)
|
||||||
|
{
|
||||||
|
string checkFile;
|
||||||
|
List<string> indexLines = new();
|
||||||
|
indexLines.AddRange(_FrontMatterLines);
|
||||||
|
indexLines.Add(string.Empty);
|
||||||
|
indexLines.Add($"# {key}");
|
||||||
|
indexLines.Add(string.Empty);
|
||||||
|
indexLines.Add("## Backlog");
|
||||||
|
indexLines.Add(string.Empty);
|
||||||
|
indexLines.Add("## Todo");
|
||||||
|
indexLines.Add(string.Empty);
|
||||||
|
indexLines.Add("## In Progress");
|
||||||
|
indexLines.Add(string.Empty);
|
||||||
|
indexLines.Add("## Done");
|
||||||
|
string singletonDirectory = Path.Combine(rootDirectory, $"{key}-{fileNameWithoutExtension}");
|
||||||
|
string vscodeDirectory = Path.Combine(singletonDirectory, ".vscode");
|
||||||
|
if (!Directory.Exists(vscodeDirectory))
|
||||||
|
_ = Directory.CreateDirectory(vscodeDirectory);
|
||||||
|
checkFile = Path.Combine(vscodeDirectory, "settings.json");
|
||||||
|
if (!File.Exists(checkFile))
|
||||||
|
File.WriteAllText(checkFile, "{ \"[markdown]\": { \"editor.wordWrap\": \"off\" }, \"cSpell.words\": [ \"kanbn\" ] }");
|
||||||
|
string kanbanDirectory = Path.Combine(singletonDirectory, ".kanbn");
|
||||||
|
if (!Directory.Exists(kanbanDirectory))
|
||||||
|
_ = Directory.CreateDirectory(kanbanDirectory);
|
||||||
|
checkFile = Path.Combine(kanbanDirectory, ".json");
|
||||||
|
if (!File.Exists(checkFile))
|
||||||
|
File.WriteAllText(checkFile, jsonElement.ToString());
|
||||||
|
else
|
||||||
|
{
|
||||||
|
string singletonJson = jsonElement.ToString();
|
||||||
|
string checkJson = Regex.Replace(File.ReadAllText(checkFile), @"\s+", " ", RegexOptions.Multiline);
|
||||||
|
if (Regex.Replace(singletonJson, @"\s+", " ", RegexOptions.Multiline) != checkJson)
|
||||||
|
File.WriteAllText(checkFile, singletonJson);
|
||||||
|
}
|
||||||
|
string tasksDirectory = Path.Combine(kanbanDirectory, "tasks");
|
||||||
|
if (!Directory.Exists(tasksDirectory))
|
||||||
|
_ = Directory.CreateDirectory(tasksDirectory);
|
||||||
|
checkFile = Path.Combine(kanbanDirectory, "board.css");
|
||||||
|
if (!File.Exists(checkFile))
|
||||||
|
File.WriteAllLines(checkFile, _CSSLines);
|
||||||
|
checkFile = Path.Combine(kanbanDirectory, "index.md");
|
||||||
|
if (!File.Exists(checkFile))
|
||||||
|
File.WriteAllLines(checkFile, indexLines);
|
||||||
|
}
|
||||||
|
|
||||||
|
private Tuple<string, Test[], JsonElement[], List<FileInfo>> GetExtractResult(string reportFullPath, DateTime dateTime)
|
||||||
|
{
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results;
|
||||||
|
string key;
|
||||||
|
JsonProperty[] jsonProperties;
|
||||||
|
string ticks = dateTime.Ticks.ToString();
|
||||||
|
_Logistics = new Logistics(reportFullPath, $"LOGISTICS_1{'\t'}A_JOBID={"BACKLOG"};A_MES_ENTITY={"BACKLOG"};");
|
||||||
|
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(reportFullPath).Replace(" ", "-").Replace("---", "-");
|
||||||
|
string rootDirectory = Path.Combine(_FileConnectorConfiguration.SourceFileLocation, fileNameWithoutExtension);
|
||||||
|
if (string.IsNullOrEmpty(rootDirectory))
|
||||||
|
throw new NullReferenceException(nameof(rootDirectory));
|
||||||
|
if (!Directory.Exists(rootDirectory))
|
||||||
|
_ = Directory.CreateDirectory(Path.Combine(rootDirectory, ticks));
|
||||||
|
string json = File.ReadAllText(reportFullPath);
|
||||||
|
JsonElement[] jsonElements = JsonSerializer.Deserialize<JsonElement[]>(json);
|
||||||
|
foreach (JsonElement jsonElement in jsonElements)
|
||||||
|
{
|
||||||
|
if (jsonElement.ValueKind != JsonValueKind.Object)
|
||||||
|
continue;
|
||||||
|
jsonProperties = jsonElement.EnumerateObject().ToArray();
|
||||||
|
if (jsonProperties.Length < 2)
|
||||||
|
continue;
|
||||||
|
key = jsonProperties[0].Value.ToString();
|
||||||
|
if (string.IsNullOrEmpty(key))
|
||||||
|
continue;
|
||||||
|
if (string.IsNullOrEmpty(jsonProperties[1].Value.ToString()))
|
||||||
|
continue;
|
||||||
|
Save(key, fileNameWithoutExtension, rootDirectory, jsonElement);
|
||||||
|
if (!_IsEAFHosted)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
results = new(_Logistics.Logistics1[0], Array.Empty<Test>(), Array.Empty<JsonElement>(), new List<FileInfo>());
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -61,17 +61,17 @@ public class FileRead : Shared.FileRead, IFileRead
|
|||||||
_Project = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.HttpClient.Project");
|
_Project = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.HttpClient.Project");
|
||||||
string basePage = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.HttpClient.BasePage");
|
string basePage = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.HttpClient.BasePage");
|
||||||
string baseAddress = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.HttpClient.BaseAddress");
|
string baseAddress = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.HttpClient.BaseAddress");
|
||||||
ModelObjectParameterDefinition[] assignedTo = GetProperties(cellInstanceConnectionName, modelObjectParameters, "Assinged.To.");
|
ModelObjectParameterDefinition[] assignedTo = GetProperties(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.Assinged.To.");
|
||||||
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in assignedTo)
|
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in assignedTo)
|
||||||
assignedToNameToUser.Add(modelObjectParameterDefinition.Name.Split('.')[2], modelObjectParameterDefinition.Value);
|
assignedToNameToUser.Add(modelObjectParameterDefinition.Name.Split('.')[4], modelObjectParameterDefinition.Value);
|
||||||
_AssignedToNameToUser = new(assignedToNameToUser);
|
_AssignedToNameToUser = new(assignedToNameToUser);
|
||||||
ModelObjectParameterDefinition[] requestor = GetProperties(cellInstanceConnectionName, modelObjectParameters, "Requestor.");
|
ModelObjectParameterDefinition[] requestor = GetProperties(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.Requestor.");
|
||||||
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in requestor)
|
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in requestor)
|
||||||
requestorNameToUser.Add(modelObjectParameterDefinition.Name.Split('.')[1], modelObjectParameterDefinition.Value);
|
requestorNameToUser.Add(modelObjectParameterDefinition.Name.Split('.')[3], modelObjectParameterDefinition.Value);
|
||||||
_RequestorNameToUser = new(requestorNameToUser);
|
_RequestorNameToUser = new(requestorNameToUser);
|
||||||
ModelObjectParameterDefinition[] encodedPAT = GetProperties(cellInstanceConnectionName, modelObjectParameters, "Encoded.PAT.");
|
ModelObjectParameterDefinition[] encodedPAT = GetProperties(cellInstanceConnectionName, modelObjectParameters, $"{cellInstanceNamed}.Encoded.PAT.");
|
||||||
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in encodedPAT)
|
foreach (ModelObjectParameterDefinition modelObjectParameterDefinition in encodedPAT)
|
||||||
assignedToNameToEncodedPAT.Add(modelObjectParameterDefinition.Name.Split('.')[2], modelObjectParameterDefinition.Value);
|
assignedToNameToEncodedPAT.Add(modelObjectParameterDefinition.Name.Split('.')[4], modelObjectParameterDefinition.Value);
|
||||||
_AssignedToNameToEncodedPAT = new(assignedToNameToEncodedPAT);
|
_AssignedToNameToEncodedPAT = new(assignedToNameToEncodedPAT);
|
||||||
byte[] bytes = Encoding.ASCII.GetBytes($":{pat}");
|
byte[] bytes = Encoding.ASCII.GetBytes($":{pat}");
|
||||||
string base64 = Convert.ToBase64String(bytes);
|
string base64 = Convert.ToBase64String(bytes);
|
||||||
|
@ -0,0 +1,61 @@
|
|||||||
|
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.Development.v2_52_0;
|
||||||
|
|
||||||
|
[TestClass]
|
||||||
|
public class ALIGNMENT : EAFLoggingUnitTesting
|
||||||
|
{
|
||||||
|
|
||||||
|
#pragma warning disable CA2254
|
||||||
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
|
internal static ALIGNMENT EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
|
static ALIGNMENT() => DummyRoot = @"\\messdv002.na.infineon.com\Candela\EC_Characterization_Si\Dummy";
|
||||||
|
|
||||||
|
public ALIGNMENT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
|
{
|
||||||
|
if (EAFLoggingUnitTesting is null)
|
||||||
|
throw new Exception();
|
||||||
|
}
|
||||||
|
|
||||||
|
public ALIGNMENT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[ClassInitialize]
|
||||||
|
public static void ClassInitialize(TestContext testContext)
|
||||||
|
{
|
||||||
|
EAFLoggingUnitTesting ??= new ALIGNMENT(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 Development__v2_52_0__ALIGNMENT__ConvertExcelToJson()
|
||||||
|
{
|
||||||
|
string check = "*.xlsx";
|
||||||
|
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"));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -47,6 +47,17 @@ public class MESAFIBACKLOG : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting?.Dispose();
|
EAFLoggingUnitTesting?.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Ignore]
|
||||||
|
[TestMethod]
|
||||||
|
public void Development__v2_52_0__MESAFIBACKLOG__CopyToPaths()
|
||||||
|
{
|
||||||
|
string check = "*.json";
|
||||||
|
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]
|
[Ignore]
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Development__v2_52_0__MESAFIBACKLOG__json()
|
public void Development__v2_52_0__MESAFIBACKLOG__json()
|
||||||
@ -58,4 +69,15 @@ public class MESAFIBACKLOG : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Ignore]
|
||||||
|
[TestMethod]
|
||||||
|
public void Development__v2_52_0__MESAFIBACKLOG__Kanban()
|
||||||
|
{
|
||||||
|
string check = "*.json";
|
||||||
|
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"));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
58
Adaptation/_Tests/Extract/Development/v2.52.0/ALIGNMENT.cs
Normal file
58
Adaptation/_Tests/Extract/Development/v2.52.0/ALIGNMENT.cs
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
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.Development.v2_52_0;
|
||||||
|
|
||||||
|
[TestClass]
|
||||||
|
public class ALIGNMENT
|
||||||
|
{
|
||||||
|
|
||||||
|
#pragma warning disable CA2254
|
||||||
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
private static CreateSelfDescription.Development.v2_52_0.ALIGNMENT _ALIGNMENT;
|
||||||
|
|
||||||
|
[ClassInitialize]
|
||||||
|
public static void ClassInitialize(TestContext testContext)
|
||||||
|
{
|
||||||
|
CreateSelfDescription.Development.v2_52_0.ALIGNMENT.ClassInitialize(testContext);
|
||||||
|
_ALIGNMENT = CreateSelfDescription.Development.v2_52_0.ALIGNMENT.EAFLoggingUnitTesting;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void NonThrowTryCatch()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{ throw new Exception(); }
|
||||||
|
catch (Exception) { }
|
||||||
|
}
|
||||||
|
|
||||||
|
[Ignore]
|
||||||
|
[TestMethod]
|
||||||
|
public void Development__v2_52_0__ALIGNMENT__ConvertExcelToJson() => _ALIGNMENT.Development__v2_52_0__ALIGNMENT__ConvertExcelToJson();
|
||||||
|
|
||||||
|
[Ignore]
|
||||||
|
[TestMethod]
|
||||||
|
public void Development__v2_52_0__ALIGNMENT__ConvertExcelToJson638353030755467303__Normal()
|
||||||
|
{
|
||||||
|
string check = "*.xlsx";
|
||||||
|
bool validatePDSF = false;
|
||||||
|
MethodBase methodBase = new StackFrame().GetMethod();
|
||||||
|
_ALIGNMENT.Development__v2_52_0__ALIGNMENT__ConvertExcelToJson();
|
||||||
|
Assert.IsFalse(string.IsNullOrEmpty(_ALIGNMENT.AdaptationTesting.TestContext.FullyQualifiedTestClassName));
|
||||||
|
string[] variables = _ALIGNMENT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
||||||
|
IFileRead fileRead = _ALIGNMENT.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResult = fileRead.ReExtract();
|
||||||
|
Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1));
|
||||||
|
Assert.IsNotNull(extractResult.Item3);
|
||||||
|
Assert.IsNotNull(extractResult.Item4);
|
||||||
|
NonThrowTryCatch();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -93,7 +93,25 @@ public class MESAFIBACKLOG
|
|||||||
|
|
||||||
[Ignore]
|
[Ignore]
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Development__v2_52_0__MESAFIBACKLOG__json638323658386612550__Normal()
|
public void Development__v2_52_0__MESAFIBACKLOG__CopyToPaths638323658386612550__Normal()
|
||||||
|
{
|
||||||
|
string check = "*.json";
|
||||||
|
bool validatePDSF = false;
|
||||||
|
_MESAFIBACKLOG.Development__v2_52_0__MESAFIBACKLOG__CopyToPaths();
|
||||||
|
MethodBase methodBase = new StackFrame().GetMethod();
|
||||||
|
Assert.IsFalse(string.IsNullOrEmpty(_MESAFIBACKLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName));
|
||||||
|
string[] variables = _MESAFIBACKLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
||||||
|
IFileRead fileRead = _MESAFIBACKLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResult = fileRead.ReExtract();
|
||||||
|
Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1));
|
||||||
|
Assert.IsNotNull(extractResult.Item3);
|
||||||
|
Assert.IsNotNull(extractResult.Item4);
|
||||||
|
NonThrowTryCatch();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Ignore]
|
||||||
|
[TestMethod]
|
||||||
|
public void Development__v2_52_0__MESAFIBACKLOG__json638323658386612551__Normal()
|
||||||
{
|
{
|
||||||
string check = "*.json";
|
string check = "*.json";
|
||||||
bool validatePDSF = false;
|
bool validatePDSF = false;
|
||||||
@ -109,4 +127,22 @@ public class MESAFIBACKLOG
|
|||||||
NonThrowTryCatch();
|
NonThrowTryCatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Ignore]
|
||||||
|
[TestMethod]
|
||||||
|
public void Development__v2_52_0__MESAFIBACKLOG__Kanban638323658386612552__Normal()
|
||||||
|
{
|
||||||
|
string check = "*.json";
|
||||||
|
bool validatePDSF = false;
|
||||||
|
_MESAFIBACKLOG.Development__v2_52_0__MESAFIBACKLOG__Kanban();
|
||||||
|
MethodBase methodBase = new StackFrame().GetMethod();
|
||||||
|
Assert.IsFalse(string.IsNullOrEmpty(_MESAFIBACKLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName));
|
||||||
|
string[] variables = _MESAFIBACKLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
||||||
|
IFileRead fileRead = _MESAFIBACKLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||||
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResult = fileRead.ReExtract();
|
||||||
|
Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1));
|
||||||
|
Assert.IsNotNull(extractResult.Item3);
|
||||||
|
Assert.IsNotNull(extractResult.Item4);
|
||||||
|
NonThrowTryCatch();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -62,8 +62,8 @@ public class BACKLOG : LoggingUnitTesting, IDisposable
|
|||||||
StringBuilder results = new();
|
StringBuilder results = new();
|
||||||
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
|
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
|
||||||
{
|
{
|
||||||
new("BACKLOG", "v2.49.2"),
|
new("BACKLOG", "v2.52.0"),
|
||||||
new("BACKLOG-EQPT", "v2.49.2"),
|
new("BACKLOG-EQPT", "v2.52.0"),
|
||||||
};
|
};
|
||||||
string development = "http://eaf-dev.mes.infineon.com:9003/CellInstanceServiceV2";
|
string development = "http://eaf-dev.mes.infineon.com:9003/CellInstanceServiceV2";
|
||||||
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
|
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
|
||||||
|
@ -77,7 +77,7 @@ public class MESAFIBACKLOG : LoggingUnitTesting, IDisposable
|
|||||||
StringBuilder results = new();
|
StringBuilder results = new();
|
||||||
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
|
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
|
||||||
{
|
{
|
||||||
new("MESAFIBACKLOG", "v2.49.2"),
|
new("MESAFIBACKLOG", "v2.52.0"),
|
||||||
};
|
};
|
||||||
string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2";
|
string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2";
|
||||||
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
|
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
"Password": "tVyC7uPHtScZR8NLInSaxQ=="
|
"Password": "tVyC7uPHtScZR8NLInSaxQ=="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Use": true,
|
"Use": false,
|
||||||
"Letter": "i",
|
"Letter": "i",
|
||||||
"Share": "\\\\messdv002.na.infineon.com\\Candela",
|
"Share": "\\\\messdv002.na.infineon.com\\Candela",
|
||||||
"User": "INFINEON\\MESGaNEAF",
|
"User": "INFINEON\\MESGaNEAF",
|
||||||
@ -115,14 +115,14 @@
|
|||||||
"Password": "rzXkXdHKetDfsukhZKW0yA=="
|
"Password": "rzXkXdHKetDfsukhZKW0yA=="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Use": true,
|
"Use": false,
|
||||||
"Letter": "s",
|
"Letter": "s",
|
||||||
"Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository",
|
"Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository",
|
||||||
"User": "EC\\ECMESEAF",
|
"User": "EC\\ECMESEAF",
|
||||||
"Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00="
|
"Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Use": true,
|
"Use": false,
|
||||||
"Letter": "t",
|
"Letter": "t",
|
||||||
"Share": "\\\\messv02ecc1.ec.local\\EC_EDA",
|
"Share": "\\\\messv02ecc1.ec.local\\EC_EDA",
|
||||||
"User": "EC\\ECEDASvc",
|
"User": "EC\\ECEDASvc",
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
"Password": "tVyC7uPHtScZR8NLInSaxQ=="
|
"Password": "tVyC7uPHtScZR8NLInSaxQ=="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Use": true,
|
"Use": false,
|
||||||
"Letter": "i",
|
"Letter": "i",
|
||||||
"Share": "\\\\messdv002.na.infineon.com\\Candela",
|
"Share": "\\\\messdv002.na.infineon.com\\Candela",
|
||||||
"User": "INFINEON\\MESGaNEAF",
|
"User": "INFINEON\\MESGaNEAF",
|
||||||
@ -115,14 +115,14 @@
|
|||||||
"Password": "rzXkXdHKetDfsukhZKW0yA=="
|
"Password": "rzXkXdHKetDfsukhZKW0yA=="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Use": true,
|
"Use": false,
|
||||||
"Letter": "s",
|
"Letter": "s",
|
||||||
"Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository",
|
"Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository",
|
||||||
"User": "EC\\ECMESEAF",
|
"User": "EC\\ECMESEAF",
|
||||||
"Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00="
|
"Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Use": true,
|
"Use": false,
|
||||||
"Letter": "t",
|
"Letter": "t",
|
||||||
"Share": "\\\\messv02ecc1.ec.local\\EC_EDA",
|
"Share": "\\\\messv02ecc1.ec.local\\EC_EDA",
|
||||||
"User": "EC\\ECEDASvc",
|
"User": "EC\\ECEDASvc",
|
||||||
|
@ -104,6 +104,7 @@
|
|||||||
<Compile Include="Adaptation\FileHandlers\ConvertExcelToJson\FIBacklogMesa.cs" />
|
<Compile Include="Adaptation\FileHandlers\ConvertExcelToJson\FIBacklogMesa.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\ConvertExcelToJson\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\ConvertExcelToJson\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\ConvertExcelToJson\ProcessData.cs" />
|
<Compile Include="Adaptation\FileHandlers\ConvertExcelToJson\ProcessData.cs" />
|
||||||
|
<Compile Include="Adaptation\FileHandlers\CopyToPaths\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\DownloadExcelFile\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\DownloadExcelFile\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Dummy\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\Dummy\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\IQSSi\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\IQSSi\FileRead.cs" />
|
||||||
@ -124,10 +125,11 @@
|
|||||||
<Compile Include="Adaptation\FileHandlers\json\WorkItems\SystemCreatedBy.cs" />
|
<Compile Include="Adaptation\FileHandlers\json\WorkItems\SystemCreatedBy.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\json\WorkItems\Value.cs" />
|
<Compile Include="Adaptation\FileHandlers\json\WorkItems\Value.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\json\WorkItems\ValueWithReq.cs" />
|
<Compile Include="Adaptation\FileHandlers\json\WorkItems\ValueWithReq.cs" />
|
||||||
|
<Compile Include="Adaptation\FileHandlers\Kanban\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\MoveMatchingFiles\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\MoveMatchingFiles\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewerAttachments\FileRead.cs" />
|
|
||||||
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewer\FileRead.cs" />
|
|
||||||
<Compile Include="Adaptation\FileHandlers\OpenInsight\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\OpenInsight\FileRead.cs" />
|
||||||
|
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewer\FileRead.cs" />
|
||||||
|
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewerAttachments\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Processed\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\Processed\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\SPaCe\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\SPaCe\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\Ifx\Eaf\Common\Configuration\ConnectionSetting.cs" />
|
<Compile Include="Adaptation\Ifx\Eaf\Common\Configuration\ConnectionSetting.cs" />
|
||||||
@ -135,9 +137,7 @@
|
|||||||
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Component\FilePathGenerator.cs" />
|
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Component\FilePathGenerator.cs" />
|
||||||
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Configuration\FileConnectorConfiguration.cs" />
|
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Configuration\FileConnectorConfiguration.cs" />
|
||||||
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\SelfDescription\FileConnectorParameterTypeDefinitionProvider.cs" />
|
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\SelfDescription\FileConnectorParameterTypeDefinitionProvider.cs" />
|
||||||
<Compile Include="Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs">
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs" />
|
||||||
<SubType>Component</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Adaptation\Infineon\Monitoring\MonA\IMonIn.cs" />
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\IMonIn.cs" />
|
||||||
<Compile Include="Adaptation\Infineon\Monitoring\MonA\MonIn.cs" />
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\MonIn.cs" />
|
||||||
<Compile Include="Adaptation\Infineon\Monitoring\MonA\State.cs" />
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\State.cs" />
|
||||||
@ -174,6 +174,12 @@
|
|||||||
<Compile Include="Shared\FilePathGenerator.cs" />
|
<Compile Include="Shared\FilePathGenerator.cs" />
|
||||||
<Compile Include="Shared\FilePathGeneratorInfo.cs" />
|
<Compile Include="Shared\FilePathGeneratorInfo.cs" />
|
||||||
<Compile Include="Shared\Mapper.cs" />
|
<Compile Include="Shared\Mapper.cs" />
|
||||||
|
<Content Include="Adaptation\FileHandlers\CopyJson\FileRead.cs" />
|
||||||
|
<Content Include="Adaptation\FileHandlers\json\StaticSite\index.html" />
|
||||||
|
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\jquery-3.6.0.min.js" />
|
||||||
|
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\jquery-ui.min.js" />
|
||||||
|
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\site.js" />
|
||||||
|
<None Include="Adaptation\FileHandlers\json\StaticSite\json\data.json" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Infineon.EAF.Runtime">
|
<PackageReference Include="Infineon.EAF.Runtime">
|
||||||
@ -189,14 +195,5 @@
|
|||||||
<Version>6.0.3</Version>
|
<Version>6.0.3</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="Adaptation\FileHandlers\json\StaticSite\index.html" />
|
|
||||||
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\jquery-3.6.0.min.js" />
|
|
||||||
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\jquery-ui.min.js" />
|
|
||||||
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\site.js" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="Adaptation\FileHandlers\json\StaticSite\json\data.json" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
Loading…
x
Reference in New Issue
Block a user