Skip to content

Reference

OpcModifiedNodeHistory Class

Represents the modified history of a node: the values which have been inserted, replaced, updated or deleted, each together with the information about its modification.

Reference

OpcModifiedNodeHistory Class ​

since v2.59

Namespace
Opc.UaFx.Server
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcModifiedNodeHistory Members

Represents the modified history of a node: the values which have been inserted, replaced, updated or deleted, each together with the information about its modification.

Syntax ​

csharp
public class OpcModifiedNodeHistory
vbnet
Public Class OpcModifiedNodeHistory

Inheritance ​

Object → OpcModifiedNodeHistory

Implements ​

Remarks ​

The values are sorted by the timestamp of the value (its ServerTimestamp or, if not set, its SourceTimestamp), not by the Timestamp, which is the modification time. A timestamp occurs once per modification of the value at that time. Values with the same timestamp are sorted from the most recent to the oldest modification, and values with the same modification time in the order in which they have been added.

Constructors ​

NameDescription
OpcModifiedNodeHistory4 overloadsInitializes a new instance of the OpcModifiedNodeHistory class whose Capacity is -1 (unlimited).

Properties ​

NameDescription
CapacityGets the maximum number of values the history keeps.
CountGets the number of values in the history.
EnableRaisingEventsGets or sets a value indicating whether the history raises its events.
EndTimeGets the latest timestamp of the values in the history.
StartTimeGets the earliest timestamp of the values in the history.

Methods ​

NameDescription
AddAdds the value specified to the history.
AddRange2 overloadsAdds the values specified to the history.
ClearRemoves all values from the history.
ContainsDetermines whether the history contains a value with the timestamp specified.
Enumerate3 overloadsGets the values of the history in their sort order.
GetEnumeratorReturns an enumerator which iterates through the values of the history.
GetValuesGets the values with the timestamp specified.
OnAddedprotected · virtualRaises the Added event.
OnRemovedprotected · virtualRaises the Removed event.
RemoveAtRemoves the value at the index specified.
RemoveRange2 overloadsRemoves the values whose timestamp is not earlier than the startTime specified.

Events ​

NameDescription
AddedOccurs after values have been added to the history.
RemovedOccurs after values have been removed from the history, also if a value has been removed because the history reached its Capacity.

Indexers ​

NameDescription
ItemGets the value at the index specified.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.59