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

Datei anzeigen Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
ChangeSession ( Session session ) : void

Changes the session used.

EditComplexValueDlg ( ) : System

Creates an empty form.

ShowDialog ( Session session, NodeId nodeId, uint attributeId, string name, object value, bool readOnly, string caption ) : object

Prompts the user to view or edit the value.

ShowDialog ( Session session, string name, NodeId dataType, int valueRank, object value, string caption ) : object

Prompts the user to edit the value.

ShowDialog ( TypeInfo expectedType, string name, object value, string caption ) : object

Prompts the user to edit the value.

UpdateValue ( NodeId nodeId, uint attributeId, string name, object value ) : void

Updates the value shown in the control.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BackBTN_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.

OkBTN_Click ( object sender, EventArgs e ) : void
SetTypeBTN_Click ( object sender, EventArgs e ) : void
SetTypeCB_SelectedIndexChanged ( object sender, EventArgs e ) : void
ValueCTRL_ValueChanged ( object sender, EventArgs e ) : void

Method Details

ChangeSession() public method

Changes the session used.
public ChangeSession ( Session session ) : void
session 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

EditComplexValueDlg() public method

Creates an empty form.
public EditComplexValueDlg ( ) : System
return System

ShowDialog() public method

Prompts the user to view or edit the value.
public ShowDialog ( Session session, NodeId nodeId, uint attributeId, string name, object value, bool readOnly, string caption ) : object
session Session
nodeId NodeId
attributeId uint
name string
value object
readOnly bool
caption string
return object

ShowDialog() public method

Prompts the user to edit the value.
public ShowDialog ( Session session, string name, NodeId dataType, int valueRank, object value, string caption ) : object
session Session
name string
dataType NodeId
valueRank int
value object
caption string
return object

ShowDialog() public method

Prompts the user to edit the value.
public ShowDialog ( TypeInfo expectedType, string name, object value, string caption ) : object
expectedType TypeInfo
name string
value object
caption string
return object

UpdateValue() public method

Updates the value shown in the control.
public UpdateValue ( NodeId nodeId, uint attributeId, string name, object value ) : void
nodeId NodeId
attributeId uint
name string
value object
return void