C# Class Opc.Ua.Client.Controls.BrowseNodeCtrl

A control which displays browse tree.
Inheritance: System.Windows.Forms.UserControl
ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Properties

Property Type Description
AttributesCTRL AttributesListViewCtrl
BrowseCTRL BrowseTreeViewCtrl

Public Methods

Method Description
BrowseNodeCtrl ( ) : System

Creates a new instance of the control.

ChangeSession ( Session session ) : void

Changes the session used by the control.

GetChildOfSelectedNode ( int index ) : ReferenceDescription

Returns the child node at the specified index.

GetSelectedAttribute ( int index ) : ReadValueId

Returns the attribute at the specified index.

Initialize ( Session session, Opc.Ua.NodeId rootId ) : void

Initializes the control with a root and a set of hierarchial reference types to follow.

RefreshSelection ( ) : void

The reference for the parent of the currently selected node.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

BrowseNodeCtrl() public method

Creates a new instance of the control.
public BrowseNodeCtrl ( ) : System
return System

ChangeSession() public method

Changes the session used by the control.
public ChangeSession ( Session session ) : void
session Opc.Ua.Client.Session The session.
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetChildOfSelectedNode() public method

Returns the child node at the specified index.
public GetChildOfSelectedNode ( int index ) : ReferenceDescription
index int
return Opc.Ua.ReferenceDescription

GetSelectedAttribute() public method

Returns the attribute at the specified index.
public GetSelectedAttribute ( int index ) : ReadValueId
index int
return Opc.Ua.ReadValueId

Initialize() public method

Initializes the control with a root and a set of hierarchial reference types to follow.
public Initialize ( Session session, Opc.Ua.NodeId rootId ) : void
session Opc.Ua.Client.Session The session.
rootId Opc.Ua.NodeId The root of the hierarchy to browse.
return void

RefreshSelection() public method

The reference for the parent of the currently selected node.
public RefreshSelection ( ) : void
return void

Property Details

AttributesCTRL public_oe property

The attribute list control.
public AttributesListViewCtrl,Opc.Ua.Client.Controls AttributesCTRL
return AttributesListViewCtrl

BrowseCTRL public_oe property

The browse list control.
public BrowseTreeViewCtrl,Opc.Ua.Client.Controls BrowseCTRL
return BrowseTreeViewCtrl