73 lines
1.8 KiB
C++
73 lines
1.8 KiB
C++
#if !defined(AFX_HYDRANTSYSDLG_H__52944324_1DC7_44E9_A453_AB91C3B4A6EA__INCLUDED_)
|
|
#define AFX_HYDRANTSYSDLG_H__52944324_1DC7_44E9_A453_AB91C3B4A6EA__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// HydrantSysDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CHydrantSysDlg dialog
|
|
#include "Resource.h"
|
|
#include <MySpin.h>
|
|
|
|
class CHydrantSysDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CHydrantSysDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CHydrantSysDlg)
|
|
enum { IDD = IDD_HYDRANT_SYS };
|
|
CMySpin m_spinFloorLen;
|
|
CMySpin m_spinFire;
|
|
CMySpin m_spinFloor;
|
|
CMySpin m_spinLength;
|
|
CMySpin m_spinPipe;
|
|
double m_nElevation;
|
|
double m_nFloorHeight;
|
|
double m_nLenFire;
|
|
double m_nLenPipe;
|
|
double m_nLength;
|
|
int m_iMode;
|
|
int m_iType;
|
|
int m_iFireType;
|
|
double m_nFloorLen;
|
|
//}}AFX_DATA
|
|
static int m_iFloorNum;
|
|
static BOOL m_bFloor;
|
|
XStringList m_lstHeight, m_lstName;
|
|
double m_nAllHeight, m_nMinEle;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CHydrantSysDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
void OpenSlide();
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CHydrantSysDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnRadioType1();
|
|
afx_msg void OnRadioType2();
|
|
afx_msg void OnSelchangeComboType();
|
|
afx_msg void OnRadioMode2();
|
|
afx_msg void OnRadioMode1();
|
|
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_HYDRANTSYSDLG_H__52944324_1DC7_44E9_A453_AB91C3B4A6EA__INCLUDED_)
|