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
- 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
public class OpcModifiedNodeHistoryPublic Class OpcModifiedNodeHistoryInheritance
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
| Name | Description |
|---|---|
| Opc | Initializes a new instance of the Opc |
Properties
| Name | Description |
|---|---|
| Capacity | Gets the maximum number of values the history keeps. |
| Count | Gets the number of values in the history. |
| Enable | Gets or sets a value indicating whether the history raises its events. |
| EndTime | Gets the latest timestamp of the values in the history. |
| StartTime | Gets the earliest timestamp of the values in the history. |
Methods
| Name | Description |
|---|---|
| Add | Adds the value specified to the history. |
| AddRange | Adds the values specified to the history. |
| Clear | Removes all values from the history. |
| Contains | Determines whether the history contains a value with the timestamp specified. |
| Enumerate | Gets the values of the history in their sort order. |
| GetEnumerator | Returns an enumerator which iterates through the values of the history. |
| GetValues | Gets the values with the timestamp specified. |
| OnAdded | Raises the Added event. |
| OnRemoved | Raises the Removed event. |
| RemoveAt | Removes the value at the index specified. |
| RemoveRange | Removes the values whose timestamp is not earlier than the startTime specified. |
Events
| Name | Description |
|---|---|
| Added | Occurs after values have been added to the history. |
| Removed | Occurs after values have been removed from the history, also if a value has been removed because the history reached its Capacity. |
Indexers
| Name | Description |
|---|---|
| Item | Gets the value at the index specified. |
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

