Beispiel #1
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4021_CP.Si4021_ConfigurationSetting cfgSetting, AppWin_Si4021_CP.Si4021_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.enableWakeUpTime(this._wakeUpTimerEnabled);
     this.calcCommand();
     this._isPublishChangeEnabled = true;
 }
Beispiel #2
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4021_CP.Si4021_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;
 }
Beispiel #3
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4021_CP.Si4021_ConfigurationSetting cfgSetting, AppWin_Si4021_CP.Si4021_PowerManagement powerMan, Label lblEnableInfo, TextBox txbLBD, TextBox txbLBDV, CheckBox chbDisWUTCalibr, CheckBox chbEnTXBitSynch, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._powerMan = powerMan;
     this._lblEnableInfo = lblEnableInfo;
     this._txbLBD = txbLBD;
     this._txbLBDV = txbLBDV;
     this._chbDisWUTCalibr = chbDisWUTCalibr;
     this._chbEnTXBitSynch = chbEnTXBitSynch;
     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._chbDisWUTCalibr.CheckedChanged += new EventHandler(this.controlChanged);
     this._chbEnTXBitSynch.CheckedChanged += new EventHandler(this.controlChanged);
     this._txbLBD.Text = this._lbdc.ToString();
     this.validate_lbdTextChange();
     this.enableLowBattDet(this._lowBattDetEnabled);
     this._chbDisWUTCalibr.Enabled = this._wakeUpTimerEnabled;
     this._isPublishChangeEnabled = true;
 }
Beispiel #4
0
 public void initialize(Form appMainWin, string appId, AppWin_Si4021_CP.Si4021_ConfigurationSetting cfgSetting, TextBox txbDataRateDiv, TextBox txbDataRate, TextBox txbCommand)
 {
     this._appMainWin = appMainWin;
     this._appId = appId;
     this._cfgSetting = cfgSetting;
     this._txbDataRateDiv = txbDataRateDiv;
     this._txbDataRate = txbDataRate;
     this._txbCommand = txbCommand;
     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;
 }