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"
|
|
|
|
|
|
|
|
|
|
class iModelInfoWbs;
|
|
|
|
|
class iModelInfoWel;
|
|
|
|
|
class iModelInfoRes;
|
|
|
|
|
class iModelInfoBdy;
|
|
|
|
|
|
|
|
|
|
/// @brief 模型描述,每一行的内容
|
|
|
|
|
class I_XMLMANAGER_EXPORT iModelDesc : public iModelInfoBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
iModelDesc(QObject* parent = 0);
|
|
|
|
|
~iModelDesc();
|
|
|
|
|
|
|
|
|
|
// 把List分配到成员变量
|
|
|
|
|
// 输入开始的m_listValues中index,并且返回下一个index
|
|
|
|
|
virtual int allocateInfo(int nIndex);
|
|
|
|
|
|
|
|
|
|
// 追加公共
|
|
|
|
|
void appendCommons(QString sInputs, QString sOutputs);
|
|
|
|
|
QStringList changeStrList(QStringList listOld, QString sNew);
|
|
|
|
|
|
|
|
|
|
// 序列化
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
virtual void initXmlTags();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
QStringList m_listInputs; //输入
|
|
|
|
|
QStringList m_listOutputs; //输出
|
|
|
|
|
|
|
|
|
|
QString m_sSerie;
|
|
|
|
|
QString m_sWel; //井型
|
|
|
|
|
QString m_sRes; //油藏模型
|
|
|
|
|
|
|
|
|
|
// 对应指针
|
|
|
|
|
// iModelInfoWbs* m_pWbs; //暂时不用
|
|
|
|
|
iModelInfoWel* m_pWel;
|
|
|
|
|
iModelInfoRes* m_pRes;
|
|
|
|
|
// iModelInfoBdy* m_pBdy; //暂时不用
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
typedef QVector<iModelDesc*> vecModelDescsPtr;
|