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

57 lines
1.0 KiB
C++

#pragma once
#include "afxwin.h"
#include "resource.h"
class CGJSXDlg : public CDialog
{
DECLARE_DYNAMIC(CGJSXDlg)
public:
CGJSXDlg(CWnd* pParent = NULL); // 标准构造函数
virtual~CGJSXDlg(void);
void SetDbServer(CUIISQLiteServer* pDb);
void SetShowParam(WPipe::PipeParam* pParam);
void GetPipeParam(WPipe::PipeParam* pParam) const;
// 对话框数据
enum { IDD = IDD_GJSX_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
virtual void OnOK();
virtual BOOL OnInitDialog();
CListBox m_wndElbowradList;
CListBox m_wndPressList;
CListCtrl m_wndPipeList;
protected:
void InitPipeList();
void InitPressFromDb();
protected:
int m_nDN;
int m_nDDir;
int m_nRadioOn;
double m_dOD;
double m_dt;
double m_dRatio;
double m_dPress;
CString m_sLevel;
CString m_sMat;
CString m_sSys;
CComboBox m_wndComboMatersFit;
CComboBox m_wndComboSys;
CString m_sMertialFit;
CUIISQLiteServer * m_pDb;
WPipe::PipeParam m_param;
};