|
@@ -1443,7 +1443,7 @@ class Lampcontrol extends Base_Controller {
|
|
|
}
|
|
|
$lampData = $this->Lamp_model->get_one(['id'=>$lamp_id],'address,number');
|
|
|
|
|
|
- $res = $this->send_cmd('93',$lampData['address'],'');
|
|
|
+ $res = $this->send_cmd('13',$lampData['address'],'');
|
|
|
|
|
|
|
|
|
if (empty($res)) {
|
|
@@ -1498,8 +1498,6 @@ class Lampcontrol extends Base_Controller {
|
|
|
$res['fifth_light_time'] = $this->format_date_en($res['fifth_light_time']);
|
|
|
$res['sixth_light_time'] = $this->format_date_en($res['sixth_light_time']);
|
|
|
$res['seventh_light_time'] = $this->format_date_en($res['seventh_light_time']);
|
|
|
- $res['eighth_light_time'] = $this->format_date_en($res['eighth_light_time']);
|
|
|
- $res['ninth_light_time'] = $this->format_date_en($res['ninth_light_time']);
|
|
|
$res['tenth_light_time'] = $this->format_date_en($res['tenth_light_time']);
|
|
|
// unset($res['id']);
|
|
|
// unset($res['updatetime']);
|