SetTOFStatus() public method

public SetTOFStatus ( string text ) : void
text string
return void
コード例 #1
0
ファイル: StandardViewer.cs プロジェクト: eedm/EDMSuite
 // 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();
     }
 }