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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ZxDataObject.h"
|
|
|
|
|
#include "nmData_global.h"
|
|
|
|
|
|
|
|
|
|
class ZxDataProject;
|
|
|
|
|
class ZxDataWell;
|
|
|
|
|
|
|
|
|
|
// 数值试井数据对象如何进行初始加载的方式
|
|
|
|
|
class NM_DATA_EXPORT nmDataUtils : public QObject
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
nmDataUtils();
|
|
|
|
|
~nmDataUtils();
|
|
|
|
|
|
|
|
|
|
// 对数据对象的children进行外部扩充:ZxDataProject 和 ZxDataWell
|
|
|
|
|
static bool extendChildrenOfProj(ZxDataProject* pDataProj);
|
|
|
|
|
static bool extendChildrenOfWell(ZxDataWell* pDataWell);
|
|
|
|
|
|
|
|
|
|
// 将QVector<QPointF> 转换为 QByteArray
|
|
|
|
|
static bool convertVP2Ba(QVector<QPointF>& points, QByteArray& byteArray);
|
|
|
|
|
// 将QByteArray 转换为 QVector<QPointF>
|
|
|
|
|
static bool convertBa2VP(QByteArray& byteArray, QVector<QPointF>& points);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|