C# Class Opc.Ua.Sample.Controls.NodeListCtrl

显示文件 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
AddNodeId ( ExpandedNodeId nodeId ) : void

Adds a node to the list.

AddNodeId ( ReferenceDescription reference ) : void

Adds a node to the list.

Clear ( ) : void

Clears the contents of the control,

GetNodeIds ( ) : NodeIdCollection

Returns the node ids in the control.

Initialize ( Session session, NodeIdCollection nodeIds, NodeClass nodeClassMask ) : void

Sets the nodes in the control.

NodeListCtrl ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( ListViewItem clickedItem ) : void
ItemsLV_DragDrop ( object sender, DragEventArgs e ) : void
UpdateItem ( ListViewItem listItem, object item ) : void

Private Methods

Method Description
DeleteMI_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

ViewMI_Click ( object sender, EventArgs e ) : void

Method Details

AddNodeId() public method

Adds a node to the list.
public AddNodeId ( ExpandedNodeId nodeId ) : void
nodeId ExpandedNodeId
return void

AddNodeId() public method

Adds a node to the list.
public AddNodeId ( ReferenceDescription reference ) : void
reference ReferenceDescription
return void

Clear() public method

Clears the contents of the control,
public Clear ( ) : void
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

EnableMenuItems() protected method

protected EnableMenuItems ( ListViewItem clickedItem ) : void
clickedItem ListViewItem
return void

GetNodeIds() public method

Returns the node ids in the control.
public GetNodeIds ( ) : NodeIdCollection
return NodeIdCollection

Initialize() public method

Sets the nodes in the control.
public Initialize ( Session session, NodeIdCollection nodeIds, NodeClass nodeClassMask ) : void
session Session
nodeIds NodeIdCollection
nodeClassMask NodeClass
return void

ItemsLV_DragDrop() protected method

protected ItemsLV_DragDrop ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
return void

NodeListCtrl() public method

public NodeListCtrl ( ) : System
return System

UpdateItem() protected method

protected UpdateItem ( ListViewItem listItem, object item ) : void
listItem ListViewItem
item object
return void