SetTOFStatus() public method

public SetTOFStatus ( string text ) : void
text string
return void
Beispiel #1
0
 // The main window calls this when a TOF cursor is moved.
 public void TOFCursorMoved()
 {
     if (Controller.GetController().appState == Controller.AppState.stopped)
     {
         startTOFGate = window.TOFGate.Minimum;
         endTOFGate   = window.TOFGate.Maximum;
         window.SetTOFStatus("S: " + string.Format("{0:N1}", startTOFGate) + " E: " + string.Format("{0:N1}", endTOFGate) + " C: " + string.Format("{0:N1}", (endTOFGate + startTOFGate) / 2) + " L: " + string.Format("{0:N1}", endTOFGate - startTOFGate));
         UpdatePMTAveragePlots();
     }
 }