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

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

moved AxleGearState to inner class of AxleGear

parent d51d5157
No related branches found
No related tags found
No related merge requests found
......@@ -42,12 +42,7 @@ using TUGraz.VectoCore.Utils;
namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
{
public class AxleGearState : SimpleComponentState
{
public TransmissionLossMap.LossMapResult TorqueLossResult;
}
public class AxleGear : StatefulVectoSimulationComponent<AxleGearState>, IPowerTrainComponent, ITnInPort,
public class AxleGear : StatefulVectoSimulationComponent<AxleGear.AxleGearState>, IPowerTrainComponent, ITnInPort,
ITnOutPort
{
protected ITnOutPort NextComponent;
......@@ -128,5 +123,10 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
}
AdvanceState();
}
public class AxleGearState : SimpleComponentState
{
public TransmissionLossMap.LossMapResult TorqueLossResult;
}
}
}
\ 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