C# Класс TransferCavityLock.MainForm

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

Открытые свойства

Свойство Тип Описание
MasterDataPlot NationalInstruments.UI.ScatterPlot
MasterFitPlot NationalInstruments.UI.ScatterPlot
MasterLaserIntensityScatterGraph NationalInstruments.UI.WindowsForms.ScatterGraph
SlaveDataPlot NationalInstruments.UI.ScatterPlot
SlaveFitPlot NationalInstruments.UI.ScatterPlot
SlaveLaserIntensityScatterGraph NationalInstruments.UI.WindowsForms.ScatterGraph
controller Controller

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

Метод Описание
EnableControl ( Control control, bool enabled ) : void
GetGain ( ) : double
GetLaserSetPoint ( ) : double
GetNumberOfPoints ( ) : int
GetScanOffset ( ) : double
GetScanWidth ( ) : double
MainForm ( ) : System

The UI for TransferCavityLock

ScatterGraphPlot ( ScatterGraph graph, ScatterPlot plot, double x, double y ) : void
SetCheckBox ( CheckBox box, bool state ) : void
SetGain ( double value ) : void
SetLED ( Led led, bool val ) : void
SetLaserSetPoint ( double value ) : void
SetLaserVoltage ( double value ) : void
SetNumberOfPoints ( int value ) : void
SetRadioButton ( RadioButton button, bool state ) : void
SetScanOffset ( double value ) : void
SetScanWidth ( double value ) : void
SetSetPointIncrementSize ( double value ) : void
SetTextBox ( TextBox box, string text ) : void
updateUIState ( Controller state ) : void

This controls which parts of the UI are enabled for a given machine state.

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

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

Clean up any resources being used.

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

Метод Описание
EnableControlHelper ( Control control, bool enabled ) : void
GainChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

MainForm_Load ( object sender, EventArgs e ) : void
SetCheckHelper ( CheckBox box, bool state ) : void
SetLedHelper ( Led led, bool val ) : void
SetRadioButtonHelper ( RadioButton button, bool state ) : void
SetTextHelper ( TextBox box, string text ) : void
VoltageToLaserChanged ( object sender, EventArgs e ) : void
fitAndStabilizeEnableCheck_CheckedChanged ( object sender, EventArgs e ) : void
lockEnableCheck_CheckedChanged ( object sender, EventArgs e ) : void
plotScatterGraphHelper ( ScatterPlot plot, double x, double y ) : void
rampStartButton_Click ( object sender, EventArgs e ) : void
rampStopButton_Click ( object sender, EventArgs e ) : void
setPointAdjustMinusButton_Click ( object sender, EventArgs e ) : void
setPointAdjustPlusButton_Click ( object sender, EventArgs e ) : void
setPointIncrementBox_TextChanged ( object sender, EventArgs e ) : void

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

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

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

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

public EnableControl ( Control control, bool enabled ) : void
control System.Windows.Forms.Control
enabled bool
Результат void

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

public GetGain ( ) : double
Результат double

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

public GetLaserSetPoint ( ) : double
Результат double

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

public GetNumberOfPoints ( ) : int
Результат int

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

public GetScanOffset ( ) : double
Результат double

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

public GetScanWidth ( ) : double
Результат double

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

The UI for TransferCavityLock
public MainForm ( ) : System
Результат System

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

public ScatterGraphPlot ( ScatterGraph graph, ScatterPlot plot, double x, double y ) : void
graph ScatterGraph
plot ScatterPlot
x double
y double
Результат void

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

public SetCheckBox ( CheckBox box, bool state ) : void
box System.Windows.Forms.CheckBox
state bool
Результат void

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

public SetGain ( double value ) : void
value double
Результат void

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

public SetLED ( Led led, bool val ) : void
led Led
val bool
Результат void

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

public SetLaserSetPoint ( double value ) : void
value double
Результат void

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

public SetLaserVoltage ( double value ) : void
value double
Результат void

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

public SetNumberOfPoints ( int value ) : void
value int
Результат void

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

public SetRadioButton ( RadioButton button, bool state ) : void
button System.Windows.Forms.RadioButton
state bool
Результат void

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

public SetScanOffset ( double value ) : void
value double
Результат void

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

public SetScanWidth ( double value ) : void
value double
Результат void

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

public SetSetPointIncrementSize ( double value ) : void
value double
Результат void

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

public SetTextBox ( TextBox box, string text ) : void
box System.Windows.Forms.TextBox
text string
Результат void

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

This controls which parts of the UI are enabled for a given machine state.
public updateUIState ( Controller state ) : void
state Controller
Результат void

Описание свойств

MasterDataPlot публичное свойство

public NationalInstruments.UI.ScatterPlot MasterDataPlot
Результат NationalInstruments.UI.ScatterPlot

MasterFitPlot публичное свойство

public NationalInstruments.UI.ScatterPlot MasterFitPlot
Результат NationalInstruments.UI.ScatterPlot

MasterLaserIntensityScatterGraph публичное свойство

public NationalInstruments.UI.WindowsForms.ScatterGraph MasterLaserIntensityScatterGraph
Результат NationalInstruments.UI.WindowsForms.ScatterGraph

SlaveDataPlot публичное свойство

public NationalInstruments.UI.ScatterPlot SlaveDataPlot
Результат NationalInstruments.UI.ScatterPlot

SlaveFitPlot публичное свойство

public NationalInstruments.UI.ScatterPlot SlaveFitPlot
Результат NationalInstruments.UI.ScatterPlot

SlaveLaserIntensityScatterGraph публичное свойство

public NationalInstruments.UI.WindowsForms.ScatterGraph SlaveLaserIntensityScatterGraph
Результат NationalInstruments.UI.WindowsForms.ScatterGraph

controller публичное свойство

public Controller,TransferCavityLock controller
Результат Controller