6.9.5 DeleteRawModifiedDetails structure

6.9.5.1 DeleteRawModifiedDetails structure detail

Table 70 defines the DeleteRawModifiedDetails structure.

Table 70 – DeleteRawModifiedDetails Structure
NameTypeDescription
DeleteRawModifiedDetailsStructureThe details for delete raw and delete modified history updates.

nodeId

NodeIdNode id of the Object for which history values are to be deleted.

isDeleteModified

BooleanTRUE for MODIFIED, FALSE for RAW. Default value is FALSE.

startTime

UtcTimeBeginning of period to be deleted.

endTime

UtcTimeEnd of period to be deleted.

Its representation in the AddressSpace is defined in Table 71.

Table 71 – DeleteRawModifiedDetails definition
Attribute Value
BrowseNameDeleteRawModifiedDetails
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the HistoryUpdateDetails DataType defined in Table 62.
Conformance Units
Historical Access Delete Value

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 shall be defined. The startTime shall 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.

6.9.5.2 Delete raw functionality

Setting isDeleteModified = FALSE deletes all Raw 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, then the StatusCode for that item is Bad_NoData.

6.9.5.3 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, then the StatusCode for that item is Bad_NoData.