#include "stdafx.h"
|
#include "CVacuumBake.h"
|
|
namespace SERVO {
|
CVacuumBake::CVacuumBake() : CEquipment()
|
{
|
|
}
|
|
CVacuumBake::~CVacuumBake()
|
{
|
|
}
|
|
const char* CVacuumBake::getClassName()
|
{
|
static char* pszName = "CVacuumBake";
|
return pszName;
|
}
|
|
void CVacuumBake::init()
|
{
|
CEquipment::init();
|
}
|
|
void CVacuumBake::term()
|
{
|
CEquipment::term();
|
}
|
|
// ±ØÐëҪʵÏÖµÄÐ麯Êý£¬Ôڴ˳õʼ»¯PinÁбí
|
void CVacuumBake::initPins()
|
{
|
// ¼ÓÈëPin³õʼ»¯´úÂë
|
LOGI("<CVacuumBake>initPins");
|
addPin(SERVO::PinType::INPUT, _T("In1"));
|
addPin(SERVO::PinType::INPUT, _T("In2"));
|
addPin(SERVO::PinType::OUTPUT, _T("Out"));
|
}
|
|
void CVacuumBake::onTimer(UINT nTimerid)
|
{
|
CEquipment::onTimer(nTimerid);
|
}
|
|
void CVacuumBake::serialize(CArchive& ar)
|
{
|
CEquipment::serialize(ar);
|
}
|
|
void CVacuumBake::getAttributeVector(CAttributeVector& attrubutes)
|
{
|
__super::getAttributeVector(attrubutes);
|
}
|
|
int CVacuumBake::recvIntent(CPin* pPin, CIntent* pIntent)
|
{
|
return __super::recvIntent(pPin, pIntent);
|
}
|
|
BOOL CVacuumBake::glassWillArrive(CGlass* pGlass)
|
{
|
BOOL bRet = __super::glassWillArrive(pGlass);
|
if (!bRet) {
|
return FALSE;
|
}
|
|
return m_glassList.empty();
|
}
|
}
|