LAPTOP-SNT8I5JK\Boounion
2025-08-06 d5c8d6545efe0ab2026a4127fde0fa2bad659ccd
SourceCode/Bond/Servo/CMaster.cpp
@@ -1703,4 +1703,24 @@
   {
      return m_bEnableAlarmReport;
   }
   int CMaster::proceedWithCarrier(unsigned int port)
   {
      if (port >= 4) return -1;
      static int pid[] = { EQ_ID_LOADPORT1, EQ_ID_LOADPORT2, EQ_ID_LOADPORT3, EQ_ID_LOADPORT4};
      CLoadPort* pPort = (CLoadPort*)getEquipment(pid[port]);
      pPort->sendCassetteCtrlCmd(CCC_PROCESS_START, nullptr, 0, 0, 0, nullptr, nullptr);
      return 0;
   }
   int CMaster::carrierRelease(unsigned int port)
   {
      if (port >= 4) return -1;
      static int pid[] = { EQ_ID_LOADPORT1, EQ_ID_LOADPORT2, EQ_ID_LOADPORT3, EQ_ID_LOADPORT4 };
      CLoadPort* pPort = (CLoadPort*)getEquipment(pid[port]);
      pPort->sendCassetteCtrlCmd(CCC_PROCESS_CANCEL, nullptr, 0, 0, 0, nullptr, nullptr);
      return 0;
   }
}