Compare commits

...

2 Commits

Author SHA1 Message Date
zhaolei
86500a56d8 修改提交头文件 2026-03-05 10:25:48 +08:00
zhaolei
1e15c4f8e1 头文件提交 2026-03-05 09:55:56 +08:00
2 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,14 @@
#ifndef DATAHELPER_H
#define DATAHELPER_H
#include <Windows.h>
#ifdef WIN32
#include <Windows.h>
#endif // WIN32
#include <QObject>
#include <QTextStream>
#include "MemRdWt.h"
#include "datamanagerdefs.h"
#include "DataManagerDefs.h"
#pragma execution_character_set("utf-8")
//#define DefTabNum 10//9 whp change 2020.5.25
//for 曲线计算
@ -47,6 +50,7 @@ public:
static bool m_IsGc;
static QStringList GetAllWellName();
static QStringList GetAllWellRoundName(QString WellName,QStringList& WellRoundFileNameList);
static QMap<QString, QList<QString> > m_qmapWellFiles;
};
class Function
{
@ -84,8 +88,8 @@ public:
int isdelim(char c);
int iswhite(char c);
//int ComputeCurve(CString csExpress,float sdeps,float edeps,BOOL IsCurrentOpen);
BOOL GetKey();
BOOL CheckKey();
// BOOL GetKey();
// BOOL CheckKey();
int GetCodeLen(int Code);
//add whp
QString csName[MaxArg],csOutName;
@ -108,4 +112,4 @@ public:
static void ReSampling(float *mr,int Row,int Col,float *aDep,float *tDep,int tnp);
static void ReSampling(short *mr,int Row,int Col,float *aDep,float *tDep,int tnp);
};
#endif
#endif

View File

@ -17,6 +17,7 @@ public:
~CDataManagger();
int GetDefTabNum();
DEFAULTTABLE *GetDefauleTable();
void SetWellFiles(QMap<QString, QList<QString> > &mapWellFiles);
//whp change 2020.3.9 for 统一离散数据入口
//交互导入数据表
//void execInDefTable(int curitemType,const QString& showWellName,const QString& wellFileName);
@ -25,7 +26,7 @@ public:
//void dataInTable(const QStringList& lst );
//QStringList dataInTable(int curitemType,const QString& showWellName,const QString& wellFileName);//返回不能识别的非定式的数据文件列表
void dataInTable(int curitemType,QString& showWellName,QString& wellFileName);
// void CopyObject(int curitemType,const QString& WellName,const QString& wellFileName);
void CopyObject(int curitemType,const QString& WellName,const QString& wellFileName);
//
//曲线属性编辑
void CurvePropertyEdit(int Type,const QString& FileName,const QString& CurveName);