Files
envi-code/SourceCode/Code2026/tg_shs/shs_outdoor/CalcDirtWellDataDlg.h
T

65 lines
1.8 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#if !defined(AFX_CALCDIRTWELLDATADLG_H__12D730F4_98B9_4156_A970_8A1CBB80FB13__INCLUDED_)
2026-09-28 15:28:50 +08:00
#define AFX_CALCDIRTWELLDATADLG_H__12D730F4_98B9_4156_A970_8A1CBB80FB13__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CalcDirtWellDataDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCalcDirtWellDataDlg dialog
#include "Resource.h"
class CCalcDirtWellDataDlg : public CDialog
{
// Construction
public:
CCalcDirtWellDataDlg(CWnd* pParent = NULL); // standard constructor
2026-10-04 00:04:20 +08:00
void EnableSelArea(BOOL bSelArea = FALSE) {m_bSelArea = bSelArea;}; // 是否允许用户手动描绘用水区域
2026-09-28 15:28:50 +08:00
// Dialog Data
//{{AFX_DATA(CCalcDirtWellDataDlg)
enum { IDD = IDD_CALC_DIRT_DATA };
BOOL m_bLife;
BOOL m_bOther;
2026-10-04 00:04:20 +08:00
CString m_csArea; // 单位 公顷
2026-09-28 15:28:50 +08:00
int m_iPeople;
double m_nQ;
double m_nRation;
BOOL m_bIndustry;
CString m_csAreaIndustry;
double m_dWasteCoef;
double m_dWaterRation;
//}}AFX_DATA
Entity m_ent;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalcDirtWellDataDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
BOOL m_bSelArea;
// Generated message map functions
//{{AFX_MSG(CCalcDirtWellDataDlg)
afx_msg void OnButtonArea();
afx_msg void OnCheckLife();
afx_msg void OnCheckOther();
virtual BOOL OnInitDialog();
afx_msg void OnButtonWaterRation();
afx_msg void OnButtonAreaOther();
afx_msg void OnCheckIndustry();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALCDIRTWELLDATADLG_H__12D730F4_98B9_4156_A970_8A1CBB80FB13__INCLUDED_)