7.2.3 Methods used for data transfer and management

7.2.3.1 DeleteAllStoredRecords

The Method DeleteAllStoredRecords enables to permanently delete all stored data from the WMTP. Using this method, it is possible to remove the entire data set. The signature of this Method is specified below.

Signature

	DeleteAllStoredRecords (
	);
7.2.3.2 DeleteStoredRecordsTime

The Method DeleteStoredRecordsTime enables to permanently delete the stored data from the WMTP from a specific given time. The signature of this Method is specified below.

Signature

	DeleteStoredRecordsTime (
		[in]	0:DateTime	FromTimestamp,
		[in]	0:DateTime	ToTimestamp,
	);
	
Table 29 – DeleteStoredRecordsTime Method Arguments
Argument Description
FromTimestampThis timestamp defines the start of the time interval that is to be deleted
ToTimestampThis timestamp defines the end of the time interval that is to be deleted
Table 30 – DeleteStoredRecordsTime Method AddressSpace Definition
Attribute Value
BrowseNameDeleteStoredRecordsTime
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableInputArgumentsArgument[]0:PropertyTypeM
7.2.3.3 DeleteStoredRecordsIndex

The Method DeleteStoredRecordsIndex enables to permanently delete the stored data from the WMTP from a specific given time. The signature of this Method is specified below.

Signature

	DeleteStoredRecordsIndex (
		[in]	0:UInt32	FromIndex,
		[in]	0:UInt32	ToIndex,
	);
	
Table 31 – DeleteStoredRecordsIndex Method Arguments
Argument Description
FromIndexThis number defines the index of the first stored value of the interval that is to be deleted
ToIndexThis number defines the index of the last stored value of the interval that is to be deleted
Table 32 – DeleteStoredRecordsIndex Method AddressSpace Definition
Attribute Value
BrowseNameDeleteStoredRecordsIndex
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableInputArgumentsArgument[]0:PropertyTypeM
7.2.3.4 AbortOperation

The Method AbortOperation enables the termination of the process currently being executed by the WMTP. This is necessary as some transfer processes can take several minutes. The signature of this Method is specified below.

Signature

	AbortOperation (
	);
7.2.3.5 ReportNumberOfStoredRecords

The Method ReportNumberOfStoredRecords enables to report how many records are currently stored at the WMTP.

Signature

	ReportNumberOfStoredRecords (
		[out]	0:UInt32	NumberOfStoredRecords);
	
Table 33 – ReportNumberOfStoredRecords Method Arguments
Argument Description
NumberOfStoredRecordsDescribes the number of currently stored values on the WMTP.
Table 34 – ReportNumberOfStoredRecords Method AddressSpace Definition
Attribute Value
BrowseNameReportNumberOfStoredRecords
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableOutputArgumentsArgument[]0:PropertyTypeM
7.2.3.6 ReportNumberOfStoredRecordsTime

The Method ReportNumberOfStoredRecordsTime enables to report how many records are currently stored at the WMTP in a specific timespan.

Signature

	ReportNumberOfStoredRecordsTime (
		[in]	0:DateTime	FromTimestamp,
		[in]	0:DateTime	ToTimestamp,
		[out]	0:UInt32	NumberOfStoredRecords);
	
Table 35 – ReportNumberOfStoredRecordsTime Method Arguments
Argument Description
FromTimestampThis timestamp defines the time of the first stored value of the interval that is to be accessed.
ToTimestampThis timestamp defines the time of the last stored value of the interval that is to be accessed.
NumberOfStoredRecordsDescribes the number of currently stored values on the WMTP in the timespan.
Table 36 – ReportNumberOfStoredRecordsTime Method AddressSpace Definition
Attribute Value
BrowseNameReportNumberOfStoredRecordsTime
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableInputArgumentsArgument[]0:PropertyTypeM
0:HasPropertyVariableOutputArgumentsArgument[]0:PropertyTypeM
7.2.3.7 CombinedReportAll

The Method CombinedReportAll enables access to the entire data set stored on the WMTP. A record transfer is defined within this specification as a transfer of a “copy” of the records and not a “move” of the records because the server retains the original log entries. The signature of this Method is specified below.

Signature

	CombinedReportAll (
		[out]	WMTPOutputDataType[]	CombinedReport
	);
	
