|
@@ -1213,8 +1213,8 @@ ErrorCodeEnum CFingerPrintFSM::MatchProcess(ScanParam* initParam, SpReqAnsContex
|
|
|
initParam->m_Feature, initParam->m_FeatureLen);
|
|
|
ULLINT endMatch = RVCGetTickCount();
|
|
|
int duration = endMatch - startMatch;
|
|
|
- LogWarn(Severity_Middle, Error_Debug, FingerPrint_UserErrorCode_MATCH_TIME,
|
|
|
- GenerateAlarmJson("FingerPrint", duration).GetData());
|
|
|
+ //LogWarn(Severity_Middle, Error_Debug, FingerPrint_UserErrorCode_MATCH_TIME,
|
|
|
+ // GenerateAlarmJson("FingerPrint", duration).GetData());
|
|
|
|
|
|
if (errCode == Error_Succeed) //always true
|
|
|
{
|
|
@@ -1395,10 +1395,10 @@ ErrorCodeEnum CFingerPrintFSM::GetDevCatInfo(DevCategoryInfo& devInfo)
|
|
|
return Error_Succeed;
|
|
|
}
|
|
|
|
|
|
-CSimpleString CFingerPrintFSM::GenerateAlarmJson(CSimpleString entityName, int cost)
|
|
|
-{
|
|
|
- return CSimpleString::Format("[{\"name\":\"%s\",\"cost\":%d}]", entityName.GetData(), cost);
|
|
|
-}
|
|
|
+//CSimpleString CFingerPrintFSM::GenerateAlarmJson(CSimpleString entityName, int cost)
|
|
|
+//{
|
|
|
+// return CSimpleString::Format("[{\"name\":\"%s\",\"cost\":%d}]", entityName.GetData(), cost);
|
|
|
+//}
|
|
|
|
|
|
ErrorCodeEnum CFingerPrintFSM::GetDevState(int& state)
|
|
|
{
|