60 lines
1.5 KiB
C++
60 lines
1.5 KiB
C++
#if !defined(AFX_WELLSERIALDLG_H__3C61A798_46A9_4A57_9C79_FA84C1FE20FF__INCLUDED_)
|
|
#define AFX_WELLSERIALDLG_H__3C61A798_46A9_4A57_9C79_FA84C1FE20FF__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
#include "resource.h"
|
|
#include "SymbDialog.h"
|
|
|
|
class CWellSerialDlg : public CModelessDialog
|
|
{
|
|
public:
|
|
|
|
CWellSerialDlg(CWnd* pParent = NULL);
|
|
BOOL IsIncrease(); // 主干标注增减性判断
|
|
BOOL IsResetPos(); // 是否需要躲避更新
|
|
int GetBranchSerialType(); // 支路标注样式
|
|
const CString& GetWellName(); // 井号
|
|
void SetWellName(const CString &sName);
|
|
void OpenSlide(); //设置幻灯片
|
|
//{{AFX_DATA(CWellSerialDlg)
|
|
enum { IDD = IDD_WELL_SERIAL };
|
|
//}}AFX_DATA
|
|
|
|
public:
|
|
|
|
//{{AFX_VIRTUAL(CWellSerialDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
//}}AFX_VIRTUAL
|
|
void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
|
|
|
|
protected:
|
|
|
|
//{{AFX_MSG(CWellSerialDlg)
|
|
afx_msg void OnButtonShow();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnRadioIncrease();
|
|
afx_msg void OnRadioDecrease();
|
|
afx_msg void OnRadioBiginc();
|
|
afx_msg void OnRadioBigdec();
|
|
afx_msg void OnRadioNearinc();
|
|
afx_msg void OnRadioNeardec();
|
|
afx_msg void OnRadioNone();
|
|
afx_msg void OnPaint();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
|
|
CString m_sWellName;
|
|
static BOOL m_bIsIncrease;
|
|
static BOOL m_bUpdatePos;
|
|
static int m_nBranchSerialType;
|
|
bool m_bShow;
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_WELLSERIALDLG_H__3C61A798_46A9_4A57_9C79_FA84C1FE20FF__INCLUDED_)
|