Open JMayrbaeurl opened 2 years ago
Use DTDL Parser Library to parse the IoT PnP model definition file: https://docs.microsoft.com/en-us/azure/digital-twins/how-to-parse-models . Must be expanded versions. Map DeviceInformation interface to AAS submodel 'Nameplate'.
E.g. by reading an IoT PnP model definition (e.g. https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.expanded.json ) create an AAS in-memory instance and 1) import it into ADT and 2) save it as ".aasx" package file.