Преглед изворни кода

Z991239-914 #comment other: 去掉告警的一个字段

翟俊伟80258120 пре 5 година
родитељ
комит
fac20fd594
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Module/mod_FingerPrint/FingerPrintFSM.cpp

+ 2 - 2
Module/mod_FingerPrint/FingerPrintFSM.cpp

@@ -771,7 +771,7 @@ ErrorCodeEnum CFingerPrintFSM::Match(SpReqAnsContext<FingerPrintService_Match_Re
 			strcpy((char*)lpbTemplates[i], ctx->Req.templates[i]);
 			lpbTemplateLen[i] = ctx->Req.templateLen[i];
 		}
-
+		
 		clock_t startMatch = clock();
 		eErr = m_pFingerPrint->Match(lpbTemplates, lpbTemplateLen, templateNum, lpbFeature, lpbLength);
 		clock_t endMatch = clock();
@@ -871,7 +871,7 @@ ErrorCodeEnum CFingerPrintFSM::GetDevState(int &state)
 
 CSimpleString CFingerPrintFSM::GenerateAlarmJson(CSimpleString entityName, int cost)
 {
-	return CSimpleString::Format("[{\"name\":\"%s\",\"time\":\"%s\",\"cost\":%d}]"
+	return CSimpleString::Format("[{\"name\":\"%s\",\"cost\":%d}]"
 									, entityName.GetData(), cost);
 }