You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
C++
46 lines
1.4 KiB
C++
/**************************************************************************************
|
|
产液剖面道内数据对象
|
|
**************************************************************************************/
|
|
#ifndef TRACKINFLUIDPRODUCINGPROFILE_H
|
|
#define TRACKINFLUIDPRODUCINGPROFILE_H
|
|
#pragma once
|
|
#include "InTrackTextRange.h"
|
|
|
|
class AFX_EXT_CLASS CInTrackFluidProducingProfile: public CInTrackTextRange
|
|
{
|
|
public:
|
|
CInTrackFluidProducingProfile();
|
|
CInTrackFluidProducingProfile(const CRect8& position);
|
|
~CInTrackFluidProducingProfile();
|
|
CLONE_WELLOBJECT(CInTrackFluidProducingProfile)
|
|
virtual void operator=(CInTrackFluidProducingProfile& object);
|
|
|
|
public:
|
|
virtual void Serialize(CArchive& ar, const short &ver);
|
|
//画产液参数表
|
|
virtual void Draw(CXyDC* pDC);
|
|
|
|
virtual bool CalcInclinedBorder();
|
|
|
|
public:
|
|
double m_dFluidAmount; //产液量
|
|
double m_dOilAmount; //产油量
|
|
double m_dWaterAmount; //产水量
|
|
double m_dGasdAmount; //产气量
|
|
double m_dWaterContent; //含水率
|
|
CString m_StrResult; //结论
|
|
int m_nAlign; //对齐方式
|
|
|
|
protected:
|
|
|
|
void DrawInclined(CXyDC* pDC);
|
|
CCurveEx m_curveMid[4]; //4条中间线
|
|
|
|
void DrawRect(CXyDC *pDC,CRect8 showRect);
|
|
|
|
public:
|
|
virtual int ReadPCG_SelfData(CKXmlParse& xp, const short& ver, CTrackObj* pTrack);
|
|
virtual void WritePCG_SelfData(CFile& fw, int nBaseTabNum);
|
|
};
|
|
|
|
#endif |