|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ZxDataObjectStrUser.h"
|
|
|
|
|
#include "nmData_global.h"
|
|
|
|
|
|
|
|
|
|
// AnalInfo
|
|
|
|
|
class NM_DATA_EXPORT nmDataAnalInfo
|
|
|
|
|
: public ZxDataObjectStrUser
|
|
|
|
|
{
|
|
|
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
nmDataAnalInfo();
|
|
|
|
|
nmDataAnalInfo(const nmDataAnalInfo &other);
|
|
|
|
|
virtual ~nmDataAnalInfo();
|
|
|
|
|
|
|
|
|
|
nmDataAnalInfo &operator = (const nmDataAnalInfo &other);
|
|
|
|
|
bool operator == (const nmDataAnalInfo &other) const;
|
|
|
|
|
bool operator != (const nmDataAnalInfo &other) const;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// 接口
|
|
|
|
|
virtual ZxDataObject* clone();
|
|
|
|
|
virtual QString type() const;
|
|
|
|
|
virtual QString getTableName();
|
|
|
|
|
|
|
|
|
|
// 加载保存
|
|
|
|
|
virtual bool _parseData(VecVariant vec, int& n); //解析
|
|
|
|
|
virtual bool _sumUpData(VecVariant& vec);
|
|
|
|
|
|
|
|
|
|
// 序列化
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
// Icon
|
|
|
|
|
virtual QIcon getIcon(bool expanded) const;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// // 作业ID
|
|
|
|
|
// void setAnalID(const QString& sAnalID);
|
|
|
|
|
// QString getAnalID() const;
|
|
|
|
|
|
|
|
|
|
// 井号
|
|
|
|
|
void setWellCode(const QString& sWellCode);
|
|
|
|
|
QString getWellCode() const;
|
|
|
|
|
|
|
|
|
|
// // 作业标题
|
|
|
|
|
// void setAnalTitle(const QString& sAnalTitle);
|
|
|
|
|
// QString getAnalTitle() const;
|
|
|
|
|
|
|
|
|
|
// 作业类型
|
|
|
|
|
void setAnalType(const QString& sAnalType);
|
|
|
|
|
QString getAnalType() const;
|
|
|
|
|
|
|
|
|
|
// 作业描述
|
|
|
|
|
void setAnalDesc(const QString& sAnalDesc);
|
|
|
|
|
QString getAnalDesc() const;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// QString m_sAnalID; //作用编码
|
|
|
|
|
QString m_sWellCode; //井编码
|
|
|
|
|
// QString m_sAnalTitle; //作业标题
|
|
|
|
|
QString m_sAnalType; //作业版本号
|
|
|
|
|
QString m_sAnalDesc; //作业描述
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|