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

ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
AddValueId ( ReferenceDescription reference ) : void

Adds a value to the control.

Clear ( ) : void

Clears the contents of the control,

GetValueIds ( ) : ReadValueIdCollection

Returns the items in the control.

Initialize ( Session session, ReadValueIdCollection valueIds ) : void

Sets the nodes in the control.

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

AddValueId() public method

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

GetValueIds() public method

Returns the items in the control.
public GetValueIds ( ) : ReadValueIdCollection
return ReadValueIdCollection

Initialize() public method

Sets the nodes in the control.
public Initialize ( Session session, ReadValueIdCollection valueIds ) : void
session Session
valueIds ReadValueIdCollection
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

ReadValueListCtrl() public method

public ReadValueListCtrl ( ) : System
return System

UpdateItem() protected method

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