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.
nmWATI/Include/mData/mProjectManager/DataModels/ZxRstJobRun.h

66 lines
1.4 KiB
C

#pragma once
#include "ZxDataObjectBin.h"
// JobInfo
class M_PROJECTMANAGER_EXPORT ZxRstJobRun
: public ZxDataObjectBin
{
ZX_DECLARE_DYNAMIC
public:
ZxRstJobRun();
ZxRstJobRun(const ZxRstJobRun &other);
virtual ~ZxRstJobRun();
ZxRstJobRun &operator = (const ZxRstJobRun &other);
bool operator == (const ZxRstJobRun &other) const;
bool operator != (const ZxRstJobRun &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 setDataBasic(const QByteArray& v);
QByteArray getDataBasic() const;
void setDataFluid(const QByteArray& v);
QByteArray getDataFluid() const;
void setDataGasConst(const QByteArray& v);
QByteArray getDataGasConst() const;
protected:
// QString m_sRstID; //成果编码
// 分别对应五个对话框中的数据
QByteArray m_byteDataBasic;
QByteArray m_byteDataFluid;
QByteArray m_byteDataGasConst;
};