The Method EnableAsset is used to Enable or Disable a given asset. It is mostly applicable for Tool.
The joining system can report a respective event when an asset is enabled or disabled.
The signature of this Method is specified below. Table 62 and
Table 63 specify the Arguments and AddressSpace representation, respectively.
Signature
EnableAsset (
[in]0:String productInstanceUri,
[in]0:Boolean enable,
[out]0:Int64 status,
[out]0:LocalizedText statusMessage)
Table 62 – EnableAsset Method Arguments
Argument |
Description |
productInstanceUri |
With this argument the Client can provide the identifier of the asset on which this method is applicable. It can be empty if the method is modelled directly under the required asset. If it is empty, the system can consider the identifier of the asset where the Server is running. |
enable |
If true, it will enable the asset, else it will disable the asset. The default value is false. Note: If the asset is performing the joining operation when the method is executed, then it shall disable the asset after the current operation. |
status |
It provides the status of the Method execution. Refer 7.2.3 for details. |
statusMessage |
It provides the high-level status information in a user-friendly text. |
Table 63 – EnableAsset Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
EnableAsset |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |