From 39e5424c8ce474c09ef9939f28e07232dedf3113 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 03 四月 2025 15:13:15 +0800
Subject: [PATCH] 1. 添加生产履历的报表的界面,并且绑定生产履历的报表管理器

---
 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