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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "nmObjLine.h"
|
|
|
|
|
|
|
|
|
|
// 数值试井绘图对象(线)
|
|
|
|
|
class NM_PLOT_EXPORT nmObjLineFault : public nmObjLine
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
nmObjLineFault();
|
|
|
|
|
nmObjLineFault(const QString& sName, \
|
|
|
|
|
ZxSubAxisX* pAxisX, \
|
|
|
|
|
ZxSubAxisY* pAxisY);
|
|
|
|
|
~nmObjLineFault();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// 封装
|
|
|
|
|
virtual void initTools();
|
|
|
|
|
|
|
|
|
|
// 辅助信息
|
|
|
|
|
virtual void initSubObjs();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// 属性填充内容
|
|
|
|
|
virtual void fillPtyPano(IxPtyPano* sheet);
|
|
|
|
|
|
|
|
|
|
// 成果序列化
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
// 模版处理(从道理上讲,模版处理与成果序列化机制完全一致)
|
|
|
|
|
// 但此处放开是为了调用方更灵活的控制
|
|
|
|
|
virtual void onLoadTempl(ZxSerializer* ser);
|
|
|
|
|
virtual void onSaveTempl(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
virtual void paintBack(QPainter* painter, \
|
|
|
|
|
const ZxPaintParam& param);
|
|
|
|
|
|
|
|
|
|
virtual bool drawSelStates(QPainter* painter,
|
|
|
|
|
QLineF& oLine);
|
|
|
|
|
|
|
|
|
|
QString getFaultName() ;
|
|
|
|
|
void setFaultName( QString newFaultName);
|
|
|
|
|
|
|
|
|
|
int getFaultFlowModel();
|
|
|
|
|
void setFaultFlowModel(int newFaultFlowModel);
|
|
|
|
|
|
|
|
|
|
double getFaultLeakage();
|
|
|
|
|
void setFaultLeakage(double newFaultLeakage);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 断层名称
|
|
|
|
|
QString m_sFaultName;
|
|
|
|
|
// 断层流动类型
|
|
|
|
|
NM_OIL_RESERVOIR_FAULT_FLOW_MODEL m_eFaultFlowModel;
|
|
|
|
|
// 断层渗透率
|
|
|
|
|
double m_dFaultLeakage;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|