#pragma once #include #include namespace SERVO { class CJobDataB { public: CJobDataB(); ~CJobDataB(); public: short getPortNo(); std::string& getCarrierId(); std::string& getPruductId(); short getCarrierState(); std::string& getCarrierStateDescription(std::string& strDescription); int getSlotMapping(); int getSlotSelectedFlag(); std::vector& getGlassIds(); int serialize(char* pszBuffer, int nBufferSize); int unserialize(char* pszBuffer, int nBufferSize); private: short m_nPortNo; std::string m_strCarrierId; std::string m_pruductId; short m_nCarrierState; int m_nSlotMapping; int m_nSlotSelectedFlag; std::vector m_glassIds; }; }