LAPTOP-SNT8I5JK\Boounion
2025-06-19 d24917a7422efa5aa1d3cff2ef70ad754cebaedf
SourceCode/Bond/Servo/CLoadPort.h
@@ -22,7 +22,6 @@
      virtual void serialize(CArchive& ar);
      virtual void getAttributeVector(CAttributeVector& attrubutes);
      virtual int recvIntent(CPin* pPin, CIntent* pIntent);
      virtual BOOL glassWillArrive(CGlass* pGlass);
      virtual void onReceiveLBData(const char* pszData, size_t size);
   public:
@@ -32,8 +31,15 @@
      int setCassetteType(CassetteType type, ONWRITED onWritedBlock = nullptr);
      int setTransferMode(TransferMode mode, ONWRITED onWritedBlock = nullptr);
      int eableAutoChange(BOOL bEnable, ONWRITED onWritedBlock = nullptr);
      void localEanblePort(BOOL bEnable);
      void localSetPortType(PortType type);
      void localSetPortMode(PortMode mode);
      void localSetCessetteType(CassetteType type);
      void localSetTransferMode(TransferMode mode);
      void localAutoChangeEnable(BOOL bEnable);
   public:
      short getNextCassetteSequenceNo();
      void setIndex(unsigned int index);
      unsigned int getIndex();
      BOOL isEnable();
@@ -49,7 +55,7 @@
      int getQTimeFlag();
      int getCassetteMappingState();
      int getCassetteStatus();
      int testGenerateGlassList(MaterialsType type, int count, const char* pszPrefix, int startSuffix);
      int testGenerateGlassList(MaterialsType type);
   public:
      static std::string& getPortTypeDescription(PortType portType, std::string& strDescription);
@@ -64,7 +70,6 @@
      static std::string& getCassetteStatusDescription(int state, std::string& strDescription);
   public:
      virtual int outputGlass(int port);
      int sendCassetteCtrlCmd(short cmd,
         short* jobExistence,
         int jobExistenceSize,
@@ -85,6 +90,7 @@
      BOOL m_bEnable;
      BOOL m_bAutoChangeEnable;
      CPortStatusReport m_portStatusReport;
      int m_nNextCassetteSequenceNo;
   };
}