Esempio n. 1
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4020_CP.Si4020_ConfigurationSetting cfgSetting, AppWin_Si4020_CP.Si4020_PowerManagement powerMan, Label lblEnableInfo, TextBox txbLBD, TextBox txbLBDV, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._powerMan = powerMan;
     this._lblEnableInfo = lblEnableInfo;
     this._txbLBD = txbLBD;
     this._txbLBDV = txbLBDV;
     this._txbCommand = txbCommand;
     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._txbLBD.Text = this._lbdc.ToString();
     this.validate_lbdTextChange();
     this.enableLowBattDet(this._lowBattDetEnabled);
     this._isPublishChangeEnabled = true;
 }
Esempio n. 2
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4020_CP.Si4020_ConfigurationSetting cfgSetting, AppWin_Si4020_CP.Si4020_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. 3
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4020_CP.Si4020_PowerManagement powerMan, RadioButton rdbBand315, RadioButton rdbBand433, RadioButton rdbBand868, RadioButton rdbBand915, RadioButton rdbStdCrystal, RadioButton rdbNonStdCrystal, TextBox txbCrystalFreq, ComboBox cbbClkOut, ComboBox cbbCxtal, ComboBox cbbModPol, ComboBox cbbModFreq, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._powerMan = powerMan;
     this._rdbBand315 = rdbBand315;
     this._rdbBand433 = rdbBand433;
     this._rdbBand868 = rdbBand868;
     this._rdbBand915 = rdbBand915;
     this._rdbStdCrystal = rdbStdCrystal;
     this._rdbNonStdCrystal = rdbNonStdCrystal;
     this._txbCrystalFreq = txbCrystalFreq;
     this._cbbClkOut = cbbClkOut;
     this._cbbCxtal = cbbCxtal;
     this._cbbModPol = cbbModPol;
     this._cbbModFreq = cbbModFreq;
     this._txbCommand = txbCommand;
     this._rdbBand315.CheckedChanged += new EventHandler(this._rdbBand315_CheckedChanged);
     this._rdbBand433.CheckedChanged += new EventHandler(this._rdbBand433_CheckedChanged);
     this._rdbBand868.CheckedChanged += new EventHandler(this._rdbBand868_CheckedChanged);
     this._rdbBand915.CheckedChanged += new EventHandler(this._rdbBand915_CheckedChanged);
     this._rdbStdCrystal.CheckedChanged += new EventHandler(this._rdbStdCrystal_CheckedChanged);
     this._rdbNonStdCrystal.CheckedChanged += new EventHandler(this._rdbNonStdCrystal_CheckedChanged);
     this._txbCrystalFreq.Leave += new EventHandler(this._txbCrystalFreq_Leave);
     this._txbCrystalFreq.KeyPress += new KeyPressEventHandler(this._txbCrystalFreq_KeyPress);
     this._cbbClkOut.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._cbbCxtal.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._cbbModPol.SelectedIndexChanged += new EventHandler(this.controlChanged);
     this._cbbModFreq.SelectedIndexChanged += new EventHandler(this._cbbModFreq_SelectedIndexChanged);
     this._txbCrystalFreq.Text = "10";
     this.setClkOutItems();
     this._cbbCxtal.SelectedIndex = 8;
     this.setModFreqItems();
     this._cbbModPol.SelectedIndex = 0;
     this._isPublishChangeEnabled = true;
 }