84 lines
1.6 KiB
C++
84 lines
1.6 KiB
C++
#pragma once
|
|
#include <map>
|
|
#include <vector>
|
|
#include "HgLCDfont.h"
|
|
|
|
enum class DisType{
|
|
Dis_Unkown,
|
|
Dis_Init,//启动欢迎界面
|
|
Dis_Welcome,
|
|
Dis_Idel,//就绪
|
|
Dis_Scan,
|
|
Dis_Err_JamIn,
|
|
Dis_Err_DoubleFeed,
|
|
Dis_Err_PaperScrew,
|
|
Dis_Err_Stable,
|
|
Dis_Err_AqrImgTimeout,
|
|
Dis_Err_CoverOpen,
|
|
Dis_Err_JamOut,
|
|
Dis_Err_HandModeJam,
|
|
Dis_Err_FeedError,
|
|
Dis_Err_NoPaper,
|
|
Dis_Err_DogEar,
|
|
Dis_Err_Size,
|
|
Dis_Set_PollPaperIntensity,
|
|
Dis_Set_PollPI_High,
|
|
Dis_Set_PollPI_Mid,
|
|
Dis_Set_PollPI_Low,
|
|
Dis_Count_Page,
|
|
Dis_Scan_Page,
|
|
Dis_Set_ClearPaperPass,
|
|
Dis_Set_Count,
|
|
Dis_Set_SleepMode,
|
|
Dis_Set_SleepMode_5M,
|
|
Dis_Set_SleepMode_10M,
|
|
Dis_Set_SleepMode_20M,
|
|
Dis_Set_SleepMode_30M,
|
|
Dis_Set_SleepMode_1H,
|
|
Dis_Set_SleepMode_2H,
|
|
Dis_Set_SleepMode_4H,
|
|
Dis_Set_SleepMode_NEVER,
|
|
Dis_Set_Poweroff,
|
|
Dis_Set_Return,
|
|
Dis_HandMode,
|
|
Dis_Set_Item_Return,
|
|
Dis_Set_TrayPosition,
|
|
Dis_Set_TrayPosition_Low,
|
|
Dis_Set_TrayPosition_Mid,
|
|
Dis_Set_TrayPosition_High,
|
|
Dis_Device_Lock,
|
|
Dis_Set_ScanNum_Option,
|
|
Dis_Set_Get_History_ScanNum,
|
|
Dis_Set_Clear_Roller_ScanNum,
|
|
Dis_Set_Get_Roller_ScanNum,
|
|
Dis_Set_Is_Sure,
|
|
Dis_Set_YES,
|
|
Dis_Set_No,
|
|
Dis_Language,
|
|
Dis_Language_Chinese,
|
|
Dis_Language_Chinese_Traditional,
|
|
Dis_Language_English,
|
|
};
|
|
|
|
enum class DisDrawtype
|
|
{
|
|
DD_All,
|
|
DD_TopLeft,
|
|
DD_BotRight
|
|
};
|
|
|
|
enum class ClearScreen
|
|
{
|
|
All,
|
|
TOP,
|
|
BOT,
|
|
};
|
|
|
|
struct DisInfo{
|
|
unsigned char page;
|
|
unsigned char col;
|
|
DisDrawtype drawtype;
|
|
std::vector<unsigned char> str;
|
|
};
|
|
|