Click or drag to resize

IAMLLibraryService Interface

Service interface, defining methods to get informations about public available AutomationML files from an external source. The supported file types and file contents are specified in AMLFileModel.

Namespace: Aml.Engine.Services.Interfaces
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public interface IAMLLibraryService : IAMLService

The IAMLLibraryService type exposes the following members.

Methods
 NameDescription
Public methodGetAMLLibraryDocumentsAsync Gets a collection of all available AMLFiles, which contain AutomationML linraries from the registered server. If an authorization is needed, it can be provided by the accessToken. The listed files will contain a download URL which can be used to load the AML-File into a CAEXDocument by calling LoadAMLFileAsync(AMLFileModel).
Public methodGetAMLModelDocumentsAsync Gets a collection of all available AMLFiles, which contain AutomationML models from the registered server. If an authorization is needed, it can be provided by the accessToken. The listed files will contain a download URL which can be used to load the AML-File into a CAEXDocument by calling LoadAMLFileAsync(AMLFileModel).
Public methodLoadAMLFileAsync Loads an AML-File into a CAEXDocument or an AutomationMLContainer, when the fileModel has defined a download URL and a server is alive.
Public methodLoadLibraryCatalogAsync Gets the library catalog from the registered server, listing all available AutomationML libraries.
Public methodCode exampleRegisterServer Register a server which can provide the AML file resources
Top
See Also