📄 eastriver.h
字号:
#ifndef __EastRiver_Interface_DLL
#define __EastRiver_Interface_DLL
#ifdef EASTRIVER_EXPORTS
#define EASTRIVER_API __declspec(dllexport)
#else
#define EASTRIVER_API __declspec(dllimport)
#endif
#ifdef __cplusplus
extern "C" {
#endif
// IC卡读写卡号格式常量
#define CARDSTYLE_UNKNOWN = 0000; //未知卡号格式(可能为空)
#define CARDSTYLE_IDCARD = 0001; //ID卡格式
#define CARDSTYLE_UTFCARD = 0002; //自定义卡格式
#define CARDSTYLE_STDCARD = 0830; //旧ER-680C消费卡格式
#define CARDSTYLE_NEWCARD = 0880; //新ER-880C卡格式
#define CARDSTYLE_690CARD = 0690; //新消费机ER-690卡格式
struct TClockerTime;
typedef TClockerTime *PClockerTime;
#pragma pack(push, 1)
struct TClockerTime
{
char StartTime[6];
char EndTime[6];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TRingTime
{
int hour;
int minute;
int second;
int RingTimeLen;
} ;
#pragma pack(pop)
struct TICRecord;
typedef TICRecord *PICRecord;
#pragma pack(push, 1)
struct TICRecord
{
char Card[20];
char timeString[20];
char EmpId[10];
int mark;
int flag;
int cardTimes;
int cardGroup;
} ;
#pragma pack(pop)
struct T980ReadData;
typedef T980ReadData *P980ReadData;
#pragma pack(push, 1)
struct T980ReadData
{
bool Verify_Error;
char CardNo[20];
char TimeString[20];
int flag;
int Group;
int Times;
int Record_Total;
int Record_Index;
} ;
#pragma pack(pop)
struct T690ReadData;
typedef T690ReadData *P690ReadData;
#pragma pack(push, 1)
struct T690ReadData
{
bool Verify_Error;
char CardNo[20];
char TimeString[20];
int flag;
WORD Consume;
WORD Balance;
int Times;
int Record_Total;
int Record_Index;
} ;
#pragma pack(pop)
typedef T690ReadData *PReadData;
typedef T690ReadData TReadData;
typedef T690ReadData TArrayReadData[401];
typedef T690ReadData *PArrayReadData;
typedef bool (CALLBACK* TDataProcess)(void * lpData, P690ReadData lpReadData);
typedef void (CALLBACK* TTimeLapse)(void * lpData, int microsecond);
struct TDownLoadPageStruct;
typedef TDownLoadPageStruct *PDownloadPageStruct;
#pragma pack(push, 1)
struct TDownLoadPageStruct
{
int iPage;
BYTE izData[256];
TDownLoadPageStruct *Next;
} ;
#pragma pack(pop)
struct TDownLoadPageStructIndex;
typedef TDownLoadPageStructIndex *PDownLoadPageStructIndex;
#pragma pack(push, 1)
struct TDownLoadPageStructIndex
{
TDownLoadPageStruct *Index[256];
int indexPage[256];
int iCardNumber;
} ;
#pragma pack(pop)
struct TDownloadCardStruct;
typedef TDownloadCardStruct *PDownloadCardStruct;
#pragma pack(push, 1)
struct TDownloadCardStruct
{
char CardNo[16];
char EmpId[11];
union
{
struct
{
char EmpName[12];
};
struct
{
char Periods[12];
};
};
} ;
#pragma pack(pop)
typedef bool (CALLBACK* TProgressProc)(int TypeId, int PageNo, int Percent);
#pragma pack(push, 1)
struct TDoorTimePeriod
{
int TimeHour;
int TimeMinute;
} ;
#pragma pack(pop)
struct TDoorTimePeriods;
typedef TDoorTimePeriods *PDoorTimePeriods;
#pragma pack(push, 1)
struct TDoorTimePeriods
{
TDoorTimePeriod StartTime;
TDoorTimePeriod EndTime;
int Right;
} ;
#pragma pack(pop)
struct TCardInfo;
typedef TCardInfo *PCardInfo;
#pragma pack(push, 1)
struct TCardInfo
{
char CardNo[18];
bool IsIDCard;
bool NoCard;
int Reader;
int Flag;
int Mark;
} ;
#pragma pack(pop)
struct TRealCardInfo;
typedef TRealCardInfo *PRealCardInfo;
#pragma pack(push, 1)
struct TRealCardInfo
{
int Size;
char CardNo[18];
bool IsIDCard;
bool NoCard;
int Reader;
int Flag;
int Mark;
int times;
int balance;
int consume;
} ;
#pragma pack(pop)
struct TRealRecordInfo;
typedef TRealRecordInfo *PRealRecordInfo;
#pragma pack(push, 1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -