| | |
| | | var list = GetFileData(fileinfos22[i]); |
| | | if (fileinfos22[i].Name.Contains("划伤")) |
| | | { |
| | | ScratchI++; |
| | | list.ForEach(a => a.Lensnumber = ScratchI); |
| | | //ScratchI++; |
| | | //list.ForEach(a => a.Lensnumber = ScratchI); |
| | | GetMaxSize(list); |
| | | GetBkLocation(list); |
| | | ListReexaminationSum.AddRange(list); |
| | | } |
| | | else if (fileinfos22[i].Name.Contains("镀膜破损")) |
| | | { |
| | | ZoomI++; |
| | | list.ForEach(a => a.Lensnumber = ZoomI); |
| | | //ZoomI++; |
| | | //list.ForEach(a => a.Lensnumber = ZoomI); |
| | | ListReexaminationSum.AddRange(list); |
| | | } |
| | | |
| | |
| | | var list = CompareFile(fileInfo1[index], fileInfo2[index], DataTipsor); |
| | | if (fileInfo1[index].Name.Contains("白点")) |
| | | { |
| | | WhiteI++; |
| | | list.ForEach(a => a.Lensnumber = WhiteI); |
| | | //WhiteI++; |
| | | //list.ForEach(a => a.Lensnumber = WhiteI); |
| | | ListReexaminationSum.AddRange(list); |
| | | } |
| | | else if (fileInfo1[index].Name.Contains("刮白")) |
| | | { |
| | | WhiteningI++; |
| | | list.ForEach(a => a.Lensnumber = WhiteningI); |
| | | //WhiteningI++; |
| | | //list.ForEach(a => a.Lensnumber = WhiteningI); |
| | | ListReexaminationSum.AddRange(list); |
| | | |
| | | } |