From 30847e604bbf072a0b6a4577cf395ff1a617bac3 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 24 七月 2025 08:51:17 +0800
Subject: [PATCH] 1.LoadPort状态变为InUse的时候不自动弹出LoadPort配置对话框; 2.修改调度逻辑,G2和G1分别进入Bonder的间隔不要太长,防止G2先进入Bonder,等待烘烤中的G1太久,在高温Bonder下出问题;

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

diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h
index 3fec1cc..079e4af 100644
--- a/SourceCode/Bond/Servo/CEquipment.h
+++ b/SourceCode/Bond/Servo/CEquipment.h
@@ -55,6 +55,7 @@
 	typedef std::function<BOOL(void* pEiuipment, int port, CJobDataB* pJobDataB, short& putSlot)> ONPRESTOREDJOB;
 	typedef std::function<void(void* pEiuipment, PROCESS_STATE state)> ONPROCESSSTATE;
 	typedef std::function<void(void* pEiuipment, short scanMap, short downMap)> ONMAPMISMATCH;
+	typedef std::function<void(void* pEiuipment, short scanMap)> ONPORTINUSE;
 	typedef struct _EquipmentListener
 	{
 		ONALIVE				onAlive;
@@ -66,6 +67,8 @@
 		ONPRESTOREDJOB		onPreStoredJob;
 		ONPROCESSSTATE		onProcessStateChanged;
 		ONMAPMISMATCH		onMapMismatch;
+		ONPORTINUSE			onPortInUse;
+
 	} EquipmentListener;
 
 
@@ -76,6 +79,8 @@
 		virtual ~CEquipment();
 
 	public:
+		void SetEnable(BOOL bEnable);
+		BOOL IsEnabled() const;
 		virtual const char* getClassName() = 0;
 		virtual void setListener(EquipmentListener listener);
 		void setCcLink(CCCLinkIEControl* pCcLink);
@@ -248,6 +253,7 @@
 		void setProcessState(PROCESS_STATE state);
 
 	protected:
+		BOOL m_bEnable;
 		EquipmentListener m_listener;
 		int m_nID;
 		std::string m_strName;

--
Gitblit v1.9.3