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/CMaster.h |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CMaster.h b/SourceCode/Bond/Servo/CMaster.h
index 8536ab2..6a17fb1 100644
--- a/SourceCode/Bond/Servo/CMaster.h
+++ b/SourceCode/Bond/Servo/CMaster.h
@@ -131,6 +131,8 @@
         bool loadState(const std::string& path);
         int getWipGlasses(std::vector<CGlass*>& glasses);
         void test();
+        bool moveGlassToBuf(int eqid, int slotNo);
+        bool moveGlassToSlot(int eqid, int slotNo);
         int getPortCassetteSnSeed(int port);
         void setPortCassetteSnSeed(int port, int seed);
 
@@ -188,7 +190,10 @@
         bool checkAndUpdatePjComplete(CProcessJob* pJob);
         bool checkAndUpdateCjComplete(CControlJob* pJob);
         CProcessJob* getGlassProcessJob(CGlass* pGlass);
-
+        bool completeControlJob(std::string description);
+        bool canCreateControlJob();
+        bool canCompleteControlJob();
+        bool canDeleteControlJob();
 
     private:
         CRITICAL_SECTION m_criticalSection;
@@ -233,6 +238,8 @@
         // 千传圈数计数
         int m_nContinuousTransferCount;
         int m_nContinuousTransferStep;
+        int m_nContinuousWorkingPort;
+        int m_nContinuousWorkingSlot;
 
         // 新增已经开始处理的ProcessJob列表
         std::vector<CProcessJob*> m_inProcesJobs;
@@ -249,6 +256,7 @@
         std::string m_strStatePath;
 
         int m_nTestFlag;
+        std::list<CGlass*> m_bufGlass;
     };
 }
 

--
Gitblit v1.9.3