.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaClient.MonitoredItem Class Reference

An item being monitored. More...

Inherited by UnifiedAutomation.UaClient.DataMonitoredItem, and UnifiedAutomation.UaClient.EventMonitoredItem.

Public Member Functions

virtual void Save (IEncoder encoder)
 Saves MonitoredItem using the specified encoder. More...
 
virtual void SaveAll (IEncoder encoder)
 Saves the MonitoredItem using the specified encoder including the assigned handles and the parameters that are revised by the server. More...
 
virtual void Load (IDecoder decoder)
 Initializes the MonitoredItem using the specified decoder. More...
 
virtual void LoadAll (IDecoder decoder)
 Initializes the MonitoredItem using the specified decoder including the assigned handles and the parameters that are revised by the server. More...
 

Protected Member Functions

 MonitoredItem ()
 Initializes a new instance of the MonitoredItem class. More...
 
 MonitoredItem (MonitoredItem template)
 Initializes a new instance of the MonitoredItem class. More...
 

Properties

NodeId NodeId [get, set]
 Gets or sets the node id. More...
 
uint AttributeId [get, protected set]
 Gets or sets the attribute id. More...
 
Subscription Subscription [get, set]
 Gets the subscription. More...
 
object UserData [get, set]
 Gets or sets the user data. More...
 
uint ServerHandle [get, set]
 Gets the server handle. More...
 
uint ClientHandle [get, set]
 Gets the client handle. More...
 
double SamplingInterval [get, set]
 Gets or sets the sampling interval. More...
 
double CurrentSamplingInterval [get, set]
 Gets the current sampling interval. More...
 
uint QueueSize [get, set]
 Gets or sets the size of the queue. More...
 
uint CurrentQueueSize [get, set]
 Gets the size of the current queue. More...
 
bool DiscardOldest [get, set]
 Gets or sets a value indicating whether to discard the oldest entries when the queue overflows. More...
 
bool CurrentDiscardOldest [get, set]
 Gets a value indicating whether discard the oldest entries when the queue overflows. More...
 
MonitoringMode MonitoringMode [get, set]
 Gets or sets the monitoring mode. More...
 
MonitoringMode CurrentMonitoringMode [get, set]
 Gets the current monitoring mode. More...
 
StatusCode LastError [get, set]
 Gets the last error. More...
 
MonitoringFilterResult LastFilterError [get, set]
 Gets the last error for the monitoring filter. More...
 

Detailed Description

An item being monitored.

Constructor & Destructor Documentation

UnifiedAutomation.UaClient.MonitoredItem.MonitoredItem ( )
protected

Initializes a new instance of the MonitoredItem class.

UnifiedAutomation.UaClient.MonitoredItem.MonitoredItem ( MonitoredItem  template)
protected

Initializes a new instance of the MonitoredItem class.

Parameters
templateThe template.

Member Function Documentation

virtual void UnifiedAutomation.UaClient.MonitoredItem.Load ( IDecoder  decoder)
virtual

Initializes the MonitoredItem using the specified decoder.

Parameters
decoderThe decoder.

Reimplemented in UnifiedAutomation.UaClient.DataMonitoredItem.

virtual void UnifiedAutomation.UaClient.MonitoredItem.LoadAll ( IDecoder  decoder)
virtual

Initializes the MonitoredItem using the specified decoder including the assigned handles and the parameters that are revised by the server.

Parameters
decoderThe decoder to initialize the MonitoredItem.

Reimplemented in UnifiedAutomation.UaClient.DataMonitoredItem, and UnifiedAutomation.UaClient.EventMonitoredItem.

virtual void UnifiedAutomation.UaClient.MonitoredItem.Save ( IEncoder  encoder)
virtual

Saves MonitoredItem using the specified encoder.

Parameters
encoderThe encoder.

Reimplemented in UnifiedAutomation.UaClient.DataMonitoredItem.

virtual void UnifiedAutomation.UaClient.MonitoredItem.SaveAll ( IEncoder  encoder)
virtual

Saves the MonitoredItem using the specified encoder including the assigned handles and the parameters that are revised by the server.

Parameters
encoderThe encoder to save the MonitoredItem.

Reimplemented in UnifiedAutomation.UaClient.DataMonitoredItem, and UnifiedAutomation.UaClient.EventMonitoredItem.

Property Documentation

uint UnifiedAutomation.UaClient.MonitoredItem.AttributeId
getprotected set

Gets or sets the attribute id.

The attribute id.

uint UnifiedAutomation.UaClient.MonitoredItem.ClientHandle
getset

Gets the client handle.

bool UnifiedAutomation.UaClient.MonitoredItem.CurrentDiscardOldest
getset

Gets a value indicating whether discard the oldest entries when the queue overflows.

true if discard the oldest entries when the queue overflows; otherwise, false.

MonitoringMode UnifiedAutomation.UaClient.MonitoredItem.CurrentMonitoringMode
getset

Gets the current monitoring mode.

uint UnifiedAutomation.UaClient.MonitoredItem.CurrentQueueSize
getset

Gets the size of the current queue.

The size of the current queue.

double UnifiedAutomation.UaClient.MonitoredItem.CurrentSamplingInterval
getset

Gets the current sampling interval.

bool UnifiedAutomation.UaClient.MonitoredItem.DiscardOldest
getset

Gets or sets a value indicating whether to discard the oldest entries when the queue overflows.

true if whether to discard the oldest entries when the queue overflows; otherwise, false.

StatusCode UnifiedAutomation.UaClient.MonitoredItem.LastError
getset

Gets the last error.

MonitoringFilterResult UnifiedAutomation.UaClient.MonitoredItem.LastFilterError
getset

Gets the last error for the monitoring filter.

MonitoringMode UnifiedAutomation.UaClient.MonitoredItem.MonitoringMode
getset

Gets or sets the monitoring mode.

The monitoring mode.

NodeId UnifiedAutomation.UaClient.MonitoredItem.NodeId
getset

Gets or sets the node id.

The node id.

uint UnifiedAutomation.UaClient.MonitoredItem.QueueSize
getset

Gets or sets the size of the queue.

The size of the queue.

double UnifiedAutomation.UaClient.MonitoredItem.SamplingInterval
getset

Gets or sets the sampling interval.

The sampling interval.

uint UnifiedAutomation.UaClient.MonitoredItem.ServerHandle
getset

Gets the server handle.

Subscription UnifiedAutomation.UaClient.MonitoredItem.Subscription
getset

Gets the subscription.

object UnifiedAutomation.UaClient.MonitoredItem.UserData
getset

Gets or sets the user data.

The user data.


The documentation for this class was generated from the following file: