Skip to content

Reference

OpcMonitoredItem Members

Provides information about a node and its attribute being monitored by a dedicated OpcSession.

Reference

OpcMonitoredItem Members ​

Type
OpcMonitoredItem
Namespace
Opc.UaFx.Server
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Properties ​

Attribute ​

Gets a value indicating which OpcAttribute is monitored.

csharp
public OpcAttribute Attribute { get; }
vbnet
Public ReadOnly Property Attribute As OpcAttribute

Property value

OpcAttribute

One of the members defined by the OpcAttribute enumeration.

Filter ​

Gets the filter used to restrict the information observed and published to the client which owns the Session.

csharp
public OpcMonitoringFilter Filter { get; }
vbnet
Public ReadOnly Property Filter As OpcMonitoringFilter

Property value

OpcMonitoringFilter

An instance of the OpcMonitoringFilter class which can also be a OpcDataChangeFilter in case of data changes are monitored or a OpcEventFilter in case of event notifications are monitored by the item.

IsMonitoringEnabled ​

Gets a value indicating whether the Attribute of the node identified by NodeId is being observed.

csharp
public bool IsMonitoringEnabled { get; }
vbnet
Public ReadOnly Property IsMonitoringEnabled As Boolean

Property value

Boolean

The value true if the item is currenly being monitored; otherwise the value false.

Mode ​

Gets a value which specifies how the monitoring of the Attribute of the node identified by NodeId is observed.

csharp
public OpcMonitoringMode Mode { get; }
vbnet
Public ReadOnly Property Mode As OpcMonitoringMode

Property value

OpcMonitoringMode

One of the members defined by the OpcMonitoringMode enumeration.

NodeId ​

Gets the node identifier of the IOpcNode being monitored.

csharp
public OpcNodeId NodeId { get; }
vbnet
Public ReadOnly Property NodeId As OpcNodeId

Property value

OpcNodeId

An instance of the OpcNodeId class.

QueueSize ​

Gets the upper limit of the queue used to store observation results.

csharp
public long QueueSize { get; }
vbnet
Public ReadOnly Property QueueSize As Long

Property value

Int64

The upper limit of the queue used. In case there the queue reaches the size used, it will discard the oldest entry before a new one is enqueued.

SamplingInterval ​

Gets a value indicating the interval used to sample the value of the attribute of the node in milliseconds.

csharp
public double SamplingInterval { get; }
vbnet
Public ReadOnly Property SamplingInterval As Double

Property value

Double

The milliseconds used as the interval used for observation.

Session ​

Gets the session which owns this OpcMonitoredItem.

csharp
public OpcSession Session { get; }
vbnet
Public ReadOnly Property Session As OpcSession

Property value

OpcSession

An instance of the OpcSession class which owns this monitored item.