LAPTOP-SNT8I5JK\Boounion
2025-05-28 c743df7d475735b26395c6ed5c17b4be2d972be2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#pragma once
#include "CAttributeVector.h"
 
 
#define JOBDATAS_SIZE        (256 * 2)
namespace SERVO {
    class CJobDataS
    {
    public:
        CJobDataS();
        CJobDataS::CJobDataS(CJobDataS&& other) noexcept;
        virtual ~CJobDataS();
 
    public:
        void* getOwner();
        void setOwner(void* pOwner);
        void copy(CJobDataS* pScr);
        int getCassetteSequenceNo();
        void setCassetteSequenceNo(int no);
        int getJobSequenceNo();
        void setJobSequenceNo(int no);
        std::string& getLotId();
        void setLotId(const char* pszId);
        std::string& getProductId();
        void setProductId(const char* pszId);
        std::string& getOperationId();
        void setOperationId(const char* pszId);
        std::string& getGlass1Id();
        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 setPCode(const char* pszCode);
        std::string& getUseType();
        void setUseType(const char* pszType);
        std::string& getPanelMeasure();
        void setPanelMeasure(const char* pszMeasure);
        int getMode();
        void setMode(int mode);
        int getSlotUnitSelectFlag();
        void setSlotUnitSelectFlag(int flag);
        int getSourcePortNo();
        void setSourcePortNo(int no);
        int getSourceSlotNo();
        void setSourceSlotNo(int no);
        int getTargetPortNo();
        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;
        std::string m_strProductId;
        std::string m_strOperationId;
        std::string m_strGlass1Id;
        std::string m_strGlass2Id;
        int m_nJobType;
        int m_nMaterialsType;
        int m_nProductType;
        int m_nDummyType;
        int m_nSkipFlag;
        int m_nProcessFlag;
        int m_nProcessResonCode;
        int m_nLastGlassFlag;
        int m_nFirstGlassFlag;
        int m_nQTime[3];
        int m_nQTimeOverFlag;
        int m_nMasterRecipe;
        std::string m_strProductRecipeId;
        std::string m_strPCode;
        std::string m_strUseType;
        std::string m_strPanelMeasure;
        int m_nMode;
        int m_nSlotUnitSelectFlag;
        int m_nSourcePortNo;
        int m_nSourceSlotNo;
        int m_nTargetPortNo;
        int m_nTargetSlotNo;
 
    private:
        char* m_pRawData;
    };
}