????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 216.73.216.221 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/phpsysinfo/includes/to/device/ |
Upload File : |
<?php /** * SensorDevice TO class * * PHP version 5 * * @category PHP * @package PSI_TO * @author Michael Cramer <BigMichi1@users.sourceforge.net> * @copyright 2009 phpSysInfo * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @version SVN: $Id: class.SensorDevice.inc.php 252 2009-06-17 13:06:44Z bigmichi1 $ * @link http://phpsysinfo.sourceforge.net */ /** * SensorDevice TO class * * @category PHP * @package PSI_TO * @author Michael Cramer <BigMichi1@users.sourceforge.net> * @copyright 2009 phpSysInfo * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @version Release: 3.0 * @link http://phpsysinfo.sourceforge.net */ class SensorDevice { /** * name of the sensor * * @var String */ private $_name = ""; /** * current value of the sensor * * @var Integer */ private $_value = 0; /** * maximum value of the sensor * * @var Integer */ private $_max = 0; /** * minimum value of the sensor * * @var Integer */ private $_min = 0; /** * Returns $_max. * * @see Sensor::$_max * * @return Integer */ public function getMax() { return $this->_max; } /** * Sets $_max. * * @param Integer $max maximum value * * @see Sensor::$_max * * @return Void */ public function setMax($max) { $this->_max = $max; } /** * Returns $_min. * * @see Sensor::$_min * * @return Integer */ public function getMin() { return $this->_min; } /** * Sets $_min. * * @param Integer $min minimum value * * @see Sensor::$_min * * @return Void */ public function setMin($min) { $this->_min = $min; } /** * Returns $_name. * * @see Sensor::$_name * * @return String */ public function getName() { return $this->_name; } /** * Sets $_name. * * @param String $name sensor name * * @see Sensor::$_name * * @return Void */ public function setName($name) { $this->_name = $name; } /** * Returns $_value. * * @see Sensor::$_value * * @return Integer */ public function getValue() { return $this->_value; } /** * Sets $_value. * * @param Integer $value current value * * @see Sensor::$_value * * @return Void */ public function setValue($value) { $this->_value = $value; } } ?>