⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dialogshotpara.h

📁 这是本人两年前兼职为某个公司做的石油钻进设计软件
💻 H
字号:
#if !defined(AFX_DIALOGSHOTPARA_H__B1D4CF41_2D94_11D3_877F_BEC34F6B835F__INCLUDED_)
#define AFX_DIALOGSHOTPARA_H__B1D4CF41_2D94_11D3_877F_BEC34F6B835F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialogShotPara.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDialogShotPara dialog

class CDialogShotPara : public CDialog
{
// Construction
public:
	CDialogShotPara(CWnd* pParent = NULL);   // standard constructor
//USER
	BOOL m_bComputeState;
	BOOL m_bComputeSave;
	BOOL m_bWellState;			//TRUE:油井;FALSE:气井
	STRUCTTTPTABLE m_structTTPTable;
	STRUCTTTPSHOTPARA m_structDate[8];
	struct STRUCTSOURCEDATA
	{
		float fPress;
		float fHole;
		float fFilter;
		CString  cstrModel;
	}m_structSD;
	//计算结果
	float m_fPressDiff;			//估计射孔压差
	float m_fPP[8];				//校正系数
	float m_fPDepth[8];			//校正穿深
	float m_fPDiameter[8];		//校正孔径

// Dialog Data
	//{{AFX_DATA(CDialogShotPara)
	enum { IDD = IDD_DIALOG_SHOTPARA };
	CEdit	m_ctrlAngleEdit;
	CButton	m_ctrlAngleCheck;
	CListCtrl	m_ctrlShotPara;
	CListCtrl	m_ctrlListDate;
	CEdit	m_ctrl208;
	CEdit	m_ctrl102;
	CTabCtrl	m_ctrlTab;
	CEdit	m_ctrl209;
	CEdit	m_ctrl207;
	CButton	m_ctrl206;
	CButton	m_ctrl205;
	CStatic	m_ctrl204;
	CStatic	m_ctrl203;
	CStatic	m_ctrl202;
	CButton	m_ctrl201;
	CStatic	m_ctrl106;
	CStatic	m_ctrl105;
	CButton	m_ctrl104;
	CEdit	m_ctrl101;
	float	m_fDate;
	float	m_fGun;
	float	m_fLimitDate;
	float	m_fLong;
	CString	m_cstrModel;
	float	m_fShotPress;
	BOOL	m_bAngle;
	float	m_fAngle;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDialogShotPara)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void ComputShotDepth();
	void ComputGas();
	void ComputOil();
	void ComputPP();
	//USER

	// Generated message map functions
	//{{AFX_MSG(CDialogShotPara)
	afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonModify();
	afx_msg void OnClickListDate(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonComput();
	afx_msg void OnButtonTtpSave();
	afx_msg void OnCheckAngle();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIALOGSHOTPARA_H__B1D4CF41_2D94_11D3_877F_BEC34F6B835F__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -