|
@@ -26,26 +26,9 @@ namespace ExamLedrov02
|
|
|
|
|
|
public bool SearchBrak()
|
|
|
{
|
|
|
- string[] chLines = new string[rff.lines.Length];
|
|
|
- bool brak = false;
|
|
|
- for(int i = 0; i < rff.lines.Length; i++)
|
|
|
- {
|
|
|
- rff.lines[i].Split(';');
|
|
|
- for (int j = 0; j < rff.lines[i].Length; j++)
|
|
|
- {
|
|
|
-
|
|
|
- float value = float.Parse(rff.lines[i]);
|
|
|
- if (value >=minDlina && value <= maxDlina)
|
|
|
- {
|
|
|
- chLines[i] = rff.lines[i];
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- Console.WriteLine(chLines[i]);
|
|
|
- }
|
|
|
+ string[] chLines = new string[rff.lines.Length]; // массив для записи данных о браке
|
|
|
+ bool brak = false;
|
|
|
return brak;
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
+ }
|
|
|
}
|