SDC C-Project CF Review 프로그램
KEJ
2024-06-26 0c66940a8e2cf64c9890519901f433b3668216b6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#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;
};