|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ZxDataObjectBin.h"
|
|
|
|
|
|
|
|
|
|
// JobPureResult
|
|
|
|
|
class M_PROJECTMANAGER_EXPORT ZxRstJobPureData
|
|
|
|
|
: public ZxDataObjectBin
|
|
|
|
|
{
|
|
|
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
ZxRstJobPureData();
|
|
|
|
|
ZxRstJobPureData(const ZxRstJobPureData &other);
|
|
|
|
|
virtual ~ZxRstJobPureData();
|
|
|
|
|
|
|
|
|
|
ZxRstJobPureData &operator = (const ZxRstJobPureData &other);
|
|
|
|
|
bool operator == (const ZxRstJobPureData &other) const;
|
|
|
|
|
bool operator != (const ZxRstJobPureData &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 expanded) const;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// // 成果ID
|
|
|
|
|
// void setRstID(const QString& sRstID);
|
|
|
|
|
// QString getRstID() const;
|
|
|
|
|
|
|
|
|
|
void setCurveRaws(const QByteArray& v);
|
|
|
|
|
QByteArray getCurveRaws() const;
|
|
|
|
|
void setCurveFits(const QByteArray& v);
|
|
|
|
|
QByteArray getCurveFits() const;
|
|
|
|
|
void setModelInfos(const QByteArray& v);
|
|
|
|
|
QByteArray getModelInfos() const;
|
|
|
|
|
void setParameterInfos(const QByteArray& v);
|
|
|
|
|
QByteArray getParameterInfos() const;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// QString m_sRstID; //成果编码
|
|
|
|
|
|
|
|
|
|
// 具体大字段数据
|
|
|
|
|
QByteArray m_byteCurveRaws;
|
|
|
|
|
QByteArray m_byteCurveFits;
|
|
|
|
|
QByteArray m_byteModelInfos;
|
|
|
|
|
QByteArray m_byteParameterInfos;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|