C# Class MATLABfromCSharp.LogDialog

显示文件 Open project: osisoft/PI-to-MATLAB-Utility Class Usage Examples

Public Methods

Method Description
DeleteListItem ( string selected ) : void

Removes the log Input from the LogSystem and the list view.

EditLog ( string name, string start, string end, LogInput previous ) : void

Resulting Action of editting the List View. 1) Edit the List Item 2) Re-log the item 3) Edit the Matlab workspace.

LogDialog ( MainControl control, MainForm form ) : System

Constructor of the Log Dialog.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Delete_Click ( object sender, EventArgs e ) : void
EditDialog ( string selected ) : void

Opens a LogInput Editor Dialog. Can change the times and the variable name.

Edit_Click ( object sender, EventArgs e ) : void
ImportFileMenuItem_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.

ItemDoubleClick ( object sender, EventArgs e ) : void
LogDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
LogKeyPressed ( object sender, KeyEventArgs e ) : void
OK_Click ( object sender, EventArgs e ) : void
SaveFileMenuItem_Click ( object sender, EventArgs e ) : void
deleteAllLogInputsToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

DeleteListItem() public method

Removes the log Input from the LogSystem and the list view.
public DeleteListItem ( string selected ) : void
selected string Unique variable name of list View Item.
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

EditLog() public method

Resulting Action of editting the List View. 1) Edit the List Item 2) Re-log the item 3) Edit the Matlab workspace.
public EditLog ( string name, string start, string end, LogInput previous ) : void
name string The new variable name. (or the same)
start string The new start time. (or the same)
end string The new end time. (or the same)
previous LogInput
return void

LogDialog() public method

Constructor of the Log Dialog.
public LogDialog ( MainControl control, MainForm form ) : System
control MainControl The Main Control.
form MainForm The Main Form.
return System