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

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

공개 메소드들

메소드 설명
DataChangeMonitoredItem ( MonitoredNode source, uint id, uint attributeId, NumericRange indexRange, QualifiedName dataEncoding, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoringMode monitoringMode, uint clientHandle, double samplingInterval, bool alwaysReportUpdates ) : System

Constructs a new instance.

DataChangeMonitoredItem ( MonitoredNode source, uint id, 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 ) : System

Constructs a new instance.

GetCreateResult ( MonitoredItemCreateResult &result ) : ServiceResult

Returns the results for the create request.

GetModifyResult ( MonitoredItemModifyResult &result ) : ServiceResult

Returns the results for the modify request.

Modify ( DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, uint clientHandle, double samplingInterval ) : ServiceResult

Modifies the monitored item parameters,

Modify ( DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, uint clientHandle, double samplingInterval, uint queueSize, bool discardOldest, DataChangeFilter filter, Range range ) : ServiceResult

Modifies the monitored item parameters,

Publish ( OperationContext context, Queue notifications, Queue diagnostics ) : bool

Called by the subscription to publish any notification.

QueueValue ( DataValue value, ServiceResult error ) : void

Queues a new data change.

SetMonitoringMode ( MonitoringMode monitoringMode ) : MonitoringMode

Changes the monitoring mode.

SetSemanticsChanged ( ) : void

Sets a flag indicating that the semantics for the monitored node have changed.

The StatusCode for next value reported by the monitored item will have the SemanticsChanged bit set.

SetStructureChanged ( ) : void

Sets a flag indicating that the structure of the monitored node has changed.

The StatusCode for next value reported by the monitored item will have the StructureChanged bit set.

ValueChanged ( ISystemContext context ) : void

Called when the attribute being monitored changed. Reads and queues the value.

비공개 메소드들

메소드 설명
IncrementSampleTime ( ) : void

Increments the sample time to the next interval.

Publish ( OperationContext context, DataValue value, ServiceResult error, Queue notifications, Queue diagnostics ) : void

Publishes a value.

메소드 상세

DataChangeMonitoredItem() 공개 메소드

Constructs a new instance.
public DataChangeMonitoredItem ( MonitoredNode source, uint id, uint attributeId, NumericRange indexRange, QualifiedName dataEncoding, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoringMode monitoringMode, uint clientHandle, double samplingInterval, bool alwaysReportUpdates ) : System
source MonitoredNode
id uint
attributeId uint
indexRange NumericRange
dataEncoding QualifiedName
diagnosticsMasks DiagnosticsMasks
timestampsToReturn TimestampsToReturn
monitoringMode MonitoringMode
clientHandle uint
samplingInterval double
alwaysReportUpdates bool
리턴 System

DataChangeMonitoredItem() 공개 메소드

Constructs a new instance.
public DataChangeMonitoredItem ( MonitoredNode source, uint id, 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 ) : System
source MonitoredNode
id uint
attributeId uint
indexRange NumericRange
dataEncoding QualifiedName
diagnosticsMasks DiagnosticsMasks
timestampsToReturn TimestampsToReturn
monitoringMode MonitoringMode
clientHandle uint
samplingInterval double
queueSize uint
discardOldest bool
filter DataChangeFilter
range Range
alwaysReportUpdates bool
리턴 System

GetCreateResult() 공개 메소드

Returns the results for the create request.
public GetCreateResult ( MonitoredItemCreateResult &result ) : ServiceResult
result MonitoredItemCreateResult
리턴 ServiceResult

GetModifyResult() 공개 메소드

Returns the results for the modify request.
public GetModifyResult ( MonitoredItemModifyResult &result ) : ServiceResult
result MonitoredItemModifyResult
리턴 ServiceResult

Modify() 공개 메소드

Modifies the monitored item parameters,
public Modify ( DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, uint clientHandle, double samplingInterval ) : ServiceResult
diagnosticsMasks DiagnosticsMasks
timestampsToReturn TimestampsToReturn
clientHandle uint
samplingInterval double
리턴 ServiceResult

Modify() 공개 메소드

Modifies the monitored item parameters,
public Modify ( DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, uint clientHandle, double samplingInterval, uint queueSize, bool discardOldest, DataChangeFilter filter, Range range ) : ServiceResult
diagnosticsMasks DiagnosticsMasks
timestampsToReturn TimestampsToReturn
clientHandle uint
samplingInterval double
queueSize uint
discardOldest bool
filter DataChangeFilter
range Range
리턴 ServiceResult

Publish() 공개 메소드

Called by the subscription to publish any notification.
public Publish ( OperationContext context, Queue notifications, Queue diagnostics ) : bool
context OperationContext
notifications Queue
diagnostics Queue
리턴 bool

QueueValue() 공개 메소드

Queues a new data change.
public QueueValue ( DataValue value, ServiceResult error ) : void
value DataValue
error ServiceResult
리턴 void

SetMonitoringMode() 공개 메소드

Changes the monitoring mode.
public SetMonitoringMode ( MonitoringMode monitoringMode ) : MonitoringMode
monitoringMode MonitoringMode
리턴 MonitoringMode

SetSemanticsChanged() 공개 메소드

Sets a flag indicating that the semantics for the monitored node have changed.
The StatusCode for next value reported by the monitored item will have the SemanticsChanged bit set.
public SetSemanticsChanged ( ) : void
리턴 void

SetStructureChanged() 공개 메소드

Sets a flag indicating that the structure of the monitored node has changed.
The StatusCode for next value reported by the monitored item will have the StructureChanged bit set.
public SetStructureChanged ( ) : void
리턴 void

ValueChanged() 공개 메소드

Called when the attribute being monitored changed. Reads and queues the value.
public ValueChanged ( ISystemContext context ) : void
context ISystemContext
리턴 void