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.

23 lines
692 B
C++

#pragma once
#include "GlobalDefine.h"
class CModule;
//管理可配置参数的映射和查询
class CParMappingTab
{
public:
CParMappingTab(void);
~CParMappingTab(void);
void CreatGridProperty(CMFCPropertyGridProperty* pGroup,CString Path,CModule *pModule);
void InitAllCtrlParList(vector<CString> &vec){m_AllCtrlParList = vec;};
bool GetMappingTabParIdx(int EnumParType,int &ParIdx);
vector<CString> &GetCtrlParVec(){return m_CurCtrlParVec;};
void AdjustParOrder();
private:
void InsertPenParName(CMFCPropertyGridProperty* p);
private:
vector<CString> m_AllCtrlParList;//所有可控制参数列表
vector<CString> m_CurCtrlParVec;//当前控制参数的映射表
};