C# Class Opc.Ua.Com.Server.ComDaBrowseManager

A class which provides the COM DA browse features.
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
TraceState ( string context ) : void

Dumps the current state of the browser.

Method Details

BrowseDown() public méthode

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.
Résultat void

BrowseFlat() public méthode

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.
Résultat IList

BrowseForElements() public méthode

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.
Résultat List

BrowseForNames() public méthode

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.
Résultat IList

BrowseTo() public méthode

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.
Résultat void

BrowseUp() public méthode

Browses up.
public BrowseUp ( Session session ) : void
session Opc.Ua.Client.Session The session.
Résultat void

ComDaBrowseManager() public méthode

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.
Résultat System

GetAvailableProperties() public méthode

Gets the properties.
public GetAvailableProperties ( Session session, string itemId ) : IList
session Opc.Ua.Client.Session The session.
itemId string The item id.
Résultat IList

GetBrowsePosition() public méthode

Gets the browse position.
public GetBrowsePosition ( Session session ) : ComDaBrowseElement
session Opc.Ua.Client.Session The session.
Résultat ComDaBrowseElement

GetItemId() public méthode

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.
Résultat string

GetItemIds() public méthode

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.
Résultat IList

GetPropertyValues() public méthode

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.
Résultat DaValue[]

GetPropertyValues() public méthode

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.
Résultat IList