![]() | AMLEngine2.1 Version 3.1 |
Version 3.1 of AMLEngine2.1 was released in Jan. 2023. The latest service release is version 3.1.7 published August 2023
New extension methods to retrieve CAEX version information of CAEX objects:
HasOldVersion
HasNewVersion
IsExtendedVersion
AutomationMLEdition
New extension method to retrieve information from a specific formatted filename according to the new AutomationML naming conventions: GetAMLInfoFromFilename
A new CAEXDocument will get an XmlDeclaration line added: "xml version="1.0" encoding="utf-8"?". This allows a text editor to format the xml text.
A new Service Interface IAMLEditionTransform has been added. A preview implementation is provided with version 3.1.3 of the Aml.Engine.Services package
New method to import CAEX objects from other sources to the current document Import.
CAEX objects whith an existing document context are now copied before they are inserted into the CAEXDocument. For classes it is assured, that names are unique and all references to the copied class are updated. External References, contained in the copied class are handled correctly.
New method to change the alias name ChangeAlias in a path, used in a CAEX reference attribute to identiy related objects.
New method to change the beginning of a path ChangePathStart in a path, used in a CAEX reference attribute to identiy related objects.
The changes in this release are support the working with external referenced documents
CAEX Library properties can be accessed from the CAEXDocument now:
SystemUnitClassLib
AttributeTypeLib
InstanceHierarchy
InterfaceClassLib
RoleClassLib
New append method AppendWithReference is defined to append an CAEXObject to a sequence with a class reference.
New methods are defined to add inheritance relations with child elements:
AddChild
AddChildWithReferenceT
The changes in this release support the usage of indices to speed up queries.
A new service interface ILookUpTable has been added. This interface is implemented by the QueryService and supports an index based access to CAEX objects by ID and CAEXPath. The Indices are loaded when the createIndices option in the CAEXDocument load methods as in LoadFromFile is set.
using Aml.Engine.CAEX; var document = CAEXDocument.LoadFromFile ("myFile.aml", createIndices:true);
Update in UniqueNameService and ValidatorService related to unique names of attributes assigned to classes.
IExternalReferenceResolver methods added:
- IsExternal
- RegisterExternalDocument