临时调整水温

dev
vine_liutk 2023-07-20 14:49:37 +08:00
parent 1a223b86c5
commit d8d3573860
1 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@ class DeviceController extends Controller
$data[$device->monitoring_point][$_key] = rand(750, 770) / 100;
break;
case 'temperature':
$data[$device->monitoring_point][$_key] = rand(1400, 1600) / 100;
$data[$device->monitoring_point][$_key] = rand(2400, 2600) / 100;
break;
case 'turbidity':
$data[$device->monitoring_point][$_key] = 0.33;
@ -386,7 +386,7 @@ class DeviceController extends Controller
'conductivity' => 563,
'oxygen' => 0.09,
'ph' => rand(750, 770) / 100,
'temperature' => rand(1400, 1600) / 100,
'temperature' => rand(2400, 2600) / 100,
'turbidity' => 0.33,
default => null,
};
@ -530,7 +530,7 @@ class DeviceController extends Controller
$data[$column][$key] = rand(750, 770) / 100;
break;
case 'temperature':
$data[$column][$key] = rand(1400, 1600) / 100;
$data[$column][$key] = rand(2400, 2600) / 100;
break;
case 'turbidity':
$data[$column][$key] = 0.33;