From 1c8098f74227411b5417c560eb7e6d7c0a61ae6e Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 04 九月 2025 16:28:52 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/CMaster.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CMaster.h b/SourceCode/Bond/Servo/CMaster.h
index 631ff24..2d4d697 100644
--- a/SourceCode/Bond/Servo/CMaster.h
+++ b/SourceCode/Bond/Servo/CMaster.h
@@ -65,8 +65,12 @@
         ONROBOTTASKEVENT        onRobotTaskEvent;
         ONLOADPORTSTATUSCHANGED	onLoadPortStatusChanged;
         ONCTROUNDEND            onCTRoundEnd;
+        ONPJSTART               onCjStart;
+        ONPJSTART               onCjEnd;
         ONPJSTART               onPjStart;
         ONPJSTART               onPjEnd;
+        ONPJSTART               onPanelStart;
+        ONPJSTART               onPanelEnd;
     } MasterListener;
 
     class CMaster : public IResourceView
@@ -167,7 +171,9 @@
         bool addGlassToQueue(CGlass* pGlass);
         bool glassFromQueueToInPorcess(CGlass* pGlass);
         bool glassFromInPorcessToComplete(CGlass* pGlass);
+        bool processJobFromInPorcessToComplete(CProcessJob* pProcessJob);
         bool checkAndUpdatePjComplete(CProcessJob* pJob);
+        bool checkAndUpdateCjComplete(CControlJob* pJob);
         CProcessJob* getGlassProcessJob(CGlass* pGlass);
 
 
@@ -217,6 +223,7 @@
 
         // 新增已经开始处理的ProcessJob列表
         std::vector<CProcessJob*> m_inProcesJobs;
+        std::vector<CProcessJob*> m_completeProcessJobs;
         std::vector<CGlass*> m_queueGlasses;
         std::vector<CGlass*> m_inProcesGlasses;
         std::vector<CGlass*> m_completeGlasses;
@@ -227,6 +234,8 @@
         SERVO::CControlJob* m_pControlJob;
         std::vector<SERVO::CProcessJob*> m_processJobs;
         std::string m_strStatePath;
+
+        int m_nTestFlag;
     };
 }
 

--
Gitblit v1.9.3