| | |
| | | #pragma once |
| | | #include "CAttributeVector.h" |
| | | #include "CJobDataB.h" |
| | | |
| | | |
| | | #define DEVICE_COUNT 15 |
| | | #define JOBDATAS_SIZE (256 * 2) |
| | | namespace SERVO { |
| | | class CJobDataS |
| | |
| | | void setOwner(void* pOwner); |
| | | void copy(CJobDataS* pScr); |
| | | void update(CJobDataS* pScr); |
| | | int getCassetteSequenceNo(); |
| | | CJobDataB& getJobDataB(CJobDataB& jobDataB); |
| | | int getCassetteSequenceNo() const; |
| | | void setCassetteSequenceNo(int no); |
| | | int getJobSequenceNo(); |
| | | int getJobSequenceNo() const; |
| | | void setJobSequenceNo(int no); |
| | | std::string& getLotId(); |
| | | void setLotId(const char* pszId); |
| | |
| | | void setQTimeOverFlag(int flag); |
| | | int getMasterRecipe(); |
| | | void setMasterRecipe(int recipe); |
| | | std::string& getProductRecipeId(); |
| | | void setProductRecipeId(const char* pszId); |
| | | std::string& getPCode(); |
| | | void setPCode(const char* pszCode); |
| | | std::string& getUseType(); |
| | | void setUseType(const char* pszType); |
| | | short getDeviceRecipeId(int nDeviceIndex) const; |
| | | void setDeviceRecipeId(int nDeviceIndex, short nRecipeId); |
| | | const short* getRecipeIds() const; |
| | | void setRecipeIds(const short* pIds, int nCount); |
| | | std::string& getPanelMeasure(); |
| | | void setPanelMeasure(const char* pszMeasure); |
| | | int getMode(); |
| | |
| | | void setTargetPortNo(int no); |
| | | int getTargetSlotNo(); |
| | | void setTargetSlotNo(int no); |
| | | short getProductJudge() const; |
| | | void setProductJudge(short nProductJudge); |
| | | int serialize(char* pszBuffer, int nBufferSize); |
| | | int unserialize(const char* pszBuffer, int nBufferSize); |
| | | void getAttributeVector(CAttributeVector& attrubutes, int beginWeight); |
| | |
| | | int m_nQTime[3]; |
| | | int m_nQTimeOverFlag; |
| | | int m_nMasterRecipe; |
| | | std::string m_strProductRecipeId; |
| | | std::string m_strPCode; |
| | | std::string m_strUseType; |
| | | short m_nRecipeIds[DEVICE_COUNT]; |
| | | std::string m_strPanelMeasure; |
| | | int m_nMode; |
| | | int m_nSlotUnitSelectFlag; |
| | |
| | | int m_nSourceSlotNo; |
| | | int m_nTargetPortNo; |
| | | int m_nTargetSlotNo; |
| | | short m_nProductJudge; |
| | | |
| | | private: |
| | | char* m_pRawData; |