|
|
@@ -1918,7 +1918,16 @@ void CVtmLoaderFSM::CheckDeviceEntity(SpReqAnsContext<VtmLoaderService_CheckDevi
|
|
|
|
|
|
CEntityStaticInfo staticInfo;
|
|
|
ErrorCodeEnum eErrCode = Error_Unexpect;
|
|
|
- if ((eErrCode = m_pEntity->GetFunction()->GetEntityStaticInfo(ctx->Req.entityName.GetData(), staticInfo)) != Error_Succeed)
|
|
|
+ CSimpleStringA csEntityName = ctx->Req.entityName;
|
|
|
+ //oiltmp@20240415 to be delete after x months
|
|
|
+ if (ctx->Req.entityName.Compare("CardIssuer") == 0)
|
|
|
+ {
|
|
|
+ if (m_sysInfo.strMachineType.Compare("RVC.CardStore") == 0 || m_sysInfo.strMachineType.Compare("RVC.CardPrinter") == 0)
|
|
|
+ csEntityName = "CardIssuerStore";
|
|
|
+ else
|
|
|
+ csEntityName = "CardIssuerStand";
|
|
|
+ }
|
|
|
+ if ((eErrCode = m_pEntity->GetFunction()->GetEntityStaticInfo(csEntityName.GetData(), staticInfo)) != Error_Succeed)
|
|
|
{
|
|
|
DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("GetEntityStaticInfo(%s), failed:%d", ctx->Req.entityName.GetData(), eErrCode);
|
|
|
ctx->Answer(Error_Unexpect, VtmLoader_FailToGetEntityInfo);
|