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

15 lines
403 B
C#
Raw Normal View History

2023-09-29 16:26:08 +03:00
namespace RhSolutions.Api.Services
{
2023-10-08 16:17:59 +03:00
public class BlackPipeQueryModifier : PipeQueryModifier
2023-09-29 16:26:08 +03:00
{
2023-10-08 16:17:59 +03:00
protected override string diameterPattern =>@"([\b\D]|^)(?<Diameter>16|20|25)([\b\D]|$)";
2023-09-29 16:26:08 +03:00
protected override string pipeName => "Black";
protected override Dictionary<string, string> diameterNames => new()
{
["16"] = "16х2,2",
["20"] = "20х2,8",
2023-10-03 21:58:06 +03:00
["25"] = "25х3,5"
2023-09-29 16:26:08 +03:00
};
}
}