Table 64 defines the DeleteRawModifiedDetails structure.

Table 64 – DeleteRawModifiedDetails Structure

Name

Type

Description

DeleteRawModifiedDetails

Structure

The details for delete raw and delete modified history updates.

nodeId

NodeId

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

isDeleteModified

Boolean

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

startTime

UtcTime

Beginning of period to be deleted.

endTime

UtcTime

End of period to be deleted.

Its representation in the AddressSpace is defined in Table 65.

Table 65 – DeleteRawModifiedDetails definition

Attribute

Value

BrowseName

DeleteRawModifiedDetails

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

Other

Subtype of the HistoryUpdateDetails DataType defined in Table 56.

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.

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.

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.