C# Class Quickstarts.DataAccessClient.WriteValueDlg

Mostra file Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
ShowDialog ( Session session, NodeId nodeId, uint attributeId ) : bool

Prompts the user to enter a value to write.

WriteValueDlg ( ) : System

Creates an empty form.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ChangeType ( ) : object

Changes the value in the text box to the data type required for the write operation.

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

Parses the value and writes it to server. Closes the dialog if successful.

Method Details

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

ShowDialog() public method

Prompts the user to enter a value to write.
public ShowDialog ( Session session, NodeId nodeId, uint attributeId ) : bool
session Session The session to use.
nodeId NodeId The identifier for the node to write to.
attributeId uint The attribute being written.
return bool

WriteValueDlg() public method

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