C# Class MATLABfromCSharp.LogDialog

Afficher le fichier Open project: osisoft/PI-to-MATLAB-Utility Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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.
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

EditLog() public méthode

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
Résultat void

LogDialog() public méthode

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