#if !defined(AFX_SPRINKLERBYSECTIONDLG_H__A1E40626_C400_473D_B90D_33B866DAB61D__INCLUDED_) #define AFX_SPRINKLERBYSECTIONDLG_H__A1E40626_C400_473D_B90D_33B866DAB61D__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SprinklerBySectionDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSprinklerBySectionDlg dialog #include "Resource.h" //#include #include "MySpin.h" #include "realedit.h" class CSprinklerBySectionDlg : public CDialog { // Construction public: CSprinklerBySectionDlg(CWnd* pParent = NULL); CString GetPipeLayer(); DECLARE_DYNAMIC(CSprinklerBySectionDlg) // Dialog Data //{{AFX_DATA(CSprinklerBySectionDlg) enum { IDD = IDD_SPRINKLER_SECTOR }; CRealEdit m_editEle; CRealEdit m_editRow; CRealEdit m_editCol; CRealEdit m_editDist2Wall; CMySpin m_spinRow; CMySpin m_spinCol; BOOL m_bDrawCir; double m_nEle; int m_iCol; int m_iRow; int m_bNoBreak; int m_iLevel; CString m_csRadius; double m_nDist2Wall; BOOL m_bDim; //}}AFX_DATA // double m_nDist2Wall; static int m_iConPipe; static int m_nPipeType;//zxl 2011.11.29 add 系统类型 CString m_sLayer;//zxl 2011.11.29 add int m_iRowNum; int m_iColNum; static double m_nColSpace; static double m_nRowSpace; bool m_bInit; double m_nRadius; XPointList m_lstPt; XPointList m_lstColPt; // cet 2011.5.25 add 列标注点 XPointList m_lstRowPt; // cet 2011.5.25 add 行标注点 // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSprinklerBySectionDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CSprinklerBySectionDlg) virtual BOOL OnInitDialog(); afx_msg void OnClose(); afx_msg void OnCheckDraw(); afx_msg void OnSelchangeComboLevel(); afx_msg void OnSelchangeComboPipetype(); afx_msg void OnDestroy(); afx_msg void OnKillfocusEditColnum(); afx_msg void OnKillfocusEditRownum(); afx_msg void OnKillfocusComboRadius(); afx_msg void OnKillfocusEditDist2wall(); afx_msg void OnKillfocusEditEle(); afx_msg LONG_PTR onAcadKeepFocus(UINT_PTR, LONG_PTR); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: // 读取注册表数据 void ReadRegeditData(); // 更新注册表数据 void WriteRegeditData(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SPRINKLERBYSECTIONDLG_H__A1E40626_C400_473D_B90D_33B866DAB61D__INCLUDED_)