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

Skip to content
Snippets Groups Projects
Commit b1badc75 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

angulargear uses angulargeardata instead of simple transmission data

parent 206afd16
No related branches found
No related tags found
No related merge requests found
using TUGraz.VectoCommon.Models;
using TUGraz.VectoCommon.Utils;
using TUGraz.VectoCore.Models.Simulation;
using TUGraz.VectoCore.Models.SimulationComponent.Data;
using TUGraz.VectoCore.Models.SimulationComponent.Data.Gearbox;
using TUGraz.VectoCore.OutputData;
......@@ -10,7 +11,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public class AngularGear : TransmissionComponent
{
public AngularGear(IVehicleContainer container, TransmissionData modelData) : base(container, modelData) {}
public AngularGear(IVehicleContainer container, AngularGearData modelData) : base(container, modelData.AngularGear) {}
public override IResponse Request(Second absTime, Second dt, NewtonMeter torque, PerSecond angularVelocity,
bool dryRun = false)
......
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