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

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

Public Methods

Method 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

Method Description
TraceState ( string context ) : void

Dumps the current state of the browser.

Method Details

BrowseDown() public method

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.
return void

BrowseFlat() public method

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.
return IList

BrowseForElements() public method

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.
return List

BrowseForNames() public method

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.
return IList

BrowseTo() public method

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.
return void

BrowseUp() public method

Browses up.
public BrowseUp ( Session session ) : void
session Opc.Ua.Client.Session The session.
return void

ComDaBrowseManager() public method

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.
return System

GetAvailableProperties() public method

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

GetBrowsePosition() public method

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

GetItemId() public method

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.
return string

GetItemIds() public method

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.
return IList

GetPropertyValues() public method

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.
return DaValue[]

GetPropertyValues() public method

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.
return IList