From 6398b86008d9511e6d3245919f0d3b5761a3f9a3 Mon Sep 17 00:00:00 2001 From: xyy <544939200@qq.com> Date: Wed, 7 Jan 2026 15:07:11 +0800 Subject: [PATCH] --- .../外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs index de28f88..f9ff7d5 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs @@ -810,8 +810,8 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 private void PenetrationForm_Load(object sender, EventArgs e) { - string plcIp = "192.168.1.10"; - //string plcIp = "127.0.0.1"; + //string plcIp = "192.168.1.10"; + string plcIp = "127.0.0.1"; bool initSuccess = Data.ModbusResourceManager.Instance.Init(plcIp, 502); if (!initSuccess) { @@ -1154,7 +1154,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 } else { - uiLabel23.Text = $"{powerValue:F3} W"; + uiLabel23.Text = $"{powerValue:F3} "; } _waitingResponse = false; @@ -1168,7 +1168,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 { if (ShouldFilterPowerValue(power)) { - WriteToLog($"过滤噪声值: {power:F3} W"); + WriteToLog($"过滤噪声值: {power:F3} "); uiLabel23.Text = "0.000"; } else