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

58 lines
874 B
C++

#include "StdAfx.h"
#include "CSWGXDlg.h"
IMPLEMENT_DYNAMIC(CSWGXDlg, CDialog)
CSWGXDlg::CSWGXDlg(CWnd* pParent /*=NULL*/)
: CDialog(IDD_SWGX_DLG, pParent)
{
}
CSWGXDlg::~CSWGXDlg()
{
}
void CSWGXDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CSWGXDlg, CDialog)
END_MESSAGE_MAP()
BOOL CSWGXDlg::OnInitDialog()
{
CDialog::OnInitDialog();
return TRUE;
}
void CSWGXDlg::OnOK()
{
CDialog::OnOK();
}
void CSWGXDlg::GetPipeParam(WPipe::PipeParam *pParam) const
{
if (pParam != NULL)
{
pParam->m_eD = WPipe::eDN;
pParam->m_dD = 800;
pParam->m_dOD = 880;
pParam->m_dThick = 40;
pParam->m_dRRatio = 2.0;
pParam->m_dEl = 0;
pParam->m_app = WPipe::eSanitary;
pParam->m_dPress = 1.0;
_tcscpy(pParam->szSys, _T("污水系统"));
//...
}
}
void CSWGXDlg::SetShowParam(WPipe::PipeParam *pParam)
{
}