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

79 lines
1.8 KiB
C++

#if !defined(AFX_ROOFINFOCALCDLG_H__6E9ECB83_870E_429C_81F1_61680FA9A3B1__INCLUDED_)
#define AFX_ROOFINFOCALCDLG_H__6E9ECB83_870E_429C_81F1_61680FA9A3B1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
class CRoofInfoCalcDlg : public CModelessDialog
{
public:
CRoofInfoCalcDlg(int iType, CWnd* pParent = NULL);
void SetSpaceIdData(const std::vector<AcDbObjectId> &data);
void GetSpaceIdData(std::vector<AcDbObjectId> &data);
void SetSideWall(BOOL bVal);
BOOL GetSideWall();
DECLARE_DYNAMIC(CRoofInfoCalcDlg)
//{{AFX_DATA(CRoofInfoCalcDlg)
enum { IDD = IDD_CALC_INFO_ROOF };
CListBox m_listCity;
CListBox m_listProvince;
CString m_strA;
CString m_strB;
CString m_strC;
CString m_strN;
CString m_strProvince;
CString m_strCity;
CString m_strWndEdtArea;
CString m_strN2;
//}}AFX_DATA
static CString m_strt;
static CString m_strP;
static CString m_strQuotiety;
static CString m_strK1;
//{{AFX_VIRTUAL(CRoofInfoCalcDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CRoofInfoCalcDlg)
afx_msg LONG_PTR onAcadKeepFocus(UINT_PTR, LONG_PTR);
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeListProvince();
afx_msg void OnSelchangeListCity();
afx_msg void OnButtonNewcity();
afx_msg void OnButtonCalc();
afx_msg void OnButtonRunoff();
afx_msg void OnButtonRecur();
afx_msg void OnButtonRegulate();
afx_msg void OnButtonArea();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL GetAllCityByProvince(const TCHAR* szProvince, XStringList &lstCity);
private:
std::vector<AcDbObjectId> m_idData; // 保存汇水面积实体id
BOOL m_bExistSideWall; // 是否有侧墙
};
#endif // !defined(AFX_ROOFINFOCALCDLG_H__6E9ECB83_870E_429C_81F1_61680FA9A3B1__INCLUDED_)