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.

36 lines
1.1 KiB
C

#pragma once
#include "GlobalDefine.h"
#include "EnumPropertieType.h"
#include "LabVecRang.h"
//<2F><><EFBFBD><EFBFBD>ȫ<EFBFBD><C8AB>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD><C4BB><EFBFBD>
//CreatGridProperty <20><><EFBFBD><EFBFBD>Ini ֮ǰ<D6AE><C7B0><EFBFBD><EFBFBD>
class CModule
{
public:
CModule(void);
virtual ~CModule(void){};
virtual void OnAppInitialize(){};//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
virtual void OnDeviceInit(){};//<2F><>Ӧ<EFBFBD><EFBFBD><E8B1B8>ʼ<EFBFBD><CABC>
//ÿ<><C3BF>ģ<EFBFBD><C4A3><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ľṹ<C4BD><E1B9B9><EFBFBD><EFBFBD><EFBFBD>Ұ<EFBFBD><D2B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
virtual CMFCPropertyGridProperty *CreatGridProperty(){return NULL;};
//ÿ<><C3BF>ģ<EFBFBD><C4A3><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD>Եĸı<C4B8>
virtual void OnPropertyChanged(){};
virtual MODULE GetModuleType(){return _MODULE_NULL;};//<2F><><EFBFBD><EFBFBD><EBB7B5>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
virtual void Draw(CDC* pDC){};//<2F><>pDC <20><><EFBFBD><EFBFBD>һЩ<D2BB><D0A9><EFBFBD><EFBFBD>
virtual void WriteWorkFileExt(vector<CLab> &LabVec){};
virtual void ReadWorkFile(CLabVecRang &LabVecRang){};
virtual void OnExitApp(){};//<2F>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD>ʱ
virtual void TestFunc(){};//<2F><><EFBFBD>Թ<EFBFBD><D4B9><EFBFBD>
virtual CString GetParDirName(){return "";};
virtual void SwitchParameter(bool bRunAtDevice){};//һ<><D2BB><EFBFBD>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD>(bRunAtDevice <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
virtual void OnClearWarningState(){};//<2F><>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void SaveWorkFile(vector<CLab> &LabVec);
protected:
};