LAPTOP-SNT8I5JK\Boounion
2025-04-25 33f077385d8f15b0aec64e5be280738f451d6ae1
1.补充完善CJobDataS的函数;
已修改2个文件
150 ■■■■■ 文件已修改
SourceCode/Bond/Servo/CJobDataS.cpp 126 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/Servo/CJobDataS.h 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/Servo/CJobDataS.cpp
@@ -102,6 +102,132 @@
        m_strGlass2Id = pszId;
    }
    int CJobDataS::getJobType()
    {
        return m_nJobType;
    }
    void CJobDataS::setJobType(int type)
    {
        m_nJobType = type;
    }
    int CJobDataS::getMaterialsType()
    {
        return m_nMaterialsType;
    }
    void CJobDataS::setMaterialsType(int type)
    {
        m_nMaterialsType = type;
    }
    int CJobDataS::getProductType()
    {
        return m_nProductType;
    }
    void CJobDataS::setProductType(int type)
    {
        m_nProductType = type;
    }
    int CJobDataS::getDummyType()
    {
        return m_nDummyType;
    }
    void CJobDataS::setDummyType(int type)
    {
        m_nDummyType = type;
    }
    int CJobDataS::getSkipFlag()
    {
        return m_nSkipFlag;
    }
    void CJobDataS::setSkipFlag(int flag)
    {
        m_nSkipFlag = flag;
    }
    int CJobDataS::getProcessFlag()
    {
        return m_nProcessFlag;
    }
    void CJobDataS::setProcessFlag(int flag)
    {
        m_nProcessFlag = flag;
    }
    int CJobDataS::getProcessResonCode()
    {
        return m_nProcessResonCode;
    }
    void CJobDataS::setProcessResonCode(int code)
    {
        m_nProcessResonCode = code;
    }
    int CJobDataS::getLastGlassFlag()
    {
        return m_nLastGlassFlag;
    }
    void CJobDataS::setLastGlassFlag(int flag)
    {
        m_nLastGlassFlag = flag;
    }
    int CJobDataS::getFirstGlassFlag()
    {
        return m_nFirstGlassFlag;
    }
    void CJobDataS::setFirstGlassFlag(int flag)
    {
        m_nFirstGlassFlag = flag;
    }
    int CJobDataS::getQTime(int index)
    {
        if (0 <= index && index <= 2) {
            return m_nQTime[index];
        }
        return 0;
    }
    void CJobDataS::setQTime(int index, int time)
    {
        if (0 <= index && index <= 2) {
            m_nQTime[index] = time;
        }
    }
    int CJobDataS::getQTimeOverFlag()
    {
        return m_nQTimeOverFlag;
    }
    void CJobDataS::setQTimeOverFlag(int flag)
    {
        m_nQTimeOverFlag = flag;
    }
    int CJobDataS::getMasterRecipe()
    {
        return m_nMasterRecipe;
    }
    void CJobDataS::setMasterRecipe(int recipe)
    {
        m_nMasterRecipe = recipe;
    }
    std::string& CJobDataS::getProductRecipeId()
    {
        return m_strProductRecipeId;
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();