#include "stdafx.h"
|
#include "CArmTray.h"
|
|
|
namespace SERVO {
|
CArmTray::CArmTray() : CEquipment()
|
{
|
}
|
|
CArmTray::~CArmTray()
|
{
|
|
}
|
|
const char* CArmTray::getClassName()
|
{
|
static char* pszName = "CArmTray";
|
return pszName;
|
}
|
|
void CArmTray::init()
|
{
|
CEquipment::init();
|
}
|
|
void CArmTray::term()
|
{
|
CEquipment::term();
|
}
|
|
// ±ØÐëҪʵÏÖµÄÐ麯Êý£¬Ôڴ˳õʼ»¯PinÁбí
|
void CArmTray::initPins()
|
{
|
|
}
|
|
// ±ØÐëҪʵÏÖµÄÐ麯Êý£¬Ôڴ˳õʼ»¯SlotÐÅÏ¢
|
void CArmTray::initSlots()
|
{
|
m_slot[0].enable();
|
m_slot[0].setPosition(m_nID);
|
m_slot[0].setNo(1);
|
m_slot[0].setName("Slot 1");
|
m_slot[1].enable();
|
m_slot[1].setPosition(m_nID);
|
m_slot[1].setNo(2);
|
m_slot[1].setName("Slot 2");
|
}
|
|
void CArmTray::onTimer(UINT nTimerid)
|
{
|
CEquipment::onTimer(nTimerid);
|
}
|
|
void CArmTray::serialize(CArchive& ar)
|
{
|
CEquipment::serialize(ar);
|
}
|
|
void CArmTray::getAttributeVector(CAttributeVector& attrubutes)
|
{
|
__super::getAttributeVector(attrubutes);
|
}
|
|
int CArmTray::recvIntent(CPin* pPin, CIntent* pIntent)
|
{
|
return __super::recvIntent(pPin, pIntent);
|
}
|
}
|