126 lines
2.1 KiB
C++
126 lines
2.1 KiB
C++
#if !defined(AFX_PRINCIPLEFEEDDLG_H__1B6CDD93_590B_428A_8892_D63A1A66542A__INCLUDED_)
|
|
#define AFX_PRINCIPLEFEEDDLG_H__1B6CDD93_590B_428A_8892_D63A1A66542A__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PrincipleFeedDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPrincipleFeedDlg dialog
|
|
#include "Resource.h"
|
|
#include "MySpin.h"
|
|
|
|
class CPrincipleFeedDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CPrincipleFeedDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CPrincipleFeedDlg)
|
|
enum { IDD = IDD_PRINCIPLE_FEED };
|
|
CComboBox m_comboMat;
|
|
CMySpin m_spinDoor;
|
|
CMySpin m_spinLen;
|
|
CMySpin m_spinFloor;
|
|
int m_iMode;
|
|
int m_iStyle;
|
|
BOOL m_bValve;
|
|
BOOL m_bAmmeter;
|
|
double m_nFloorLen;
|
|
double m_nHeight;
|
|
double m_nElevation;
|
|
double m_nLen;
|
|
int m_iDoorNum;
|
|
int m_iMaterial;
|
|
int m_iVPipeDist;
|
|
int m_iVPipeNum;
|
|
int m_iFeedDir;
|
|
int m_iFloorDir;
|
|
//}}AFX_DATA
|
|
static int m_iNum;
|
|
static BOOL m_bFloor;
|
|
XStringList m_lstHeight, m_lstName;
|
|
double m_nAllHeight, m_nMinEle;
|
|
static CString m_csMaterial;
|
|
static double m_nNumPeople;
|
|
static int m_iRation;
|
|
static double m_nFactor;
|
|
static double m_nNg;
|
|
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CPrincipleFeedDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
void OpenSlide();
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CPrincipleFeedDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnRadioType1();
|
|
afx_msg void OnRadioType2();
|
|
afx_msg void OnButtonHeight();
|
|
virtual void OnOK();
|
|
afx_msg void OnButtonRation();
|
|
afx_msg void OnButtonFactor();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_PRINCIPLEFEEDDLG_H__1B6CDD93_590B_428A_8892_D63A1A66542A__INCLUDED_)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|