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

View File

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