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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QVariant>
|
|
|
|
|
#include "IxSerDes.h"
|
|
|
|
|
#include "iGuiGridPty_global.h"
|
|
|
|
|
|
|
|
|
|
// 该类是为了把属性参数显示在处理解释结果页面之中
|
|
|
|
|
class X_GUI_GRIDPTY_EXPORT iResultInfo : virtual public IxSerDes
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
iResultInfo(QObject* parent = 0);
|
|
|
|
|
iResultInfo(const iResultInfo &other);
|
|
|
|
|
|
|
|
|
|
// 克隆
|
|
|
|
|
iResultInfo* clone();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// 序列化
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
QString m_sName; //名称
|
|
|
|
|
QVariant m_oValue; //数值
|
|
|
|
|
QString m_sUnit; //单位
|
|
|
|
|
|
|
|
|
|
QString m_sType; //从属类型,分类
|
|
|
|
|
|
|
|
|
|
bool m_bValid; //是否有效
|
|
|
|
|
bool m_bVisible; //是否可见
|
|
|
|
|
|
|
|
|
|
QString m_sImg;
|
|
|
|
|
};
|