コード例 #1
0
 private void UpdateDialogFromDevice()
 {
     m_sAnalyzerBottomAmplitude.Text = ConvertToCurrentAmplitudeString(m_objRFEAnalyzer.AmplitudeBottomDBM);
     m_sAnalyzerTopAmplitude.Text    = ConvertToCurrentAmplitudeString(m_objRFEAnalyzer.AmplitudeTopDBM);
     m_sAnalyzerStartFreq.Text       = m_objRFEAnalyzer.StartFrequencyMHZ.ToString("f3");
     m_sAnalyzerEndFreq.Text         = m_objRFEAnalyzer.CalculateEndFrequencyMHZ().ToString("f3");
     m_sAnalyzerCenterFreq.Text      = m_objRFEAnalyzer.CalculateCenterFrequencyMHZ().ToString("f3");
     m_sAnalyzerFreqSpan.Text        = m_objRFEAnalyzer.CalculateFrequencySpanMHZ().ToString("f3");
 }