#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 ZxModuleDataService { public: ZxModuleDataService(); virtual ~ZxModuleDataService(); public: #ifdef QT_DEBUG // 加载保存 virtual bool load(ZxDataObject* pObject); virtual bool save(ZxDataObject* pObject); #endif public: // 根据sCode创建DataProject virtual ZxDataProject* createDataProject(QString sCode); protected: // 暂未启用 //QString m_sCode; //对象标识\序号\编号\编码 //QString m_sName; //对象名称, 包括分组\分类名称 };