您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SensorsController.php 471B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 11/23/15
  6. * Time: 11:44 PM
  7. */
  8. namespace App\Http\Controller;
  9. use App\Http\Business\SensorsBusiness;
  10. use App\Http\DBO\SensorsDbo;
  11. use App\Http\DBO\SensorTypesDbo;
  12. use Laravel\Lumen\Routing\Controller as BaseController;
  13. class SensorsController extends BaseController
  14. {
  15. public function getValue(SensorsDbo $sensor, SensorTypesDbo $type)
  16. {
  17. return SensorsBusiness::getValue($sensor, $type);
  18. }
  19. }