The WoTAssetConnectionManagementType ObjectType represents a set of WoTAssets that may be managed by a Server. It is defined in Table 5.
Table 5 – WoTAssetConnectionManagementType Definition
Attribute |
Value |
|||||
BrowseName |
WoTAssetConnectionManagementType |
|||||
IsAbstract |
False |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
|
Subtype of the 0:BaseObjectType defined in OPC 10000-5. |
||||||
0:Organizes |
Object |
<WoTAssetName> |
|
0:BaseObjectType |
OP |
|
0:HasProperty |
Variable |
SupportedWoTBindings |
0:UriString[] |
0:PropertyType |
O |
|
0:HasComponent |
Method |
CreateAsset |
Defined in 6.3.2 |
M |
||
0:HasComponent |
Method |
DeleteAsset |
Defined in 6.3.3. |
M |
||
0:HasComponent |
Method |
DiscoverAssets |
Defined in 6.3.4. |
O |
||
0:HasComponent |
Method |
CreateAssetForEndpoint |
Defined in 6.3.5. |
O |
||
0:HasComponent |
Method |
ConnectionTest |
Defined in 6.3.6. |
O |
||
0:HasComponent |
Object |
Configuration |
Defined in 6.3.7. |
WoTAssetConfigurationType |
O |
|
Conformance Units |
||||||
WoT Connectivity Base Functionality |
Any instance of the <WoTAssetName> Object shall implement the IWoTAssetType Interface.
The SupportedWoTBindings Property is a UriString Array of supported WoT protocol bindings by the Server. The currently defined WoT protocol bindings are defined in WoT Binding.
The CreateAsset Method creates a new Object that implements the IWoTAssetType Interface organized by the WoTAssetConnectionManagement Object. This method should be used when an existing WoT Thing Description file is available.
The DeleteAsset Method shall remove the Organizes Reference from the WoTAssetConnectionManagement Object and may delete the IWoTAssetType instance.
The DiscoverAssets Method shall auto-discover assets on the network satisfying the search path provided. It returns a list of endpoints to the assets discovered.
The CreateAssetForEndpoint Method browses the specified asset. It then creates a new Object that implements the IWoTAssetType Interface organized by the WoTAssetConnectionManagement Object. In addition, a WoT Thing Description file shall be automatically generated by the connectivity software and made available through the WoTAssetFileType node.
The ConnectionTest Method tests the connection to an asset on the network.
The Configuration Object is used to get or set the configuration of the industrial connectivity software.
The components of the WoTAssetConnectionManagementType have additional references which are defined in Table 6.
The flow of calling the methods to first discover an asset and then download, modify and upload a WoT file for it is the following:
- User calls DiscoverAssets Method to enumerate the list of discoverable asset endpoints on the network.
- Optional: User calls ConnectionTest Method to check if access to a particular discovered asset is possible at all.
- User calls CreateAssetForEndpoint Method to automatically generate a WoT Thing Description (TD) file for a particular discovered asset. A new OPC UA File node is automatically added to the Server’s address below the WoTAssetConnectionManagement Node space to allow access to the generated file from a connected OPC UA client.
- User calls Open Method on the File node automatically created during the previous step.
- User calls Read Method to download the WoT TD file to the connected OPC UA client.
- User edits the WoT TD file with additional data that may be available for the asset.
- User calls CloseAndUpdate Method to parse the WoT TD file and map the asset’s tags into the Server’s address space.
- User browses the new OPC UA Nodes generated during the mapping process and reads/publishes their data.
Table 6 – WoTAssetConnectionManagementType Additional References
SourceBrowsePath |
Reference Type |
Is Forward |
TargetBrowsePath |
<WoTAssetName> |
0:HasInterface |
True |
IWoTAssetType |