Update RouteCalculationResult.java
This commit is contained in:
parent
13daa8e964
commit
ee0b703c92
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue