From d0de88caddf693bbaa7900eeebec8e71297e680d Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <quaritsch@ivt.tugraz.at> Date: Wed, 18 Jan 2023 11:48:34 +0100 Subject: [PATCH] remove no longer needed class --- .../Strategies/TestPowertrain.cs | 41 ------------------- 1 file changed, 41 deletions(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Strategies/TestPowertrain.cs b/VectoCore/VectoCore/Models/SimulationComponent/Strategies/TestPowertrain.cs index 35f070f42a..8fcefba0d8 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Strategies/TestPowertrain.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Strategies/TestPowertrain.cs @@ -118,47 +118,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies public void UpdateComponents() => Container.UpdateComponents(RealContainer); } - public class MockBrakes : VectoSimulationComponent, IBrakes, IUpdateable - { - public MockBrakes(IVehicleContainer container) : base(container) - { - BrakePower = 0.SI<Watt>(); - } - - #region Overrides of VectoSimulationComponent - - protected override void DoWriteModalResults(Second time, Second simulationInterval, IModalDataContainer container) - { - - } - - protected override void DoCommitSimulationStep(Second time, Second simulationInterval) - { - - } - - #endregion - - #region Implementation of IBrakes - - public Watt BrakePower { get; set; } - - #endregion - - #region Implementation of IUpdateable - - public bool UpdateFrom(object other) { - if (other is IBrakes b) { - BrakePower = b.BrakePower; - return true; - } - - return false; - } - - #endregion - } - public class MockDrivingCycle : VectoSimulationComponent, IDrivingCycleInfo { private IDataBus realContainer; -- GitLab