Update RouteCalculationResult.java

This commit is contained in:
vshcherb 2013-08-06 22:49:39 +02:00
parent 13daa8e964
commit ee0b703c92

View file

@ -837,7 +837,7 @@ public class RouteCalculationResult {
while(aInfo < alarmInfo.size()) { while(aInfo < alarmInfo.size()) {
AlarmInfo inf = alarmInfo.get(aInfo); AlarmInfo inf = alarmInfo.get(aInfo);
int d = dist - listDistance[inf.locationIndex]; int d = dist - listDistance[inf.locationIndex];
if(d > 700){ if(d > 250){
break; break;
} }
float time = speed > 0 ? d / speed : Integer.MAX_VALUE; float time = speed > 0 ? d / speed : Integer.MAX_VALUE;
@ -928,4 +928,4 @@ public class RouteCalculationResult {
private int directionInfoInd; private int directionInfoInd;
} }
} }