73 lines
1.9 KiB
C++
73 lines
1.9 KiB
C++
#if !defined(AFX_SELECTPUMPDLG_H__E1A6C3BE_0D5C_4A2A_BDDF_0ABB493A0223__INCLUDED_)
|
|
#define AFX_SELECTPUMPDLG_H__E1A6C3BE_0D5C_4A2A_BDDF_0ABB493A0223__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SelectPumpDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSelectPumpDlg dialog
|
|
#include "Resource.h"
|
|
|
|
class CSelectPumpDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CSelectPumpDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSelectPumpDlg)
|
|
enum { IDD = IDD_SELECT_PUMP };
|
|
CComboBox m_comboFactory;
|
|
CComboBox m_comboType;
|
|
CListCtrl m_listCtrl;
|
|
double m_nQ;
|
|
double m_nH;
|
|
int m_iPumpType;
|
|
int m_iFactory;
|
|
//}}AFX_DATA
|
|
|
|
XStringList m_lstType, m_lstFactory;
|
|
void OpenSlide();
|
|
int m_iLenght;
|
|
int m_iWidth;
|
|
int m_iHeight;
|
|
double m_nRetB1;
|
|
double m_nRetL2;
|
|
double m_nRetH; //进水管高度
|
|
double m_nRetH2;
|
|
double m_nRetH3;//出水管高度
|
|
double m_nRetQ;
|
|
double m_nRetRaise;
|
|
CString m_csRetSpec, m_csRetPumpSpec;
|
|
double m_nDeep;//螺栓孔深
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSelectPumpDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
void Reset();
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSelectPumpDlg)
|
|
virtual void OnOK();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSelchangeComboType();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnSelchangeComboFactary();
|
|
afx_msg void OnDblclkListPump(NMHDR* pNMHDR, LRESULT* pResult);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SELECTPUMPDLG_H__E1A6C3BE_0D5C_4A2A_BDDF_0ABB493A0223__INCLUDED_)
|