|
@@ -136,6 +136,18 @@ class Api extends CatchController
|
|
|
$rssiIn = 60;
|
|
|
}
|
|
|
|
|
|
+ //资产盘点调测代码
|
|
|
+ if ($mac = '634669') {
|
|
|
+ # code...
|
|
|
+ $assetData = [
|
|
|
+ 'label' => $label,
|
|
|
+ 'ant' => 1,
|
|
|
+ 'rssi' => $DA['rssi1'],
|
|
|
+ 'time' => $time,
|
|
|
+ ];
|
|
|
+ $ues_redis->lpush('asset_after_handle',json_encode($deDa));
|
|
|
+ }
|
|
|
+
|
|
|
if($DA['rssi1']<=$rssiIn||$DA['rssi2']<=$rssiIn||$DA['rssi3']<=$rssiIn||$DA['rssi4']<=$rssiIn){
|
|
|
//原始数据只要其中有一条信号小于72 都参与计算
|
|
|
$vs=true;
|