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 "iWxPseudoCSub.h"
|
|
|
|
|
|
|
|
|
|
class M_TOOL_PVT_EXPORT iWxPseudoCSubPE : public iWxPseudoCSub
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
explicit iWxPseudoCSubPE(QString sMethod, QWidget *parent = 0);
|
|
|
|
|
~iWxPseudoCSubPE();
|
|
|
|
|
virtual void initUI();
|
|
|
|
|
virtual void initLabels();
|
|
|
|
|
|
|
|
|
|
// 所有的平衡计算的结果地址
|
|
|
|
|
void setResultPtrOfPE(VVecDouble* pVVec);
|
|
|
|
|
// 是否需要刷新
|
|
|
|
|
void setFreshNeeded(bool b);
|
|
|
|
|
bool isFreshNeeded(){ return m_bFreshNeeded;}
|
|
|
|
|
|
|
|
|
|
// 根据新的相态平衡计算结果进行刷新
|
|
|
|
|
virtual bool freshResultPE();
|
|
|
|
|
virtual bool freshTableByPE();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// 准备拟合数据
|
|
|
|
|
bool prepareFitSrc(VVecVariant& vvec, int nIndexY, int nIndexX = -1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 表格及图形刷新
|
|
|
|
|
virtual void freshChartByTableChange();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// 所有的平衡计算的结果地址,临时,不需要析构
|
|
|
|
|
VVecDouble* m_pVVecPtrOfPE;
|
|
|
|
|
// 是否需要刷新
|
|
|
|
|
bool m_bFreshNeeded;
|
|
|
|
|
// PE中第几列数据,最后为压力,8,不予考虑
|
|
|
|
|
VecInt m_vecDataIndexes;
|
|
|
|
|
};
|