#pragma once
|
|
#include "CHCommonControls/GridCtrl.h"
|
#include "CHCommonControls/GridCellCombo.h"
|
#include "CHReviewSetting/AlignCalibrator.h"
|
|
#define GLASS_TYPE_INFO_GRID_ROW_COUNT 30
|
|
// CDlgGlassType ´ëÈ »óÀÚÀÔ´Ï´Ù.
|
|
class CDlgGlassType : public CDialog
|
{
|
DECLARE_DYNAMIC(CDlgGlassType)
|
|
public:
|
CDlgGlassType(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
|
virtual ~CDlgGlassType();
|
|
public:
|
void InitGlassTypeInfoGridControl();
|
void FillGlassTypeInfo();
|
int GetDirectionX(int nGlassDirection, int nMotorDirection);
|
int GetDirectionY(int nGlassDirection, int nMotorDirection);
|
void SetFindAlignMark(COPYDATA_SYSTEM2REV& dataSystem2Rev);
|
|
public:
|
// ´ëÈ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
|
enum { IDD = IDD_DIALOG_SYS_SETTING_GLASS_TYPE };
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù.
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
virtual BOOL OnInitDialog();
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
afx_msg void OnBnClickedButtonSysGlassTypeReset();
|
afx_msg void OnBnClickedButtonSysGlassTypeApply();
|
afx_msg void OnEnChangeEditSysGlassTypeCount();
|
CString m_strStandardCameraMotorPosX;
|
CString m_strStandardCameraMotorPosY;
|
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
virtual BOOL DestroyWindow();
|
afx_msg void OnBnClickedButtonSysGlassTypeInsertFisrtAlignMotorPos();
|
afx_msg void OnBnClickedButtonSysGlassTypeSecondAlignMotorPosSet();
|
afx_msg void OnBnClickedButtonSysGlassTypeFindAlignMark();
|
afx_msg void OnBnClickedButtonSysGlassTypeCalculateTilt();
|
afx_msg void OnGridClick(NMHDR *pNotifyStruct, LRESULT* pResult);
|
|
protected:
|
int m_nGlassTypeCount;
|
int m_nSelectGlassTypeIdx;
|
CGridCtrl m_ctrlGridGlassTypeInfo;
|
};
|