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

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

Public Methods

Method Description
AttributeListCtrl ( ) : System
Clear ( ) : void

Clears the contents of the control,

Initialize ( Session session, ExpandedNodeId nodeId ) : void

Sets the nodes in the control.

Protected Methods

Method Description
EnableMenuItems ( ListViewItem clickedItem ) : void
GetDataToDrag ( ) : object
PickItems ( ) : void
UpdateItem ( ListViewItem listItem, object item ) : void

Private Methods

Method Description
AddAttributes ( ) : void

Adds the attributes to the control.

AddProperties ( ) : void

Adds the properties to the control.

AddReferences ( NodeId referenceTypeId, BrowseDirection browseDirection ) : void

Adds the targets of references to the control.

EditMI_Click ( object sender, EventArgs e ) : void
FormatAttributeValue ( uint attributeId, object value ) : string

Formats the value of an attribute.

Method Details

AttributeListCtrl() public method

public AttributeListCtrl ( ) : System
return System

Clear() public method

Clears the contents of the control,
public Clear ( ) : void
return void

EnableMenuItems() protected method

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

GetDataToDrag() protected method

protected GetDataToDrag ( ) : object
return object

Initialize() public method

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