Brak.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace ExamLedrov02
  7. {
  8. internal class Brak
  9. {
  10. float minDlina = 4000 - 4000 / 100;
  11. float maxDlina = 4000 + 4000 /100;
  12. float minDiametr20 = 20 - 20 / 100;
  13. float maxDiametr20 = 20 + 20 / 100;
  14. float minDiametr25 = 25 - 25 / 100;
  15. float maxDiametr25 = 25 + 25 / 100;
  16. float minDiametr32 = 32 - 32 / 100;
  17. float maxDiametr32 = 32 + 32 / 100;
  18. float minDiametr40 = 40 - 40 / 100;
  19. float maxDiametr40 = 40 + 40 / 100;
  20. float minDiametr50 = 50 - 50 / 100;
  21. float maxDiametr50 = 50 + 50 / 100;
  22. float minDiametr63 = 63 - 63 / 100;
  23. float maxDiametr63 = 63 + 63 / 100;
  24. ReadFromFile rff = new ReadFromFile();
  25. public bool SearchBrak()
  26. {
  27. string[] chLines = new string[rff.lines.Length]; // массив для записи данных о браке
  28. bool brak = false;
  29. return brak;
  30. }
  31. }
  32. }