C# Class Opc.Ua.Server.MonitoredNode2

Stores the current set of MonitoredItems for a Node.
An instance of this object is created the first time a MonitoredItem is created for any attribute of a Node. The object is deleted when the last MonitoredItem is deleted.
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
Add ( IEventMonitoredItem eventItem ) : void

Adds the specified event monitored item.

Add ( MonitoredItem datachangeItem ) : void

Adds the specified data change monitored item.

MonitoredNode2 ( CustomNodeManager2 nodeManager, NodeState node ) : System

Initializes a new instance of the MonitoredNode2 class.

OnMonitoredNodeChanged ( ISystemContext context, NodeState node, NodeStateChangeMasks changes ) : void

Called when the state of a Node changes.

OnReportEvent ( ISystemContext context, NodeState node, IFilterTarget e ) : void

Called when a Node produces an event.

QueueValue ( ISystemContext context, NodeState node, MonitoredItem monitoredItem ) : void

Reads the value of an attribute and reports it to the MonitoredItem.

Remove ( IEventMonitoredItem eventItem ) : void

Removes the specified event monitored item.

Remove ( MonitoredItem datachangeItem ) : void

Removes the specified data change monitored item.

Method Details

Add() public méthode

Adds the specified event monitored item.
public Add ( IEventMonitoredItem eventItem ) : void
eventItem IEventMonitoredItem The monitored item.
Résultat void

Add() public méthode

Adds the specified data change monitored item.
public Add ( MonitoredItem datachangeItem ) : void
datachangeItem MonitoredItem The monitored item.
Résultat void

MonitoredNode2() public méthode

Initializes a new instance of the MonitoredNode2 class.
public MonitoredNode2 ( CustomNodeManager2 nodeManager, NodeState node ) : System
nodeManager CustomNodeManager2 The node manager.
node NodeState The node.
Résultat System

OnMonitoredNodeChanged() public méthode

Called when the state of a Node changes.
public OnMonitoredNodeChanged ( ISystemContext context, NodeState node, NodeStateChangeMasks changes ) : void
context ISystemContext The system context.
node NodeState The affected node.
changes NodeStateChangeMasks The mask indicating what changes have occurred.
Résultat void

OnReportEvent() public méthode

Called when a Node produces an event.
public OnReportEvent ( ISystemContext context, NodeState node, IFilterTarget e ) : void
context ISystemContext The system context.
node NodeState The affected node.
e IFilterTarget The event.
Résultat void

QueueValue() public méthode

Reads the value of an attribute and reports it to the MonitoredItem.
public QueueValue ( ISystemContext context, NodeState node, MonitoredItem monitoredItem ) : void
context ISystemContext
node NodeState
monitoredItem MonitoredItem
Résultat void

Remove() public méthode

Removes the specified event monitored item.
public Remove ( IEventMonitoredItem eventItem ) : void
eventItem IEventMonitoredItem The monitored item.
Résultat void

Remove() public méthode

Removes the specified data change monitored item.
public Remove ( MonitoredItem datachangeItem ) : void
datachangeItem MonitoredItem The monitored item.
Résultat void