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

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
bool DisengageGearbox { get; }
bool GearEngaged(Second absTime);
bool RequestAfterGearshift { get; set; }
}
public interface IGearboxControl
......
......@@ -1866,6 +1866,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
return true;
}
public bool RequestAfterGearshift { get; set; }
#endregion
}
......
......@@ -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)
{
......
......@@ -67,6 +67,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
return true;
}
public bool RequestAfterGearshift { get; set; }
#endregion
}
}
\ No newline at end of file
......@@ -83,6 +83,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
return true;
}
public bool RequestAfterGearshift { get; set; }
#endregion
}
}
\ No newline at end of file
......@@ -131,6 +131,8 @@ namespace TUGraz.VectoCore.Tests.Utils
return _clutchClosed;
}
public bool RequestAfterGearshift { get; set; }
public bool ClutchClosed(Second absTime)
{
return _clutchClosed;
......
......@@ -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[] { }; } }
......
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