C++ UA Server SDK
1.5.2.336
|
The details for delete raw and delete modified history updates. More...
#include <opcua_types.h>
Public Attributes | |
OpcUa_NodeId | NodeId |
NodeId of the object for which history values are to be deleted. | |
OpcUa_Boolean | IsDeleteModified |
TRUE for MODIFIED, FALSE for RAW. More... | |
OpcUa_DateTime | StartTime |
The beginning of the period to be deleted. | |
OpcUa_DateTime | EndTime |
The end of the period to be deleted. | |
The details for delete raw and delete modified history updates.
These functions are intended to be used to delete data that has been accidentally entered into the history database, e.g. deletion of data from a source with incorrect timestamps. Both startTime and endTime must be defined. The startTime must be less than the endTime, and values up to but not including the endTime are deleted. It is permissible for startTime = endTime, in which case the value at the startTime is deleted.
Delete raw functionality
Setting isDeleteModified = FALSE deletes all raw entries from the history database for the specified time domain for one more HistoricalDataNodes.
If no data is found in the time range for a particular HistoricalDataNode, the StatusCode for that item is Bad_NoData.
Delete modified functionality
Setting isDeleteModified = TRUE deletes all modified entries from the history database for the specified time domain for one or more HistoricalDataNodes. If no data is found in the time range for a particular HistoricalDataNode, the StatusCode for that item is Bad_NoData.