C# Class Opc.Ua.Server.DataChangeMonitoredItem

Inheritance: IDataChangeMonitoredItem
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

DataChangeMonitoredItem() public méthode

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
Résultat System

DataChangeMonitoredItem() public méthode

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
Résultat System

GetCreateResult() public méthode

Returns the results for the create request.
public GetCreateResult ( MonitoredItemCreateResult &result ) : ServiceResult
result MonitoredItemCreateResult
Résultat ServiceResult

GetModifyResult() public méthode

Returns the results for the modify request.
public GetModifyResult ( MonitoredItemModifyResult &result ) : ServiceResult
result MonitoredItemModifyResult
Résultat ServiceResult

Modify() public méthode

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

Modify() public méthode

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
Résultat ServiceResult

Publish() public méthode

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

QueueValue() public méthode

Queues a new data change.
public QueueValue ( DataValue value, ServiceResult error ) : void
value DataValue
error ServiceResult
Résultat void

SetMonitoringMode() public méthode

Changes the monitoring mode.
public SetMonitoringMode ( MonitoringMode monitoringMode ) : MonitoringMode
monitoringMode MonitoringMode
Résultat MonitoringMode

SetSemanticsChanged() public méthode

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
Résultat void

SetStructureChanged() public méthode

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
Résultat void

ValueChanged() public méthode

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