diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-01-28 12:27:10 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-01-28 12:27:10 +0300 |
commit | 952ca22316b4e4ac25004cd453baac1afac5adaf (patch) | |
tree | 7a9fab04599cc5b9d0e64a7dd70005c3cbd1f9cd /src/PriceListTools/Source.cs | |
parent | 711cc313e0eaed646c5058ef294de6d89770e352 (diff) |
Implement filling positions to correct sku group
Diffstat (limited to 'src/PriceListTools/Source.cs')
-rw-r--r-- | src/PriceListTools/Source.cs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/PriceListTools/Source.cs b/src/PriceListTools/Source.cs index 8c71130..fd64012 100644 --- a/src/PriceListTools/Source.cs +++ b/src/PriceListTools/Source.cs @@ -35,7 +35,7 @@ namespace RehauSku.PriceListTools object[,] amountColumn = amountCell.EntireColumn.Value2; object[,] skuColumn = skuCell.EntireColumn.Value2; object[,] nameColumn = nameCell.EntireColumn.Value2; - object[,] groupColumn = nameCell.EntireColumn.Value2; + object[,] groupColumn = groupCell.EntireColumn.Value2; for (int row = amountCell.Row + 1; row < amountColumn.GetLength(0); row++) { @@ -60,19 +60,5 @@ namespace RehauSku.PriceListTools } } } - - public class Position - { - public string SkuGroup { get; private set; } - public string Sku { get; private set; } - public string Name { get; private set; } - - public Position(string group, string sku, string name) - { - SkuGroup = group; - Sku = sku; - Name = name; - } - } } |