📄 newsourcedataview.h
字号:
//{{AFX_INCLUDES()
#include "spreadsheet.h"
//}}AFX_INCLUDES
#if !defined(AFX_NEWSOURCEDATAVIEW_H__62F40A7B_1525_4834_849A_117E7715B8D7__INCLUDED_)
#define AFX_NEWSOURCEDATAVIEW_H__62F40A7B_1525_4834_849A_117E7715B8D7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NewSourceDataView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CNewSourceDataView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CNewSourceDataView : public CFormView
{
protected:
CNewSourceDataView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CNewSourceDataView)
// Form Data
public:
//{{AFX_DATA(CNewSourceDataView)
enum { IDD = IDD_FORMVIEW_SOURCE_DATA };
CStatic m_ctrl4_6;
CButton m_ctrl4_5;
CTabCtrl m_ctrlTab;
CSpreadSheet m_spread1;
CSpreadSheet m_spread2;
CSpreadSheet m_spread3;
CButton m_ctrl4_1;
CButton m_ctrl4_2;
CButton m_ctrl4_3;
CButton m_ctrl4_4;
CListCtrl m_ctrlList;
CListBox m_ctrlSelected;
//}}AFX_DATA
// Attributes
public:
CString m_cstrOilResCanModel;
private:
bool bModified;
int m_nNum;
static const CString strCombo2Data[15];
public:
CString m_cstrProjectPath;
CString m_cstrSDTPath;
CString m_cstrEDTPath;
STRUCTSDTTABLE m_structSDT[255];
// Operations
public:
double m_fStratumCentralDepth,
m_fStratumPly,
m_fShotLayerPly,
m_fStratumFilterPercent,
m_fStratumHolePercent,
m_fStratumHeter,
m_fStratumAverPress,
m_fStratumTemp,
m_fRevealOilRadius,
m_fWellRadius,
m_fFloorOilPorportion,
m_fFloorGasPorportion,
m_fStratumOilStiff,
m_fOilFaceTension,
m_fWaterFaceTension,
m_fWaterPercent,
m_fDrillPollutDepth,
m_fDrillPollutePercent;
double m_fProduceGasWater,
m_fWellMouthTemp,
m_fWellBottomTemp,
m_fOilSaturationPress,
m_fComputePressDiff;
int m_iCanModel, m_iCanPara;
double m_fCanPressRes;
CString m_cstrVittaModel;
double m_fVittaMeasureDepth,
m_fVittaPlumbDepth,
m_fVittaInsideDiameter,
m_fVittaCompCoareseness;
int m_iShotDenNum, m_iShotPhasicNum;
double m_fShotDen1,
m_fShotDen2,
m_fShotDen3,
m_fShotDen4,
m_fShotDen5,
m_fShotDen6,
m_fShotDen7,
m_fShotDen8,
m_fShotPhasic1,
m_fShotPhasic2,
m_fShotPhasic3,
m_fShotPhasic4,
m_fShotPhasic5,
m_fShotPhasic6;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewSourceDataView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void NewLoad1();
void NewLoad2();
void NewLoad3();
void NewSave1();
void NewSave2();
void NewSave3();
void Save();
void Load();
virtual ~CNewSourceDataView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CNewSourceDataView)
afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnButtonBasedataAdd();
afx_msg void OnButtonBasedataClear();
afx_msg void OnButtonBasedataDel();
afx_msg void OnButtonLoadbullet();
afx_msg void OnChangeSpread1(long Col, long Row);
afx_msg void OnChangeSpread2(long Col, long Row);
afx_msg void OnChangeSpread4(long Col, long Row);
afx_msg void OnDestroy();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NEWSOURCEDATAVIEW_H__62F40A7B_1525_4834_849A_117E7715B8D7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -