You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AbstractSensor.php 476B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 11/24/15
  6. * Time: 12:45 AM
  7. */
  8. namespace App\Http\Business\Sensors;
  9. use App\Http\DBO\SensorsDbo;
  10. use app\Http\DBO\SensorsValueDbo;
  11. abstract class AbstractSensor
  12. {
  13. /**
  14. * @var SensorsDbo
  15. */
  16. protected $_sensor;
  17. public function __construct(SensorsDbo $sensor)
  18. {
  19. $this->_sensor = $sensor;
  20. }
  21. /**
  22. * @return SensorsValueDbo
  23. */
  24. public abstract function getValue();
  25. }