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/mTool/mToolPvt/iWxPvtSubPhaseCO2.h

60 lines
1.4 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "iWxPvtSubPhase.h"
namespace Ui {
class iWxPvtSubPhaseCO2;
}
// CO2
class M_TOOL_PVT_EXPORT iWxPvtSubPhaseCO2 : public iWxPvtSubPhase
{
Q_OBJECT
public:
explicit iWxPvtSubPhaseCO2(QString sFluidType, \
QString sPhaseType, \
QWidget *parent = 0);
~iWxPvtSubPhaseCO2();
// 初始化
virtual void initUI();
// 返回数据
virtual bool getParaValue(QString sPara,
double &dValue,
QString sUnitDest = "");
// 从当前所有的信息中获取参数的值
virtual bool getPvtParaValue(QString s, double& d);
// 文件标识
virtual QString getFilePvtTag();
virtual void onSerialize(ZxSerializer* ser);
virtual void onDeserialize(ZxSerializer* ser);
/// @brief 根据 Pvt页面中各自的算法进行重新计算目前暂时用于CO2模块之中
/// @param sPara,参数,通常以英文标识为准
/// @param mapInputs 该算法涉及的输入参数
/// @param dOut 计算结果
virtual bool calPvtRstOf(QString sPara, QMap<QString, double>& mapInputs, double& dOut);
protected:
// 默认值
virtual void initDefault();
public slots:
private slots:
void on_tbxSalinity_textEdited(const QString &arg1);
void on_btnFresh_clicked();
private:
Ui::iWxPvtSubPhaseCO2 *ui;
};