|
|
@@ -1292,7 +1292,6 @@ unsigned int CCardIssuerFSM::s9_on_event(FSMEvent* pEvt)
|
|
|
{
|
|
|
Dbg("restart tried %d times,give up",m_resetTimes);
|
|
|
m_testResult = Error_InvalidState;
|
|
|
- //LogWarn(Severity_High, Error_Unexpect, CardIssuer_UserErrorCode_Device_Fault, GetEntityBase()->GetEntityName());
|
|
|
return 0;
|
|
|
}
|
|
|
ResetDeviceEvent* rde = dynamic_cast<ResetDeviceEvent*>(pEvt);
|
|
|
@@ -2231,7 +2230,7 @@ ErrorCodeEnum CCardIssuerFSM::OpenDevice(BYTE btOpenType, const char *pDevSN)
|
|
|
if (cis.eRetainBin == CI_RETAINBIN_FULL)
|
|
|
{
|
|
|
Dbg("(sensor)retain bin is full!回收箱满了,请及时清理!");
|
|
|
- LogWarn(Severity_High, Error_Unexpect, LOG_ERR_CARDISSUER_RETAIN_BIN_IS_FULL_SENSOR, "(sensor)retain bin is full!回收箱满了,请及时清理!");
|
|
|
+ LogWarn(Severity_Middle, Error_Unexpect, LOG_ERR_CARDISSUER_RETAIN_BIN_IS_FULL_SENSOR, "(sensor)retain bin is full!回收箱满了,请及时清理!");
|
|
|
}
|
|
|
}
|
|
|
return Error_Succeed;
|
|
|
@@ -3856,7 +3855,7 @@ bool CCardIssuerFSM::SetCardCaptured(const int num,bool bClear)
|
|
|
if (num >= m_maxRetainCount)
|
|
|
{
|
|
|
Dbg("retain bin is full!回收箱满了,请及时清理!");
|
|
|
- LogWarn(Severity_High, Error_Unexpect, LOG_ERR_CARDISSUER_RETAIN_BIN_IS_FULL, "retain bin is full!回收箱满了,请及时清理!");
|
|
|
+ LogWarn(Severity_Middle, Error_Unexpect, LOG_ERR_CARDISSUER_RETAIN_BIN_IS_FULL, "retain bin is full!回收箱满了,请及时清理!");
|
|
|
}
|
|
|
if (spConfig->WriteConfigValueInt("RunInfo", "CardCaptured", num) == Error_Succeed
|
|
|
&& spConfig->WriteConfigValueInt("all", "CardCaptured", num) == Error_Succeed)
|
|
|
@@ -4703,7 +4702,7 @@ int CCardIssuerFSM::BluetoothCheck()
|
|
|
count++;
|
|
|
if (count >= 2)
|
|
|
{
|
|
|
- LogWarn(Severity_High, Error_DevConnFailed, AlarmDECToBusiness(DEC_DEV_DISCONNECTED), "CardIssuer(SCI) device disconnecetd.");
|
|
|
+ LogWarn(Severity_Middle, Error_DevConnFailed, AlarmDECToBusiness(DEC_DEV_DISCONNECTED), "CardIssuer(SCI) device disconnecetd.");
|
|
|
m_bBTConnected = false;
|
|
|
Dbg("DevClose returned %d", m_pCardIssuer->DevClose());
|
|
|
count = 0;
|
|
|
@@ -7024,9 +7023,9 @@ void CCardIssuerFSM::LogErrMsg(
|
|
|
m_csAlarmMsg = CSimpleStringA::Format("%s failed EC= 0x%x : %s", pMsgHead, eErrCode, (LPCTSTR)csErrMsg);
|
|
|
if(bAlarm) {
|
|
|
if (bError)
|
|
|
- LogWarn(Severity_High, eErrCode, AlarmDECToBusiness(), (LPCTSTR)m_csAlarmMsg);
|
|
|
+ LogWarn(Severity_Middle, eErrCode, AlarmDECToBusiness(), (LPCTSTR)m_csAlarmMsg);
|
|
|
else
|
|
|
- LogWarn(Severity_High, eErrCode, AlarmDEC(), (LPCTSTR)m_csAlarmMsg);
|
|
|
+ LogWarn(Severity_Middle, eErrCode, AlarmDEC(), (LPCTSTR)m_csAlarmMsg);
|
|
|
}
|
|
|
return;
|
|
|
}
|