6 Historical Access specific usage of Services ToC Previous Next

6.8 HistoryUpdateDetails parameter ToC Previous Next

6.8.5 DeleteRawModifiedDetails structure ToC Previous Next

6.8.5.1 DeleteRawModifiedDetails structure detail ToC

Table 35 defines the DeleteRawModifiedDetails structure.

Table 35 – DeleteRawModifiedDetails

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.

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.8.5.2 Delete raw functionality ToC

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.8.5.3 Delete modified functionality ToC

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.

Previous Next