DLCamCardManager.h
646 Bytes
#ifndef ETRADECLIENT_DL_CAM_CARD_MANAGER_H_INCLUDED
#define ETRADECLIENT_DL_CAM_CARD_MANAGER_H_INCLUDED
#include <string>
#include "ETradeClient/hardware/dili_card_device.h"
class DLCamCardManager
{
typedef std::basic_string<unsigned char> RecordDataT;
public:
DLCamCardManager();
~DLCamCardManager();
bool Connect();
bool DisConnect();
void FindAndResetCard();
bool SelectMF();
bool SelectFile();
DILICard::BasicInfo ReadCardBasicInfo();
private:
std::string HexToChar(unsigned char* pHex, int iLen);
bool CheckOrderResult(unsigned char* pResult, unsigned char cLen);
std::string ReadCardBasicFile();
HANDLE m_icdev;
};
#endif