Table 37 – CombinedReportAll Method Arguments
Argument Description
CombinedReportThis output argument is carrying the Variables of the DataType WMTPOutputDataType that are requested
Table 38 – CombinedReportAll Method AddressSpace Definition
Attribute Value
BrowseNameCombinedReportAll
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableOutputArgumentsArgument[]0:PropertyTypeM

NOTE: If all measured values exceed the maximum size of an OPC UA message, this method cannot be used. In this case, the data should be queried in packets, for example using the CombinedReportIndex.

7.2.3.8 CombinedReportIndex

The Method CombinedReportIndex enables access to the entire data set stored on the WMTP based on the index of the measurements. A record transfer is defined within this specification as a transfer of a “copy” of the records and not a “move” of the records because the server retains the original log entries. The signature of this Method is specified below.

Signature

	CombinedReportIndex (
		[in]	0:UInt32	FromIndex,
		[in]	0:UInt32	ToIndex,
		[out]	WMTPOutputDataType[]	CombinedReport
	);
	
Table 39 – CombinedReportIndex Method Arguments
Argument Description
FromIndexThis number defines the index of the first stored value of the interval that is to be accessed
ToIndexThis number defines the index of the last stored value of the interval that is to be accessed
CombinedReportThis output argument is carrying the Variables of the DataType WMTPOutputDataType that are requested
Table 40 – CombinedReportIndex Method AddressSpace Definition
Attribute Value
BrowseNameCombinedReportIndex
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableInputArgumentsArgument[]0:PropertyTypeM
0:HasPropertyVariableOutputArgumentsArgument[]0:PropertyTypeM
7.2.3.9 CombinedReportLastValue

The Method CombinedReportLastValue enables access to the last measurement stored on the WMTP. A record transfer is defined within this specification as a transfer of a “copy” of the records and not a “move” of the records because the server retains the original log entries. The signature of this Method is specified below.

Signature

	CombinedReportLastValue (
		[out]	WMTPOutputDataType	CombinedReport
	);
	
Table 41 – CombinedReportLastValue Method Arguments
Argument Description
CombinedReportThis output argument is carrying the Variables of the DataType WMTPOutputDataType that are requested
Table 42 – CombinedReportLastValue Method AddressSpace Definition
Attribute Value
BrowseNameCombinedReportLastValue
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableOutputArgumentsArgument[]0:PropertyTypeM
7.2.3.10 CombinedReportFirstValue

The Method CombinedReportFirstValue enables access to the first measurement stored on the WMTP. A record transfer is defined within this specification as a transfer of a “copy” of the records and not a “move” of the records because the server retains the original log entries. The signature of this Method is specified below.

Signature

	CombinedReportFirstValue (
		[out]	WMTPOutputDataType	CombinedReport
	);
	
Table 43 – CombinedReportFirstValue Method Arguments
Argument Description
CombinedReportThis output argument is carrying the Variables of the DataType WMTPOutputDataType that are requested
Table 44 – CombinedReportFirstValue Method AddressSpace Definition
Attribute Value
BrowseNameCombinedReportFirstValue
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableOutputArgumentsArgument[]0:PropertyTypeM
7.2.3.11 CombinedReportTime

The Method CombinedReportTime enables access to the entire data set stored on the WMTP based on the timestamp of the measurements. A record transfer is defined within this specification as a transfer of a “copy” of the records and not a “move” of the records because the server retains the original log entries. The signature of this Method is specified below.

Signature

	CombinedReportTime (
		[in]	0:DateTime	FromTimestamp,
		[in]	0:DateTime	ToTimestamp,
		[out]	WMTPOutputDataType[]	CombinedReport
	
	);
	
Table 45 – CombinedReportTime Method Arguments
Argument Description
FromTimestampThis timestamp defines the time of the first stored value of the interval that is to be accessed
ToTimestampThis timestamp defines the time of the last stored value of the interval that is to be accessed
CombinedReportThis output argument is carrying the Variables of the DataType WMTPOutputDataType that are requested
Table 46 – CombinedReportTime Method AddressSpace Definition
Attribute Value
BrowseNameCombinedReportTime
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariableInputArgumentsArgument[]0:PropertyTypeM
0:HasPropertyVariableOutputArgumentsArgument[]0:PropertyTypeM