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.
73 lines
1.6 KiB
C++
73 lines
1.6 KiB
C++
#pragma once
|
|
|
|
#include "ZxDataObjectStrUser.h"
|
|
|
|
// RstWndPlot
|
|
class M_PROJECTMANAGER_EXPORT ZxRstWndPlot
|
|
: public ZxDataObjectStrUser
|
|
{
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
public:
|
|
|
|
ZxRstWndPlot();
|
|
ZxRstWndPlot(const ZxRstWndPlot& other);
|
|
virtual ~ZxRstWndPlot();
|
|
|
|
ZxRstWndPlot &operator = (const ZxRstWndPlot& other);
|
|
bool operator == (const ZxRstWndPlot& other) const;
|
|
bool operator != (const ZxRstWndPlot& other) const;
|
|
|
|
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 b) const;
|
|
|
|
public:
|
|
|
|
// ID
|
|
//void setPlotID(const QString& s);
|
|
//QString getPlotID() const;
|
|
|
|
// 井号
|
|
void setWellCode(const QString& s);
|
|
QString getWellCode() const;
|
|
|
|
// 窗体ID
|
|
void setRstWndID(const QString& s);
|
|
QString getRstWndID() const;
|
|
|
|
//// Pvt名称
|
|
//void setPlotTag(const QString& s);
|
|
//QString getPlotTag() const;
|
|
|
|
// 其它具体参数
|
|
void setPlotContents(const QByteArray& ba);
|
|
QByteArray getPlotContents() const;
|
|
void setPlotExts(const QByteArray& ba);
|
|
QByteArray getPlotExts() const;
|
|
|
|
protected:
|
|
|
|
//QString m_sPlotID;//ID
|
|
QString m_sWellCode; //井编码
|
|
QString m_sRstWndID; //窗体ID
|
|
//QString m_sPlotTag; //图件标识
|
|
|
|
QByteArray m_baPlotContents; //图件内容
|
|
QByteArray m_baPlotExts; //其它辅助
|
|
|
|
};
|