OpcMonitoredItem Class

Namespace: Opc.UaFx.Client
Assemblies: Opc.UaFx.Advanced.dll

Represents a node and one of its attributes (= node data) to subscribe to monitor data changes or events on the node.

C#

public class OpcMonitoredItem


Inheritance Object › OpcMonitoredItem

Name Description
OpcMonitoredItem(OpcNodeId, OpcAttribute) Initializes a new instance of the OpcMonitoredItem class using the nodeId and attribute specified.
OpcMonitoredItem(OpcNodeId, OpcAttribute, OpcMonitoringFilter) Initializes a new instance of the OpcMonitoredItem class using the nodeId, attribute and filter specified.
Name Description
DataChangeReceived Occurs when a data change notification has been received.
EventReceived Occurs when an event notification has been received.
Name Description
Attribute Gets or sets the OpcAttribute to monitor.
CacheQueueSize Gets or sets the total number of notifications which can be queued in the OpcMonitoredItem related notification cache.
ClientID Gets the client-assigned unique identifier for this OpcMonitoredItem.
DisplayName Gets or sets the name of the OpcMonitoredItem used just for display purpose in the client application.
Encoding Gets or sets the name of the data encoding to use.
Filter Gets or sets the filter to evaluate while generating notifications for this OpcMonitoredItem.
IndexRange Gets or sets the range of array indeces to monitor.
IsCreated Gets a value indicating whether this OpcMonitoredItem has been created on the server.
IsModified Gets a value indicating whether this OpcMonitoredItem has been modified since it has been created on the server or since its previous changes has been committed to the server.
LastDataChange Gets the last data change-related notification data received from the server.
LastEvent Gets the last event-related notification data received from the server.
LastNotification Gets the last notification received from the server.
MonitoringMode Gets or sets the monitoring mode which applies to the monitored item.
NodeCategory Gets or sets the kind of node to monitor.
NodeId Gets or sets the node identifier of the node to monitor.
QueueMode Gets or sets the mode used to enqueue and dequeue notification data items.
QueueSize Gets or sets a value which defines the requested total number of notifications the server shall queue for this OpcMonitoredItem.
RelativePath Gets or sets the relative path to the node to monitor starting at the node identified by the NodeId.
ResolvedNodeId Gets the resolved node identifier of the node to monitor.
SamplingInterval Gets or sets the requested number of milliseconds of the interval within the server have to access and evaluate this OpcMonitoredItem.
Status Gets the status information which defines the servers ability to define/provide a monitored item configured like this OpcMonitoredItem.
Subscription Gets the OpcSubscription this OpcMonitoredItem belongs to.
Tag Gets or sets the object that contains additional user data about the monitored item.
Name Description
OnDataChangeReceived(OpcDataChangeReceivedEventArgs) Raises the DataChangeReceived event of the OpcMonitoredItem.
OnEventReceived(OpcEventReceivedEventArgs) Raises the EventReceived event of the OpcMonitoredItem.
ToString Returns a string that represents the current OpcMonitoredItem.