53 lines
897 B
C
53 lines
897 B
C
|
#ifndef __HGVERSIONMSG_H__
|
||
|
#define __HGVERSIONMSG_H__
|
||
|
|
||
|
#include "../base/HGDef.h"
|
||
|
#include <string>
|
||
|
|
||
|
enum
|
||
|
{
|
||
|
MsgId_PostDeviceOpenInfo = 1,
|
||
|
MsgId_PostDeviceCloseInfo,
|
||
|
MsgId_PostDeviceScanCountInfo,
|
||
|
MsgId_PostDeviceClearRollerInfo,
|
||
|
MsgId_PostDeviceHistroyCountInfo,
|
||
|
MsgId_PostDeviceRollerCountInfo,
|
||
|
|
||
|
MsgId_PostUserOpenInfo,
|
||
|
MsgId_PostUserCloseInfo,
|
||
|
MsgId_PostUserLoginInfo,
|
||
|
MsgId_PostUserLogoutInfo
|
||
|
};
|
||
|
|
||
|
struct PostDeviceInfoParam
|
||
|
{
|
||
|
std::string devName;
|
||
|
std::string devSN;
|
||
|
std::string devType;
|
||
|
std::string devFW;
|
||
|
};
|
||
|
|
||
|
struct PostDeviceScanCountInfoParam
|
||
|
{
|
||
|
PostDeviceInfoParam baseInfo;
|
||
|
HGUInt scanCount;
|
||
|
};
|
||
|
|
||
|
struct PostDeviceHistroyCountInfoParam
|
||
|
{
|
||
|
PostDeviceInfoParam baseInfo;
|
||
|
HGUInt histroyCount;
|
||
|
};
|
||
|
|
||
|
struct PostDeviceRollerCountInfoParam
|
||
|
{
|
||
|
PostDeviceInfoParam baseInfo;
|
||
|
HGUInt rollerCount;
|
||
|
};
|
||
|
|
||
|
struct PostUserInfoParam
|
||
|
{
|
||
|
std::string appName;
|
||
|
};
|
||
|
|
||
|
#endif /* __HGVERSIONMSG_H__ */
|