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

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

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

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

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

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

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

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 attributeSamplingInterval ) : void
attributeSamplingInterval int The attribute sampling interval.
Результат void

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

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

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

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

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