Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit ed516c54 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

adding missing file

parent 0e07655f
No related branches found
No related tags found
No related merge requests found
using Newtonsoft.Json.Linq;
using TUGraz.VectoCommon.InputData;
namespace TUGraz.VectoCore.InputData.FileIO.JSON
{
public class JSONHybridStrategyParameters : JSONFile, IHybridStrategyParameters
{
public JSONHybridStrategyParameters(JObject json, string filename, bool tolerateMissing) : base(json, filename, tolerateMissing)
{ }
public double EquivalenceFactor
{
get
{
return Body.GetEx<double>("EquivalenceFactor");
}
}
public double MinSoC
{
get
{
return Body.GetEx<double>("MinSoC") / 100.0;
}
}
public double MaxSoC
{
get
{
return Body.GetEx<double>("MaxSoC") / 100.0;
}
}
public double TargetSoC
{
get
{
return Body.GetEx<double>("TargetSoC") / 100.0;
}
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment