287 lines
9.4 KiB
C++
287 lines
9.4 KiB
C++
#ifndef CMYWELLLOGROUNDDIALOG_H
|
|
#define CMYWELLLOGROUNDDIALOG_H
|
|
|
|
#pragma warning( push ,0)
|
|
#include "WellLogUI.h"
|
|
#include "slf.h"
|
|
#include <QSettings>
|
|
#include <QTextCodec>
|
|
#include <QTime>
|
|
#pragma warning( pop )
|
|
|
|
class OSGWELLLOGUI_EXPORT MyWelllogRound
|
|
{
|
|
public:
|
|
/**
|
|
* @brief 构造函数
|
|
*/
|
|
MyWelllogRound()
|
|
{
|
|
Init();
|
|
}
|
|
void Init()
|
|
{
|
|
memset(&filemessage,0,sizeof(filemessage));
|
|
m_CompanyName=""; ///<测井公司名
|
|
m_Team=""; ///<测井小队
|
|
m_Operator=""; ///<操作员
|
|
m_Date=""; ///<测井日期
|
|
m_Serial=""; ///<测井系列
|
|
m_Item=""; ///<测井项目
|
|
m_MudType=""; ///<泥浆类型
|
|
m_MudViscosity=0; ///<泥浆粘度
|
|
m_WaterLoss=0; ///<失水量
|
|
m_Density=0; ///<泥浆密度
|
|
m_Resi=0; ///<泥浆电阻率
|
|
m_Temp=0; ///<泥浆温度
|
|
m_INTLog=""; ///<测井井段
|
|
m_NITINT=""; ///<解释井段
|
|
m_TempBot=0; ///<井底温度
|
|
m_IntProg=""; ///<解释程序
|
|
m_InteDress=""; ///<解释员
|
|
m_Audit=""; ///<审核
|
|
m_Remark=""; ///<备注
|
|
TopDepth=0;
|
|
BottomDepth=0;
|
|
m_name="";
|
|
m_AreaName=""; ///<地区名
|
|
m_OilCompanyName=""; ///<油公司名
|
|
m_WellType=0; ///<井类型
|
|
m_XCode=0; ///<X-坐标
|
|
m_YCode=0; ///<Y-坐标
|
|
m_Asl=0; ///<地面海拔
|
|
m_Bsl=0; ///<补心海拔
|
|
m_SDrillDate=""; ///<开钻日期
|
|
m_EDrillDate=""; ///<完钻日期
|
|
m_CompleteDate=""; ///<完井日期
|
|
m_CWMethod=""; ///<完井方法
|
|
m_Bit1Prog=""; ///<钻头1程序
|
|
m_Bit2Prog=""; ///<钻头2程序
|
|
m_Bit3Prog=""; ///<钻头3程序
|
|
m_Bit4Prog=""; ///<钻头4程序
|
|
m_Bit5Prog=""; ///<钻头5程序
|
|
m_Cas1Prog=""; ///<套管1程序
|
|
m_Cas2Prog=""; ///<套管2程序
|
|
m_Cas3Prog=""; ///<套管3程序
|
|
m_Cas4Prog=""; ///<套管4程序
|
|
m_Cas5Prog=""; ///<套管5程序
|
|
m_Cas1Shot=0; ///<段套1长度
|
|
m_SC1SDep=0; ///<段套1起始深度
|
|
m_SC1EDep=0; ///<段套1结束深度
|
|
m_Cas2Shot=0; ///<段套2长度
|
|
m_SC2SDep=0; ///<段套2起始深度
|
|
m_SC2EDep=0; ///<段套2结束深度
|
|
m_FileName="";
|
|
m_TVD=0;//起始垂深
|
|
m_XOffset=0;//X偏移量
|
|
m_YOffset=0;//Y偏移量
|
|
}
|
|
/**
|
|
* @brief 析构函数
|
|
*/
|
|
virtual ~MyWelllogRound()
|
|
{
|
|
}
|
|
/**
|
|
* @brief 拷贝构造函数
|
|
*/
|
|
|
|
public:
|
|
std::string GetAudit() const;
|
|
std::string GetName() const;
|
|
std::string GetWellName() const;
|
|
std::string GetCompanyName() const;
|
|
std::string GetOilCompanyName() const;
|
|
std::string GetDate() const;
|
|
float GetDensity() const;
|
|
std::string GetINTLog() const;
|
|
std::string GetIntProg() const;
|
|
std::string GetInteDress() const;
|
|
std::string GetItem() const;
|
|
std::string GetMudType() const;
|
|
float GetMudViscosity() const;
|
|
std::string GetNITINT() const;
|
|
std::string GetOperator() const;
|
|
std::string GetRemark() const;
|
|
float GetResi() const;
|
|
std::string GetSerial() const;
|
|
std::string GetTeam() const;
|
|
float GetTemp() const;
|
|
float GetTempBot() const;
|
|
float GetWaterLoss() const;
|
|
|
|
void SetAudit(std::string audit);
|
|
|
|
void SetName(std::string audit);
|
|
|
|
void SetCompanyName(std::string companyName);
|
|
|
|
void SetDate(std::string mdate);
|
|
void SetDensity(float density);
|
|
|
|
void SetINTLog(std::string mINTLog);
|
|
|
|
void SetIntProg(std::string intProg);
|
|
|
|
void SetInteDress(std::string inteDress);
|
|
|
|
void SetWellName(std::string wellname);
|
|
|
|
void SetItem(std::string item);
|
|
|
|
void SetMudType(std::string mudType);
|
|
|
|
void SetMudViscosity(float mudViscosity);
|
|
|
|
void SetNITINT(std::string mNITINT);
|
|
|
|
void SetOperator(std::string moperator);
|
|
|
|
void SetRemark(std::string remark);
|
|
|
|
void SetResi(float resi);
|
|
|
|
void SetSerial(std::string serial);
|
|
|
|
void SetTeam(std::string team);
|
|
|
|
void SetTemp(float temp);
|
|
|
|
void SetTempBot(float tempBot);
|
|
|
|
void SetWaterLoss(float waterLoss);
|
|
|
|
void SetTopDepth(float dep);
|
|
|
|
void SetBottomDepth(float dep);
|
|
|
|
float GetTopDepth();
|
|
|
|
float GetBottomDepth();
|
|
|
|
std::string GetAreaName() const;
|
|
float GetAsl() const;
|
|
std::string GetBit1Prog() const;
|
|
std::string GetBit2Prog() const;
|
|
std::string GetBit3Prog() const;
|
|
std::string GetBit4Prog() const;
|
|
std::string GetBit5Prog() const;
|
|
float GetBsl() const;
|
|
std::string GetCWMethod() const;
|
|
std::string GetCas1Prog() const;
|
|
float GetCas1Shot() const;
|
|
std::string GetCas2Prog() const;
|
|
|
|
float GetCas2Shot() const;
|
|
std::string GetCas3Prog() const;
|
|
std::string GetCas4Prog() const;
|
|
std::string GetCas5Prog() const;
|
|
std::string GetCompleteDate() const;
|
|
std::string GetEDrillDate() const;
|
|
float GetSC1EDep() const;
|
|
float GetSC1SDep() const;
|
|
float GetSC2EDep() const;
|
|
float GetSC2SDep() const;
|
|
std::string GetSDrillDate() const;
|
|
int GetWellType() const;
|
|
|
|
double GetXCode() const;
|
|
|
|
double GetYCode() const;
|
|
float GetTVD0();
|
|
float GetXOffset();
|
|
float GetYOffset();
|
|
void SetAreaName(std::string areaName);
|
|
void SetAsl(float asl);
|
|
void SetBit1Prog(std::string bit1Prog);
|
|
void SetBit2Prog(std::string bit2Prog);
|
|
void SetBit3Prog(std::string bit3Prog);
|
|
void SetBit4Prog(std::string bit4Prog);
|
|
void SetBit5Prog(std::string bit5Prog);
|
|
void SetBsl(float bsl);
|
|
void SetCWMethod(std::string cWMethod);
|
|
void SetCas1Prog(std::string cas1Prog);
|
|
void SetCas1Shot(float cas1Shot);
|
|
void SetCas2Prog(std::string cas2Prog);
|
|
void SetCas2Shot(float cas2Shot);
|
|
void SetCas3Prog(std::string cas3Prog);
|
|
void SetCas4Prog(std::string cas4Prog);
|
|
void SetCas5Prog(std::string cas5Prog);
|
|
void SetOilCompanyName(std::string companyName);
|
|
void SetCompleteDate(std::string completeDate);
|
|
void SetEDrillDate(std::string eDrillDate);
|
|
void SetSC1EDep(float sC1EDep);
|
|
void SetSC1SDep(float sC1SDep);
|
|
void SetSC2EDep(float sC2EDep);
|
|
void SetSC2SDep(float sC2SDep);
|
|
void SetSDrillDate(std::string sDrillDate);
|
|
void SetWellType(int WellType);
|
|
void SetXCode(double xCode);
|
|
void SetYCode(double yCode);
|
|
void SetTVD0(float Tvd0);
|
|
void SetXOffset(float XOffset);
|
|
void SetYOffset(float YOffset);
|
|
void LoadMeesge(QString filename);
|
|
void SaveMeesge(QString filename);
|
|
Slf_FILE_MESSAGE & GetFileMessage();
|
|
void SaveMeesge();
|
|
QString GetFileName();
|
|
|
|
private:
|
|
std::string m_CompanyName; ///<测井公司名
|
|
std::string m_Team; ///<测井小队
|
|
std::string m_Operator; ///<操作员
|
|
std::string m_Date; ///<测井日期
|
|
std::string m_Serial; ///<测井系列
|
|
std::string m_Item; ///<测井项目
|
|
std::string m_MudType; ///<泥浆类型
|
|
float m_MudViscosity; ///<泥浆粘度
|
|
float m_WaterLoss; ///<失水量
|
|
float m_Density; ///<泥浆密度
|
|
float m_Resi; ///<泥浆电阻率
|
|
float m_Temp; ///<泥浆温度
|
|
std::string m_INTLog; ///<测井井段
|
|
std::string m_NITINT; ///<解释井段
|
|
float m_TempBot; ///<井底温度
|
|
std::string m_IntProg; ///<解释程序
|
|
std::string m_InteDress; ///<解释员
|
|
std::string m_Audit; ///<审核
|
|
std::string m_Remark; ///<备注
|
|
float TopDepth;
|
|
float BottomDepth;
|
|
std::string m_name;
|
|
Slf_FILE_MESSAGE filemessage;
|
|
std::string m_AreaName; ///<地区名
|
|
std::string m_OilCompanyName; ///<油公司名
|
|
int m_WellType; ///<井类型
|
|
double m_XCode; ///<X-坐标
|
|
double m_YCode; ///<Y-坐标
|
|
float m_Asl; ///<地面海拔
|
|
float m_Bsl; ///<补心海拔
|
|
std::string m_SDrillDate; ///<开钻日期
|
|
std::string m_EDrillDate; ///<完钻日期
|
|
std::string m_CompleteDate; ///<完井日期
|
|
std::string m_CWMethod; ///<完井方法
|
|
std::string m_Bit1Prog; ///<钻头1程序
|
|
std::string m_Bit2Prog; ///<钻头2程序
|
|
std::string m_Bit3Prog; ///<钻头3程序
|
|
std::string m_Bit4Prog; ///<钻头4程序
|
|
std::string m_Bit5Prog; ///<钻头5程序
|
|
std::string m_Cas1Prog; ///<套管1程序
|
|
std::string m_Cas2Prog; ///<套管2程序
|
|
std::string m_Cas3Prog; ///<套管3程序
|
|
std::string m_Cas4Prog; ///<套管4程序
|
|
std::string m_Cas5Prog; ///<套管5程序
|
|
float m_Cas1Shot; ///<段套1长度
|
|
float m_SC1SDep; ///<段套1起始深度
|
|
float m_SC1EDep; ///<段套1结束深度
|
|
float m_Cas2Shot; ///<段套2长度
|
|
float m_SC2SDep; ///<段套2起始深度
|
|
float m_SC2EDep; ///<段套2结束深度
|
|
QString m_FileName;
|
|
float m_TVD;//起始垂深
|
|
float m_XOffset;//X偏移量
|
|
float m_YOffset;//Y偏移量
|
|
};
|
|
#endif
|