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

98 lines
2.6 KiB
C++
Raw Normal View History

2026-09-28 15:28:50 +08:00
#if !defined(AFX_WELLDLG_H__CB26D47A_E231_4ACE_AB25_90FE88EE7EED__INCLUDED_)
#define AFX_WELLDLG_H__CB26D47A_E231_4ACE_AB25_90FE88EE7EED__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WellDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CWellDlg dialog
#include "Resource.h"
//#include <ModelessDialog.h>
class CWellDlg : public CModelessDialog
{
// Construction
public:
DECLARE_DYNAMIC(CWellDlg)
CWellDlg(CWnd* pParent = NULL); // standard constructor
~CWellDlg()
{
if(::IsWindow(m_hWnd))
DestroyWindow();
}
// Dialog Data
//{{AFX_DATA(CWellDlg)
enum { IDD = IDD_WELL };
CStatic m_wndReal;
CStatic m_wndOut;
CEdit m_edtRadius;
CComboBox m_comboMat;
double m_nScale;
CString m_csName;
//}}AFX_DATA
static BOOL m_bDrawPipe;
static int m_iPipeSys;
static int m_iMaterial;
static double m_nDist;
static CString m_csDimPos;
static CString m_csDn; // cet 2010.9.7 add 记忆数值
static double m_nElevation; // cet 2010.9.7 add 记忆数值
static double m_nGradient; // cet 2010.9.7 add 记忆数值
static BOOL m_bFirstRun; // cet 2010.9.7 add 是否第一次运行
static int m_iMode; // cet 2011.6.14 add 记忆数值
static int m_iDrawType; // zxl 2013.07.26 add
static double m_dRealScale; // zxl 2013.07.26 add
static double m_dOutScale; // zxl 2013.07.26 add
CString m_csHead;
const TCHAR* GetPipeLayer();
const TCHAR* GetWellLayer();
const TCHAR* GetHead();
static double m_dWellRadius;
CString m_csBlkName;
bool m_bCanChangeStyle; // zxl 2012.08.21 add
bool m_bChangeSys;
bool GetWellStyleChangble();
void DrawTypeChanged();// zxl 2013.07.26 add
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWellDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void OpenSlide();
// Generated message map functions
//{{AFX_MSG(CWellDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnClose();
afx_msg void OnCheckPipe();
afx_msg void OnRadioMode1();
afx_msg void OnRadioMode2();
afx_msg void OnKillfocusEditDist();
afx_msg void OnSelchangeComboPipe();
afx_msg void OnPreviewWell();
afx_msg void OnRadioMode3();
afx_msg void OnRadioMode4();
afx_msg void OnRadioMode5();
afx_msg void OnRadioOut();
afx_msg void OnRadioReal();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WELLDLG_H__CB26D47A_E231_4ACE_AB25_90FE88EE7EED__INCLUDED_)