diff --git a/VectoCore/VectoCore/Models/Simulation/DataBus/IGearboxInfo.cs b/VectoCore/VectoCore/Models/Simulation/DataBus/IGearboxInfo.cs index 481476c7796efa52764dca63c72bf5f8cda19aa1..ea6f671b0a563001a3caa80f31aedf6efff758de 100644 --- a/VectoCore/VectoCore/Models/Simulation/DataBus/IGearboxInfo.cs +++ b/VectoCore/VectoCore/Models/Simulation/DataBus/IGearboxInfo.cs @@ -78,6 +78,8 @@ namespace TUGraz.VectoCore.Models.Simulation.DataBus bool DisengageGearbox { get; } bool GearEngaged(Second absTime); + + bool RequestAfterGearshift { get; set; } } public interface IGearboxControl diff --git a/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs b/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs index 966448ffbe99356113e36ab373c017d9f42b81b1..9a40b6810639974ccaa54a4db2b3f2405e37ff0f 100644 --- a/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs +++ b/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs @@ -1866,6 +1866,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl return true; } + public bool RequestAfterGearshift { get; set; } + #endregion } diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AbstractGearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AbstractGearbox.cs index 14028b6418dd6db6302adab9007b98e611c9b941..6c150c41888a239767076191a5bfa8ce02d1b2b1 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AbstractGearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AbstractGearbox.cs @@ -124,6 +124,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #endregion public abstract bool GearEngaged(Second absTime); + public bool RequestAfterGearshift { get; set; } protected bool ConsiderShiftLosses(GearshiftPosition nextGear, NewtonMeter torqueOut) { diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/DummyGearboxInfo.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/DummyGearboxInfo.cs index 74ee79b2c1000f1b4084ef1899fc9d936ffccc2a..66cbd71d1c98257a598e418ece40099d758d9a03 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/DummyGearboxInfo.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/DummyGearboxInfo.cs @@ -67,6 +67,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl return true; } + public bool RequestAfterGearshift { get; set; } + #endregion } } \ No newline at end of file diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/SingleSpeedGearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/SingleSpeedGearbox.cs index 1ea17679607f375649a6d10d610bd4c98fd8b239..f52817d0e253d6a7063b64dd4c23058fc1e160e3 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/SingleSpeedGearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/SingleSpeedGearbox.cs @@ -83,6 +83,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl return true; } + public bool RequestAfterGearshift { get; set; } + #endregion } } \ No newline at end of file diff --git a/VectoCore/VectoCoreTest/Utils/MockGearbox.cs b/VectoCore/VectoCoreTest/Utils/MockGearbox.cs index 8f656aa0f2f11b41ab940f0c0c43e3ea5b921a6d..1e83d9820061133dbf102f5aa7fb910f448d731b 100644 --- a/VectoCore/VectoCoreTest/Utils/MockGearbox.cs +++ b/VectoCore/VectoCoreTest/Utils/MockGearbox.cs @@ -131,6 +131,8 @@ namespace TUGraz.VectoCore.Tests.Utils return _clutchClosed; } + public bool RequestAfterGearshift { get; set; } + public bool ClutchClosed(Second absTime) { return _clutchClosed; diff --git a/VectoCore/VectoCoreTest/Utils/MockVehicleContainer.cs b/VectoCore/VectoCoreTest/Utils/MockVehicleContainer.cs index 56faff6941917606749e9bd2338e5f89ff8dc6bc..911ee8289e38a8bb17690705a5994278382a8449 100644 --- a/VectoCore/VectoCoreTest/Utils/MockVehicleContainer.cs +++ b/VectoCore/VectoCoreTest/Utils/MockVehicleContainer.cs @@ -315,6 +315,8 @@ namespace TUGraz.VectoCore.Tests.Utils return ClutchClosed(absTime); } + public bool RequestAfterGearshift { get; set; } + #endregion public IEnumerable<ISimulationPreprocessor> GetPreprocessingRuns { get { return new ISimulationPreprocessor[] { }; } }