Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3037 → Rev 3100

/web/acc/phpsysinfo/includes/to/class.System.inc.php
260,6 → 260,13
private $_virtualizer = array();
 
/**
* operating system type
*
* @var string
*/
private $_OS = "";
 
/**
* remove duplicate Entries and Count
*
* @param array $arrDev list of HWDevices
1281,4 → 1288,30
}
}
}
 
/**
* Returns $_OS.
*
* @see System::$_OS
*
* @return string
*/
public function getOS()
{
return $this->_OS;
}
 
/**
* Sets $_OS.
*
* @param $os operating system type
*
* @see System::$_OS
*
* @return void
*/
public function setOS($OS)
{
$this->_OS = $OS;
}
}
/web/acc/phpsysinfo/includes/to/device/class.NetDevice.inc.php
68,6 → 68,20
private $_info = null;
 
/**
* transmitted bytes rate
*
* @var int
*/
private $_txRate = null;
 
/**
* received bytes rate
*
* @var int
*/
private $_rxRate = null;
 
/**
* Returns $_drops.
*
* @see NetDevice::$_drops
222,4 → 236,55
{
$this->_info = $info;
}
/**
* Returns $_rxRate.
*
* @see NetDevice::$_rxRate
*
* @return int
*/
public function getRxRate()
{
return $this->_rxRate;
}
 
/**
* Sets $_rxRate.
*
* @param int $rxRate received bytes rate
*
* @see NetDevice::$_rxRate
*
* @return void
*/
public function setRxRate($rxRate)
{
$this->_rxRate = $rxRate;
}
 
/**
* Returns $_txRate.
*
* @see NetDevice::$_txRate
*
* @return int
*/
public function getTxRate()
{
return $this->_txRate;
}
 
/**
* Sets $_txRate.
*
* @param int $txRate transmitted bytes rate
*
* @see NetDevice::$_txRate
*
* @return void
*/
public function setTxRate($txRate)
{
$this->_txRate = $txRate;
}
}