.NET Based OPC UA Client/Server SDK
2.5.3.389
|
The details for insert, replace, and insert/replace history updates. More...
Inherits UnifiedAutomation.UaBase.HistoryUpdateDetails.
Public Member Functions | |
UpdateDataDetails () | |
The default constructor. More... | |
override void | Encode (IEncoder encoder) |
override void | Decode (IDecoder decoder) |
override bool | IsEqual (IEncodeable encodeable) |
Checks if encodeable is the same object or has the same content More... | |
override object | Clone () |
Public Member Functions inherited from UnifiedAutomation.UaBase.HistoryUpdateDetails | |
HistoryUpdateDetails () | |
The default constructor. More... | |
Properties | |
PerformUpdateType | PerformInsertReplace [get, set] |
Determines which action of insert, replace, or update is performed. More... | |
DataValueCollection | UpdateValues [get, set] |
New values to be inserted or to replace. More... | |
override ExpandedNodeId | TypeId [get] |
override ExpandedNodeId | BinaryEncodingId [get] |
override ExpandedNodeId | XmlEncodingId [get] |
Properties inherited from UnifiedAutomation.UaBase.HistoryUpdateDetails | |
NodeId | NodeId [get, set] |
virtual ExpandedNodeId | TypeId [get] |
virtual ExpandedNodeId | BinaryEncodingId [get] |
virtual ExpandedNodeId | XmlEncodingId [get] |
Properties inherited from UnifiedAutomation.UaBase.IEncodeable | |
ExpandedNodeId | TypeId [get] |
Returns the UA type identifier for the encodable type. More... | |
ExpandedNodeId | BinaryEncodingId [get] |
Returns the UA type identifier for the default binary encoding for the type. More... | |
ExpandedNodeId | XmlEncodingId [get] |
Returns the UA type identifier for the default XML encoding for the type. More... | |
The details for insert, replace, and insert/replace history updates.
Insert data functionality
Setting performInsertReplace = INSERT_1 inserts entries into the history database at the specified timestamps for one or more HistoricalDataNodes. If an entry exists at the specified timestamp, the new entry shall not be inserted; instead the StatusCode shall indicate Bad_EntryExists.
This function is intended to insert new entries at the specified timestamps; e.g. the insertion of lab data to reflect the time of data collection.
Replace data functionality
Setting performInsertReplace = REPLACE_2 replaces entries in the history database at the specified timestamps for one or more HistoricalDataNodes. If no entry exists at the specified timestamp, the new entry shall not be inserted; otherwise the StatusCode shall indicate Bad_NoEntryExists.
This function is intended to replace existing entries at the specified timestamp; e.g., correct lab data that was improperly processed, but inserted into the history database.
Update data functionality
Setting performInsertReplace = UPDATE_3 inserts or replaces entries in the history database for the specified timestamps for one or more HistoricalDataNodes. If the item has an entry at the specified timestamp, the new entry will replace the old one. If there is no entry at that timestamp, the function will insert the new data.
A Server can create a modified value for a value being replaced or inserted, however it is not required.
This function is intended to unconditionally insert/replace values and qualities; e.g., correction of values for bad sensors.
Good as a StatusCode for an individual entry is allowed when the server is unable to say whether there was already a value at that timestamp. If the server can determine whether the new entry replaces an entry that was already there, it should use Good_EntryInserted or Good_EntryReplaced to return that information.
|
inline |
The default constructor.
|
inlinevirtual |
Checks if encodeable is the same object or has the same content
encodeable |
Reimplemented from UnifiedAutomation.UaBase.HistoryUpdateDetails.
|
getset |
Determines which action of insert, replace, or update is performed.
Possible values are INSERT_1, REPLACE_2, or UPDATE_3, see UpdateDataDetails
|
getset |
New values to be inserted or to replace.