0
0
RhSolutions-Api/RhSolutions.Api/Services/StabilPipeQueryModifier.cs

17 lines
461 B
C#
Raw Normal View History

2023-09-29 11:20:05 +03:00
namespace RhSolutions.Api.Services
{
2023-10-08 16:17:59 +03:00
public class StabilPipeQueryModifier : PipeQueryModifier
2023-09-29 11:20:05 +03:00
{
2023-10-08 16:17:59 +03:00
protected override string diameterPattern => @"([\b\D]|^)(?<Diameter>16|20|25|32|40)([\b\D]|$)";
2023-09-29 11:20:05 +03:00
protected override string pipeName => "Stabil -PLATINUM";
protected override Dictionary<string, string> diameterNames => new()
{
["16"] = "16,2х2,6",
["20"] = "20х2,9",
["25"] = "25х3,7",
["32"] = "32х4,7",
["40"] = "40х6,0"
};
}
}