Rename Abstract classes
This commit is contained in:
parent
84137845fd
commit
36c4d4480d
@ -1,6 +1,6 @@
|
|||||||
namespace RhSolutions.Interface
|
namespace RhSolutions.Interface
|
||||||
{
|
{
|
||||||
internal class ProgressBar : AbstractBar
|
internal class ProgressBar : StatusbarBase
|
||||||
{
|
{
|
||||||
private double CurrentProgress { get; set; }
|
private double CurrentProgress { get; set; }
|
||||||
private readonly double TaskWeight;
|
private readonly double TaskWeight;
|
||||||
|
@ -3,7 +3,7 @@ using System.Text;
|
|||||||
|
|
||||||
namespace RhSolutions.Interface
|
namespace RhSolutions.Interface
|
||||||
{
|
{
|
||||||
internal class ResultBar : AbstractBar
|
internal class ResultBar : StatusbarBase
|
||||||
{
|
{
|
||||||
private int Success { get; set; }
|
private int Success { get; set; }
|
||||||
private int Replaced { get; set; }
|
private int Replaced { get; set; }
|
||||||
|
@ -64,7 +64,7 @@ namespace RhSolutions.Interface
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
AbstractTool tool;
|
ToolBase tool;
|
||||||
switch (control.Id)
|
switch (control.Id)
|
||||||
{
|
{
|
||||||
case "export":
|
case "export":
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace RhSolutions.Interface
|
namespace RhSolutions.Interface
|
||||||
{
|
{
|
||||||
internal abstract class AbstractBar : IDisposable
|
internal abstract class StatusbarBase : IDisposable
|
||||||
{
|
{
|
||||||
protected Application Excel = AddIn.Excel;
|
protected Application Excel = AddIn.Excel;
|
||||||
|
|
@ -7,7 +7,7 @@ using Dialog = RhSolutions.Interface.Dialog;
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal class CombineTool : AbstractTool
|
internal class CombineTool : ToolBase
|
||||||
{
|
{
|
||||||
private List<SourcePriceList> SourceFiles { get; set; }
|
private List<SourcePriceList> SourceFiles { get; set; }
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal class ConvertTool : AbstractTool
|
internal class ConvertTool : ToolBase
|
||||||
{
|
{
|
||||||
private SourcePriceList Current { get; set; }
|
private SourcePriceList Current { get; set; }
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ using RhSolutions.Interface;
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal class ExportTool : AbstractTool
|
internal class ExportTool : ToolBase
|
||||||
{
|
{
|
||||||
private Dictionary<Product, double> PositionAmount;
|
private Dictionary<Product, double> PositionAmount;
|
||||||
private readonly Range Selection;
|
private readonly Range Selection;
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal class MergeTool : AbstractTool
|
internal class MergeTool : ToolBase
|
||||||
{
|
{
|
||||||
private List<SourcePriceList> SourceFiles { get; set; }
|
private List<SourcePriceList> SourceFiles { get; set; }
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal abstract class AbstractPriceList
|
internal abstract class PriceListBase
|
||||||
{
|
{
|
||||||
public Range AmountCell { get; protected set; }
|
public Range AmountCell { get; protected set; }
|
||||||
public Range SkuCell { get; protected set; }
|
public Range SkuCell { get; protected set; }
|
@ -7,7 +7,7 @@ using RhSolutions.Interface;
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal class SourcePriceList : AbstractPriceList
|
internal class SourcePriceList : PriceListBase
|
||||||
{
|
{
|
||||||
public Dictionary<Product, double> PositionAmount { get; private set; }
|
public Dictionary<Product, double> PositionAmount { get; private set; }
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal class TargetPriceList : AbstractPriceList
|
internal class TargetPriceList : PriceListBase
|
||||||
{
|
{
|
||||||
public Range OldSkuCell { get; private set; }
|
public Range OldSkuCell { get; private set; }
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ using ProgressBar = RhSolutions.Interface.ProgressBar;
|
|||||||
|
|
||||||
namespace RhSolutions.PriceListTools
|
namespace RhSolutions.PriceListTools
|
||||||
{
|
{
|
||||||
internal abstract class AbstractTool
|
internal abstract class ToolBase
|
||||||
{
|
{
|
||||||
protected Application ExcelApp = AddIn.Excel;
|
protected Application ExcelApp = AddIn.Excel;
|
||||||
protected TargetPriceList TargetFile { get; set; }
|
protected TargetPriceList TargetFile { get; set; }
|
Loading…
Reference in New Issue
Block a user