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

📄 shotparaview.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CShotParaView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CShotParaView : public CFormView
{
protected:
	CShotParaView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CShotParaView)

// Form Data
public:
	//{{AFX_DATA(CShotParaView)
	enum { IDD = IDD_FORMVIEW_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_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

// Attributes
public:
//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];		//校正孔径

// Operations
public:

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

// Implementation
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	virtual ~CShotParaView();
	void ComputShotDepth();
	void ComputGas();
	void ComputOil();
	void ComputPP();
	//USER
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CShotParaView)
	afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
	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 int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSpdCacl();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_SHOTPARAVIEW_H__07CF165A_43B4_4894_8C19_2F13A55BA821__INCLUDED_)

⌨️ 快捷键说明

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