2020-08-31 08:08:50 +00:00
|
|
|
|
#pragma once
|
2021-08-17 01:07:55 +00:00
|
|
|
|
#include <map>
|
2020-08-31 08:08:50 +00:00
|
|
|
|
|
|
|
|
|
// CA3 <20>Ի<EFBFBD><D4BB><EFBFBD>
|
|
|
|
|
|
|
|
|
|
class CA3 : public CDialog
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNAMIC(CA3)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
CA3(CWnd* pParent = NULL); // <20><><EFBFBD><D7BC><EFBFBD>캯<EFBFBD><ECBAAF>
|
|
|
|
|
virtual ~CA3();
|
|
|
|
|
|
|
|
|
|
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
enum { IDD = IDD_A3_DIALOG };
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
|
|
|
|
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
public:
|
|
|
|
|
virtual BOOL OnInitDialog();
|
2021-07-31 03:12:53 +00:00
|
|
|
|
afx_msg void OnBnClickedBtngetsp();
|
|
|
|
|
afx_msg void OnBnClickedBtnsetsp();
|
|
|
|
|
afx_msg void OnBnClickedBtngetgraysp();
|
|
|
|
|
afx_msg void OnBnClickedBtnsetgraysp();
|
|
|
|
|
afx_msg void OnBnClickedBtngetuvsp();
|
|
|
|
|
afx_msg void OnBnClickedBtnsetuvsp();
|
|
|
|
|
afx_msg void OnBnClickedBtngetcolorsp();
|
|
|
|
|
afx_msg void OnBnClickedBtnsetcolorsp();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void OnGetOrSetSp(bool get, int type);
|
|
|
|
|
public:
|
2021-08-17 01:07:55 +00:00
|
|
|
|
afx_msg void OnGetOrSetSleepTime(bool get, int type);
|
|
|
|
|
void UpdateMaxBright(bool get,int id);
|
2021-07-31 03:12:53 +00:00
|
|
|
|
void UpdateSleepTime(bool get);
|
|
|
|
|
void OnBnClickedBtngetsleeptime();
|
|
|
|
|
afx_msg void OnBnClickedBtnsetsleeptime();
|
2021-08-17 01:07:55 +00:00
|
|
|
|
afx_msg void OnBnClickedBtnsetclrmaxbrt();
|
|
|
|
|
afx_msg void OnBnClickedBtnsetgrymaxbrt();
|
|
|
|
|
afx_msg void OnBnClickedBtngetclrmaxbrt();
|
|
|
|
|
afx_msg void OnBnClickedBtngetgrymaxbrt();
|
|
|
|
|
afx_msg void OnBnClickedBtngetversion();
|
|
|
|
|
afx_msg void OnBnClickedBtnsetspeed();
|
|
|
|
|
afx_msg void OnBnClickedBtngetspeed();
|
|
|
|
|
void updatespeedmode(bool get);
|
|
|
|
|
private:
|
|
|
|
|
struct speedmodeparam {
|
|
|
|
|
int Speedmode;
|
|
|
|
|
unsigned int ColorSp;
|
|
|
|
|
unsigned int GraySp;
|
|
|
|
|
};
|
|
|
|
|
std::map<int, speedmodeparam> speedmodeMap = {
|
2021-08-24 11:40:04 +00:00
|
|
|
|
{0,{70,0x42d,0xc88}},
|
|
|
|
|
{1,{80,0x37f,0xa7f}},
|
2021-09-01 01:29:56 +00:00
|
|
|
|
{2,{90,0x2b6,0x882}},
|
2021-08-24 11:40:04 +00:00
|
|
|
|
{3,{100,0x27c,0x775}},
|
|
|
|
|
{4,{110,0x27c,0x775}},
|
|
|
|
|
{5,{120,0x27c,0x775}},
|
|
|
|
|
{6,{130,0x27c,0x775}}
|
2021-08-17 01:07:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
std::map<int, CString> speedmodeMapString = {
|
|
|
|
|
{0,L"G100_70PPM"},
|
|
|
|
|
{1,L"G100_80PPM"},
|
|
|
|
|
{2,L"G100_90PPM"},
|
|
|
|
|
{3,L"G200_100PPM"},
|
|
|
|
|
{4,L"G200_110PPM"},
|
|
|
|
|
{5,L"G200_120PPM"},
|
|
|
|
|
{6,L"G200_130PPM"}
|
|
|
|
|
};
|
|
|
|
|
CComboBox m_cmbSpeedmode;
|
2020-08-31 08:08:50 +00:00
|
|
|
|
};
|