7.6.3 EnableAsset

The Method EnableAsset is used to Enable or Disable a given asset. It is mostly applicable for Tool.

The Asset.Parameters.Enabled variable shall be updated with the enable status and generate an event of JoiningSystemEventType with ConditionClass = SystemConditionClassType and ConditionSubClass = AssetEnabledConditionClassType or AssetDisabledConditionClassType..

The signature of this Method is specified below. Table 66 and Table 67 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 66 – 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.

statusIt provides the status of the Method execution. Refer 7.4 for details.
statusMessageIt provides the high-level status information in a user-friendly text.
Table 67 – EnableAsset Method AddressSpace Definition
Attribute Value
BrowseNameEnableAsset
References Node Class BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[]0:PropertyType0:Mandatory
0:HasPropertyVariable0:OutputArguments0:Argument[]0:PropertyType0:Mandatory