Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

80 lines
2.1 KiB
C++

#if !defined(AFX_PIPEVMULTDRAWDLG_H__35031D91_DA99_47B9_BBBF_B4574A47629F__INCLUDED_)
#define AFX_PIPEVMULTDRAWDLG_H__35031D91_DA99_47B9_BBBF_B4574A47629F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PipeVMultDrawDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPipeVMultDrawDlg dialog
#include "Resource.h"
#include "WDGRID.h"
class TGridMultiPipe: public WDGrid
{
protected:
virtual void OnCellComboString(WDGridCell&cell,CComboBox&combo);
public:
TGridMultiPipe();
//设置管道名 cet 2011.12.9 add
void SetPipeName(const std::vector<CString> &data);
private:
// 图层管道名cet 2011.12.9 add
std::vector<CString> m_vecPipeName;
};
class CPipeVMultDrawDlg : public CDialog
{
// Construction
public:
CPipeVMultDrawDlg(CWnd* pParent = NULL); // standard constructor
// 获得管道图层索引号 cet 2011.12.9 add
int GetPipeIdxByPipeName(const CString &sPipeName);
// Dialog Data
//{{AFX_DATA(CPipeVMultDrawDlg)
enum { IDD = IDD_PIPE_MULT_V };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
TGridMultiPipe m_grid;
BOOL m_bIsSuperposable;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPipeVMultDrawDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void Save();
void LoadLast();
// Generated message map functions
//{{AFX_MSG(CPipeVMultDrawDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButtonAdd();
afx_msg void OnButtonDel();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
// 初始化图层管道名 cet 2011.12.9 add
void InitLayerPipeName();
// 获取管道名 cet 2011.12.9 add
void GetPipeName(std::vector<CString> &vecPipeName);
private:
// 图层管道名cet 2011.12.9 add
std::map<CString,CString> m_mapLayerPipeName;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PIPEVMULTDRAWDLG_H__35031D91_DA99_47B9_BBBF_B4574A47629F__INCLUDED_)