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 "GlobalDefine.h"
|
|
|
|
|
#include "EnumPropertieType.h"
|
|
|
|
|
#include "PropertiesWnd.h"
|
|
|
|
|
#include "LabVecRang.h"
|
|
|
|
|
|
|
|
|
|
//ǰ<><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
class CModule;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
1.<EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD>࣬Э<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD>֮<EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD>ϵ
|
|
|
|
|
2.Ϊȫ<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD>ṩһ<EFBFBD><EFBFBD>ͳһ<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD>ĵط<EFBFBD><EFBFBD><EFBFBD>ͳһ<EFBFBD>ڳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>ͷ<EFBFBD><EFBFBD><EFBFBD>Դ
|
|
|
|
|
3.Ϊȫ<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD>ṩ<EFBFBD><EFBFBD><EFBFBD>ԵĶ<EFBFBD>ȡ<EFBFBD>ͱ<EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա仯ʱ֪ͨ<EFBFBD><EFBFBD>Ӧģ<EFBFBD><EFBFBD>
|
|
|
|
|
*/
|
|
|
|
|
class CModuleMgr
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CModuleMgr(void);
|
|
|
|
|
virtual ~CModuleMgr(void);
|
|
|
|
|
virtual void InsertModuleGridProperty(int CombType,CMFCPropertyGridCtrl &PropertyGrid){};
|
|
|
|
|
virtual void CModuleMgr::CreatAllModule(){};
|
|
|
|
|
void InitPar();
|
|
|
|
|
void Draw(CDC* pDC);
|
|
|
|
|
void ExportDevicePar(ofstream *pFile);
|
|
|
|
|
void SaveAllModuleProperty();
|
|
|
|
|
void SaveWorkFile(vector<CLab> &LabVec);
|
|
|
|
|
bool ReadWorkFile(CLabVecRang &LabVecRang);
|
|
|
|
|
void OnExitApp();
|
|
|
|
|
void OnDeviceInit();
|
|
|
|
|
protected:
|
|
|
|
|
void DeleteAllModule();
|
|
|
|
|
void AllModuleOnAppInitialize();
|
|
|
|
|
void PropertiesOnAppInitialize();
|
|
|
|
|
void CreatModuleDir();
|
|
|
|
|
void InsertPropertiesToWnd(set<MODULE> &Set,CPanePropertiesWnd &Wnd);
|
|
|
|
|
void InsertPropertiesToGrid(set<MODULE> &Set,CMFCPropertyGridCtrl &PropertyGrid);
|
|
|
|
|
protected:
|
|
|
|
|
vector<CModule*> m_ModuleVec;//<2F>洢<EFBFBD><E6B4A2><EFBFBD><EFBFBD>mgr <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
|
|
|
|
|
};
|