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/iSpeciParam.h

127 lines
2.3 KiB
C++

#pragma once
#include "iXmlManager_global.h"
#include "iXmlUtilBase.h"
#include <QtXml/QDomElement>
#include <QStringList>
#include <QVector>
/// @brief 特征线特征点所用
//基本参数元
class I_XMLMANAGER_EXPORT iItemParam
{
public:
iItemParam();
~iItemParam();
// 解析xml节点到List
void parseInfo(const QDomElement& e);
public:
QString sName;
QString sAlias;
QStringList listFunName;
QStringList listFunRemark;
QStringList listPt;
QString sIcon;
QString sUnit;
};
typedef QVector<iItemParam*> vecItemParamPtr;
//公共参数
class I_XMLMANAGER_EXPORT iCommonParam
{
public:
iCommonParam();
~iCommonParam();
// 解析xml节点到List
void parseInfo(const QDomElement& e);
public:
vecItemParamPtr vecItemPtr;
};
typedef QVector<iCommonParam*> vecCommonParamPtr;
//井储参数
class I_XMLMANAGER_EXPORT iWbsParam
{
public:
iWbsParam();
~iWbsParam();
// 解析xml节点到List
void parseInfo(const QDomElement& e);
public:
QString sName;
QStringList listWbs;
vecItemParamPtr vecItemPtr;
};
typedef QVector<iWbsParam*> vecWbsParamPtr;
//井型参数
class I_XMLMANAGER_EXPORT iWelParam
{
public:
iWelParam();
~iWelParam();
// 解析xml节点到List
void parseInfo(const QDomElement& e);
public:
QString sName;
QStringList listWel;
vecItemParamPtr vecItemPtr;
};
typedef QVector<iWelParam*> vecWelParamPtr;
//油藏参数
class I_XMLMANAGER_EXPORT iResParam
{
public:
iResParam();
~iResParam();
// 解析xml节点到List
void parseInfo(const QDomElement& e);
public:
QString sName;
QStringList listRes;
vecItemParamPtr vecItemPtr;
};
typedef QVector<iResParam*> vecResParamPtr;
//边界参数
class I_XMLMANAGER_EXPORT iBdyParam
{
public:
iBdyParam();
~iBdyParam();
// 解析xml节点到List
void parseInfo(const QDomElement& e);
public:
QString sName;
QStringList listBdy;
vecItemParamPtr vecItemPtr;
};
typedef QVector<iBdyParam*> vecBdyParamPtr;
//
class I_XMLMANAGER_EXPORT iSpeciParam
{
public:
iSpeciParam();
~iSpeciParam();
// 解析xml节点到List
void parseInfo(const QDomElement& e);
public:
QString sName;
QString sAlias;
QString sTips;
iCommonParam *pCommomParam;//公共
vecWbsParamPtr vecWbs; //井储
vecWelParamPtr vecWel; //井型
vecResParamPtr vecRes; //油藏
vecBdyParamPtr vecBdy; //边界
};
typedef QVector<iSpeciParam*> vecParamPtr;