| | |
| | | |
| | | |
| | | // 模拟测试 |
| | | /* |
| | | if (m_nIndex == 0) { |
| | | static int ii = 0; |
| | | ii++; |
| | |
| | | LOGI("<CLoadPort>Port2载入模拟数据, id:CID1004 map: 0xff"); |
| | | } |
| | | } |
| | | */ |
| | | } |
| | | |
| | | void CLoadPort::serialize(CArchive& ar) |
| | |
| | | |
| | | memcpy(&szBuffer[26], &slotProcess, sizeof(short)); |
| | | memcpy(&szBuffer[36], &jopCount, sizeof(short)); |
| | | LOGI("<CLoadPort-%d>sendCassetteCtrlCmd cmd=%d, jobExistence0=%d, jobExistence1=%d, slotProcess=%d, jobCount=%d", |
| | | m_nIndex, (int)cmd, |
| | | (jobExistence != nullptr && jobExistenceSize >= 1) ? (int)jobExistence[0] : -1, |
| | | (jobExistence != nullptr && jobExistenceSize >= 2) ? (int)jobExistence[1] : -1, |
| | | (int)slotProcess, (int)jopCount); |
| | | if (pJobDataA != nullptr) { |
| | | pJobDataA->serialize(&szBuffer[38], 1024 - 38); |
| | | } |
| | |
| | | m_portStatusReport.getPortStatus(), m_portStatusReport.getCassetteSequenceNo(), |
| | | m_portStatusReport.getCassetteId().c_str()); |
| | | if (m_portStatusReport.getPortStatus() == 3) { |
| | | LOGI("<CCassetteTranserStateStep>InUse<JobExistenceSlot:%d>", |
| | | m_portStatusReport.getJobExistenceSlot()); |
| | | LOGI("<CCassetteTranserStateStep>InUse<JobExistenceSlot:%d, mapW1:%d>", |
| | | m_portStatusReport.getJobExistenceSlot(), |
| | | (int)portStatusReport.getJobExistenceSlot()); |
| | | } |
| | | |
| | | |