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/mAlg/mAlgDefines/iInterfereWell.h

58 lines
1.1 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 "Defines.h"
#include "mAlgDefines.h"
#include "mAlgDefines_global.h"
// 目前只有三个参数用到,干扰试井
class M_ALG_DEFINES_EXPORT iInterfereWell
{
public:
public:
iInterfereWell();
public:
// 是否观察井Observation/中心井
bool isObserveWell() { return (m_oWpt == WPT_Center); }
// Name+Code
void setName(QString s) { m_sName = s; }
QString getName() { return m_sName; }
void setCode(QString s) { m_sCode = s; }
QString getCode() { return m_sCode; }
// 井位坐标x,y
void setPosX(double x);
double getPosX();
void setPosY(double y);
double getPosY();
// 井类型
void setWpt(WellPointType o) { m_oWpt = o; }
WellPointType getWpt() { return m_oWpt; }
// 流量数据
void setDataF(VVecDouble vvecF);
VVecDouble getDataF();
protected:
// 井名(中文+Code
QString m_sName;
QString m_sCode;
// 井位坐标x,y
double m_dx;
double m_dy;
// 井类型
WellPointType m_oWpt;
// 流量数据
VVecDouble m_vvecF;
};