2020-11-15 22:16:01 +03:00

61 lines
1.6 KiB
C#

namespace EvoCalculator.Core.Calculation.Post
{
public class PostValues
{
public BaseCost BaseCost;
public BonusBase BonusBase;
public PriceUP PriceUP;
public PriceUP_PR PriceUP_PR;
public PriceUP_Year PriceUP_Year;
public PriceUP_Year_PR PriceUP_Year_PR;
public NPVNI NPVNI;
public BonusResult BonusResult;
public object GetValues()
{
return new
{
BaseCost = new
{
BaseCost.Value,
},
BonusBase = new
{
BonusBase.Value,
},
PriceUP = new
{
PriceUP.Value,
},
PriceUP_PR = new
{
PriceUP_PR.Value,
},
PriceUP_Year = new
{
PriceUP_Year.Value,
},
nPVNI = new
{
NPVNI.Value,
},
BonusResult = new
{
BonusResult.Value
}
};
}
public PostValues()
{
BaseCost = new BaseCost();
BonusBase = new BonusBase();
PriceUP = new PriceUP();
PriceUP_PR = new PriceUP_PR();
PriceUP_Year = new PriceUP_Year();
PriceUP_Year_PR = new PriceUP_Year_PR();
NPVNI = new NPVNI();
BonusResult = new BonusResult();
}
}
}