|
@@ -1503,9 +1503,7 @@ class Lampcontrol extends Base_Controller {
|
|
|
$update = array();
|
|
|
if ($type == 1) { // 负载参数
|
|
|
$update['intell_power'] = '2';
|
|
|
- $update['load_current'] = '0.9';
|
|
|
- $update['light_delay'] = '20';
|
|
|
- $update['induction_delay'] = '20';
|
|
|
+ $update['light_type'] = '1';
|
|
|
$update['first_light_time'] = '00:30';
|
|
|
$update['first_light_human_power'] = '50';
|
|
|
$update['first_light_unman_power'] = '20';
|
|
@@ -1527,18 +1525,9 @@ class Lampcontrol extends Base_Controller {
|
|
|
$update['seventh_light_time'] = '00:00';
|
|
|
$update['seventh_light_human_power'] = '100';
|
|
|
$update['seventh_light_unman_power'] = '50';
|
|
|
- $update['eighth_light_time'] = '00:00';
|
|
|
- $update['eighth_light_human_power'] = '100';
|
|
|
- $update['eighth_light_unman_power'] = '50';
|
|
|
- $update['ninth_light_time'] = '00:00';
|
|
|
- $update['ninth_light_human_power'] = '100';
|
|
|
- $update['ninth_light_unman_power'] = '50';
|
|
|
$update['tenth_light_time'] = '00:00';
|
|
|
$update['tenth_light_human_power'] = '50';
|
|
|
$update['tenth_light_unman_power'] = '20';
|
|
|
- $update['begin_voltage'] = '11.5';
|
|
|
- $update['end_voltage'] = '10.0';
|
|
|
- $update['end_current'] = '0.15';
|
|
|
}else{ // 蓄电池参数
|
|
|
|
|
|
$update['system_voltage'] = '12'; // 电池电压
|