From 7eee27bbd50985d5f2c42febabeb172f592f1045 Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Mon, 13 Jun 2016 16:45:13 +0200 Subject: [PATCH] moved AxleGearState to inner class of AxleGear --- .../Models/SimulationComponent/Impl/AxleGear.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs index 1b9e15a376..111215644b 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs @@ -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 -- GitLab