From 4a2ca16d8b4aa34041adb558b2db91709908aff5 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Wed, 26 Jan 2022 17:41:46 +0300 Subject: Watch only current sheets in files --- src/PriceListTools/PriceListPosition.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/PriceListTools/PriceListPosition.cs (limited to 'src/PriceListTools/PriceListPosition.cs') diff --git a/src/PriceListTools/PriceListPosition.cs b/src/PriceListTools/PriceListPosition.cs new file mode 100644 index 0000000..30be153 --- /dev/null +++ b/src/PriceListTools/PriceListPosition.cs @@ -0,0 +1,23 @@ +using RehauSku.Assistant; +using System; + +namespace RehauSku.PriceListTools +{ + internal class PriceListPosition + { + public readonly string Group; + public readonly string Sku; + + public PriceListPosition(string group, string sku) + { + if (!sku.IsRehauSku()) + throw new ArgumentException("Wrong SKU"); + + else + { + Group = group; + Sku = sku; + } + } + } +} -- cgit v1.2.3