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

Mostra file Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
AddValue ( ReferenceDescription reference ) : void

Adds a value to the control.

Clear ( ) : void

Clears the contents of the control,

GetValues ( ) : WriteValueCollection

Returns the items in the control.

Initialize ( Session session, WriteValueCollection values ) : void

Sets the nodes in the control.

WriteValueListCtrl ( ) : 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

Handles a drop event.

PickItems ( ) : void
UpdateItem ( ListViewItem listItem, object item ) : void

Private Methods

Method Description
DeleteMI_Click ( object sender, EventArgs e ) : void
EditMI_Click ( object sender, EventArgs e ) : void
EditValueMI_Click ( object sender, EventArgs e ) : void
GetDefaultValue ( NodeId nodeId, uint attributeId ) : DataValue

Returns a default value for the node.

InitializeComponent ( ) : void

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

NewMI_Click ( object sender, EventArgs e ) : void

Method Details

AddValue() public method

Adds a value to the control.
public AddValue ( 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

GetValues() public method

Returns the items in the control.
public GetValues ( ) : WriteValueCollection
return WriteValueCollection

Initialize() public method

Sets the nodes in the control.
public Initialize ( Session session, WriteValueCollection values ) : void
session Session
values WriteValueCollection
return void

ItemsLV_DragDrop() protected method

Handles a drop event.
protected ItemsLV_DragDrop ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
return void

PickItems() protected method

protected PickItems ( ) : void
return void

UpdateItem() protected method

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

WriteValueListCtrl() public method

public WriteValueListCtrl ( ) : System
return System