diff --git a/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/CodeChunks.db b/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/CodeChunks.db index 864db64..a96199c 100644 Binary files a/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/CodeChunks.db and b/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/CodeChunks.db differ diff --git a/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/SemanticSymbols.db b/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/SemanticSymbols.db index 3773c5f..f6087ee 100644 Binary files a/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/SemanticSymbols.db and b/外科辅料和患者防护罩激光抗性测试仪/.vs/外科辅料和患者防护罩激光抗性测试仪/CopilotIndices/18.0.988.22099/SemanticSymbols.db differ diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs index bafbde2..bcfa0b7 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PenetrationForm.cs @@ -1815,6 +1815,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 private void PrimaryIgnitionForm_FormClosing(object sender, FormClosingEventArgs e) { + _modbusMaster?.WriteSingleRegister(1, 2, 0); // 停止定时器 if (_readtimer != null) { diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PrimaryIgnitionForm.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PrimaryIgnitionForm.cs index e5eeba1..44099c0 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PrimaryIgnitionForm.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/PrimaryIgnitionForm.cs @@ -1167,7 +1167,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 private void PrimaryIgnitionForm_FormClosing(object sender, FormClosingEventArgs e) { - + _modbusMaster?.WriteSingleRegister(1, 2, 0); if (_readtimer != null) { _readtimer.Stop(); diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs index 7820fd3..adfd999 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs @@ -664,6 +664,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 private void SecondaryIgnitionForm_FormClosing(object sender, FormClosingEventArgs e) { + _modbusMaster?.WriteSingleRegister(1, 2, 0); if (_readtimer != null) { _readtimer.Stop();