| | |
| | | { |
| | | if (pDefectResult->nJudgeType != 4) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_PT) |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_ND) |
| | | { |
| | | if (pDefectResult->nJudgeType != 5) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Review) |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_PT) |
| | | { |
| | | if (pDefectResult->nJudgeType != 6) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_RC) |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Review) |
| | | { |
| | | if (pDefectResult->nJudgeType != 7) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Size) |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_RC) |
| | | { |
| | | if (pDefectResult->nJudgeType != 8) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_VI) |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Size) |
| | | { |
| | | if (pDefectResult->nJudgeType != 9) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Rework) |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_VI) |
| | | { |
| | | if (pDefectResult->nJudgeType != 10) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Unknown) |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Rework) |
| | | { |
| | | if (pDefectResult->nJudgeType != 11) { return FALSE; } |
| | | } |
| | | else if (pPriorityInfo->GetPriorityGradeData() == RCP_PRIORITY_Judge_Unknown) |
| | | { |
| | | if (pDefectResult->nJudgeType != 12) { return FALSE; } |
| | | } |
| | | |
| | | } |
| | | //RCP_PRIORITY_ORDER_ALL,RCP_PRIORITY_ORDER_NONE_STACK,RCP_PRIORITY_ORDER_STACK |