C# Class ScanMaster.GUI.StandardViewerWindow

Inheritance: System.Windows.Forms.Form
Show file Open project: ColdMatter/EDMSuite Class Usage Examples

Public Properties

Property Type Description
noiseResultsLabel System.Windows.Forms.Label
spectrumFitFunctionCombo System.Windows.Forms.ComboBox
spectrumFitModeCombo System.Windows.Forms.ComboBox
spectrumFitResultsLabel System.Windows.Forms.Label
tofFitDataSelectCombo System.Windows.Forms.ComboBox
tofFitFunctionCombo System.Windows.Forms.ComboBox
tofFitModeCombo System.Windows.Forms.ComboBox
tofFitResultsLabel System.Windows.Forms.Label

Public Methods

Method Description
AppendToAnalog1 ( double x, double y ) : void
AppendToAnalog2 ( double x, double y ) : void
AppendToDifference ( double x, double y ) : void
AppendToPMTOff ( double x, double y ) : void
AppendToPMTOn ( double x, double y ) : void
ClearAll ( ) : void
ClearRealtimeNotAnalog ( ) : void
ClearRealtimeSpectra ( ) : void
ClearSpectra ( ) : void
ClearSpectrumFit ( ) : void
ClearTOFFit ( ) : void
GetTofFitDataSelection ( ) : int
PlotAverageDifference ( double x, double y ) : void
PlotAverageNormedOffTOF ( TOF t ) : void
PlotAverageNormedOnTOF ( TOF t ) : void
PlotAverageOffTOF ( ArrayList t ) : void
PlotAverageOffTOF ( TOF t ) : void
PlotAverageOnTOF ( ArrayList t ) : void
PlotAverageOnTOF ( TOF t ) : void
PlotAveragePMTOff ( double x, double y ) : void
PlotAveragePMTOn ( double x, double y ) : void
PlotNormedOffTOF ( TOF t ) : void
PlotNormedOnTOF ( TOF t ) : void
PlotOffTOF ( ArrayList t ) : void
PlotOffTOF ( TOF t ) : void
PlotOnTOF ( ArrayList t ) : void
PlotOnTOF ( TOF t ) : void
PlotSpectrumFit ( double x, double y ) : void
PlotTOFFit ( int start, int period, double data ) : void
SetLabel ( Label label, string text ) : void
SetSpectrumFitFunctionComboState ( bool state ) : void
SetStatus ( string text ) : void
SetTOFStatus ( string text ) : void
SetTofFitFunctionComboState ( bool state ) : void
StandardViewerWindow ( StandardViewer viewer ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ClearNIGraph ( Graph graph ) : void
ClearNIPlot ( Graph graph, Plot plot ) : void
GetCursorPosition ( Graph graph, XYCursor cursor ) : double
GetCursorPositionHelper ( XYCursor cursor ) : double
InitializeComponent ( ) : void

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

MoveCursor ( Graph graph, XYCursor cursor, double x ) : void
MoveCursorHelper ( XYCursor cursor, double x ) : void
PMTCursorMoved ( object sender, NationalInstruments e ) : void
PlotXY ( Graph graph, ScatterPlot plot, double x, double y ) : void
PlotXYAppend ( Graph graph, ScatterPlot plot, double x, double y ) : void
PlotY ( Graph graph, WaveformPlot p, double start, double inc, double ydata ) : void
SetGraphXAxisRange ( XYGraph graph, double start, double end ) : void
SetGraphXAxisRangeHelper ( XYGraph graph, double start, double end ) : void
SetLabelHelper ( Label label, string text ) : void
SetStatusHelper ( string text ) : void
SetTOFStatusHelper ( string text ) : void
SpectrumFitComboHelper ( bool state ) : void
StandardViewerWindow_Load ( object sender, EventArgs e ) : void
TOFCursorMoved ( object sender, NationalInstruments e ) : void
TofFitComboHelper ( bool state ) : void
TofFitDataSelectHelper ( ) : int
WindowClosing ( object sender, System e ) : void
defaultGateButton_Click ( object sender, EventArgs e ) : void
spectrumFitFunctionCombo_SelectedIndexChanged ( object sender, System e ) : void
spectrumFitModeCombo_SelectedIndexChanged ( object sender, System e ) : void
tofFitFunctionCombo_SelectedIndexChanged ( object sender, System e ) : void
tofFitModeCombo_SelectedIndexChanged ( object sender, System e ) : void
tofGraph_PlotDataChanged ( object sender, XYPlotDataChangedEventArgs e ) : void
updateNoiseResultsbutton_Click ( object sender, EventArgs e ) : void
updateSpectrumFitButton_Click ( object sender, EventArgs e ) : void
updateTOFFitButton_Click ( object sender, EventArgs e ) : void

Method Details

AppendToAnalog1() public method

public AppendToAnalog1 ( double x, double y ) : void
x double
y double
return void

AppendToAnalog2() public method

public AppendToAnalog2 ( double x, double y ) : void
x double
y double
return void

AppendToDifference() public method

public AppendToDifference ( double x, double y ) : void
x double
y double
return void

AppendToPMTOff() public method

public AppendToPMTOff ( double x, double y ) : void
x double
y double
return void

AppendToPMTOn() public method

public AppendToPMTOn ( double x, double y ) : void
x double
y double
return void

ClearAll() public method

public ClearAll ( ) : void
return void

ClearRealtimeNotAnalog() public method

public ClearRealtimeNotAnalog ( ) : void
return void

ClearRealtimeSpectra() public method

public ClearRealtimeSpectra ( ) : void
return void

ClearSpectra() public method

public ClearSpectra ( ) : void
return void

ClearSpectrumFit() public method

public ClearSpectrumFit ( ) : void
return void

ClearTOFFit() public method

public ClearTOFFit ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetTofFitDataSelection() public method

public GetTofFitDataSelection ( ) : int
return int

PlotAverageDifference() public method

public PlotAverageDifference ( double x, double y ) : void
x double
y double
return void

PlotAverageNormedOffTOF() public method

public PlotAverageNormedOffTOF ( TOF t ) : void
t Data.TOF
return void

PlotAverageNormedOnTOF() public method

public PlotAverageNormedOnTOF ( TOF t ) : void
t Data.TOF
return void

PlotAverageOffTOF() public method

public PlotAverageOffTOF ( ArrayList t ) : void
t System.Collections.ArrayList
return void

PlotAverageOffTOF() public method

public PlotAverageOffTOF ( TOF t ) : void
t Data.TOF
return void

PlotAverageOnTOF() public method

public PlotAverageOnTOF ( ArrayList t ) : void
t System.Collections.ArrayList
return void

PlotAverageOnTOF() public method

public PlotAverageOnTOF ( TOF t ) : void
t Data.TOF
return void

PlotAveragePMTOff() public method

public PlotAveragePMTOff ( double x, double y ) : void
x double
y double
return void

PlotAveragePMTOn() public method

public PlotAveragePMTOn ( double x, double y ) : void
x double
y double
return void

PlotNormedOffTOF() public method

public PlotNormedOffTOF ( TOF t ) : void
t Data.TOF
return void

PlotNormedOnTOF() public method

public PlotNormedOnTOF ( TOF t ) : void
t Data.TOF
return void

PlotOffTOF() public method

public PlotOffTOF ( ArrayList t ) : void
t System.Collections.ArrayList
return void

PlotOffTOF() public method

public PlotOffTOF ( TOF t ) : void
t Data.TOF
return void

PlotOnTOF() public method

public PlotOnTOF ( ArrayList t ) : void
t System.Collections.ArrayList
return void

PlotOnTOF() public method

public PlotOnTOF ( TOF t ) : void
t Data.TOF
return void

PlotSpectrumFit() public method

public PlotSpectrumFit ( double x, double y ) : void
x double
y double
return void

PlotTOFFit() public method

public PlotTOFFit ( int start, int period, double data ) : void
start int
period int
data double
return void

SetLabel() public method

public SetLabel ( Label label, string text ) : void
label System.Windows.Forms.Label
text string
return void

SetSpectrumFitFunctionComboState() public method

public SetSpectrumFitFunctionComboState ( bool state ) : void
state bool
return void

SetStatus() public method

public SetStatus ( string text ) : void
text string
return void

SetTOFStatus() public method

public SetTOFStatus ( string text ) : void
text string
return void

SetTofFitFunctionComboState() public method

public SetTofFitFunctionComboState ( bool state ) : void
state bool
return void

StandardViewerWindow() public method

public StandardViewerWindow ( StandardViewer viewer ) : System
viewer StandardViewer
return System

Property Details

noiseResultsLabel public property

public Label,System.Windows.Forms noiseResultsLabel
return System.Windows.Forms.Label

spectrumFitFunctionCombo public property

public ComboBox,System.Windows.Forms spectrumFitFunctionCombo
return System.Windows.Forms.ComboBox

spectrumFitModeCombo public property

public ComboBox,System.Windows.Forms spectrumFitModeCombo
return System.Windows.Forms.ComboBox

spectrumFitResultsLabel public property

public Label,System.Windows.Forms spectrumFitResultsLabel
return System.Windows.Forms.Label

tofFitDataSelectCombo public property

public ComboBox,System.Windows.Forms tofFitDataSelectCombo
return System.Windows.Forms.ComboBox

tofFitFunctionCombo public property

public ComboBox,System.Windows.Forms tofFitFunctionCombo
return System.Windows.Forms.ComboBox

tofFitModeCombo public property

public ComboBox,System.Windows.Forms tofFitModeCombo
return System.Windows.Forms.ComboBox

tofFitResultsLabel public property

public Label,System.Windows.Forms tofFitResultsLabel
return System.Windows.Forms.Label