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> |
|
BaseObjectType |
OP |
0:HasComponent |
Method |
CreateAsset |
Defined in 6.3.2 |
M |
|
0:HasComponent |
Method |
DeleteAsset |
Defined in 6.3.1.3. |
M |
|
|
|||||
Conformance Units |
|||||
WoT Connectivity Base Functionality |
Any instance of the <WoTAssetName> Object shall implement the IWoTAssetType Interface.
The CreateAsset Method creates a new Object that implements the IWoTAssetType Interface organized by the WoTAssetConnectionManagement Object.
The DeleteAsset Method shall remove the Organizes Reference from the WoTAssetConnectionManagement Object and may delete the IWoTAssetType instance.
The components of the WoTAssetConnectionManagementType have additional references which are defined in Table 6.
Table 6 – WoTAssetConnectionManagementType Additional References
SourceBrowsePath |
Reference Type |
Is Forward |
TargetBrowsePath |
<WoTAssetName> |
0:HasInterface |
True |
IWoTAssetType |
CreateAsset creates a new Object that implements the IWoTAssetType Interface that can be used to upload the WoT TD file to the server. Once the upload is complete, the industrial asset becomes reachable via the OPC UA server. The WoT TD file uploaded fully defines the endpoint, protocol, and all asset tags to be mapped to OPC UA.
CreateAsset, when successful, returns the NodeId of the newly created Object and adds an Organizes Reference from the WoTAssetConnectionManagement Object.
Signature
CreateAsset(
[in] 0:String AssetName,
[out] 0:NodeId AssetId);
Table 7 – CreateAsset Method Arguments
Argument |
Description |
AssetName |
A unique name for the asset. |
AssetId |
The NodeId of the WoTAsset Object, if call was successful. |
Method Result Codes
Result Code Symbolic Id |
Description |
Bad_BrowseNameDuplicated |
The AssetName is already used. |
Bad_UserAccessDenied |
The session does not have the permissions required. |
DeleteAsset deletes a previously configured industrial asset. It takes the NodeId of a WoTAsset Object input, previously returned by CreateAsset. These NodeIds can also be browsed from the WoTAssetConnectionManagement instance.
Signature
DeleteAsset(
[in] 0:NodeId AssetId);
Table 8 – DeleteAsset Method Arguments
Argument |
Description |
AssetId |
The NodeId of the WoTAsset Object. |
Method Result Codes
Result Code Symbolic Id |
Description |
Bad_NotFound |
The asset was not found. |
Bad_InvalidArgument |
The NodeId provided was invalid. |
Bad_UserAccessDenied |
The session does not have the permissions required. |