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

Skip to content
Snippets Groups Projects
Commit ec0e7b50 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

disable look-ahead coasting for completed bus (specific and generic)

parent 2e53e6e5
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,14 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter
#region Overrides of DeclarationDataAdapterPrimaryBus
public override DriverData CreateDriverData()
{
var retVal = base.CreateDriverData();
retVal.LookAheadCoasting.Enabled = false;
retVal.OverSpeed.Enabled = false;
return retVal;
}
public override VehicleData CreateVehicleData(
IVehicleDeclarationInputData data, Segment segment, Mission mission, KeyValuePair<LoadingType, Tuple<Kilogram, double?>> loading, bool allowVocational)
{
......
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