提交当前本机整理版本
This commit is contained in:
@@ -370,4 +370,33 @@ namespace Lskj.PubGetChipInfo
|
||||
{
|
||||
if (txtEdit_info.InvokeRequired)
|
||||
{
|
||||
|
||||
txtEdit_info.Invoke(new Action(() =>
|
||||
{
|
||||
txtEdit_info.Text = text;
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
txtEdit_info.Text = text;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 串口改变时
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void OnPortNumSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
IniHelper.Write(string.Format("PubGetChipInfo_PortNum_{0}", this.GetChipInfoModel.ModuleCode), com_PortNum.Text);
|
||||
}
|
||||
/// <summary>
|
||||
/// 波特率改变时
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void OnBpsSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
IniHelper.Write(string.Format("PubGetChipInfo_Bps_{0}", this.GetChipInfoModel.ModuleCode), com_Bps.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user