7.6.8 SetTime

The Method SetTime is used to set the time of the asset manually. It is recommended to be used only when an asset does not have automated time synchronization.

The joining system can report a respective event when the time is configured manually using this method.

The signature of this Method is specified below. Table 76 and Table 77 specify the Arguments and AddressSpace representation, respectively.

Signature

	SetTime (
		[in]	0:String		productInstanceUri,
		[in]	0:UtcTime		inputTime,
		[out]	0:Int64		status,
		[out]	0:LocalizedText		statusMessage)
Table 76 – SetTime 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.

inputTimeIt is the input time to be configured in the asset.
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 77 – SetTime Method AddressSpace Definition
Attribute Value
BrowseNameSetTime
References Node Class BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[]0:PropertyType0:Mandatory
0:HasPropertyVariable0:OutputArguments0:Argument[]0:PropertyType0:Mandatory