97 lines
2.4 KiB
C++
97 lines
2.4 KiB
C++
#if !defined(AFX_PRINCIPLEDIRTDLG_H__9214DEFC_6F4D_426B_9C21_F4E3AAA1505B__INCLUDED_)
|
|
#define AFX_PRINCIPLEDIRTDLG_H__9214DEFC_6F4D_426B_9C21_F4E3AAA1505B__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PrincipleDirtDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPrincipleDirtDlg dialog
|
|
#include "Resource.h"
|
|
#include <MySpin.h>
|
|
|
|
class CPrincipleDirtDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CPrincipleDirtDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
CString GetConnectType() // Á¬½ÓÑùʽ cet 2010.7.5 add
|
|
{
|
|
return m_strConnectType;
|
|
}
|
|
// Dialog Data
|
|
//{{AFX_DATA(CPrincipleDirtDlg)
|
|
enum { IDD = IDD_PRINCIPLE_DIRT };
|
|
CComboBox m_wndComboConnType;
|
|
CMySpin m_spinCheck;
|
|
CComboBox m_comboMat;
|
|
CMySpin m_spinDist2Floor2;
|
|
CMySpin m_spinDist2Floor;
|
|
CMySpin m_spinLen;
|
|
CMySpin m_spinFloor;
|
|
double m_nHeight;
|
|
double m_nLen;
|
|
double m_nFloorLen;
|
|
int m_iMode;
|
|
int m_iDist2Floor;
|
|
int m_iCup;
|
|
int m_iDist2Floor2;
|
|
int m_iMaterial;
|
|
double m_nNg;
|
|
int m_iDist2Aerate;
|
|
double m_nBigQ;
|
|
double m_nAllQ;
|
|
int m_iCheck;
|
|
CString m_strWndComboAterateType;
|
|
//}}AFX_DATA
|
|
static int m_iNum;
|
|
static double m_nElevation;
|
|
|
|
static int m_iType;
|
|
static BOOL m_bFloor;
|
|
XStringList m_lstName, m_lstHeight;
|
|
XStringList m_lstDang, m_lstBigQ, m_lstAllQ;
|
|
double m_nAllHeight, m_nMinEle;
|
|
static CString m_csMaterial;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CPrincipleDirtDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
void OpenSlide();
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CPrincipleDirtDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnButtonHeight();
|
|
afx_msg void OnRadioType1();
|
|
afx_msg void OnRadioType2();
|
|
afx_msg void OnRadioType3();
|
|
afx_msg void OnRadioType4();
|
|
afx_msg void OnRadioType5();
|
|
virtual void OnOK();
|
|
afx_msg void OnButtonNg();
|
|
afx_msg void OnButtonDang();
|
|
afx_msg void OnSelchangeComboAteratetype();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
|
|
CString m_strConnectType; // Á¬½ÓÑùʽ cet 2010.7.5 add
|
|
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_PRINCIPLEDIRTDLG_H__9214DEFC_6F4D_426B_9C21_F4E3AAA1505B__INCLUDED_)
|