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.

87 lines
2.3 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#include "StdAfx.h"
#include "ModuleDeviceMgr.h"
#include "GlobalFunction.h"
#include "PropertieMgr.h"
#include "MarkObjPropertieMgr.h"
#include "GlobalFunction.h"
#include "PltReader.h"
#include "Laser.h"
#include "ApplicationPriority.h"
#include "WorkAreaMgr.h"
#include "AuthorityMgr.h"
#include "MarkAreaMgr.h"
#include "SocketMgr.h"
#include "LogMgr.h"
#include "CommonFlowMgr.h"
#include "WorkRecord.h"
#include "Ruler.h"
#include "ObjComponentMgr.h"
#include "EasyOperationMgr.h"
#include "TemplateMgr.h"
#include "GlobalDrawMgr.h"
#include "WorkFileMgr.h"
#include "EncryptionMgr.h"
#include "ProgramLaserTuiHuo.h"
#include "WarningMgr.h"
#include "LaserPowCheckMgr.h"
#include "WaferRecipeDataMgr.h"
#include "RecipeMgr.h"
#include "CommonParaMgr.h"
#include "LanguageMgr.h"
#include "WaferRecipeDataMgr.h"
CModuleDeviceMgr gModuleDeviceMgr;//管理全局使用的类
CModuleDeviceMgr::CModuleDeviceMgr(void)
{
}
CModuleDeviceMgr::~CModuleDeviceMgr(void)
{
DeleteAllModule();
}
//创建模块对象(注意模块初始化的顺序)
void CModuleDeviceMgr::CreatAllModule()
{
//日志管理模块
gLogMgr = new CLogMgr;
m_ModuleVec.push_back((CModule*)gLogMgr);
//固定参数
m_ModuleVec.push_back((CModule*)gCommonParaMgr);
//权限管理
m_ModuleVec.push_back((CModule*)gAuthorityMgr);
//模板管理(需要在前面因为需要为layer 绑定模板才能绘制)
m_ModuleVec.push_back((CModule*)gTemplateMgr);
//设备加密管理
m_ModuleVec.push_back((CModule*)gEncryptionMgr);
//全局绘制管理模块
m_ModuleVec.push_back((CModule*)gDraw);
//标尺
m_ModuleVec.push_back((CModule*)gRuler);
//笔参数
m_ModuleVec.push_back((CModule*)gPenParMgr);
//工作区域
m_ModuleVec.push_back((CModule*)gWorkAreaMgr);
//元件管理
m_ModuleVec.push_back((CModule*)gObjComponentMgr);
//便捷操作管理
m_ModuleVec.push_back((CModule*)gEasyOperationMgr);
//程序优先级管理
m_ModuleVec.push_back((CModule*)gAppPriorityMgr);
//加工文件管理
m_ModuleVec.push_back((CModule*)gWorkFileMgr);
m_ModuleVec.push_back((CModule*)gProgramLaserTuiHuo);
m_ModuleVec.push_back((CModule*)gRecipeMgr);
m_ModuleVec.push_back((CModule*)gWaferRecipeDataMgr);
}
void CModuleDeviceMgr::InsertModuleGridProperty(int SelIdx,CMFCPropertyGridCtrl &PropertyGrid)
{
}