86 lines
1.9 KiB
C++
86 lines
1.9 KiB
C++
#if !defined(AFX_SPRINKLERDIMPIPEDNDLG_H__5A622AF8_2E46_423A_83C1_1526A4C13C68__INCLUDED_)
|
|
#define AFX_SPRINKLERDIMPIPEDNDLG_H__5A622AF8_2E46_423A_83C1_1526A4C13C68__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SprinklerDimPipeDnDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSprinklerDimPipeDnDlg dialog
|
|
#include "Resource.h"
|
|
#include "afxcmn.h"
|
|
#include <MySpin.h>
|
|
|
|
|
|
class CSprinklerDimPipeDnDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CSprinklerDimPipeDnDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
double GetDimFontHeight()
|
|
{
|
|
return m_dDimFontHeight;
|
|
}
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSprinklerDimPipeDnDlg)
|
|
enum { IDD = IDD_SPRINKLER_PIPE_DN };
|
|
int m_iDn100;
|
|
int m_iDn125;
|
|
int m_iDn150;
|
|
int m_iDn32;
|
|
int m_iDn25;
|
|
int m_iDn40;
|
|
int m_iDn70;
|
|
int m_iDn50;
|
|
int m_iDn80;
|
|
int m_iLevel;
|
|
BOOL m_bK;
|
|
BOOL m_bDn70;
|
|
int m_iDn200;
|
|
double m_dDimFontHeight;
|
|
double m_dMinDn;
|
|
//}}AFX_DATA
|
|
int m_iSprinklerArray1[10];
|
|
int m_iSprinklerArray2[10];
|
|
int m_iSprinklerArray3[10];
|
|
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSprinklerDimPipeDnDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
void UpdateDlgData(BOOL bIsRead);
|
|
void UpdateDn(BOOL bIsRead);
|
|
void Default();
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSprinklerDimPipeDnDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnRadioLevel1();
|
|
afx_msg void OnRadioLevel2();
|
|
afx_msg void OnButtonDefault();
|
|
virtual void OnOK();
|
|
afx_msg void OnRadioLevel3();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
double m_dDst;
|
|
CMySpin m_spinDst;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SPRINKLERDIMPIPEDNDLG_H__5A622AF8_2E46_423A_83C1_1526A4C13C68__INCLUDED_)
|
|
|