nana_sen преди 1 година
родител
ревизия
a4de1cb2b0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      catch/api/controller/Api.php

+ 1 - 1
catch/api/controller/Api.php

@@ -1099,7 +1099,7 @@ class Api extends CatchController
         $flagOut = $avg["front"] > $config["front_out"] && $avg["behind"] > $config["behind_out"] && $avg["left"] > $config["left_out"] && $avg["right"] > $config["right_out"];
 
 
-        if($flagIn && $status == 2){
+        if($flagIn && ($status == 2 || $status == 3) ){
         // if($flagIn){
             $inoutIntFilter = $ues_redis->hget("anbang_four_wire", "anbang_4rssi_intFilter");
             $inoutIntFilter = $inoutIntFilter ? $inoutIntFilter : 20;