#pragma once
|
|
|
#define JOBDATAB_SIZE (14 * 2)
|
namespace SERVO {
|
class CJobDataB
|
{
|
public:
|
CJobDataB();
|
CJobDataB::CJobDataB(CJobDataB&& other) noexcept;
|
virtual ~CJobDataB();
|
|
public:
|
void* getOwner();
|
void setOwner(void* pOwner);
|
void copy(CJobDataB* pScr);
|
int getCassetteSequenceNo();
|
void setCassetteSequenceNo(int no);
|
int getJobSequenceNo();
|
void setJobSequenceNo(int no);
|
std::string& getGlassId();
|
void setGlassId(const char* pszGlassId);
|
int serialize(char* pszBuffer, int nBufferSize);
|
int unserialize(const char* pszBuffer, int nBufferSize);
|
|
private:
|
void* m_pOwner;
|
int m_nCassetteSequenceNo;
|
int m_nJobSequenceNo;
|
std::string m_strGlassId;
|
};
|
}
|