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 nmObjLineCrack : public nmObjLine
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
nmObjLineCrack();
|
|
|
|
|
nmObjLineCrack(const QString& sName, \
|
|
|
|
|
ZxSubAxisX* pAxisX, \
|
|
|
|
|
ZxSubAxisY* pAxisY);
|
|
|
|
|
~nmObjLineCrack();
|
|
|
|
|
|
|
|
|
|
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 getCrackName();
|
|
|
|
|
void setCrackName(QString newCrackName);
|
|
|
|
|
|
|
|
|
|
int getCrackFlowModel();
|
|
|
|
|
void setCrackFlowModel(int newCrackFlowModel);
|
|
|
|
|
|
|
|
|
|
double getCrackThickness();
|
|
|
|
|
void setCrackThickness(double newCrackThickness);
|
|
|
|
|
|
|
|
|
|
double getCrackConductivity();
|
|
|
|
|
void setCrackConductivity(double newConductivity);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 裂缝名称
|
|
|
|
|
QString m_sCrackName;
|
|
|
|
|
// 裂缝流动类型
|
|
|
|
|
NM_OIL_RESERVOIR_CRACK_FLOW_MODEL m_eCrackFlowModel;
|
|
|
|
|
// 裂缝宽度
|
|
|
|
|
double m_dCrackThickness;
|
|
|
|
|
// 裂缝传导率
|
|
|
|
|
double m_dCrackConductivity;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|