2022-07-26 05:52:12 +00:00
|
|
|
#ifndef __HGVERSIONMSG_HPP__
|
|
|
|
#define __HGVERSIONMSG_HPP__
|
2022-07-25 08:49:48 +00:00
|
|
|
|
|
|
|
#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;
|
|
|
|
};
|
|
|
|
|
2022-07-26 05:52:12 +00:00
|
|
|
#endif /* __HGVERSIONMSG_HPP__ */
|