Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

Pulled up Member "RequestAfterGearshift" to avoid having to cast to ATGearbox

parent d5aebaf5
No related branches found
No related tags found
No related merge requests found
...@@ -78,6 +78,8 @@ namespace TUGraz.VectoCore.Models.Simulation.DataBus ...@@ -78,6 +78,8 @@ namespace TUGraz.VectoCore.Models.Simulation.DataBus
bool DisengageGearbox { get; } bool DisengageGearbox { get; }
bool GearEngaged(Second absTime); bool GearEngaged(Second absTime);
bool RequestAfterGearshift { get; set; }
} }
public interface IGearboxControl public interface IGearboxControl
......
...@@ -1866,6 +1866,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl ...@@ -1866,6 +1866,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
return true; return true;
} }
public bool RequestAfterGearshift { get; set; }
#endregion #endregion
} }
......
...@@ -124,6 +124,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -124,6 +124,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
#endregion #endregion
public abstract bool GearEngaged(Second absTime); public abstract bool GearEngaged(Second absTime);
public bool RequestAfterGearshift { get; set; }
protected bool ConsiderShiftLosses(GearshiftPosition nextGear, NewtonMeter torqueOut) protected bool ConsiderShiftLosses(GearshiftPosition nextGear, NewtonMeter torqueOut)
{ {
......
...@@ -67,6 +67,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -67,6 +67,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
return true; return true;
} }
public bool RequestAfterGearshift { get; set; }
#endregion #endregion
} }
} }
\ No newline at end of file
...@@ -83,6 +83,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -83,6 +83,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
return true; return true;
} }
public bool RequestAfterGearshift { get; set; }
#endregion #endregion
} }
} }
\ No newline at end of file
...@@ -131,6 +131,8 @@ namespace TUGraz.VectoCore.Tests.Utils ...@@ -131,6 +131,8 @@ namespace TUGraz.VectoCore.Tests.Utils
return _clutchClosed; return _clutchClosed;
} }
public bool RequestAfterGearshift { get; set; }
public bool ClutchClosed(Second absTime) public bool ClutchClosed(Second absTime)
{ {
return _clutchClosed; return _clutchClosed;
......
...@@ -315,6 +315,8 @@ namespace TUGraz.VectoCore.Tests.Utils ...@@ -315,6 +315,8 @@ namespace TUGraz.VectoCore.Tests.Utils
return ClutchClosed(absTime); return ClutchClosed(absTime);
} }
public bool RequestAfterGearshift { get; set; }
#endregion #endregion
public IEnumerable<ISimulationPreprocessor> GetPreprocessingRuns { get { return new ISimulationPreprocessor[] { }; } } public IEnumerable<ISimulationPreprocessor> GetPreprocessingRuns { get { return new ISimulationPreprocessor[] { }; } }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment