Make base PriceList class abstract

This commit is contained in:
Sergey Chebotar 2022-02-02 18:03:49 +03:00
parent 8f9cc1a462
commit bf2e187e66
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
namespace RehauSku.PriceListTools namespace RehauSku.PriceListTools
{ {
internal class PriceList internal abstract class AbstractPriceList
{ {
protected const string amountHeader = "Кол-во"; protected const string amountHeader = "Кол-во";
protected const string skuHeader = "Актуальный материал"; protected const string skuHeader = "Актуальный материал";

View File

@ -7,7 +7,7 @@ using RehauSku.Interface;
namespace RehauSku.PriceListTools namespace RehauSku.PriceListTools
{ {
internal class Source : PriceList internal class Source : AbstractPriceList
{ {
public Dictionary<Position, double> PositionAmount { get; private set; } public Dictionary<Position, double> PositionAmount { get; private set; }

View File

@ -4,7 +4,7 @@ using System.Linq;
namespace RehauSku.PriceListTools namespace RehauSku.PriceListTools
{ {
internal class Target : PriceList internal class Target : AbstractPriceList
{ {
private const string oldSkuHeader = "Прежний материал"; private const string oldSkuHeader = "Прежний материал";
public Range oldSkuCell { get; private set; } public Range oldSkuCell { get; private set; }

View File

@ -127,7 +127,7 @@
<Compile Include="PriceListTools\Position.cs" /> <Compile Include="PriceListTools\Position.cs" />
<Compile Include="PriceListTools\AbstractTool.cs" /> <Compile Include="PriceListTools\AbstractTool.cs" />
<Compile Include="PriceListTools\MergeTool.cs" /> <Compile Include="PriceListTools\MergeTool.cs" />
<Compile Include="PriceListTools\PriceList.cs" /> <Compile Include="PriceListTools\AbstractPriceList.cs" />
<Compile Include="PriceListTools\Source.cs" /> <Compile Include="PriceListTools\Source.cs" />
<Compile Include="PriceListTools\Target.cs" /> <Compile Include="PriceListTools\Target.cs" />
<Compile Include="Interface\RibbonController.cs" /> <Compile Include="Interface\RibbonController.cs" />