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.
nmWATI/Include/iData/iXmlManager/Models/iIprAlgItem.h

48 lines
1.3 KiB
C

#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;
double m_fK;//对于一点法而言
double m_fB;
QStringList m_listSrcTableCols;
};
typedef QVector<iIprAlgItem*> vecIprAlgItemsPtr;