minor extension
This commit is contained in:
parent
8e73fc6cda
commit
5f34b5cf41
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,7 @@ public final class RoutingContext implements DistanceChecker
|
||||||
public double changetime;
|
public double changetime;
|
||||||
public double buffertime;
|
public double buffertime;
|
||||||
public double waittimeadjustment;
|
public double waittimeadjustment;
|
||||||
|
public double starttimeoffset;
|
||||||
|
|
||||||
public void readGlobalConfig( BExpressionContext expctxGlobal )
|
public void readGlobalConfig( BExpressionContext expctxGlobal )
|
||||||
{
|
{
|
||||||
|
@ -81,6 +82,7 @@ public final class RoutingContext implements DistanceChecker
|
||||||
changetime = expctxGlobal.getVariableValue( "changetime", 180.f );
|
changetime = expctxGlobal.getVariableValue( "changetime", 180.f );
|
||||||
buffertime = expctxGlobal.getVariableValue( "buffertime", 120.f );
|
buffertime = expctxGlobal.getVariableValue( "buffertime", 120.f );
|
||||||
waittimeadjustment = expctxGlobal.getVariableValue( "waittimeadjustment", 0.9f );
|
waittimeadjustment = expctxGlobal.getVariableValue( "waittimeadjustment", 0.9f );
|
||||||
|
starttimeoffset = expctxGlobal.getVariableValue( "starttimeoffset", 0.f );
|
||||||
}
|
}
|
||||||
|
|
||||||
public RoutingMessageHandler messageHandler = new RoutingMessageHandler();
|
public RoutingMessageHandler messageHandler = new RoutingMessageHandler();
|
||||||
|
|
Loading…
Reference in a new issue