From d68541dce155a682f65b7c3fbfbfbeef17ea5b8f Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期一, 12 五月 2025 12:00:41 +0800 Subject: [PATCH] 1.StoredJob, Fetched out Job实现; 2.CStep增加定制的Attribute, 以便通过的Step不使用getAttributeVector也能添加不一样的Attribute; --- SourceCode/Bond/Servo/CJobDataS.h | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/CJobDataS.h b/SourceCode/Bond/Servo/CJobDataS.h index 757832a..62087b4 100644 --- a/SourceCode/Bond/Servo/CJobDataS.h +++ b/SourceCode/Bond/Servo/CJobDataS.h @@ -23,6 +23,30 @@ 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(); @@ -43,6 +67,9 @@ void setTargetPortNo(int no); int getTargetSlotNo(); void setTargetSlotNo(int no); + int serialize(char* pszBuffer, int nBufferSize); + int unserialize(const char* pszBuffer, int nBufferSize); + private: int m_nCassetteSequenceNo; -- Gitblit v1.9.3