From 334b16b4abb4cbe3d1d4e4f211efd6f4468ae09f Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 19 九月 2025 15:12:52 +0800
Subject: [PATCH] 1.ControlJob和ProcessJob的中断操作,强制结批增加字符串描述原因,方便生产跟踪。

---
 SourceCode/Bond/Servo/CControlJob.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CControlJob.h b/SourceCode/Bond/Servo/CControlJob.h
index 9c85607..30e4184 100644
--- a/SourceCode/Bond/Servo/CControlJob.h
+++ b/SourceCode/Bond/Servo/CControlJob.h
@@ -71,6 +71,7 @@
             const std::function<bool(const std::string&)>& canJoinFn
         );
         const std::vector<ValidationIssue>& CControlJob::issues();
+        void clearIssues();
 
         // —— S14F9 → S14F10 的“应用结果”模型 —— //
         struct CreateRequest {
@@ -97,7 +98,7 @@
         bool pause();          // Executing -> Paused
         bool resume();         // Paused -> Executing
         bool complete();       // Executing/Paused -> Completed
-        bool abort();          // 非终态 -> Aborted
+        bool abort(std::string reason);          // 非终态 -> Aborted
         bool fail(std::string reason); // 任意 -> Failed
 
         const std::string& failReason() const noexcept { return m_failReason; }

--
Gitblit v1.9.3