LAPTOP-SNT8I5JK\Boounion
2025-06-23 3623c549eab25da1d8b74cd0557eb286192b75b1
SourceCode/Bond/Servo/CLoadPort.cpp
@@ -300,7 +300,7 @@
         pStep->setName(pszName[m_nIndex]);
         pStep->setWriteSignalDev(0x128 + m_nIndex);
         pStep->setDataDev(dev[m_nIndex]);
         if (addStep(STEP_ID_PROT1_TYPE_AUTO_CHANGE_REPLY + m_nIndex, pStep) != 0) {
         if (addStep(STEP_ID_PROT1_CASSETTE_TYPE_CHANGE_REPLY + m_nIndex, pStep) != 0) {
            delete pStep;
         }
      }
@@ -1144,16 +1144,14 @@
   {
      char szBuffer[64];
      for (const auto& slot : config.vecSlot) {
         if (!slot.isEnabled) continue;
         int nSlotIndex = slot.nSlotID - 1;
         if (nSlotIndex < 0 || nSlotIndex >= SLOT_MAX) {
            continue;
         }
         m_slot[nSlotIndex].enable();
         if (!m_slot[nSlotIndex].isEnable()) continue;
         if (!slot.isEnabled) {
            m_slot[nSlotIndex].setContext(nullptr);
            continue;
         }
         CJobDataS js;
         js.setCassetteSequenceNo(getNextCassetteSequenceNo());