From bc7f1c4e028e69be51079b59dae4ae5c4d43f5bb Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期六, 31 一月 2026 21:54:56 +0800
Subject: [PATCH] 1.状态指示图,目前灰色表示掉线,绿色表示在线。增加Slot的小点表示有没有料,及加工状态 。 2.增加图示

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

diff --git a/SourceCode/Bond/Servo/CControlJob.h b/SourceCode/Bond/Servo/CControlJob.h
index 9c85607..1c391e1 100644
--- a/SourceCode/Bond/Servo/CControlJob.h
+++ b/SourceCode/Bond/Servo/CControlJob.h
@@ -42,6 +42,7 @@
 
         // —— 基本属性 —— //
         const std::string& id()     const noexcept { return m_cjId; }
+        void setId(std::string& id);
         CJState            state()  const noexcept { return m_state; }
         uint8_t            priority() const noexcept { return m_priority; }
         void               setPriority(uint8_t p) noexcept { m_priority = p; }
@@ -71,6 +72,7 @@
             const std::function<bool(const std::string&)>& canJoinFn
         );
         const std::vector<ValidationIssue>& CControlJob::issues();
+        void clearIssues();
 
         // —— S14F9 → S14F10 的“应用结果”模型 —— //
         struct CreateRequest {
@@ -97,7 +99,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