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.
nmWATI/Include/mGui/mGuiPlot/WellMap/ZxObjSegData.h

46 lines
991 B
C++

#pragma once
#include "ZxObjPoint.h"
#include "mGuiPlot_global.h"
#include "mAlgDefines.h"
class ZxDataWell;
class ZxObjSegLine;
//产液段数据体
class M_GUI_PLOT_EXPORT ZxObjSegData : public QObject,
virtual public IxSerDes
{
Q_OBJECT
//ZX_DECLARE_DYNAMIC
public:
ZxObjSegData(ZxObjSegLine* p);
~ZxObjSegData();
virtual void onSerialize(ZxSerializer* ser);
virtual void onDeserialize(ZxSerializer* ser);
public:
//设置产液段整体信息ZXF20240704
void setSegMapInfos(QMap<QString, double> mapInfos);
QMap<QString, double> getSegMapInfos();
//得到产液段的参数
bool getSegParamVal(QString sParam, double& fVal);
void setSegParamVal(QString sParam, double& fVal);
//产液段对象
ZxObjSegLine* getSegLineObj();
void setSegLineObj(ZxObjSegLine *p);
protected:
ZxObjSegLine* m_pSegLine; //绑定产液段对象
//产液段数据体ZXF20270704
QMap<QString, double> m_mapSegInfos;
};