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.
|
|
|
|
#include "StdAfx.h"
|
|
|
|
|
#include "CreaterPciPortSwitch.h"
|
|
|
|
|
#include "WorkCmdPciPortSwitch.h"
|
|
|
|
|
#include "GlobalFunction.h"
|
|
|
|
|
#include "CStringFuc.h"
|
|
|
|
|
|
|
|
|
|
CCreaterPciPortSwitch::CCreaterPciPortSwitch(const CString &str)
|
|
|
|
|
:CCreaterWorkCmd(str)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
CCreaterPciPortSwitch::~CCreaterPciPortSwitch(void)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
void CCreaterPciPortSwitch::Creat()
|
|
|
|
|
{
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>1 <20><>ʾ<EFBFBD>˿ڿ<CBBF><DABF>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
CString CtrlContent = GetPar(1);
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>2 <20><>ʾ<EFBFBD><EFBFBD><F2BFAABB>ǹر<C7B9>
|
|
|
|
|
bool bOpen = Str2Bool(GetPar(2));
|
|
|
|
|
CWorkCmd *pCmd = NULL;
|
|
|
|
|
pCmd = new CWorkCmdPciPortSwitch(CtrlContent,bOpen);
|
|
|
|
|
AddCmd(pCmd);
|
|
|
|
|
}
|