Эх сурвалжийг харах

Z991239-6255 #comment feat: 心跳实体卡机日志精简

Signed-Off-By: commit-hook
刘文涛80174520 4 сар өмнө
parent
commit
183402898a

+ 12 - 12
Module/mod_heartbeat/HeartBeatFSM.cpp

@@ -701,7 +701,7 @@ void CHeartBeatFSM::LocalPreOnline(int slot, CSimpleStringA fromTermNo,CSimpleSt
 		}
 		else if (eErr == Error_InvalidState)
 		{
-			errMsgData = "CardIssuer in use";
+			errMsgData = "CardIssuerStore in use";
 			if (m_pHandShakeConn && m_pHandShakeConn->IsConnectionOK())
 			{
 				if (type == 0) {
@@ -713,12 +713,12 @@ void CHeartBeatFSM::LocalPreOnline(int slot, CSimpleStringA fromTermNo,CSimpleSt
 						account.GetLength(), errMsgData.GetData(), errMsgData.GetLength() + 1, 9999, 9999, dwUserCode);
 				}
 			}
-			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardStore_CardIssuer_In_Use, "CardIssuer in use");
+			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardStore_CardIssuer_In_Use, "CardIssuerStore in use");
 			return;
 		}
 		else if (eErr == Error_DevNotAvailable)
 		{
-			errMsgData = "CardIssuer not available(open failed)";
+			errMsgData = "CardIssuerStore not available(open failed)";
 			if (m_pHandShakeConn && m_pHandShakeConn->IsConnectionOK())
 			{
 				if (type == 0) {
@@ -730,12 +730,12 @@ void CHeartBeatFSM::LocalPreOnline(int slot, CSimpleStringA fromTermNo,CSimpleSt
 						account.GetLength(), errMsgData.GetData(), errMsgData.GetLength() + 1, 9999, 9999, dwUserCode);
 				}
 			}
-			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_Open_Failed, "CardIssuer not available(open failed)");
+			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_Open_Failed, "CardIssuerStore not available(open failed)");
 			return;
 		}
 		else if (eErr == Error_TimeOut)
 		{
-			errMsgData = "CardIssuer process cost too long";
+			errMsgData = "CardIssuerStore process cost too long";
 			if (m_pHandShakeConn && m_pHandShakeConn->IsConnectionOK())
 			{
 				if (type == 0) {
@@ -748,7 +748,7 @@ void CHeartBeatFSM::LocalPreOnline(int slot, CSimpleStringA fromTermNo,CSimpleSt
 				}
 			}
 			DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_USER).setLogCode("QLR040220327").setResultCode("RTA5301")("跨机时卡库处理耗时过长");
-			LogError(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_ProcessCostTooLong, "CardIssuer process cost too long");
+			LogError(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_ProcessCostTooLong, "CardIssuerStore process cost too long");
 			return;
 		}
 
@@ -806,7 +806,7 @@ void CHeartBeatFSM::LocalPreOnlineJS(int slot, CSimpleStringA fromTermNo, CSimpl
 
 		if (eErr == Error_InvalidState)
 		{
-			errMsgData = "CardIssuer in use";
+			errMsgData = "CardIssuerStore in use";
 			if (m_pHandShakeConn && m_pHandShakeConn->IsConnectionOK())
 			{
 				if (type == 0) {
@@ -818,12 +818,12 @@ void CHeartBeatFSM::LocalPreOnlineJS(int slot, CSimpleStringA fromTermNo, CSimpl
 						account.GetLength(), errMsgData.GetData(), errMsgData.GetLength() + 1, 9999, 9999, dwUserCode);
 				}
 			}
-			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardStore_CardIssuer_In_Use, "CardIssuer in use");
+			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardStore_CardIssuer_In_Use, "CardIssuerStore in use");
 			return;
 		}
 		else if (eErr == Error_DevNotAvailable)
 		{
-			errMsgData = "CardIssuer not available(open failed)";
+			errMsgData = "CardIssuerStore not available(open failed)";
 			if (m_pHandShakeConn && m_pHandShakeConn->IsConnectionOK())
 			{
 				if (type == 0) {
@@ -835,12 +835,12 @@ void CHeartBeatFSM::LocalPreOnlineJS(int slot, CSimpleStringA fromTermNo, CSimpl
 						account.GetLength(), errMsgData.GetData(), errMsgData.GetLength() + 1, 9999, 9999, dwUserCode);
 				}
 			}
-			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_Open_Failed, "CardIssuer not available(open failed)");
+			LogWarn(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_Open_Failed, "CardIssuerStore not available(open failed)");
 			return;
 		}
 		else if (eErr == Error_TimeOut)
 		{
-			errMsgData = "CardIssuer process cost too long";
+			errMsgData = "CardIssuerStore process cost too long";
 			if (m_pHandShakeConn && m_pHandShakeConn->IsConnectionOK())
 			{
 				if (type == 0) {
@@ -853,7 +853,7 @@ void CHeartBeatFSM::LocalPreOnlineJS(int slot, CSimpleStringA fromTermNo, CSimpl
 				}
 			}
 			DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_USER).setLogCode("QLR040220327").setResultCode("RTA5301")("跨机时卡库处理耗时过长");
-			LogError(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_ProcessCostTooLong, "CardIssuer process cost too long");
+			LogError(Severity_Middle, Error_Unexpect, HeartBeat_UserErrorCode_CardIssuer_ProcessCostTooLong, "CardIssuerStore process cost too long");
 			return;
 		}
 	}