|
|
@@ -1135,11 +1135,13 @@ int CFingerPrintFSM::GenerateTemplate(SpReqAnsContext<FingerPrintService_Generat
|
|
|
DeleteBmp(BmpImage);
|
|
|
if (errCode == Error_Succeed) {
|
|
|
//DbgInfo("Image2Template success.");
|
|
|
+ DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_USER).setLogCode(FingerPrint_Generate_Template_ID)("指纹仪模板生成成功");
|
|
|
ctx->Answer(Error_Succeed);
|
|
|
}
|
|
|
else {
|
|
|
SetErrPackage("generate template failed", m_csDevSN, Error_Unexpect, FingerPrint_UserErrorCode_GETTEMPLATE_FAILED);
|
|
|
AlarmDEC();
|
|
|
+ DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_USER)("指纹仪模板生成失败");
|
|
|
ctx->Answer(errCode, FingerPrint_UserErrorCode_GETTEMPLATE_FAILED);
|
|
|
}
|
|
|
|