Skip to content

Commit

Permalink
* investigate
Browse files Browse the repository at this point in the history
  • Loading branch information
festo-i40 committed Sep 13, 2024
1 parent f740514 commit 94d5bff
Show file tree
Hide file tree
Showing 70 changed files with 1,068 additions and 252 deletions.
2 changes: 1 addition & 1 deletion src/AasxAmlImExport/AmlExport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ private static void SetInternalLinks(
}
}

public static bool ExportTo(AdminShellPackageEnv package, string amlfn, bool tryUseCompactProperties = false)
public static bool ExportTo(AdminShellPackageEnvBase package, string amlfn, bool tryUseCompactProperties = false)
{
// start
if (package == null || amlfn == null || package.AasEnv == null)
Expand Down
6 changes: 3 additions & 3 deletions src/AasxAmlImExport/AmlImport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static string PrintSemantic(CAEXSequence<RefSemanticType> sem)

public class AmlParser
{
public AdminShellPackageEnv package = null;
public AdminShellPackageEnvBase package = null;

private class TargetIdAction
{
Expand Down Expand Up @@ -87,7 +87,7 @@ public IeViewAmlTarget(InternalElementType ie, CAEXObject amlTarget)

public AmlParser() { }

public AmlParser(AdminShellPackageEnv package)
public AmlParser(AdminShellPackageEnvBase package)
{
this.package = package;
}
Expand Down Expand Up @@ -1634,7 +1634,7 @@ public void Start(CAEXFileType caex)
}
}

public static void ImportInto(AdminShellPackageEnv package, string amlfn)
public static void ImportInto(AdminShellPackageEnvBase package, string amlfn)
{
// try open file
var doc = CAEXDocument.LoadFromFile(amlfn);
Expand Down
4 changes: 2 additions & 2 deletions src/AasxBammRdfImExport/RDFimport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ namespace AasxBammRdfImExport
public static class BAMMRDFimport
{

public static AdminShellNS.AdminShellPackageEnv thePackageEnv;
public static AdminShellNS.AdminShellPackageFileBasedEnv thePackageEnv;

public static void ImportInto(
string rdffn, Aas.IEnvironment env, Aas.ISubmodel sm,
Aas.Reference smref)
{
thePackageEnv = new AdminShellNS.AdminShellPackageEnv();
thePackageEnv = new AdminShellNS.AdminShellPackageFileBasedEnv();
List<string> entity_subject = new List<string>();
List<string> autos_list = new List<string>();
List<string> set_list = new List<string>();
Expand Down
Loading

0 comments on commit 94d5bff

Please sign in to comment.