Class AasxDeviceAasProvider
java.lang.Object
de.iip_ecosphere.platform.ecsRuntime.deviceAas.DeviceAasProvider
de.iip_ecosphere.platform.ecsRuntime.deviceAas.AasxDeviceAasProvider
Creates an AAS for this device, deploys it to the platform AAS server and returns the address of the AAS. This may
be useful for devices that do not provide an AAS by themselves.
Resolution sequence:
- Classpath,
device.aasx src/test/resources/device.aasx(for testing)- Classpath,
deviceId.aasx
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplements the JSL descriptor. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.ecsRuntime.deviceAas.DeviceAasProvider
getInstance
-
Field Details
-
aasAddress
-
identifier
-
idShort
-
-
Constructor Details
-
AasxDeviceAasProvider
public AasxDeviceAasProvider()
-
-
Method Details
-
getURN
Description copied from class:DeviceAasProviderReturns the URN of the device AAS.- Specified by:
getURNin classDeviceAasProvider- Returns:
- the (envisioned) URN, may be null, if there is no AAS
-
getIdShort
Description copied from class:DeviceAasProviderReturns the short ID of the device AAS.- Specified by:
getIdShortin classDeviceAasProvider- Returns:
- the (envisioned) short ID, may be null, if there is no AAS
-
getDeviceAasAddress
Description copied from class:DeviceAasProviderReturns the device AAS address for this device.- Specified by:
getDeviceAasAddressin classDeviceAasProvider- Returns:
- the device AAS address, may be null if there is no AAS
-
obtainAas
Preliminary way to find an AASX file for the nameplate.- Returns:
- the AAS (one or multiple) loaded from
- Throws:
IOException- if the setup file cannot be read
-