chenluhua1980
9 天以前 bca7e5d43c28757b3de88050e585eb40aa202bce
SourceCode/Bond/Servo/HsmsPassive.cpp
@@ -3771,7 +3771,32 @@
int CHsmsPassive::requestEventReportSend_OCR_PanelID_Read_OK()
{
   return requestEventReportSend("OCR_PanelID_Read_OK");
   return requestEventReportSend_OCR_PanelID_Read(1);
}
int CHsmsPassive::requestEventReportSend_OCR_PanelID_Read(short vcrResult)
{
   const char* eventName = "OCR_PanelID_Read_OK";
   switch (vcrResult) {
   case 1: // OK & Match
      eventName = "OCR_PanelID_Read_OK";
      break;
   case 2: // OK & Mismatch
      eventName = "OCR_PanelID_Read_Mismatch";
      break;
   case 3: // Fail & KeyIn Match
      eventName = "OCR_PanelID_Read_NG";
      break;
   case 4: // Fail & KeyIn Mismatch
      eventName = "OCR_PanelID_Read_NG_Mismatch";
      break;
   default:
      LOGE("<CHsmsPassive>Unknown VCR result=%d, fallback to OCR_PanelID_Read_OK", vcrResult);
      eventName = "OCR_PanelID_Read_OK";
      break;
   }
   return requestEventReportSend(eventName);
}
int CHsmsPassive::requestEventReportSend_LoadPortNotAssoc()