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 "iWxPvtSubPhase.h"
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class iWxPvtSubPhaseWater;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class M_TOOL_PVT_EXPORT iWxPvtSubPhaseWater : public iWxPvtSubPhase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit iWxPvtSubPhaseWater(QString sFluidType, \
|
|
|
|
|
QString sPhaseType, \
|
|
|
|
|
QWidget *parent = 0);
|
|
|
|
|
~iWxPvtSubPhaseWater();
|
|
|
|
|
|
|
|
|
|
// 初始化
|
|
|
|
|
virtual void initUI();
|
|
|
|
|
|
|
|
|
|
// 文件标识
|
|
|
|
|
virtual QString getFilePvtTag();
|
|
|
|
|
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// 默认值
|
|
|
|
|
virtual void initDefault();
|
|
|
|
|
|
|
|
|
|
// 刷新Radio相关
|
|
|
|
|
void refreshRadioAbouts();
|
|
|
|
|
|
|
|
|
|
// 返回数据
|
|
|
|
|
virtual bool getParaValue(QString sPara,
|
|
|
|
|
double &fValue,
|
|
|
|
|
QString sUnitDest = "");
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
|
|
void on_radioGravity_clicked();
|
|
|
|
|
void on_radioSalinity_clicked();
|
|
|
|
|
|
|
|
|
|
void on_cbxUnitSalinity_currentIndexChanged(const QString &arg1);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
Ui::iWxPvtSubPhaseWater *ui;
|
|
|
|
|
};
|