C# 클래스 Opc.Ua.Server.MonitoredNode

파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
ConditionRefresh ( ISystemContext context, IEventMonitoredItem monitoredItem ) : void

Resends the events for any conditions belonging to the node or its children.

CreateDataChangeItem ( ISystemContext context, uint monitoredItemId, uint attributeId, NumericRange indexRange, QualifiedName dataEncoding, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoringMode monitoringMode, uint clientHandle, double samplingInterval, bool alwaysReportUpdates ) : DataChangeMonitoredItem

Creates a new data change monitored item.

CreateDataChangeItem ( ISystemContext context, uint monitoredItemId, uint attributeId, NumericRange indexRange, QualifiedName dataEncoding, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoringMode monitoringMode, uint clientHandle, double samplingInterval, uint queueSize, bool discardOldest, DataChangeFilter filter, Range range, bool alwaysReportUpdates ) : DataChangeMonitoredItem

Creates a new data change monitored item.

DeleteItem ( IMonitoredItem monitoredItem ) : void

Deletes the monitored item.

IsMonitoringRequired ( uint attributeId ) : bool

Whether the node has any active monitored items for the specified attribute.

MonitoredNode ( IServerInternal server, INodeManager nodeManager, NodeState node ) : System

Initializes the instance with the context for the node being monitored.

OnNodeChange ( ISystemContext context, NodeState state, NodeStateChangeMasks masks ) : void

Handles change events raised by the node.

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

Handles events reported by the node.

SubscribeToEvents ( ISystemContext context, IEventMonitoredItem eventSubscription ) : void

Subscribes to events produced by the node.

UnsubscribeToEvents ( ISystemContext context, IEventMonitoredItem eventSubscription ) : void

Unsubscribes to events produced by the node.

메소드 상세

ConditionRefresh() 공개 메소드

Resends the events for any conditions belonging to the node or its children.
public ConditionRefresh ( ISystemContext context, IEventMonitoredItem monitoredItem ) : void
context ISystemContext The system context.
monitoredItem IEventMonitoredItem The item to refresh.
리턴 void

CreateDataChangeItem() 공개 메소드

Creates a new data change monitored item.
public CreateDataChangeItem ( ISystemContext context, uint monitoredItemId, uint attributeId, NumericRange indexRange, QualifiedName dataEncoding, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoringMode monitoringMode, uint clientHandle, double samplingInterval, bool alwaysReportUpdates ) : DataChangeMonitoredItem
context ISystemContext The system context.
monitoredItemId uint The unique identifier for the monitiored item.
attributeId uint The attribute to monitor.
indexRange NumericRange The index range to use for array values.
dataEncoding QualifiedName The data encoding to return for structured values.
diagnosticsMasks DiagnosticsMasks The diagnostics masks to use.
timestampsToReturn TimestampsToReturn The timestamps to return.
monitoringMode MonitoringMode The initial monitoring mode.
clientHandle uint The handle assigned by the client.
samplingInterval double The sampling interval.
alwaysReportUpdates bool Whether the monitored item should skip the check for a change in value.
리턴 DataChangeMonitoredItem

CreateDataChangeItem() 공개 메소드

Creates a new data change monitored item.
public CreateDataChangeItem ( ISystemContext context, uint monitoredItemId, uint attributeId, NumericRange indexRange, QualifiedName dataEncoding, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoringMode monitoringMode, uint clientHandle, double samplingInterval, uint queueSize, bool discardOldest, DataChangeFilter filter, Range range, bool alwaysReportUpdates ) : DataChangeMonitoredItem
context ISystemContext The system context.
monitoredItemId uint The unique identifier for the monitiored item.
attributeId uint The attribute to monitor.
indexRange NumericRange The index range to use for array values.
dataEncoding QualifiedName The data encoding to return for structured values.
diagnosticsMasks DiagnosticsMasks The diagnostics masks to use.
timestampsToReturn TimestampsToReturn The timestamps to return.
monitoringMode MonitoringMode The initial monitoring mode.
clientHandle uint The handle assigned by the client.
samplingInterval double The sampling interval.
queueSize uint The queue size.
discardOldest bool Whether to discard the oldest values when the queue overflows.
filter DataChangeFilter The data change filter to use.
range Range The range to use when evaluating a percentage deadband filter.
alwaysReportUpdates bool Whether the monitored item should skip the check for a change in value.
리턴 DataChangeMonitoredItem

DeleteItem() 공개 메소드

Deletes the monitored item.
public DeleteItem ( IMonitoredItem monitoredItem ) : void
monitoredItem IMonitoredItem
리턴 void

IsMonitoringRequired() 공개 메소드

Whether the node has any active monitored items for the specified attribute.
public IsMonitoringRequired ( uint attributeId ) : bool
attributeId uint
리턴 bool

MonitoredNode() 공개 메소드

Initializes the instance with the context for the node being monitored.
public MonitoredNode ( IServerInternal server, INodeManager nodeManager, NodeState node ) : System
server IServerInternal
nodeManager INodeManager
node NodeState
리턴 System

OnNodeChange() 공개 메소드

Handles change events raised by the node.
public OnNodeChange ( ISystemContext context, NodeState state, NodeStateChangeMasks masks ) : void
context ISystemContext The system context.
state NodeState The node that raised the event.
masks NodeStateChangeMasks What caused the event to be raised
리턴 void

OnReportEvent() 공개 메소드

Handles events reported by the node.
public OnReportEvent ( ISystemContext context, NodeState state, IFilterTarget e ) : void
context ISystemContext The system context.
state NodeState The node that raised the event.
e IFilterTarget The event to report.
리턴 void

SubscribeToEvents() 공개 메소드

Subscribes to events produced by the node.
public SubscribeToEvents ( ISystemContext context, IEventMonitoredItem eventSubscription ) : void
context ISystemContext
eventSubscription IEventMonitoredItem
리턴 void

UnsubscribeToEvents() 공개 메소드

Unsubscribes to events produced by the node.
public UnsubscribeToEvents ( ISystemContext context, IEventMonitoredItem eventSubscription ) : void
context ISystemContext
eventSubscription IEventMonitoredItem
리턴 void