update
This commit is contained in:
parent
ba9844d3c5
commit
6e38198c21
|
@ -118,8 +118,8 @@ class RemoteRequestLogic extends BaseLogic
|
||||||
foreach ($temp['values'][4] as $key => $value) {
|
foreach ($temp['values'][4] as $key => $value) {
|
||||||
$device['alarm_value'] = $value;
|
$device['alarm_value'] = $value;
|
||||||
$device['alarm_time'] = date('Y-m-d H:i:s', $temp['timestamps'][$key]/1000);
|
$device['alarm_time'] = date('Y-m-d H:i:s', $temp['timestamps'][$key]/1000);
|
||||||
$device['alarm_reason'] = $temp['values'][0][$key]; // todo 对接接口字段
|
$device['alarm_reason'] = $temp['values'][0][$key];
|
||||||
$device['alarm_resolution'] = $temp['values'][2][$key]; // todo 对接接口字段
|
$device['alarm_resolution'] = $temp['values'][2][$key];
|
||||||
$list[] = $device;
|
$list[] = $device;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue