Esempio n. 1
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4520_CP.Si4520_ConfigurationSetting cfgSetting, CheckBox chbEnPrescaller, TextBox txbDataRateDiv, TextBox txbDataRate, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._chbEnPrescaller = chbEnPrescaller;
     this._txbDataRateDiv = txbDataRateDiv;
     this._txbDataRate = txbDataRate;
     this._txbCommand = txbCommand;
     this._chbEnPrescaller.CheckedChanged += new EventHandler(this._chbEnPrescaller_CheckedChanged);
     this._txbDataRateDiv.Leave += new EventHandler(this._txbDataRateDiv_Leave);
     this._txbDataRateDiv.KeyPress += new KeyPressEventHandler(this._txbDataRateDiv_KeyPress);
     this._txbDataRateDiv.Text = this._div.ToString();
     this.setDataRate();
     this.calcCommand();
     this._isPublishChangeEnabled = true;
 }
Esempio n. 2
0
 public void initialize(string appId, AppWin_Si4520_CP.Si4520_ConfigurationSetting cfgSetting, ComboBox cbbModPol, ComboBox cbbModFreq, ComboBox cbbOutputPower, TextBox txbCommand, CheckBox chbEnManch)
 {
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._cbbModPol = cbbModPol;
     this._cbbModFreq = cbbModFreq;
     this._cbbOutputPower = cbbOutputPower;
     this._txbCommand = txbCommand;
     this._chbEnManch = chbEnManch;
     this._cbbModPol.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._cbbModFreq.SelectedIndexChanged += new EventHandler(this._cbbModFreq_SelectedIndexChanged);
     this._cbbOutputPower.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._chbEnManch.CheckedChanged += new EventHandler(this.controlChanged);
     this._cbbModPol.SelectedIndex = 0;
     this.setModFreqItems();
     this._cbbOutputPower.SelectedIndex = 0;
     this._isPublishChangeEnabled = true;
 }
Esempio n. 3
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4520_CP.Si4520_ConfigurationSetting cfgSetting, AppWin_Si4520_CP.Si4520_PowerManagement powerMan, Label lblSetEnableInfo, TextBox txbWakeUpM, TextBox txbWakeUpR, TextBox txbWakeUpTime, Label lblTimeUnit, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._powerMan = powerMan;
     this._lblSetEnableInfo = lblSetEnableInfo;
     this._txbWakeUpM = txbWakeUpM;
     this._txbWakeUpR = txbWakeUpR;
     this._txbWakeUpTime = txbWakeUpTime;
     this._lblTimeUnit = lblTimeUnit;
     this._txbCommand = txbCommand;
     this._txbWakeUpM.Leave += new EventHandler(this._txbWakeUpM_Leave);
     this._txbWakeUpM.KeyPress += new KeyPressEventHandler(this._txbWakeUpM_KeyPress);
     this._txbWakeUpR.Leave += new EventHandler(this._txbWakeUpR_Leave);
     this._txbWakeUpR.KeyPress += new KeyPressEventHandler(this._txbWakeUpR_KeyPress);
     this._txbWakeUpM.Text = this.WakeUpM.ToString();
     this._txbWakeUpR.Text = this._wakeUpR.ToString();
     this.setWakeUpTime();
     this.calcCommand();
     this._isPublishChangeEnabled = true;
 }
Esempio n. 4
0
 public void initialize(string appId, AppWin_Si4520_CP.Si4520_ConfigurationSetting cfgSetting, ComboBox cbbBasebandBW, ComboBox cbbVDI, ComboBox cbbLNAgain, ComboBox cbbDRSSI, TextBox txbCommand, CheckBox chbEnManch)
 {
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._cbbBasebandBW = cbbBasebandBW;
     this._cbbVDI = cbbVDI;
     this._cbbLNAgain = cbbLNAgain;
     this._cbbDRSSI = cbbDRSSI;
     this._txbCommand = txbCommand;
     this._chbEnManch = chbEnManch;
     this._cbbBasebandBW.SelectedIndexChanged += new EventHandler(this._cbbBasebandBW_SelectedIndexChanged);
     this._cbbVDI.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._cbbLNAgain.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._cbbDRSSI.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._chbEnManch.CheckedChanged += new EventHandler(this.controlChanged);
     this.setBBBWItems();
     this._cbbVDI.SelectedIndex = 0;
     this._cbbLNAgain.SelectedIndex = 0;
     this._cbbDRSSI.SelectedIndex = 0;
     this._isPublishChangeEnabled = true;
 }
Esempio n. 5
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4520_CP.Si4520_WakeUpTimer wakeUpTimer, CheckBox chbEnlowDC, TextBox txbDutyUseM, TextBox txbDuty, TextBox txbDutyCalc, TextBox tbxCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._wakeUpTimer = wakeUpTimer;
     this._chbEnlowDC = chbEnlowDC;
     this._txbDutyUseM = txbDutyUseM;
     this._txbDuty = txbDuty;
     this._txbDutyCalc = txbDutyCalc;
     this._txbCommand = tbxCommand;
     this._chbEnlowDC.CheckedChanged += new EventHandler(this._chbEnlowDC_CheckedChanged);
     this._txbDuty.Leave += new EventHandler(this._txbDuty_Leave);
     this._txbDuty.KeyPress += new KeyPressEventHandler(this._txbDuty_KeyPress);
     this._txbDuty.Text = this._duty.ToString();
     this.setDutyCalc();
     this.calcCommand();
     this._isPublishChangeEnabled = true;
 }
Esempio n. 6
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4520_CP.Si4520_ConfigurationSetting cfgSetting, AppWin_Si4520_CP.Si4520_PowerManagement powerMan, Label lblEnableInfo, ComboBox cbbClkOut, TextBox txbLBD, TextBox txbLBDV, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._powerMan = powerMan;
     this._lblEnableInfo = lblEnableInfo;
     this._cbbClkOut = cbbClkOut;
     this._txbLBD = txbLBD;
     this._txbLBDV = txbLBDV;
     this._txbCommand = txbCommand;
     this._cbbClkOut.SelectedIndexChanged += new EventHandler(this._cbbClkOut_SelectedIndexChanged);
     this._txbLBD.Leave += new EventHandler(this._txbLBD_Leave);
     this._txbLBD.KeyPress += new KeyPressEventHandler(this._txbLBD_KeyPress);
     this._txbLBDV.Leave += new EventHandler(this._txbLBDV_Leave);
     this._txbLBDV.KeyPress += new KeyPressEventHandler(this._txbLBDV_KeyPress);
     this.setClkOutItems();
     this._txbLBD.Text = this._lbdc.ToString();
     this.validate_lbdTextChange();
     this.enableLowBattDet(this._lowBattDetEnabled);
     this._isPublishChangeEnabled = true;
 }
Esempio n. 7
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4520_CP.Si4520_ConfigurationSetting cfgSetting, TextBox txbFreqCenter, TextBox txbFreqStep, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._txbFreqCenter = txbFreqCenter;
     this._txbFreqStep = txbFreqStep;
     this._txbCommand = txbCommand;
     this._txbFreqCenter.Leave += new EventHandler(this._txbFreqCenter_Leave);
     this._txbFreqCenter.KeyPress += new KeyPressEventHandler(this._txbFreqCenter_KeyPress);
     this.setFreqCenter();
     this.setFreqStep();
     this._isPublishChangeEnabled = true;
 }
Esempio n. 8
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4520_CP.Si4520_SynchronPattern synchPattern, ComboBox cbbSynchPattern, CheckBox chbEnFIFOFill, ComboBox cbbFIFOStart, HScrollBar hsbITlevel, TextBox txbITlevelNr, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._synchPattern = synchPattern;
     this._cbbSynchPattern = cbbSynchPattern;
     this._chbEnFIFOFill = chbEnFIFOFill;
     this._cbbFIFOStart = cbbFIFOStart;
     this._hsbITlevel = hsbITlevel;
     this._txbITlevelNr = txbITlevelNr;
     this._txbCommand = txbCommand;
     this._chbEnFIFOFill.CheckedChanged += new EventHandler(this.controlChanged);
     this._cbbSynchPattern.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._cbbFIFOStart.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._hsbITlevel.ValueChanged += new EventHandler(this._hsbITlevel_ValueChanged);
     this._txbITlevelNr.Leave += new EventHandler(this._txbITlevelNr_Leave);
     this._txbITlevelNr.KeyPress += new KeyPressEventHandler(this._txbITlevelNr_KeyPress);
     this._cbbFIFOStart.SelectedIndex = 0;
     this.setSynchPatternItems();
     this._hsbITlevel.Value = 8;
     this._isPublishChangeEnabled = true;
 }