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

Skip to content
Snippets Groups Projects
Commit bd264d03 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

removed no longer needed classes

parent 666ba218
No related branches found
No related tags found
No related merge requests found
using System.Collections.Generic;
using TUGraz.VectoCommon.Utils;
namespace TUGraz.VectoCore.Models.SimulationComponent.Impl {
public class MaxCardanTorqueLookup
{
public Dictionary<uint, List<KeyValuePair<PerSecond, NewtonMeter>>> Data { protected get; set; }
public NewtonMeter Lookup(uint gear, PerSecond engineSpeed)
{
return Data[gear].Interpolate(x => x.Key.Value(), y => y.Value, engineSpeed.Value());
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using TUGraz.VectoCommon.Utils;
namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
{
public class MaxGradabilityLookup
{
protected internal Dictionary<uint, Tuple<Radian, Radian>> _data;
public Dictionary<uint, Tuple<Radian, Radian>> Data
{
set { _data = value; }
}
public Radian GradabilityMaxTorque(uint gear)
{
return _data[gear].Item1;
}
public Radian GradabilityLimitedTorque(uint gear)
{
return _data[gear].Item2;
}
}
}
\ 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