Update
parent
3242a5e5d8
commit
9b6581cdce
|
|
@ -540,6 +540,16 @@ class DeviceController extends Controller
|
||||||
'temperature',
|
'temperature',
|
||||||
'turbidity',
|
'turbidity',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
switch ($device->supplier_key) {
|
||||||
|
case 'device-supplier-biang':
|
||||||
|
$fields = [
|
||||||
|
'oxygen',
|
||||||
|
'turbidity',
|
||||||
|
];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/** @var \Illuminate\Support\Collection */
|
/** @var \Illuminate\Support\Collection */
|
||||||
$monitoringLogs = (
|
$monitoringLogs = (
|
||||||
$isSameDay
|
$isSameDay
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue