49 lines
2.3 KiB
C++
49 lines
2.3 KiB
C++
#pragma once
|
||
|
||
|
||
// FeederPaper 对话框
|
||
|
||
class FeederPaper : public CDialog
|
||
{
|
||
DECLARE_DYNAMIC(FeederPaper)
|
||
|
||
public:
|
||
FeederPaper(CWnd* pParent = nullptr); // 标准构造函数
|
||
virtual ~FeederPaper();
|
||
|
||
// 对话框数据
|
||
#ifdef AFX_DESIGN_TIME
|
||
enum { IDD = IDD_DIALOG_PAGEFEEDPAPER };
|
||
#endif
|
||
|
||
protected:
|
||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
||
|
||
DECLARE_MESSAGE_MAP()
|
||
public:
|
||
virtual BOOL OnInitDialog();
|
||
bool getDoubleFeeder();
|
||
bool getBindingDetectable();
|
||
bool getBackFlip180();
|
||
bool getSkrewDetect();
|
||
int getSkrewDetectLevel();
|
||
int getOrentation();
|
||
int getScanCount();
|
||
private:
|
||
CComboBox m_cmBoxOrentation;
|
||
CSliderCtrl m_sldSkrewDetecttion;
|
||
void OnInitcmBoxOrentation(int selectIndex);
|
||
void OnInitsldSkrewDetection(int value);
|
||
bool m_DoubleFeeder;// = false;
|
||
bool m_BingdingDetect;// = false;
|
||
bool m_BackFlip;// = false;
|
||
bool m_SkrewDetect;// = false;
|
||
int m_Orentation;// = -1;
|
||
int m_ScanCount;// = 0;
|
||
public:
|
||
afx_msg void OnBnClickedRdconsistscan();
|
||
afx_msg void OnBnClickedRdspecifyscannum();
|
||
afx_msg void OnBnClickedCkskewdetect();
|
||
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
||
};
|