dev
Jing Li 2024-01-29 14:50:00 +08:00
parent 3242a5e5d8
commit 9b6581cdce
1 changed files with 10 additions and 0 deletions

View File

@ -540,6 +540,16 @@ class DeviceController extends Controller
'temperature',
'turbidity',
];
switch ($device->supplier_key) {
case 'device-supplier-biang':
$fields = [
'oxygen',
'turbidity',
];
break;
}
/** @var \Illuminate\Support\Collection */
$monitoringLogs = (
$isSameDay