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 "iModelInfoBase.h"
|
|
|
|
|
|
|
|
|
|
/// @brief
|
|
|
|
|
class I_XMLMANAGER_EXPORT iIprAlgItem : public iModelInfoBase
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
iIprAlgItem();
|
|
|
|
|
~iIprAlgItem();
|
|
|
|
|
|
|
|
|
|
// 把List分配到成员变量
|
|
|
|
|
// 输入开始的m_listValues中index,并且返回下一个index
|
|
|
|
|
virtual int allocateInfo(int nIndex);
|
|
|
|
|
|
|
|
|
|
// 写入xml
|
|
|
|
|
void writeInfo(QDomElement& e,QDomDocument &doc);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
virtual void initXmlTags();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
QString m_sExpr; //显示在界面上的表达式 -->
|
|
|
|
|
QString m_sFluidType; //算法油气水类型,默认:G,可以不填写,填写OGW代表对油气水 -->
|
|
|
|
|
bool m_bResultBoth; //结果呈现,默认:左右两图,如果是一图,填写0 -->
|
|
|
|
|
bool m_bSubRadioVisible; //是否显示 Radio,默认显示,如果不显示,填写1 -->
|
|
|
|
|
|
|
|
|
|
QStringList m_listLegends; //区域经验,子图例
|
|
|
|
|
double m_dMaxX; //x范围,因为y是根据x计算的,所以不设置y
|
|
|
|
|
double m_dMinX;
|
|
|
|
|
bool m_bLinearX; //线性坐标
|
|
|
|
|
bool m_bLinearY; //线性坐标
|
|
|
|
|
|
|
|
|
|
QString m_sNameX;
|
|
|
|
|
QString m_sUnitX;
|
|
|
|
|
QString m_sNameY;
|
|
|
|
|
QString m_sUnitY;
|
|
|
|
|
|
|
|
|
|
float m_fK;//对于一点法而言
|
|
|
|
|
float m_fB;
|
|
|
|
|
|
|
|
|
|
QStringList m_listSrcTableCols;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
typedef QVector<iIprAlgItem*> vecIprAlgItemsPtr;
|