C# 클래스 MATLABfromCSharp.DataPreferences

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: osisoft/PI-to-MATLAB-Utility 1 사용 예제들

공개 메소드들

메소드 설명
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