|
|
|
|
@ -22,62 +22,6 @@ ConfigManager::~ConfigManager()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::vector <std::string> QX_Result_Names =
|
|
|
|
|
{
|
|
|
|
|
"OK",
|
|
|
|
|
"AD_YX",
|
|
|
|
|
"X_Line",
|
|
|
|
|
"Y_Line",
|
|
|
|
|
"fangge",
|
|
|
|
|
"Rubbing_Mura",
|
|
|
|
|
"Broken_line",
|
|
|
|
|
"ZARA",
|
|
|
|
|
"MTX",
|
|
|
|
|
"POL_Cell",
|
|
|
|
|
"Bright_Point",
|
|
|
|
|
"Dark_Point",
|
|
|
|
|
"BLack_Point",
|
|
|
|
|
"White_Point",
|
|
|
|
|
"Scratch",
|
|
|
|
|
"Weak_Bright_Mura",
|
|
|
|
|
"No_Label",
|
|
|
|
|
"Bright_Mura_Exe",
|
|
|
|
|
"Sweak_Line_Dark",
|
|
|
|
|
"STEAM_POCKET",
|
|
|
|
|
"Dirty",
|
|
|
|
|
"other",
|
|
|
|
|
"Cell_W",
|
|
|
|
|
"Cell_B",
|
|
|
|
|
"LackPol"};
|
|
|
|
|
std::vector <std::string> QX_Result_Code =
|
|
|
|
|
{
|
|
|
|
|
"P1153",
|
|
|
|
|
"P6873",
|
|
|
|
|
"P3351",
|
|
|
|
|
"P3452",
|
|
|
|
|
"P3453",
|
|
|
|
|
"P1550",
|
|
|
|
|
"P3379",
|
|
|
|
|
"P1153",
|
|
|
|
|
"P1164",
|
|
|
|
|
"P1101",
|
|
|
|
|
"P1112",
|
|
|
|
|
"P1111",
|
|
|
|
|
"P1104",
|
|
|
|
|
"P1103",
|
|
|
|
|
"P1557",
|
|
|
|
|
"P1654",
|
|
|
|
|
"P2833",
|
|
|
|
|
"P1549",
|
|
|
|
|
"P1204",
|
|
|
|
|
"P2534",
|
|
|
|
|
"P2534",
|
|
|
|
|
"P1101",
|
|
|
|
|
"P1103",
|
|
|
|
|
"P1104",
|
|
|
|
|
"P8001",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
int ReadFlawCodeConfig(std::string json_path)
|
|
|
|
|
{
|
|
|
|
|
m_FlawCodeList.erase(m_FlawCodeList.begin(), m_FlawCodeList.end());
|
|
|
|
|
|