See the version list below for details.
dotnet add package Aml.Engine --version 1.3.5
NuGet\Install-Package Aml.Engine -Version 1.3.5
<PackageReference Include="Aml.Engine" Version="1.3.5" />
paket add Aml.Engine --version 1.3.5
#r "nuget: Aml.Engine, 1.3.5"
// Install Aml.Engine as a Cake Addin #addin nuget:?package=Aml.Engine&version=1.3.5 // Install Aml.Engine as a Cake Tool #tool nuget:?package=Aml.Engine&version=1.3.5
AutomationML 2.1 Application Programming Interface
The AMLEngine2.1 allows you to process AutomationML documents with a provided Application Programming Interface, based on the .NET Framework. Using the API you interact with CAEX-Elements and AutomationML-Objects. This AMLEngine is an advanced development of the AMLEngine Version 3.x which only supports AutomationML Version 2.0 and the CAEX Version 2.15. This new development also supports AutomationML Version 2.1 which is based on CAEX Version 3.0.
The AMLEngine2.1 is published as the named package Aml.Engine on nuget at https://www.nuget.org/packages/Aml.Engine.
Download the zipped documentation and go to the provided examples. There are various basic examples and advanced examples. A special adaption section describes the steps to be executed, how old code, using the former AMLEngine v3.x.x, can be adapted to the new engine.
A short introduction to the application of the engine
- Create a new empty Document, add content and save it.
using Aml.Engine.CAEX; // create a new empty document var caexDocument = CAEXDocument.New_CAEXDocument(); // add content to the ROOT CAEXFile element var myIH = caexDocument.CAEXFile.New_InstanceHierarchy("myIH"); caexDocument.SaveToFile ("myfile.aml", true);
- Load the created Document
using Aml.Engine.CAEX; // load a document var caexDocument = CAEXDocument.LoadFromFile("myfile.aml"); // get the InstanceHierarchy var myIH = caexDocument.CAEXFile.InstanceHierarchy; // add more content myIH.InternalElement.Append ("Ie1");
- Use of AutomationML standard classes
using Aml.Engine.AmlObjects; using Aml.Engine.CAEX; var caexDocument = CAEXDocument.New_CAEXDocument(); // adds the base libraries to the document AutomationMLInterfaceClassLibType.InterfaceClassLib(caexDocument); AutomationMLBaseRoleClassLibType.RoleClassLib(caexDocument); // add an InstanceHierarchy to the ROOT CAEXFile element var myIH = caexDocument.CAEXFile.New_InstanceHierarchy("myIH"); // add an InternalElement var ie = myIH.InternalElement.Append ("ie"); // assign the AutomationMLBaseRole ie.AddRoleClassReference(AutomationMLBaseRoleClassLib.AutomationMLBaseRole);
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Aml.Engine:
The Aml.Toolkit provides basic UI controls based on WPF to visualize AutomationML data. The Toolkit is used in the AutomationML Editor and is available to implement PlugIns for the AutomationML Editor.
This Package contains a contract DLL and defines Interface Classes which have to be implemented by AutomationML Editor - PlugIn Developers. When implemented, the PlugIn Class should EXPORT its Interface with Microsoft Extensibility Framework (MEF).
Additional services to support the processing of AutomationML documents in addition to the functions of the Aml.Engine. The Aml.Engine recognizes registered services and uses them, for example, for queries or when generating unique names.
This API can be used when developing plugins for the AutomationML Editor. The API requires at least version 5.6 of the editor.
AutomationML Application Programming Interface supporting the addition and verification of signatures to AutomationML objects using an ECDSA signature algorithm.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Aml.Engine:
C# based viewer / editor for the Asset Administration Shell
New tree traversal algorithms provided by a tree traversal service.