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 "iBase_global.h"
|
|
|
|
|
#include "iDataTypes.h"
|
|
|
|
|
#include "Defines.h"
|
|
|
|
|
|
|
|
|
|
#include "mProjectManager_global.h"
|
|
|
|
|
|
|
|
|
|
class ZxDataObject;
|
|
|
|
|
class ZxDataWell;
|
|
|
|
|
class ZxDataProject;
|
|
|
|
|
// 数据服务
|
|
|
|
|
class M_PROJECTMANAGER_EXPORT ZxMpaDataService
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
ZxMpaDataService();
|
|
|
|
|
virtual ~ZxMpaDataService();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// 加载保存
|
|
|
|
|
virtual bool load(ZxDataObject* pObject);
|
|
|
|
|
virtual bool save(ZxDataObject* pObject);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// 根据sCode创建DataProject
|
|
|
|
|
virtual ZxDataProject* createDataProject(QString sCode);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
QString m_sCode; //对象标识\序号\编号\编码
|
|
|
|
|
QString m_sName; //对象名称, 包括分组\分类名称
|
|
|
|
|
|
|
|
|
|
};
|