LAPTOP-SNT8I5JK\Boounion
2025-05-15 48d848201d91187c21d015ed54c0e5e81ceb2c66
SourceCode/Bond/Servo/CGlass.h
@@ -1,9 +1,20 @@
#pragma once
#include "Context.h"
#include <string>
#include "CPath.h"
#include "CJobDataA.h"
#include "CJobDataB.h"
#include "CJobDataC.h"
#include "CJobDataS.h"
namespace SERVO {
   enum MaterialsType {
      G1 = 0,
      G2 = 1,
      G1G2 = 2
   };
   class CGlass : public CContext
   {
   public:
@@ -13,11 +24,25 @@
   public:
      virtual std::string& getClassName();
      virtual std::string toString();
      MaterialsType getType();
      void setType(MaterialsType type);
      void setID(const char* pszID);
      std::string& getID();
      CPath* getPathWithSiteID(unsigned int nSiteId);
      CPath* getPath();
      void addPath(unsigned int nSiteId);
      void serialize(CArchive& ar);
      void setJobDataB(CJobDataB* pJobDataB);
      CJobDataB* getJobDataB();
      void setJobDataS(CJobDataS* pJobDataS);
      CJobDataS* getJobDataS();
   private:
      MaterialsType m_type;
      std::string m_strID;
      CPath* m_pPath;
      CJobDataB m_jobDataB;
      CJobDataS m_jobDataS;
   };
}