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

Stores a collection of write requests.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Add ( NodeState source, MonitoredItem monitoredItem ) : void

Adds the monitored item to the collection.

ApplyGroupChanges ( ComDaClient client ) : void

Applies any changes to the groups.

CreateItems ( ServerSystemContext context, IList monitoredItems ) : void

Creates subscription requests for monitored items.

DeleteItems ( ServerSystemContext context, IList monitoredItems ) : void

Deletes subscription requests for monitored items.

Dispose ( ) : void

Frees any unmanaged resources.

FindItemRequest ( string itemId, bool create ) : SubscribeItemRequest

Finds the item value request for the specifed item.

FindPropertyRequest ( string itemId, bool create ) : SubscribePropertyRequest

Finds the item properties request for the specifed item.

Modify ( NodeState source, MonitoredItem monitoredItem ) : void

Modifies the monitored item to the collection.

ModifyItems ( ServerSystemContext context, IList monitoredItems ) : void

Modifies subscription requests for monitored items.

RecreateItems ( ) : void

Recreates the items after a disconnect.

Remove ( SubscribeItemRequest request ) : bool

Removes the specified item request.

Remove ( SubscribePropertyRequest request ) : bool

Removes the specified property request.

Remove ( NodeState source, MonitoredItem monitoredItem ) : void

Removes the monitored item from the collection.

SubscribeRequestManager ( ServerSystemContext context, ComClient client, int propertySamplingInterval ) : System

Initializes a new instance of the SubscribeRequestManager class.

UpdateGroup ( ComDaClient client, SubscribeItemRequest request ) : void

Assigns a request to a group.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

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

Метод Описание
Add ( DaItemState item, MonitoredItem monitoredItem ) : void

Adds a request for the specified item.

Add ( DaPropertyState item, MonitoredItem monitoredItem ) : void

Adds the specified item property.

Add ( PropertyState property, MonitoredItem monitoredItem ) : void

Adds the specified UA property.

Modify ( DaItemState item, MonitoredItem monitoredItem ) : void

Modifies a request for the specified item.

Modify ( DaPropertyState item, MonitoredItem monitoredItem ) : void

Modifies the specified item property.

Modify ( PropertyState property, MonitoredItem monitoredItem ) : void

Modifies the specified UA property.

OnScanProperties ( object state ) : void

Called when the scan properties timer expires.

Remove ( DaItemState item, MonitoredItem monitoredItem ) : void

Removes a request for the specified item.

Remove ( DaPropertyState item, MonitoredItem monitoredItem ) : void

Removes a request for the specified item property.

Remove ( PropertyState property, MonitoredItem monitoredItem ) : void

Removes a request for the specified UA property.

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

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

Adds the monitored item to the collection.
public Add ( NodeState source, MonitoredItem monitoredItem ) : void
source NodeState The source.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
Результат void

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

Applies any changes to the groups.
public ApplyGroupChanges ( ComDaClient client ) : void
client ComDaClient
Результат void

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

Creates subscription requests for monitored items.
public CreateItems ( ServerSystemContext context, IList monitoredItems ) : void
context Opc.Ua.Server.ServerSystemContext The context.
monitoredItems IList The monitored items.
Результат void

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

Deletes subscription requests for monitored items.
public DeleteItems ( ServerSystemContext context, IList monitoredItems ) : void
context Opc.Ua.Server.ServerSystemContext The context.
monitoredItems IList The monitored items.
Результат void

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

Frees any unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

Finds the item value request for the specifed item.
public FindItemRequest ( string itemId, bool create ) : SubscribeItemRequest
itemId string The item id.
create bool if set to true a new request is created if it does not exist.
Результат SubscribeItemRequest

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

Finds the item properties request for the specifed item.
public FindPropertyRequest ( string itemId, bool create ) : SubscribePropertyRequest
itemId string The item id.
create bool if set to true a new request is created if it does not exist.
Результат SubscribePropertyRequest

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

Modifies the monitored item to the collection.
public Modify ( NodeState source, MonitoredItem monitoredItem ) : void
source NodeState The source.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
Результат void

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

Modifies subscription requests for monitored items.
public ModifyItems ( ServerSystemContext context, IList monitoredItems ) : void
context Opc.Ua.Server.ServerSystemContext The context.
monitoredItems IList The monitored items.
Результат void

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

Recreates the items after a disconnect.
public RecreateItems ( ) : void
Результат void

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

Removes the specified item request.
public Remove ( SubscribeItemRequest request ) : bool
request SubscribeItemRequest The request.
Результат bool

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

Removes the specified property request.
public Remove ( SubscribePropertyRequest request ) : bool
request SubscribePropertyRequest The request.
Результат bool

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

Removes the monitored item from the collection.
public Remove ( NodeState source, MonitoredItem monitoredItem ) : void
source NodeState The source.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
Результат void

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

Initializes a new instance of the SubscribeRequestManager class.
public SubscribeRequestManager ( ServerSystemContext context, ComClient client, int propertySamplingInterval ) : System
context ServerSystemContext The context.
client ComClient The COKM client wrapper.
propertySamplingInterval int The property sampling interval.
Результат System

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

Assigns a request to a group.
public UpdateGroup ( ComDaClient client, SubscribeItemRequest request ) : void
client ComDaClient The client.
request SubscribeItemRequest The request.
Результат void