1.LoadPortNotAssoc事件上报的实现;
| | |
| | | return requestEventReportSend("OCR_PanelID_Read_OK"); |
| | | } |
| | | |
| | | int CHsmsPassive::requestEventReportSend_LoadPortNotAssoc() |
| | | { |
| | | return requestEventReportSend("LoadPortNotAssoc"); |
| | | } |
| | | |
| | | |
| | |
| | | int requestEventReportSend_Panel_Start(); |
| | | int requestEventReportSend_Panel_End(); |
| | | int requestEventReportSend_OCR_PanelID_Read_OK(); |
| | | int requestEventReportSend_LoadPortNotAssoc(); |
| | | |
| | | private: |
| | | void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName); |
| | |
| | | } |
| | | m_hsmsPassive.requestEventReportSend_Port_Unload_Ready(); |
| | | } |
| | | else if (status == PORT_EMPTY) { |
| | | SERVO::CLoadPort* pLoadPort = dynamic_cast<SERVO::CLoadPort*>(pEquipment); |
| | | if (pLoadPort != nullptr) { |
| | | m_hsmsPassive.setVariableValue("LoadPortNotAssocPortId", pLoadPort->getID()); |
| | | } |
| | | m_hsmsPassive.requestEventReportSend_LoadPortNotAssoc(); |
| | | } |
| | | notifyPtr(RX_CODE_LOADPORT_STATUS_CHANGED, pEquipment); |
| | | }; |
| | | masterListener.onCTRoundEnd = [&](void* pMaster, int round) { |
| | |
| | | 10000,RecipeChanged,,(10000) |
| | | 10030,CarrierArrived,,(10300) |
| | | 10031,CarrierRemoved,,(10300) |
| | | 10032,LoadPortNotAssoc,,(50014) |
| | | 10040,ReadyToLoad,,(10300) |
| | | 10041,ReadyToUnLoad,,(10300) |
| | | 10051,CarrierIDWaitingForHost,,(10051) |
| | |
| | | 50011,(5013) |
| | | 50012,(5014) |
| | | 50013,(5015) |
| | | 50014,(5016) |
| | |
| | | 5013,TestVID,U1,测试添加变量55 |
| | | 5014,VCRPanelID,A20,Panel id,来自读码器 |
| | | 5015,ReadyToReleasePortId,U1,"Port ID" |
| | | 5016,LoadPortNotAssocPortId,U1,"Port ID" |
| | | 10200,SlotMap,U2,SlotMap(Scan) |
| | | 10201,SlotMapScan,U2,SlotMap(Scan) |
| | | 10202,SlotMapDownload,U2,SlotMap(Download) |