This commit is contained in:
wxt
2026-01-13 17:26:28 +08:00
parent d602f10960
commit 32420657c6
2 changed files with 8 additions and 5 deletions

View File

@@ -1135,6 +1135,7 @@
uiLabel8.TabIndex = 3; uiLabel8.TabIndex = 3;
uiLabel8.Text = "0.0"; uiLabel8.Text = "0.0";
uiLabel8.TextAlign = ContentAlignment.MiddleLeft; uiLabel8.TextAlign = ContentAlignment.MiddleLeft;
// //
// uiLabel9 // uiLabel9
// //

View File

@@ -353,8 +353,8 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
// 添加延迟确保数据稳定 // 添加延迟确保数据稳定
//await Task.Delay(500); //await Task.Delay(500);
//await Task.Delay(500); //await Task.Delay(500);
// 加锁防止异步并发重复执行 //加锁防止异步并发重复执行
await _asyncLock.WaitAsync(); await _asyncLock.WaitAsync();
try try
{ {
// 二次校验,防止锁等待期间状态已变更 // 二次校验,防止锁等待期间状态已变更
@@ -1030,7 +1030,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
//this.comkou.DataSource = SerialPort.GetPortNames(); //this.comkou.DataSource = SerialPort.GetPortNames();
this.comkou.Items.Clear(); this.comkou.Items.Clear();
this.comkou.Items.Add("COM2"); this.comkou.Items.Add("COM11");
this.comkou.SelectedIndex = 0; this.comkou.SelectedIndex = 0;
_readtimer = InitTimer(); _readtimer = InitTimer();
@@ -1674,5 +1674,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
{ {
ma?.BtnClickFunctionForNew(Function.ButtonType., 101);//混氧开关 ma?.BtnClickFunctionForNew(Function.ButtonType., 101);//混氧开关
} }
} }
} }