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

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

Public Methods

Method 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

Method 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 method

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.
return void

ChangesComplete() public method

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

HdaSubscribeAttributeRequest() public method

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

Modify() public method

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.
return void

QueueValues() public method

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].
return void

Remove() public method

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.
return void