Click or drag to resize

IAMLLibraryService Methods

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