????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.217 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/ |
Upload File : |
<?php
/**
* MBInfo 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.MBInfo.inc.php 253 2009-06-17 13:07:50Z bigmichi1 $
* @link http://phpsysinfo.sourceforge.net
*/
/**
* MBInfo 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 MBInfo
{
/**
* array with SensorDevices for temperatures
*
* @see SensorDevice
*
* @var Array
*/
private $_mbTemp = array();
/**
* array with SensorDevices for fans
*
* @see SensorDevice
*
* @var Array
*/
private $_mbFan = array();
/**
* array with SensorDevices for voltages
*
* @see SensorDevice
*
* @var Array
*/
private $_mbVolt = array();
/**
* Returns $_mbFan.
*
* @see System::$_mbFan
*
* @return Array
*/
public function getMbFan()
{
return $this->_mbFan;
}
/**
* Sets $_mbFan.
*
* @param SensorDevice $mbFan fan device
*
* @see System::$_mbFan
*
* @return Void
*/
public function setMbFan($mbFan)
{
array_push($this->_mbFan, $mbFan);
}
/**
* Returns $_mbTemp.
*
* @see System::$_mbTemp
*
* @return Array
*/
public function getMbTemp()
{
return $this->_mbTemp;
}
/**
* Sets $_mbTemp.
*
* @param Sensor $mbTemp temp device
*
* @see System::$_mbTemp
*
* @return Void
*/
public function setMbTemp($mbTemp)
{
array_push($this->_mbTemp, $mbTemp);
}
/**
* Returns $_mbVolt.
*
* @see System::$_mbVolt
*
* @return Array
*/
public function getMbVolt()
{
return $this->_mbVolt;
}
/**
* Sets $_mbVolt.
*
* @param Sensor $mbVolt voltage device
*
* @see System::$_mbVolt
*
* @return Void
*/
public function setMbVolt($mbVolt)
{
array_push($this->_mbVolt, $mbVolt);
}
}
?>