C# Класс Opc.Ua.Com.Server.ComDaBrowseManager

A class which provides the COM DA browse features.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BrowseDown ( Session session, string targetName ) : void

Moves the current browse position down.

BrowseFlat ( Session session, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList

Browses for children of the specified item.

BrowseForElements ( Session session, string itemId, string continuationPoint, int maxElementsReturned, int elementFilter, string nameFilter, string &revisedContinuationPoint ) : List

Browses for the children of the specified item.

BrowseForNames ( Session session, BrowseElementFilter elementFilter, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList

Browses for children of the specified item.

BrowseTo ( Session session, string itemId ) : void

Moves the current browse position to the specified item.

BrowseUp ( Session session ) : void

Browses up.

ComDaBrowseManager ( ComNamespaceMapper mapper, ComDaBrowseCache cache ) : System

Initializes a new instance of the ComDaBrowseManager class.

GetAvailableProperties ( Session session, string itemId ) : IList

Gets the properties.

GetBrowsePosition ( Session session ) : ComDaBrowseElement

Gets the browse position.

GetItemId ( Session session, string browseName ) : string

Gets the item id for the specified browse element.

GetItemIds ( Session session, string itemId, int propertyIds, string &itemIds ) : IList

Gets the item ids for the properties.

GetPropertyValues ( Session session, string itemId ) : DaValue[]

Gets the property values for a single item.

GetPropertyValues ( Session session, ComDaReadPropertiesRequest requests ) : IList

Gets the properties for list of items.

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

Метод Описание
TraceState ( string context ) : void

Dumps the current state of the browser.

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

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

Moves the current browse position down.
public BrowseDown ( Session session, string targetName ) : void
session Opc.Ua.Client.Session The session.
targetName string Name of the target.
Результат void

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

Browses for children of the specified item.
public BrowseFlat ( Session session, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList
session Opc.Ua.Client.Session The session.
nameFilter string The name filter.
dataTypeFilter short The data type filter.
accessRightsFilter int The access rights filter.
Результат IList

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

Browses for the children of the specified item.
public BrowseForElements ( Session session, string itemId, string continuationPoint, int maxElementsReturned, int elementFilter, string nameFilter, string &revisedContinuationPoint ) : List
session Opc.Ua.Client.Session The session.
itemId string The item id.
continuationPoint string The continuation point.
maxElementsReturned int The max elements returned.
elementFilter int The element filter.
nameFilter string The name filter.
revisedContinuationPoint string The revised continuation point.
Результат List

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

Browses for children of the specified item.
public BrowseForNames ( Session session, BrowseElementFilter elementFilter, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList
session Opc.Ua.Client.Session The session.
elementFilter BrowseElementFilter The element filter.
nameFilter string The name filter.
dataTypeFilter short The data type filter.
accessRightsFilter int The access rights filter.
Результат IList

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

Moves the current browse position to the specified item.
public BrowseTo ( Session session, string itemId ) : void
session Opc.Ua.Client.Session The session.
itemId string The item id.
Результат void

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

Browses up.
public BrowseUp ( Session session ) : void
session Opc.Ua.Client.Session The session.
Результат void

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

Initializes a new instance of the ComDaBrowseManager class.
public ComDaBrowseManager ( ComNamespaceMapper mapper, ComDaBrowseCache cache ) : System
mapper ComNamespaceMapper The object used to map namespace indexes.
cache ComDaBrowseCache The cache.
Результат System

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

Gets the properties.
public GetAvailableProperties ( Session session, string itemId ) : IList
session Opc.Ua.Client.Session The session.
itemId string The item id.
Результат IList

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

Gets the browse position.
public GetBrowsePosition ( Session session ) : ComDaBrowseElement
session Opc.Ua.Client.Session The session.
Результат ComDaBrowseElement

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

Gets the item id for the specified browse element.
public GetItemId ( Session session, string browseName ) : string
session Opc.Ua.Client.Session The session.
browseName string The name of the browse element.
Результат string

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

Gets the item ids for the properties.
public GetItemIds ( Session session, string itemId, int propertyIds, string &itemIds ) : IList
session Opc.Ua.Client.Session The session.
itemId string The item id.
propertyIds int The property ids.
itemIds string The item ids.
Результат IList

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

Gets the property values for a single item.
public GetPropertyValues ( Session session, string itemId ) : DaValue[]
session Opc.Ua.Client.Session The session.
itemId string The item id.
Результат DaValue[]

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

Gets the properties for list of items.
public GetPropertyValues ( Session session, ComDaReadPropertiesRequest requests ) : IList
session Opc.Ua.Client.Session The session.
requests ComDaReadPropertiesRequest The requests.
Результат IList