|
@@ -138,21 +138,9 @@ public:
|
|
|
DevCategoryInfo devCatInfo;
|
|
|
CSimpleStringA devType = "";
|
|
|
ctx->Ans.state = m_fsm.GetDevCatInfo(devCatInfo, devType);
|
|
|
-
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
|
|
|
- ("devType:%s", (const char*)devType);
|
|
|
ctx->Ans.model = devCatInfo.szModel;
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
|
|
|
- ("szModel:%s", (const char*)devCatInfo.szModel);
|
|
|
ctx->Ans.type = devCatInfo.szType;
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
|
|
|
- ("szType:%s", (const char*)devCatInfo.szType);
|
|
|
- ctx->Ans.type += ((devType == "4") ? "#IG" : "#");//如果版本号为4,说明是嵌入式多合一(目前也有可能是新大机20190910@zjw),郭丹再判断机型是PAD,说明是PAD+嵌入式多合一,则读完证后不调用吐卡操作
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
|
|
|
- ("%s", (const char*)ctx->Ans.type);
|
|
|
- if (ctx->Ans.model.GetLength() < 256)
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
|
|
|
- ("%s", (const char*)ctx->Ans.model);
|
|
|
+ ctx->Ans.type += ((devType == "4") ? "#IG" : "#");
|
|
|
|
|
|
ctx->Answer(Error_Succeed);
|
|
|
|