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 "ZxDataObjectEx.h"
|
|
|
|
|
#include "iXmlField.h"
|
|
|
|
|
|
|
|
|
|
// 这是针对新疆 试井之星 软件的特殊处理数据对象
|
|
|
|
|
// 从新疆 试井之星 后台mdb文件的两张表加载数据时,
|
|
|
|
|
// 把部分MPA/WTAI需要的数据加载分发至MPA/WTAI的数据表中,而
|
|
|
|
|
// 把MPA/WTAI未涉及的数据放在本数据对象中进行处理
|
|
|
|
|
class M_PROJECTMANAGER_EXPORT zxDataOtherItem
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
zxDataOtherItem();
|
|
|
|
|
virtual ~zxDataOtherItem();
|
|
|
|
|
|
|
|
|
|
virtual bool parseData(VecVariant vec); //解析
|
|
|
|
|
virtual bool sumUpData(VecVariant& vec);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
QString m_sName; //Name,英文
|
|
|
|
|
QString m_sAlias; //别名,通常对应中文
|
|
|
|
|
FieldInfoType m_oType; //类型,
|
|
|
|
|
QString m_sUnit; //单位,数值型有效
|
|
|
|
|
QVariant m_oValue; //数值
|
|
|
|
|
|
|
|
|
|
bool m_bWellData; //从属于井还是从属于区块
|
|
|
|
|
QString m_sTable;
|
|
|
|
|
int m_ndex;
|
|
|
|
|
bool m_bShow; //从表中读取数据一些不需要显示的
|
|
|
|
|
bool m_bOther; //other数据表不显示(这里定义为没有存到MPA/WTAI数据库中的就为other)
|
|
|
|
|
|
|
|
|
|
QString m_sParam;//对应到MPA/WTAI中参数名(如果为空就说明是没有对应的参数)
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
typedef QVector<zxDataOtherItem*> vecAccessItem;
|