Add 40 MX couplings support

This commit is contained in:
Serghei Cebotari 2024-10-10 14:52:03 +03:00
parent a122f491b9
commit 39be358af3

View File

@ -1,6 +1,4 @@
using System.Text.RegularExpressions; namespace RhSolutions.Services;
namespace RhSolutions.Services;
public class CouplingsCalculator : IFittingsCalculator public class CouplingsCalculator : IFittingsCalculator
{ {
@ -42,7 +40,7 @@ public class CouplingsCalculator : IFittingsCalculator
"20" => new Product("11080121001"), "20" => new Product("11080121001"),
"25" => new Product("11080131001"), "25" => new Product("11080131001"),
"32" => new Product("11080141001"), "32" => new Product("11080141001"),
"40" => new Product("11600151001"), "40" => new Product("11080151001"),
"50" => new Product("14563021001"), "50" => new Product("14563021001"),
"63" => new Product("14563031001"), "63" => new Product("14563031001"),
_ => throw new Exception($"Неизвестный диаметр {kvp.Key}") _ => throw new Exception($"Неизвестный диаметр {kvp.Key}")