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.
nmWTAI-Platform/Include/mData/mSysUtilsWDT/wdtDefineBase.h

48 lines
974 B
C

#pragma once
#include "iModelInfoBase.h"
#include "mSysUtilsWDT_global.h"
// 产能 定义 基类
class M_SYSUTILS_WDT_EXPORT wdtDefineBase : public iModelInfoBase
{
public:
wdtDefineBase();
~wdtDefineBase();
// 把List分配到成员变量
// 输入开始的m_listValues中index并且返回下一个index
virtual int allocateInfo(int nIndex);
// 支持组模式
static void adjustParasByGroupTag(QStringList& listParas);
protected:
virtual void initXmlTags();
// 把父级的options赋值到孩子
virtual void makesureOptionsOfChildren();
public:
QString m_sSerie; //从属序列默认WDT
QStringList m_listParas; //涉及参数列表
QStringList m_listOptionAlias1;
QStringList m_listOptionAlias2;
QStringList m_listOptionNames1;
QStringList m_listOptionNames2;
public:
QVector<wdtDefineBase*> m_vecWdtSubDefines;
};
typedef QVector<wdtDefineBase*> vecWdtSubDefinePtr;