C# Класс MATLABfromCSharp.DataPreferences

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DataPreferences ( MainForm main ) : System

Constructor of the Data Preferences Dialog.

formatToString ( ) : string

Creates the String Representation of the Data Preferences

getDataPref ( ) : int

Gets the integer value for Attribute.GetValues; 0 (raw), negative (sampling), positive (profiled sampling)

setDataPref ( int intervals ) : void

Setups the dialog, to select the correct radio button, based on the integer.

setupDataPreferences ( string format ) : void

Parses the string representation of the DataPreferences and setup Dialog.

if string contains "ts" then timestamp is used if string contains a number, then setups the raw/sample/profiled sample choice.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
DataPreferences_FormClosing ( object sender, FormClosingEventArgs e ) : void

Passes the Data Preferences before closing.

DataRadio_CheckedChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

checkTimestamps_CheckedChanged ( object sender, EventArgs e ) : void
okDataButton_Click ( object sender, EventArgs e ) : void

Описание методов

DataPreferences() публичный Метод

Constructor of the Data Preferences Dialog.
public DataPreferences ( MainForm main ) : System
main MainForm The MainForm, needed to pass changes in the Preferences to the MainControl.
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

formatToString() публичный Метод

Creates the String Representation of the Data Preferences
public formatToString ( ) : string
Результат string

getDataPref() публичный Метод

Gets the integer value for Attribute.GetValues; 0 (raw), negative (sampling), positive (profiled sampling)
public getDataPref ( ) : int
Результат int

setDataPref() публичный Метод

Setups the dialog, to select the correct radio button, based on the integer.
public setDataPref ( int intervals ) : void
intervals int Number of samples or profiled samples wanted. Input into the textbox.
Результат void

setupDataPreferences() публичный Метод

Parses the string representation of the DataPreferences and setup Dialog.
if string contains "ts" then timestamp is used if string contains a number, then setups the raw/sample/profiled sample choice.
public setupDataPreferences ( string format ) : void
format string String representation of the data preferences.
Результат void