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.
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 iWxPvtSubPhaseSeaWater ;
}
// 盐水
class M_TOOL_PVT_EXPORT iWxPvtSubPhaseSeaWater : public iWxPvtSubPhase
{
Q_OBJECT
public :
explicit iWxPvtSubPhaseSeaWater ( QString sFluidType , \
QString sPhaseType , \
QWidget * parent = 0 ) ;
~ iWxPvtSubPhaseSeaWater ( ) ;
// 初始化
virtual void initUI ( ) ;
// 文件标识
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 ( ) ;
// 返回数据
virtual bool getParaValue ( QString sPara ,
double & dValue ,
QString sUnitDest = " " ) ;
private slots :
void on_tbxSalinity_editingFinished ( ) ;
void on_tbxSalinity_textEdited ( const QString & arg1 ) ;
void on_btnFresh_clicked ( ) ;
private :
Ui : : iWxPvtSubPhaseSeaWater * ui ;
} ;