|
@@ -148,6 +148,8 @@ class TagHistory extends CatchController
|
|
];
|
|
];
|
|
|
|
|
|
$list[$key]['status']=1;
|
|
$list[$key]['status']=1;
|
|
|
|
+ $list[$key]['rssi'] = $da['rssi'];
|
|
|
|
+ $list[$key]['move'] = $da['move'];
|
|
//1 在线 0 离线
|
|
//1 在线 0 离线
|
|
if($shifouRole)
|
|
if($shifouRole)
|
|
{
|
|
{
|
|
@@ -156,11 +158,11 @@ class TagHistory extends CatchController
|
|
if((time()-$value['addTime'])>90)
|
|
if((time()-$value['addTime'])>90)
|
|
{
|
|
{
|
|
$list[$key]['status']=0;
|
|
$list[$key]['status']=0;
|
|
|
|
+ $list[$key]['rssi']=0;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
- $list[$key]['rssi'] = $da['rssi'];
|
|
|
|
- $list[$key]['move'] = $da['move'];
|
|
|
|
|
|
+
|
|
$list[$key]['step'] = $da['step'];
|
|
$list[$key]['step'] = $da['step'];
|
|
$list[$key]['temperature'] = $da['temperature'];
|
|
$list[$key]['temperature'] = $da['temperature'];
|
|
$list[$key]['addTime'] = date('Y-m-d H:i:s', $value['addTime']);
|
|
$list[$key]['addTime'] = date('Y-m-d H:i:s', $value['addTime']);
|