From 1bc4fecb9cc1641ed3ad0a2fda30766fc06fb13e Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 01 四月 2025 16:05:07 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/CEFEM.cpp |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEFEM.cpp b/SourceCode/Bond/Servo/CEFEM.cpp
index 665aa25..6b0548f 100644
--- a/SourceCode/Bond/Servo/CEFEM.cpp
+++ b/SourceCode/Bond/Servo/CEFEM.cpp
@@ -1,8 +1,9 @@
 #include "stdafx.h"
 #include "CEFEM.h"
 
+
 namespace SERVO {
-	CEFEM::CEFEM()
+	CEFEM::CEFEM() : CEquipment()
 	{
 
 	}
@@ -28,6 +29,13 @@
 		CEquipment::term();
 	}
 
+	// 必须要实现的虚函数,在此初始化Pin列表
+	void CEFEM::initPins()
+	{
+		// 加入Pin初始化代码
+		LOGI("<CEFEM>initPins");
+	}
+
 	void CEFEM::onTimer(UINT nTimerid)
 	{
 		CEquipment::onTimer(nTimerid);
@@ -37,4 +45,24 @@
 	{
 		CEquipment::serialize(ar);
 	}
+
+	void CEFEM::getAttributeVector(CAttributeVector& attrubutes)
+	{
+		__super::getAttributeVector(attrubutes);
+	}
+
+	int CEFEM::recvIntent(CPin* pPin, CIntent* pIntent)
+	{
+		return __super::recvIntent(pPin, pIntent);
+	}
+
+	BOOL CEFEM::glassWillArrive(CGlass* pGlass)
+	{
+		BOOL bRet = __super::glassWillArrive(pGlass);
+		if (!bRet) {
+			return FALSE;
+		}
+
+		return m_glassList.empty();
+	}
 }

--
Gitblit v1.9.3