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

Stores a request to subscribe to the properties of a COM DA 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 propertySamplingInterval ) : void

Updates the request after changes are completed.

Modify ( ServerSystemContext context, MonitoredItem monitoredItem ) : void

Modifies the request after the specified item changes.

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

Queues the value to the monitored item.

QueueValues ( ServerSystemContext context, ReadRequest request ) : void

Queues the value to the monitored item.

Remove ( ServerSystemContext context, MonitoredItem monitoredItem ) : void

Removes the specified monitored item.

SubscribePropertyRequest ( string itemId ) : System

Initializes a new instance of the SubscribePropertyRequest class.

Update ( ) : void

Updates the request after adding/removing items.

Private Methods

Method Description
DaItemAttributeToDaProperty ( uint attributeId ) : int

Maps a UA attribute id to a DA property id.

IncrementSampleTime ( ) : void

Increments the sample time to the next interval.

UaPropertyToDaProperty ( string symbolicName ) : int[]

Maps a UA property name to a set of DA property ids.

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 propertySamplingInterval ) : void
propertySamplingInterval int The property sampling interval.
return void

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

QueueValue() public method

Queues the value to the monitored item.
public QueueValue ( ServerSystemContext context, ReadRequest request, MonitoredItem monitoredItem ) : void
context Opc.Ua.Server.ServerSystemContext The context.
request ReadRequest The request.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
return void

QueueValues() public method

Queues the value to the monitored item.
public QueueValues ( ServerSystemContext context, ReadRequest request ) : void
context Opc.Ua.Server.ServerSystemContext The context.
request ReadRequest The request.
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

SubscribePropertyRequest() public method

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

Update() public method

Updates the request after adding/removing items.
public Update ( ) : void
return void