| | |
| | | #pragma once |
| | | #include "CAttributeVector.h" |
| | | #include "CJobDataB.h" |
| | | |
| | | |
| | | #define JOBDATAS_SIZE (256 * 2) |
| | | namespace SERVO { |
| | | class CJobDataS |
| | | { |
| | | public: |
| | | CJobDataS(); |
| | | ~CJobDataS(); |
| | | CJobDataS::CJobDataS(CJobDataS&& other) noexcept; |
| | | virtual ~CJobDataS(); |
| | | |
| | | public: |
| | | void* getOwner(); |
| | | void setOwner(void* pOwner); |
| | | void copy(CJobDataS* pScr); |
| | | void update(CJobDataS* pScr); |
| | | CJobDataB& getJobDataB(CJobDataB& jobDataB); |
| | | int getCassetteSequenceNo(); |
| | | void setCassetteSequenceNo(int no); |
| | | int getJobSequenceNo(); |
| | |
| | | void setGlass1Id(const char* pszId); |
| | | std::string& getGlass2Id(); |
| | | void setGlass2Id(const char* pszId); |
| | | int getJobType(); |
| | | void setJobType(int type); |
| | | int getMaterialsType(); |
| | | void setMaterialsType(int type); |
| | | int getProductType(); |
| | | void setProductType(int type); |
| | | int getDummyType(); |
| | | void setDummyType(int type); |
| | | int getSkipFlag(); |
| | | void setSkipFlag(int flag); |
| | | int getProcessFlag(); |
| | | void setProcessFlag(int flag); |
| | | int getProcessResonCode(); |
| | | void setProcessResonCode(int code); |
| | | int getLastGlassFlag(); |
| | | void setLastGlassFlag(int flag); |
| | | int getFirstGlassFlag(); |
| | | void setFirstGlassFlag(int flag); |
| | | int getQTime(int index); |
| | | void setQTime(int index, int time); |
| | | int getQTimeOverFlag(); |
| | | void setQTimeOverFlag(int flag); |
| | | int getMasterRecipe(); |
| | | void setMasterRecipe(int recipe); |
| | | std::string& getProductRecipeId(); |
| | | void setProductRecipeId(const char* pszId); |
| | | std::string& getPCode(); |
| | |
| | | void setTargetPortNo(int no); |
| | | int getTargetSlotNo(); |
| | | void setTargetSlotNo(int no); |
| | | int serialize(char* pszBuffer, int nBufferSize); |
| | | int unserialize(const char* pszBuffer, int nBufferSize); |
| | | void getAttributeVector(CAttributeVector& attrubutes, int beginWeight); |
| | | |
| | | |
| | | private: |
| | | void* m_pOwner; |
| | | int m_nCassetteSequenceNo; |
| | | int m_nJobSequenceNo; |
| | | std::string m_strLotId; |
| | |
| | | int m_nSourceSlotNo; |
| | | int m_nTargetPortNo; |
| | | int m_nTargetSlotNo; |
| | | |
| | | private: |
| | | char* m_pRawData; |
| | | }; |
| | | } |
| | | |