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.
113 lines
2.9 KiB
C++
113 lines
2.9 KiB
C++
#pragma once
|
|
|
|
#include "ZxDataObjectBin.h"
|
|
|
|
// RstJobWnd
|
|
class M_PROJECTMANAGER_EXPORT ZxRstJobWnd
|
|
: public ZxDataObjectBin
|
|
{
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
public:
|
|
|
|
ZxRstJobWnd();
|
|
ZxRstJobWnd(const ZxRstJobWnd &other);
|
|
virtual ~ZxRstJobWnd();
|
|
|
|
ZxRstJobWnd &operator = (const ZxRstJobWnd &other);
|
|
bool operator == (const ZxRstJobWnd &other) const;
|
|
bool operator != (const ZxRstJobWnd &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:
|
|
|
|
// // 成果ID
|
|
// void setRstID(const QString& sRstID);
|
|
// QString getRstID() const;
|
|
|
|
void setWndIndex(const QString& s);
|
|
QString getWndIndex() const;
|
|
void setWndID(const QString& s);
|
|
QString getWndID() const;
|
|
void setWndTag(const QString& s);
|
|
QString getWndTag() const;
|
|
|
|
void setRstUtilID(const QString& s);
|
|
QString getRstUtilID() const;
|
|
void setDataJobRun(const QByteArray& v);
|
|
QByteArray getDataJobRun() const;
|
|
void setDataSegInfo(const QByteArray& v);
|
|
QByteArray getDataSegInfo() const;
|
|
|
|
void setDataInfo(const QByteArray& v);
|
|
QByteArray getDataInfo() const;
|
|
void setDataInfo1(const QByteArray& v);
|
|
QByteArray getDataInfo1() const;
|
|
void setDataInfo2(const QByteArray& v);
|
|
QByteArray getDataInfo2() const;
|
|
void setDataInfo3(const QByteArray& v);
|
|
QByteArray getDataInfo3() const;
|
|
void setDataInfo4(const QByteArray& v);
|
|
QByteArray getDataInfo4() const;
|
|
void setDataInfo5(const QByteArray& v);
|
|
QByteArray getDataInfo5() const;
|
|
void setDataInfo6(const QByteArray& v);
|
|
QByteArray getDataInfo6() const;
|
|
void setDataInfo7(const QByteArray& v);
|
|
QByteArray getDataInfo7() const;
|
|
void setDataInfo8(const QByteArray& v);
|
|
QByteArray getDataInfo8() const;
|
|
void setDataInfo9(const QByteArray& v);
|
|
QByteArray getDataInfo9() const;
|
|
|
|
void setDataInfoOf(const QByteArray& v, int nIndex);
|
|
QByteArray getDataInfoOf(int nIndex) const;
|
|
|
|
protected:
|
|
|
|
// QString m_sRstID; //成果编码
|
|
|
|
QString m_sWndIndex;
|
|
QString m_sWndID;
|
|
QString m_sWndTag;
|
|
|
|
QString m_sRstUtilID;
|
|
QByteArray m_byteDataJobRun;
|
|
QByteArray m_byteDataSegInfo;
|
|
|
|
// 各类大数据
|
|
QByteArray m_byteDataInfo;
|
|
QByteArray m_byteDataInfo1;
|
|
QByteArray m_byteDataInfo2;
|
|
QByteArray m_byteDataInfo3;
|
|
QByteArray m_byteDataInfo4;
|
|
QByteArray m_byteDataInfo5;
|
|
QByteArray m_byteDataInfo6;
|
|
QByteArray m_byteDataInfo7;
|
|
QByteArray m_byteDataInfo8;
|
|
QByteArray m_byteDataInfo9;
|
|
};
|
|
|
|
|
|
|
|
|