Procházet zdrojové kódy

update:

避让修改
master
李广豪 před 2 roky
rodič
revize
95f1c30cad
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      6.program/wms-empty/src/main/java/com/mt/wms/empty/task/TaskDistanceUtils.java

+ 2
- 2
6.program/wms-empty/src/main/java/com/mt/wms/empty/task/TaskDistanceUtils.java Zobrazit soubor

@@ -118,10 +118,10 @@ public class TaskDistanceUtils {
if (otherNowPosition>=minDistance&&otherNowPosition<=maxDistance){
return true;
}else {
if (Math.abs(otherNowPosition-maxDistance)<4){
if (Math.abs(otherNowPosition-maxDistance)<2){
return true;
}
if (Math.abs(otherNowPosition-minDistance)<4){
if (Math.abs(otherNowPosition-minDistance)<2){
return true;
}
return false;


Načítá se…
Zrušit
Uložit