#if !defined(AFX_SPRINKLERBYRECTDLG_H__5BED12DC_C5C1_4F86_AC2A_D5DED59B5D16__INCLUDED_) #define AFX_SPRINKLERBYRECTDLG_H__5BED12DC_C5C1_4F86_AC2A_D5DED59B5D16__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SprinklerByRectDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSprinklerByRectDlg dialog #include "Resource.h" //#include #include "MySpin.h" #include "EdJigEx.h" #include "realedit.h" class CSprinklerByRectDlg : public CDialog { // Construction public: CSprinklerByRectDlg(CWnd* pParent = NULL); // standard constructor DECLARE_DYNAMIC(CSprinklerByRectDlg) // Dialog Data //{{AFX_DATA(CSprinklerByRectDlg) enum { IDD = IDD_SPRINKLER_RECT }; CRealEdit m_editEle; CRealEdit m_editRow; CRealEdit m_editCol; CRealEdit m_editAngle; CMySpin m_spinAngle; CMySpin m_spinRow; CMySpin m_spinCol; BOOL m_bDrawCir; double m_nAngle; CString m_csRadius; CString m_sLayer; // zxl 2011.08.15 add 管线类型 //}}AFX_DATA // cet 2012.12.19 modify 等级值存入注册表,行列值随等级值获取 // static int m_iLevel; // static int m_iCol; // static int m_iRow; static double m_dMinDistToWall; static BOOL m_bMinDistToWall; int m_iLevel; int m_iCol; int m_iRow; static int m_iType; static int m_iMode; static double m_nEle; static double m_dMinDist; static int m_bNoBreak; static int m_iConPipe; double m_nDist2Wall; static int m_iPipeType; static int m_nCol; static int m_nRow; static double m_nColSpace; static double m_nRowSpace; bool m_bInit; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSprinklerByRectDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CSprinklerByRectDlg) afx_msg LONG_PTR onAcadKeepFocus(UINT_PTR, LONG_PTR); afx_msg void OnClose(); virtual BOOL OnInitDialog(); afx_msg void OnCheckDraw(); afx_msg void OnRadioType1(); afx_msg void OnRadioType2(); afx_msg void OnSelchangeComboLevel(); afx_msg void OnSelchangeComboType(); afx_msg void OnDestroy(); afx_msg void OnRadioMode(); afx_msg void OnChangeEdtMinDistTowall(); afx_msg void OnCheckMindist(); afx_msg void OnKillfocusEditColnum(); afx_msg void OnKillfocusEditRownum(); afx_msg void OnKillfocusEditMinDist(); afx_msg void OnKillfocusEdtMinDistTowall(); afx_msg void OnKillfocusEditAngle(); afx_msg void OnKillfocusEditEle(); afx_msg void OnKillfocusComboRadius(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: // 读取注册表数据 cet 2012.12.19 add void ReadRegeditData(); // 更新注册表数据 cet 2012.12.19 add void WriteRegeditData(); // 控制窗口是否可用 cet 2012.12.19 add void EnableWnd(DWORD nId, BOOL bEnable); // 控制窗口可见性 cet 2013.04.15 add void ShowWnd(DWORD nId, BOOL bShow); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SPRINKLERBYRECTDLG_H__5BED12DC_C5C1_4F86_AC2A_D5DED59B5D16__INCLUDED_)