LAPTOP-SNT8I5JK\Boounion
2025-09-09 ee4945bb0e32a065ce1d5d23ec6afbcba4bbcc03
SourceCode/Bond/Servo/CEqCassetteCtrlCmdStep.cpp
@@ -23,17 +23,17 @@
      int jobExistenceSize,
      short slotProcess,
      short jopCount,
      CJobDataB* pJobDataB)
      CJobDataA* pJobDataA)
   {
      ASSERT(jobExistenceSize == 12);
      ASSERT(pJobDataB);
      ASSERT(pJobDataA);
      char szBuffer[1024] = { 0 };
      memcpy(&szBuffer[0], &cmd, sizeof(short));
      memcpy(&szBuffer[2], jobExistence, sizeof(short) * jobExistenceSize);
      memcpy(&szBuffer[26], &slotProcess, sizeof(short));
      memcpy(&szBuffer[36], &jopCount, sizeof(short));
      int nLen = pJobDataB->serialize(&szBuffer[38], 1024 - 38);
      int nLen = pJobDataA->serialize(&szBuffer[38], 1024 - 38);
      return writeData(m_nCtrlCmdDev, (const char*)szBuffer, 38 + nLen);
   }
@@ -41,9 +41,10 @@
   {
      CWriteStep::getAttributeVector(attrubutes);
      unsigned int weight = 31;
      std::string strTemp;
      attrubutes.addAttribute(new CAttribute("Control Command Dev",
         ("W" + CToolUnits::toHexString(m_nCtrlCmdDev, strTemp)).c_str(), ""));
         ("W" + CToolUnits::toHexString(m_nCtrlCmdDev, strTemp)).c_str(), "", weight++));
   }
}