From 613f7d7626c3586843acbaf581615acaaa27c73c Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 23 七月 2025 11:05:22 +0800
Subject: [PATCH] 1.停止任务,不需要停止运行
---
SourceCode/Bond/Servo/ServoDlg.cpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp
index 26b9e62..bde44da 100644
--- a/SourceCode/Bond/Servo/ServoDlg.cpp
+++ b/SourceCode/Bond/Servo/ServoDlg.cpp
@@ -241,6 +241,14 @@
}
}
}
+ else if (RX_CODE_LOADPORT_INUSE == code) {
+ SERVO::CLoadPort* pLoadPort = nullptr;
+ if (pAny->getPtrValue("ptr", (void*&)pLoadPort)) {
+ CPortConfigurationDlg dlg;
+ dlg.setCurSelPort(pLoadPort->getIndex());
+ dlg.DoModal();
+ }
+ }
pAny->release();
}, [&]() -> void {
--
Gitblit v1.9.3