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.
65 lines
1.4 KiB
C++
65 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include "ZxDataObjectStrUser.h"
|
|
|
|
// RstJobUtils
|
|
class M_PROJECTMANAGER_EXPORT ZxRstJobUtils
|
|
: public ZxDataObjectStrUser
|
|
{
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
public:
|
|
|
|
ZxRstJobUtils();
|
|
ZxRstJobUtils(const ZxRstJobUtils &other);
|
|
virtual ~ZxRstJobUtils();
|
|
|
|
ZxRstJobUtils &operator = (const ZxRstJobUtils &other);
|
|
bool operator == (const ZxRstJobUtils &other) const;
|
|
bool operator != (const ZxRstJobUtils &other) const;
|
|
|
|
// 加载孩子节点
|
|
virtual bool createChildren();
|
|
|
|
public:
|
|
|
|
// 接口
|
|
virtual ZxDataObject* clone();
|
|
virtual QString type() const;
|
|
|
|
// 加载保存
|
|
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:
|
|
|
|
// virtual void setCode(const QString &sCode);
|
|
// virtual void setName(const QString &sName);
|
|
|
|
void setJobID(const QString& s);
|
|
QString getJobID() const;
|
|
void setWellCode(const QString& s);
|
|
QString getWellCode() const;
|
|
void setModelSeries(const QString& s);
|
|
QString getModelSeries() const;
|
|
|
|
protected:
|
|
|
|
//RstUtilID,
|
|
//RstUtilTag,
|
|
QString m_sJobID; //对应的作业ID
|
|
QString m_sWellCode; //20171225增加
|
|
QString m_sModelSeries; //本成果属于的模型类型
|
|
};
|
|
|
|
|
|
|
|
|