Aml.Engine 1.3.5

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.10 which is based on CAEX Version 3.0.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aml.Engine -Version 1.3.5
dotnet add package Aml.Engine --version 1.3.5
<PackageReference Include="Aml.Engine" Version="1.3.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aml.Engine --version 1.3.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aml.Engine, 1.3.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

AMLEngine2.1

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.

Download

The AMLEngine2.1 is published as the named package Aml.Engine on nuget at https://www.nuget.org/packages/Aml.Engine.

Getting started

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

  1. 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);
  1. 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[0];

// add more content
myIH.InternalElement.Append ("Ie1");
  1. 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);

AMLEngine2.1

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.

Download

The AMLEngine2.1 is published as the named package Aml.Engine on nuget at https://www.nuget.org/packages/Aml.Engine.

Getting started

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

  1. 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);
  1. 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[0];

// add more content
myIH.InternalElement.Append ("Ie1");
  1. 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);

Release Notes

New tree traversal algorithms provided by a tree traversal service.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Aml.Engine:

Package Downloads
Aml.Toolkit
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.
Aml.Editor.Plugin.Contract
This DLL is 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). The PlugIn DLL has to be located under the PlugIns Directory in the Installation Folder of the AutomationML Editor. This PlugIn contract supports the AutomationML Editor based on the AMLEngine2.1. which supports CAEX Version 3.0.
Gsd2Aml.Lib
Library to perform a conversion from Profinet gsd to aml/amlx files
Aml.Engine.Services.TreeTraversal
The Aml.Engine.Services.TreeTraversal is a service extension for the Aml.Engine which provides different algorithms to traverse an InternalElement tree. The implementation is based on Dirk Bahles TreeLib.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.5.9 71 6/3/2021
1.5.8 218 3/5/2021
1.5.7 302 2/18/2021
1.5.6 109 2/3/2021
1.5.5 150 1/31/2021
1.5.4 75 1/31/2021
1.5.3 98 1/29/2021
1.5.2 122 1/18/2021
1.5.1 171 1/4/2021
1.5.0 179 12/5/2020
1.4.5 198 11/18/2020
1.4.4 192 11/11/2020
1.4.3 490 6/21/2020
1.4.2 238 6/15/2020
1.4.1 241 5/30/2020
1.4.0 1,367 5/24/2020
1.3.6 4,991 11/22/2019
1.3.5 247 11/16/2019
1.3.4 311 10/13/2019
1.3.3 246 10/5/2019
1.3.1 356 8/18/2019
1.3.0 521 7/26/2019
1.2.7 298 7/5/2019
1.2.6 289 7/4/2019
1.2.2 1,703 5/21/2019
1.2.0 326 5/14/2019
1.1.2 330 5/13/2019
1.1.1 712 2/13/2019
1.1.0 677 10/9/2018
1.0.21 584 8/1/2018
1.0.20 515 7/25/2018
1.0.19 540 7/20/2018
1.0.16 589 7/18/2018
1.0.15 550 7/12/2018
1.0.14 640 6/7/2018
1.0.13 609 5/14/2018
1.0.12 592 5/4/2018
1.0.11 577 5/2/2018
1.0.10 582 4/24/2018
1.0.9 755 4/9/2018
1.0.8 582 4/4/2018
1.0.7 600 3/23/2018
1.0.6 634 3/18/2018
1.0.5 619 2/28/2018
1.0.4 662 2/28/2018
1.0.3 606 2/5/2018
1.0.2 611 1/31/2018
1.0.1 684 1/15/2018
1.0.0 671 1/10/2018
Show less