#pragma once #include "iWxPvtSubPhase.h" namespace Ui { class iWxPvtSubPhaseOil; } class M_TOOL_PVT_EXPORT iWxPvtSubPhaseOil : public iWxPvtSubPhase { Q_OBJECT public: explicit iWxPvtSubPhaseOil(QString sFluidType, \ QString sPhaseType, \ QWidget *parent = 0); ~iWxPvtSubPhaseOil(); // 初始化 virtual void initUI(); // 文件标识 virtual QString getFilePvtTag(); protected: // 默认值 virtual void initDefault(); virtual void dealWithMethodItemExt(QGridLayout* pLayout, QString sPara, int r, int& c); // 返回数据 virtual bool getParaValue(QString sPara, double &fValue, QString sUnitDest = ""); virtual void onSerialize(ZxSerializer* ser); virtual void onDeserialize(ZxSerializer* ser); private slots: void slotVasBegSetting(); private: Ui::iWxPvtSubPhaseOil *ui; double m_fPsep; double m_fTsep; };