From 39be358af3a61349e8fe90fab008bbe0880ca5a2 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Thu, 10 Oct 2024 14:52:03 +0300 Subject: [PATCH] Add 40 MX couplings support --- RhSolutions.AddIn/Services/CouplingsCalculator.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/RhSolutions.AddIn/Services/CouplingsCalculator.cs b/RhSolutions.AddIn/Services/CouplingsCalculator.cs index 79e72f5..bae8244 100644 --- a/RhSolutions.AddIn/Services/CouplingsCalculator.cs +++ b/RhSolutions.AddIn/Services/CouplingsCalculator.cs @@ -1,6 +1,4 @@ -using System.Text.RegularExpressions; - -namespace RhSolutions.Services; +namespace RhSolutions.Services; public class CouplingsCalculator : IFittingsCalculator { @@ -42,7 +40,7 @@ public class CouplingsCalculator : IFittingsCalculator "20" => new Product("11080121001"), "25" => new Product("11080131001"), "32" => new Product("11080141001"), - "40" => new Product("11600151001"), + "40" => new Product("11080151001"), "50" => new Product("14563021001"), "63" => new Product("14563031001"), _ => throw new Exception($"Неизвестный диаметр {kvp.Key}")