C# Класс Opc.Ua.Com.Client.SubscribePropertyRequest

Stores a request to subscribe to the properties of a COM DA item.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Add() публичный Метод

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.
Результат void

ChangesComplete() публичный Метод

Updates the request after changes are completed.
public ChangesComplete ( int propertySamplingInterval ) : void
propertySamplingInterval int The property sampling interval.
Результат void

Modify() публичный Метод

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.
Результат void

QueueValue() публичный Метод

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.
Результат void

QueueValues() публичный Метод

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.
Результат void

Remove() публичный Метод

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.
Результат void

SubscribePropertyRequest() публичный Метод

Initializes a new instance of the SubscribePropertyRequest class.
public SubscribePropertyRequest ( string itemId ) : System
itemId string The item id.
Результат System

Update() публичный Метод

Updates the request after adding/removing items.
public Update ( ) : void
Результат void