#if !defined(AFX_SPRINKLERSYSDLG_H__AC651C83_6E9F_4422_8D7F_5CAA012AA72C__INCLUDED_) #define AFX_SPRINKLERSYSDLG_H__AC651C83_6E9F_4422_8D7F_5CAA012AA72C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SprinklerSysDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSprinklerSysDlg dialog #include "Resource.h" #include class CSprinklerSysDlg : public CDialog { // Construction public: CSprinklerSysDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CSprinklerSysDlg) enum { IDD = IDD_SPRINKLER_SYS }; CMySpin m_spinNum; CMySpin m_spinLength; CMySpin m_spinFloor; int m_iStyle; int m_iPos1; double m_nLength; double m_nFloorHeight; double m_nElevation; double m_nDist; //}}AFX_DATA static int m_iFloorNum; static int m_iNum; XStringList m_lstHeight, m_lstName; double m_nAllHeight, m_nMinEle; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSprinklerSysDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void OpenSlide(); // Generated message map functions //{{AFX_MSG(CSprinklerSysDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnRadioType1(); afx_msg void OnRadioType2(); afx_msg void OnRadioType3(); afx_msg void OnRadioType4(); afx_msg void OnRadioPos1(); afx_msg void OnRadioPos2(); afx_msg void OnRadioPos3(); afx_msg void OnButtonHeight(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SPRINKLERSYSDLG_H__AC651C83_6E9F_4422_8D7F_5CAA012AA72C__INCLUDED_)