C# Class Opc.Ua.Com.Client.HdaSubscribeAttributeRequest

Stores a request to subscribe to the attributes of an HDA item.
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
Add ( ServerSystemContext context, MonitoredItem monitoredItem ) : void

Adds the specified monitored item.

ChangesComplete ( int attributeSamplingInterval ) : void

Updates the request after changes are completed.

HdaSubscribeAttributeRequest ( string itemId ) : System

Initializes a new instance of the HdaSubscribeAttributeRequest class.

Modify ( ServerSystemContext context, MonitoredItem monitoredItem ) : void

Modifies the request after the specified item changes.

QueueValues ( ServerSystemContext context, HdaReadRequest request, bool initialUpdate ) : void

Queues the value to the monitored item.

Remove ( ServerSystemContext context, MonitoredItem monitoredItem ) : void

Removes the specified monitored item.

Private Methods

Méthode Description
IncrementSampleTime ( ) : void

Increments the sample time to the next interval.

QueueValue ( ServerSystemContext context, HdaReadRequest request, MonitoredItem monitoredItem ) : void

Queues the value to the monitored item.

UpdateSamplingInterval ( ) : void

Updates the request after adding/removing items.

Method Details

Add() public méthode

Adds the specified monitored item.
public Add ( ServerSystemContext context, MonitoredItem monitoredItem ) : void
context Opc.Ua.Server.ServerSystemContext The context.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
Résultat void

ChangesComplete() public méthode

Updates the request after changes are completed.
public ChangesComplete ( int attributeSamplingInterval ) : void
attributeSamplingInterval int The attribute sampling interval.
Résultat void

HdaSubscribeAttributeRequest() public méthode

Initializes a new instance of the HdaSubscribeAttributeRequest class.
public HdaSubscribeAttributeRequest ( string itemId ) : System
itemId string The item id.
Résultat System

Modify() public méthode

Modifies the request after the specified item changes.
public Modify ( ServerSystemContext context, MonitoredItem monitoredItem ) : void
context Opc.Ua.Server.ServerSystemContext The context.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
Résultat void

QueueValues() public méthode

Queues the value to the monitored item.
public QueueValues ( ServerSystemContext context, HdaReadRequest request, bool initialUpdate ) : void
context Opc.Ua.Server.ServerSystemContext The context.
request HdaReadRequest The request.
initialUpdate bool if set to true [initial update].
Résultat void

Remove() public méthode

Removes the specified monitored item.
public Remove ( ServerSystemContext context, MonitoredItem monitoredItem ) : void
context Opc.Ua.Server.ServerSystemContext The context.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
Résultat void