|
|
|
|
@ -2261,6 +2261,40 @@ struct Base_Function_AD_Check
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct Base_Function_Det_BQ
|
|
|
|
|
{
|
|
|
|
|
bool bOpen;
|
|
|
|
|
int BQ_expand;
|
|
|
|
|
|
|
|
|
|
Base_Function_Det_BQ()
|
|
|
|
|
{
|
|
|
|
|
Init();
|
|
|
|
|
}
|
|
|
|
|
void Init()
|
|
|
|
|
{
|
|
|
|
|
bOpen = false;
|
|
|
|
|
BQ_expand = 0;
|
|
|
|
|
}
|
|
|
|
|
void copy(Base_Function_Det_BQ tem)
|
|
|
|
|
{
|
|
|
|
|
this->bOpen = tem.bOpen;
|
|
|
|
|
this->BQ_expand = tem.BQ_expand;
|
|
|
|
|
}
|
|
|
|
|
void print(std::string str)
|
|
|
|
|
{
|
|
|
|
|
printf("%s>>bOpen %d BQ_expand %d\n", str.c_str(),
|
|
|
|
|
bOpen, BQ_expand);
|
|
|
|
|
}
|
|
|
|
|
std::string GetInfo(std::string str)
|
|
|
|
|
{
|
|
|
|
|
char buffer[256];
|
|
|
|
|
sprintf(buffer, "%s>>bOpen %d BQ_expand %d\n", str.c_str(),
|
|
|
|
|
bOpen, BQ_expand);
|
|
|
|
|
std::string str123 = buffer;
|
|
|
|
|
return str123;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
// 基础检测功能
|
|
|
|
|
struct BaseCheckFunction
|
|
|
|
|
{
|
|
|
|
|
@ -2270,6 +2304,7 @@ struct BaseCheckFunction
|
|
|
|
|
Base_Function_BigNG bigNG;
|
|
|
|
|
Base_Function_EdgeChannel edgeChannel;
|
|
|
|
|
Base_Function_AD_Check ad_check;
|
|
|
|
|
Base_Function_Det_BQ Det_BQ;
|
|
|
|
|
BaseCheckFunction()
|
|
|
|
|
{
|
|
|
|
|
Init();
|
|
|
|
|
@ -2282,6 +2317,7 @@ struct BaseCheckFunction
|
|
|
|
|
bigNG.Init();
|
|
|
|
|
edgeChannel.Init();
|
|
|
|
|
ad_check.Init();
|
|
|
|
|
Det_BQ.Init();
|
|
|
|
|
}
|
|
|
|
|
void copy(BaseCheckFunction tem)
|
|
|
|
|
{
|
|
|
|
|
@ -2291,6 +2327,7 @@ struct BaseCheckFunction
|
|
|
|
|
this->bigNG.copy(tem.bigNG);
|
|
|
|
|
this->edgeChannel.copy(tem.edgeChannel);
|
|
|
|
|
this->ad_check.copy(tem.ad_check);
|
|
|
|
|
this->Det_BQ.copy(tem.Det_BQ);
|
|
|
|
|
}
|
|
|
|
|
void print(std::string str)
|
|
|
|
|
{
|
|
|
|
|
@ -2301,6 +2338,7 @@ struct BaseCheckFunction
|
|
|
|
|
bigNG.print("bigNG");
|
|
|
|
|
edgeChannel.print("edgeChannel");
|
|
|
|
|
ad_check.print("ad_check");
|
|
|
|
|
Det_BQ.print("Det_BQ");
|
|
|
|
|
}
|
|
|
|
|
std::string GetInfo(std::string str)
|
|
|
|
|
{
|
|
|
|
|
@ -2311,6 +2349,7 @@ struct BaseCheckFunction
|
|
|
|
|
str123 += bigNG.GetInfo("bigNG");
|
|
|
|
|
str123 += edgeChannel.GetInfo("edgeChannel");
|
|
|
|
|
str123 += ad_check.GetInfo("ad_check");
|
|
|
|
|
str123 += Det_BQ.GetInfo("Det_BQ");
|
|
|
|
|
// str123 += "\n";
|
|
|
|
|
return str123;
|
|
|
|
|
}
|
|
|
|
|
|