fcy hace 4 años
padre
commit
c7b5440eaa
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      application/web/controller/IndexController.php

+ 1 - 2
application/web/controller/IndexController.php

@@ -207,10 +207,9 @@ class IndexController extends MainController
             ->join('realtimedata rt', 'rt.DEVICEID=d.DEVICEID and rt.PRIMARYADDR=d.PRIMARYADDR', 'left')
             ->field('d.*,rt.STATUS,rt.LASTTRANSDATE')
             ->select();
-        $arr = array(1 => '80℃', 2 => '2:100℃', 3 => '130℃');
+       // $arr = array(1 => '80℃', 2 => '2:100℃', 3 => '130℃');
         $sta = array('在线', '报警', '不在线', '未配置');
         foreach ($deviceinfo as $k => &$v) {
-            $v['TEMPERTHRESHOLD'] = $arr[$v['TEMPERTHRESHOLD']];
             $v['STATUS'] = $sta[$v['STATUS']];
         }