C# 클래스 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.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Add() 공개 메소드

Adds the specified event monitored item.
public Add ( IEventMonitoredItem eventItem ) : void
eventItem IEventMonitoredItem The monitored item.
리턴 void

Add() 공개 메소드

Adds the specified data change monitored item.
public Add ( MonitoredItem datachangeItem ) : void
datachangeItem MonitoredItem The monitored item.
리턴 void

MonitoredNode2() 공개 메소드

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

OnMonitoredNodeChanged() 공개 메소드

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.
리턴 void

OnReportEvent() 공개 메소드

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.
리턴 void

QueueValue() 공개 메소드

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
리턴 void

Remove() 공개 메소드

Removes the specified event monitored item.
public Remove ( IEventMonitoredItem eventItem ) : void
eventItem IEventMonitoredItem The monitored item.
리턴 void

Remove() 공개 메소드

Removes the specified data change monitored item.
public Remove ( MonitoredItem datachangeItem ) : void
datachangeItem MonitoredItem The monitored item.
리턴 void