|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ZxDataObjectDbl.h"
|
|
|
|
|
|
|
|
|
|
// 油藏
|
|
|
|
|
class M_PROJECTMANAGER_EXPORT ZxDataRes
|
|
|
|
|
: public ZxDataObjectDbl
|
|
|
|
|
{
|
|
|
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
ZxDataRes();
|
|
|
|
|
ZxDataRes(const ZxDataRes &other);
|
|
|
|
|
virtual ~ZxDataRes();
|
|
|
|
|
|
|
|
|
|
ZxDataRes &operator = (const ZxDataRes &other);
|
|
|
|
|
bool operator == (const ZxDataRes &other) const;
|
|
|
|
|
bool operator != (const ZxDataRes &other) const;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// 接口
|
|
|
|
|
virtual ZxDataObject* clone();
|
|
|
|
|
virtual QString type() const;
|
|
|
|
|
|
|
|
|
|
// 加载保存
|
|
|
|
|
virtual bool _parseData(VecVariant vec, int& n); //解析
|
|
|
|
|
virtual bool _sumUpData(VecVariant& vec);
|
|
|
|
|
|
|
|
|
|
// 序列化
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
// Icon
|
|
|
|
|
virtual QIcon getIcon(bool expanded) const;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
void setWellCode(const QString& sWellCode);
|
|
|
|
|
QString getWellCode() const;
|
|
|
|
|
|
|
|
|
|
void setEffThickness(const double& fEffThickness);
|
|
|
|
|
double getEffThickness() const;
|
|
|
|
|
|
|
|
|
|
void setResTopDepth(const double& fResTopDepth);
|
|
|
|
|
double getResTopDepth() const;
|
|
|
|
|
|
|
|
|
|
void setResBottomDepth(const double& fResBottomDepth);
|
|
|
|
|
double getResBottomDepth() const;
|
|
|
|
|
|
|
|
|
|
void setPor(const double& fPor);
|
|
|
|
|
double getPor() const;
|
|
|
|
|
|
|
|
|
|
void setK(const double& fK);
|
|
|
|
|
double getK() const;
|
|
|
|
|
|
|
|
|
|
void setFormationPress(const double& fFormationPress);
|
|
|
|
|
double getFormationPress() const;
|
|
|
|
|
|
|
|
|
|
void setFormationTemp(const double& fFormationTemp);
|
|
|
|
|
double getFormationTemp() const;
|
|
|
|
|
|
|
|
|
|
void setTotalCF(const double& fTotalCF);
|
|
|
|
|
double getTotalCF() const;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
//QString m_sID;
|
|
|
|
|
QString m_sWellCode;
|
|
|
|
|
//QString m_sLayerName;
|
|
|
|
|
|
|
|
|
|
double m_fEffThickness;
|
|
|
|
|
double m_fResTopDepth;
|
|
|
|
|
double m_fResBottomDepth;
|
|
|
|
|
double m_fPor;
|
|
|
|
|
double m_fK;
|
|
|
|
|
double m_fFormationPress;
|
|
|
|
|
double m_fFormationTemp;
|
|
|
|
|
double m_fTotalCF;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|