code_app/modules/version/HGVersionMsg.hpp

54 lines
934 B
C++

#ifndef __HGVERSIONMSG_HPP__
#define __HGVERSIONMSG_HPP__
#include "../base/HGDef.h"
#include <string>
enum
{
MsgId_PostDeviceOpenInfo = 1,
MsgId_PostDeviceCloseInfo,
MsgId_PostDeviceScanCountInfo,
MsgId_PostDeviceClearRollerInfo,
MsgId_PostDeviceHistroyCountInfo,
MsgId_PostDeviceRollerCountInfo,
MsgId_PostDevicePaperJamInfo,
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_HPP__ */