/web/acc/phpsysinfo/includes/to/device/class.CpuDevice.inc.php |
---|
28,14 → 28,21 |
/** |
* model of the cpu |
* |
* @var String |
* @var string |
*/ |
private $_model = ""; |
/** |
* cpu voltage |
* |
* @var Float |
*/ |
private $_voltage = 0; |
/** |
* speed of the cpu in hertz |
* |
* @var Integer |
* @var int |
*/ |
private $_cpuSpeed = 0; |
42,7 → 49,7 |
/** |
* max speed of the cpu in hertz |
* |
* @var Integer |
* @var int |
*/ |
private $_cpuSpeedMax = 0; |
49,7 → 56,7 |
/** |
* min speed of the cpu in hertz |
* |
* @var Integer |
* @var int |
*/ |
private $_cpuSpeedMin = 0; |
56,7 → 63,7 |
/** |
* cache size in bytes, if available |
* |
* @var Integer |
* @var int |
*/ |
private $_cache = null; |
63,7 → 70,7 |
/** |
* virtualization, if available |
* |
* @var String |
* @var string |
*/ |
private $_virt = null; |
70,7 → 77,7 |
/** |
* busspeed in hertz, if available |
* |
* @var Integer |
* @var int |
*/ |
private $_busSpeed = null; |
77,7 → 84,7 |
/** |
* bogomips of the cpu, if available |
* |
* @var Integer |
* @var int |
*/ |
private $_bogomips = null; |
84,7 → 91,7 |
/** |
* temperature of the cpu, if available |
* |
* @var Integer |
* @var int |
*/ |
private $_temp = null; |
91,7 → 98,7 |
/** |
* vendorid, if available |
* |
* @var String |
* @var string |
*/ |
private $_vendorid = null; |
98,7 → 105,7 |
/** |
* current load in percent of the cpu, if available |
* |
* @var Integer |
* @var int |
*/ |
private $_load = null; |
121,7 → 128,7 |
* |
* @see Cpu::$_model |
* |
* @return Void |
* @return void |
*/ |
public function setModel($model) |
{ |
129,11 → 136,37 |
} |
/** |
* Returns $_voltage. |
* |
* @see Cpu::$_voltage |
* |
* @return Float |
*/ |
public function getVoltage() |
{ |
return $this->_voltage; |
} |
/** |
* Sets $_voltage. |
* |
* @param int $voltage voltage |
* |
* @see Cpu::$_voltage |
* |
* @return void |
*/ |
public function setVoltage($voltage) |
{ |
$this->_voltage = $voltage; |
} |
/** |
* Returns $_cpuSpeed. |
* |
* @see Cpu::$_cpuSpeed |
* |
* @return Integer |
* @return int |
*/ |
public function getCpuSpeed() |
{ |
143,11 → 176,11 |
/** |
* Sets $_cpuSpeed. |
* |
* @param Integer $cpuSpeed cpuspeed |
* @param int $cpuSpeed cpuspeed |
* |
* @see Cpu::$_cpuSpeed |
* |
* @return Void |
* @return void |
*/ |
public function setCpuSpeed($cpuSpeed) |
{ |
159,7 → 192,7 |
* |
* @see Cpu::$_cpuSpeedMAx |
* |
* @return Integer |
* @return int |
*/ |
public function getCpuSpeedMax() |
{ |
169,11 → 202,11 |
/** |
* Sets $_cpuSpeedMax. |
* |
* @param Integer $cpuSpeedMax cpuspeedmax |
* @param int $cpuSpeedMax cpuspeedmax |
* |
* @see Cpu::$_cpuSpeedMax |
* |
* @return Void |
* @return void |
*/ |
public function setCpuSpeedMax($cpuSpeedMax) |
{ |
185,7 → 218,7 |
* |
* @see Cpu::$_cpuSpeedMin |
* |
* @return Integer |
* @return int |
*/ |
public function getCpuSpeedMin() |
{ |
195,11 → 228,11 |
/** |
* Sets $_cpuSpeedMin. |
* |
* @param Integer $cpuSpeedMin cpuspeedmin |
* @param int $cpuSpeedMin cpuspeedmin |
* |
* @see Cpu::$_cpuSpeedMin |
* |
* @return Void |
* @return void |
*/ |
public function setCpuSpeedMin($cpuSpeedMin) |
{ |
211,7 → 244,7 |
* |
* @see Cpu::$_cache |
* |
* @return Integer |
* @return int |
*/ |
public function getCache() |
{ |
221,11 → 254,11 |
/** |
* Sets $_cache. |
* |
* @param Integer $cache cache size |
* @param int $cache cache size |
* |
* @see Cpu::$_cache |
* |
* @return Void |
* @return void |
*/ |
public function setCache($cache) |
{ |
251,7 → 284,7 |
* |
* @see Cpu::$_virt |
* |
* @return Void |
* @return void |
*/ |
public function setVirt($virt) |
{ |
263,7 → 296,7 |
* |
* @see Cpu::$_busSpeed |
* |
* @return Integer |
* @return int |
*/ |
public function getBusSpeed() |
{ |
273,11 → 306,11 |
/** |
* Sets $_busSpeed. |
* |
* @param Integer $busSpeed busspeed |
* @param int $busSpeed busspeed |
* |
* @see Cpu::$_busSpeed |
* |
* @return Void |
* @return void |
*/ |
public function setBusSpeed($busSpeed) |
{ |
289,7 → 322,7 |
* |
* @see Cpu::$_bogomips |
* |
* @return Integer |
* @return int |
*/ |
public function getBogomips() |
{ |
299,11 → 332,11 |
/** |
* Sets $_bogomips. |
* |
* @param Integer $bogomips bogompis |
* @param int $bogomips bogompis |
* |
* @see Cpu::$_bogomips |
* |
* @return Void |
* @return void |
*/ |
public function setBogomips($bogomips) |
{ |
315,7 → 348,7 |
* |
* @see Cpu::$_temp |
* |
* @return Integer |
* @return int |
*/ |
/* |
public function getTemp() |
327,11 → 360,11 |
/** |
* Sets $_temp. |
* |
* @param Integer $temp temperature |
* @param int $temp temperature |
* |
* @see Cpu::$_temp |
* |
* @return Void |
* @return void |
*/ |
/* |
public function setTemp($temp) |
359,11 → 392,11 |
* |
* @see Cpu::$_vendorid |
* |
* @return Void |
* @return void |
*/ |
public function setVendorId($vendorid) |
{ |
$this->_vendorid = $vendorid; |
$this->_vendorid = trim(preg_replace('/[\s!]/', '', $vendorid)); |
} |
/** |
371,7 → 404,7 |
* |
* @see CpuDevice::$_load |
* |
* @return Integer |
* @return int |
*/ |
public function getLoad() |
{ |
381,11 → 414,11 |
/** |
* Sets $_load. |
* |
* @param Integer $load load percent |
* @param int $load load percent |
* |
* @see CpuDevice::$_load |
* |
* @return Void |
* @return void |
*/ |
public function setLoad($load) |
{ |
/web/acc/phpsysinfo/includes/to/device/class.DiskDevice.inc.php |
---|
28,7 → 28,7 |
/** |
* name of the disk device |
* |
* @var String |
* @var string |
*/ |
private $_name = ""; |
35,7 → 35,7 |
/** |
* type of the filesystem on the disk device |
* |
* @var String |
* @var string |
*/ |
private $_fsType = ""; |
42,7 → 42,7 |
/** |
* diskspace that is free in bytes |
* |
* @var Integer |
* @var int |
*/ |
private $_free = 0; |
49,7 → 49,7 |
/** |
* diskspace that is used in bytes |
* |
* @var Integer |
* @var int |
*/ |
private $_used = 0; |
56,7 → 56,7 |
/** |
* total diskspace |
* |
* @var Integer |
* @var int |
*/ |
private $_total = 0; |
63,7 → 63,7 |
/** |
* mount point of the disk device if available |
* |
* @var String |
* @var string |
*/ |
private $_mountPoint = null; |
70,7 → 70,7 |
/** |
* additional options of the device, like mount options |
* |
* @var String |
* @var string |
*/ |
private $_options = null; |
77,7 → 77,7 |
/** |
* inodes usage in percent if available |
* |
* @var Integer |
* @var int |
*/ |
private $_percentInodesUsed = null; |
84,7 → 84,7 |
/** |
* ignore mode |
* |
* @var Integer |
* @var int |
*/ |
private $_ignore = 0; |
94,7 → 94,7 |
* @see DiskDevice::$_total |
* @see DiskDevice::$_used |
* |
* @return Integer |
* @return int |
*/ |
public function getPercentUsed() |
{ |
110,7 → 110,7 |
* |
* @see DiskDevice::$_PercentInodesUsed |
* |
* @return Integer |
* @return int |
*/ |
public function getPercentInodesUsed() |
{ |
120,11 → 120,11 |
/** |
* Sets $_PercentInodesUsed. |
* |
* @param Integer $percentInodesUsed inodes percent |
* @param int $percentInodesUsed inodes percent |
* |
* @see DiskDevice::$_PercentInodesUsed |
* |
* @return Void |
* @return void |
*/ |
public function setPercentInodesUsed($percentInodesUsed) |
{ |
136,7 → 136,7 |
* |
* @see DiskDevice::$_free |
* |
* @return Integer |
* @return int |
*/ |
public function getFree() |
{ |
146,11 → 146,11 |
/** |
* Sets $_free. |
* |
* @param Integer $free free bytes |
* @param int $free free bytes |
* |
* @see DiskDevice::$_free |
* |
* @return Void |
* @return void |
*/ |
public function setFree($free) |
{ |
162,7 → 162,7 |
* |
* @see DiskDevice::$_fsType |
* |
* @return String |
* @return string |
*/ |
public function getFsType() |
{ |
176,7 → 176,7 |
* |
* @see DiskDevice::$_fsType |
* |
* @return Void |
* @return void |
*/ |
public function setFsType($fsType) |
{ |
188,7 → 188,7 |
* |
* @see DiskDevice::$_mountPoint |
* |
* @return String |
* @return string |
*/ |
public function getMountPoint() |
{ |
198,11 → 198,11 |
/** |
* Sets $_mountPoint. |
* |
* @param String $mountPoint mountpoint |
* @param string $mountPoint mountpoint |
* |
* @see DiskDevice::$_mountPoint |
* |
* @return Void |
* @return void |
*/ |
public function setMountPoint($mountPoint) |
{ |
214,7 → 214,7 |
* |
* @see DiskDevice::$_name |
* |
* @return String |
* @return string |
*/ |
public function getName() |
{ |
224,11 → 224,11 |
/** |
* Sets $_name. |
* |
* @param String $name device name |
* @param string $name device name |
* |
* @see DiskDevice::$_name |
* |
* @return Void |
* @return void |
*/ |
public function setName($name) |
{ |
240,7 → 240,7 |
* |
* @see DiskDevice::$_options |
* |
* @return String |
* @return string |
*/ |
public function getOptions() |
{ |
250,11 → 250,11 |
/** |
* Sets $_options. |
* |
* @param String $options additional options |
* @param string $options additional options |
* |
* @see DiskDevice::$_options |
* |
* @return Void |
* @return void |
*/ |
public function setOptions($options) |
{ |
266,7 → 266,7 |
* |
* @see DiskDevice::$_total |
* |
* @return Integer |
* @return int |
*/ |
public function getTotal() |
{ |
276,11 → 276,11 |
/** |
* Sets $_total. |
* |
* @param Integer $total total bytes |
* @param int $total total bytes |
* |
* @see DiskDevice::$_total |
* |
* @return Void |
* @return void |
*/ |
public function setTotal($total) |
{ |
292,7 → 292,7 |
* |
* @see DiskDevice::$_used |
* |
* @return Integer |
* @return int |
*/ |
public function getUsed() |
{ |
302,11 → 302,11 |
/** |
* Sets $_used. |
* |
* @param Integer $used used bytes |
* @param int $used used bytes |
* |
* @see DiskDevice::$_used |
* |
* @return Void |
* @return void |
*/ |
public function setUsed($used) |
{ |
318,7 → 318,7 |
* |
* @see DiskDevice::$_ignore |
* |
* @return Integer |
* @return int |
*/ |
public function getIgnore() |
{ |
330,7 → 330,7 |
* |
* @see DiskDevice::$_ignore |
* |
* @return Void |
* @return void |
*/ |
public function setIgnore($ignore) |
{ |
/web/acc/phpsysinfo/includes/to/device/class.HWDevice.inc.php |
---|
28,7 → 28,7 |
/** |
* name of the device |
* |
* @var String |
* @var string |
*/ |
private $_name = ""; |
35,7 → 35,7 |
/** |
* capacity of the device, if not available it will be null |
* |
* @var Integer |
* @var int |
*/ |
private $_capacity = null; |
42,7 → 42,7 |
/** |
* manufacturer of the device, if not available it will be null |
* |
* @var Integer |
* @var int |
*/ |
private $_manufacturer = null; |
49,7 → 49,7 |
/** |
* product of the device, if not available it will be null |
* |
* @var Integer |
* @var int |
*/ |
private $_product = null; |
56,7 → 56,7 |
/** |
* serial number of the device, if not available it will be null |
* |
* @var String |
* @var string |
*/ |
private $_serial = null; |
77,7 → 77,7 |
/** |
* count of the device |
* |
* @var Integer |
* @var int |
*/ |
private $_count = 1; |
121,7 → 121,7 |
* |
* @see HWDevice::$_name |
* |
* @return Void |
* @return void |
*/ |
public function setName($name) |
{ |
147,7 → 147,7 |
* |
* @see HWDevice::$_manufacturer |
* |
* @return Void |
* @return void |
*/ |
public function setManufacturer($manufacturer) |
{ |
173,7 → 173,7 |
* |
* @see HWDevice::$_product |
* |
* @return Void |
* @return void |
*/ |
public function setProduct($product) |
{ |
199,7 → 199,7 |
* |
* @see HWDevice::$_serial |
* |
* @return Void |
* @return void |
*/ |
public function setSerial($serial) |
{ |
225,7 → 225,7 |
* |
* @see HWDevice::$_speed |
* |
* @return Void |
* @return void |
*/ |
public function setSpeed($speed) |
{ |
251,7 → 251,7 |
* |
* @see HWDevice::$_voltage |
* |
* @return Void |
* @return void |
*/ |
public function setVoltage($voltage) |
{ |
263,7 → 263,7 |
* |
* @see HWDevice::$_capacity |
* |
* @return Integer |
* @return int |
*/ |
public function getCapacity() |
{ |
273,11 → 273,11 |
/** |
* Sets $_capacity. |
* |
* @param Integer $capacity device capacity |
* @param int $capacity device capacity |
* |
* @see HWDevice::$_capacity |
* |
* @return Void |
* @return void |
*/ |
public function setCapacity($capacity) |
{ |
289,7 → 289,7 |
* |
* @see HWDevice::$_count |
* |
* @return Integer |
* @return int |
*/ |
public function getCount() |
{ |
299,11 → 299,11 |
/** |
* Sets $_count. |
* |
* @param Integer $count device count |
* @param int $count device count |
* |
* @see HWDevice::$_count |
* |
* @return Void |
* @return void |
*/ |
public function setCount($count) |
{ |
/web/acc/phpsysinfo/includes/to/device/class.NetDevice.inc.php |
---|
28,7 → 28,7 |
/** |
* name of the device |
* |
* @var String |
* @var string |
*/ |
private $_name = ""; |
35,7 → 35,7 |
/** |
* transmitted bytes |
* |
* @var Integer |
* @var int |
*/ |
private $_txBytes = 0; |
42,7 → 42,7 |
/** |
* received bytes |
* |
* @var Integer |
* @var int |
*/ |
private $_rxBytes = 0; |
49,7 → 49,7 |
/** |
* counted error packages |
* |
* @var Integer |
* @var int |
*/ |
private $_errors = 0; |
56,7 → 56,7 |
/** |
* counted droped packages |
* |
* @var Integer |
* @var int |
*/ |
private $_drops = 0; |
63,7 → 63,7 |
/** |
* string with info |
* |
* @var String |
* @var string |
*/ |
private $_info = null; |
72,7 → 72,7 |
* |
* @see NetDevice::$_drops |
* |
* @return Integer |
* @return int |
*/ |
public function getDrops() |
{ |
82,11 → 82,11 |
/** |
* Sets $_drops. |
* |
* @param Integer $drops dropped packages |
* @param int $drops dropped packages |
* |
* @see NetDevice::$_drops |
* |
* @return Void |
* @return void |
*/ |
public function setDrops($drops) |
{ |
98,7 → 98,7 |
* |
* @see NetDevice::$_errors |
* |
* @return Integer |
* @return int |
*/ |
public function getErrors() |
{ |
108,11 → 108,11 |
/** |
* Sets $_errors. |
* |
* @param Integer $errors error packages |
* @param int $errors error packages |
* |
* @see NetDevice::$_errors |
* |
* @return Void |
* @return void |
*/ |
public function setErrors($errors) |
{ |
138,7 → 138,7 |
* |
* @see NetDevice::$_name |
* |
* @return Void |
* @return void |
*/ |
public function setName($name) |
{ |
150,7 → 150,7 |
* |
* @see NetDevice::$_rxBytes |
* |
* @return Integer |
* @return int |
*/ |
public function getRxBytes() |
{ |
160,11 → 160,11 |
/** |
* Sets $_rxBytes. |
* |
* @param Integer $rxBytes received bytes |
* @param int $rxBytes received bytes |
* |
* @see NetDevice::$_rxBytes |
* |
* @return Void |
* @return void |
*/ |
public function setRxBytes($rxBytes) |
{ |
176,7 → 176,7 |
* |
* @see NetDevice::$_txBytes |
* |
* @return Integer |
* @return int |
*/ |
public function getTxBytes() |
{ |
186,11 → 186,11 |
/** |
* Sets $_txBytes. |
* |
* @param Integer $txBytes transmitted bytes |
* @param int $txBytes transmitted bytes |
* |
* @see NetDevice::$_txBytes |
* |
* @return Void |
* @return void |
*/ |
public function setTxBytes($txBytes) |
{ |
216,7 → 216,7 |
* |
* @see NetDevice::$_info |
* |
* @return Void |
* @return void |
*/ |
public function setInfo($info) |
{ |
/web/acc/phpsysinfo/includes/to/device/class.SensorDevice.inc.php |
---|
28,7 → 28,7 |
/** |
* name of the sensor |
* |
* @var String |
* @var string |
*/ |
private $_name = ""; |
35,7 → 35,7 |
/** |
* current value of the sensor |
* |
* @var Integer |
* @var int |
*/ |
private $_value = 0; |
42,7 → 42,7 |
/** |
* maximum value of the sensor |
* |
* @var Integer |
* @var int |
*/ |
private $_max = null; |
49,7 → 49,7 |
/** |
* minimum value of the sensor |
* |
* @var Integer |
* @var int |
*/ |
private $_min = null; |
56,7 → 56,7 |
/** |
* event of the sensor |
* |
* @var String |
* @var string |
*/ |
private $_event = ""; |
63,7 → 63,7 |
/** |
* unit of values of the sensor |
* |
* @var String |
* @var string |
*/ |
private $_unit = ""; |
72,7 → 72,7 |
* |
* @see Sensor::$_max |
* |
* @return Integer |
* @return int |
*/ |
public function getMax() |
{ |
82,11 → 82,11 |
/** |
* Sets $_max. |
* |
* @param Integer $max maximum value |
* @param int $max maximum value |
* |
* @see Sensor::$_max |
* |
* @return Void |
* @return void |
*/ |
public function setMax($max) |
{ |
98,7 → 98,7 |
* |
* @see Sensor::$_min |
* |
* @return Integer |
* @return int |
*/ |
public function getMin() |
{ |
108,11 → 108,11 |
/** |
* Sets $_min. |
* |
* @param Integer $min minimum value |
* @param int $min minimum value |
* |
* @see Sensor::$_min |
* |
* @return Void |
* @return void |
*/ |
public function setMin($min) |
{ |
138,7 → 138,7 |
* |
* @see Sensor::$_name |
* |
* @return Void |
* @return void |
*/ |
public function setName($name) |
{ |
150,7 → 150,7 |
* |
* @see Sensor::$_value |
* |
* @return Integer |
* @return int |
*/ |
public function getValue() |
{ |
160,11 → 160,11 |
/** |
* Sets $_value. |
* |
* @param Integer $value current value |
* @param int $value current value |
* |
* @see Sensor::$_value |
* |
* @return Void |
* @return void |
*/ |
public function setValue($value) |
{ |
190,7 → 190,7 |
* |
* @see Sensor::$_event |
* |
* @return Void |
* @return void |
*/ |
public function setEvent($event) |
{ |
216,7 → 216,7 |
* |
* @see Sensor::$_unit |
* |
* @return Void |
* @return void |
*/ |
public function setUnit($unit) |
{ |
/web/acc/phpsysinfo/includes/to/device/class.UPSDevice.inc.php |
---|
28,7 → 28,7 |
/** |
* name of the ups |
* |
* @var String |
* @var string |
*/ |
private $_name = ""; |
35,7 → 35,7 |
/** |
* model of the ups |
* |
* @var String |
* @var string |
*/ |
private $_model = ""; |
42,7 → 42,7 |
/** |
* mode of the ups |
* |
* @var String |
* @var string |
*/ |
private $_mode = ""; |
49,7 → 49,7 |
/** |
* last start time |
* |
* @var String |
* @var string |
*/ |
private $_startTime = ""; |
56,7 → 56,7 |
/** |
* status of the ups |
* |
* @var String |
* @var string |
*/ |
private $_status = ""; |
63,7 → 63,7 |
/** |
* temperature of the ups |
* |
* @var Integer |
* @var int |
*/ |
private $_temperatur = null; |
70,7 → 70,7 |
/** |
* outages count |
* |
* @var Integer |
* @var int |
*/ |
private $_outages = null; |
77,7 → 77,7 |
/** |
* date of last outtage |
* |
* @var String |
* @var string |
*/ |
private $_lastOutage = null; |
84,7 → 84,7 |
/** |
* date of last outage finish |
* |
* @var String |
* @var string |
*/ |
private $_lastOutageFinish = null; |
91,7 → 91,7 |
/** |
* line volt |
* |
* @var Integer |
* @var int |
*/ |
private $_lineVoltage = null; |
98,7 → 98,7 |
/** |
* line freq |
* |
* @var Integer |
* @var int |
*/ |
private $_lineFrequency = null; |
105,7 → 105,7 |
/** |
* current load of the ups in percent |
* |
* @var Integer |
* @var int |
*/ |
private $_load = null; |
112,7 → 112,7 |
/** |
* battery installation date |
* |
* @var String |
* @var string |
*/ |
private $_batteryDate = null; |
119,7 → 119,7 |
/** |
* current battery volt |
* |
* @var Integer |
* @var int |
*/ |
private $_batteryVoltage = null; |
126,7 → 126,7 |
/** |
* current charge in percent of the battery |
* |
* @var Integer |
* @var int |
*/ |
private $_batterCharge = null; |
133,11 → 133,18 |
/** |
* time left |
* |
* @var String |
* @var string |
*/ |
private $_timeLeft = null; |
/** |
* beeper enabled or disabled |
* |
* @var string |
*/ |
private $_beeperStatus = null; |
/** |
* Returns $_batterCharge. |
* |
* @see UPSDevice::$_batterCharge |
152,7 → 159,7 |
/** |
* Sets $_batterCharge. |
* |
* @param Integer $batterCharge battery charge |
* @param int $batterCharge battery charge |
* |
* @see UPSDevice::$_batterCharge |
* |
182,7 → 189,7 |
* |
* @see UPSDevice::$_batteryDate |
* |
* @return Void |
* @return void |
*/ |
public function setBatteryDate($batteryDate) |
{ |
194,7 → 201,7 |
* |
* @see UPSDevice::$_batteryVoltage |
* |
* @return Integer |
* @return int |
*/ |
public function getBatteryVoltage() |
{ |
204,11 → 211,11 |
/** |
* Sets $_batteryVoltage. |
* |
* @param Integer $batteryVoltage battery volt |
* @param int $batteryVoltage battery volt |
* |
* @see UPSDevice::$_batteryVoltage |
* |
* @return Void |
* @return void |
*/ |
public function setBatteryVoltage($batteryVoltage) |
{ |
234,7 → 241,7 |
* |
* @see UPSDevice::$lastOutage |
* |
* @return Void |
* @return void |
*/ |
public function setLastOutage($lastOutage) |
{ |
260,7 → 267,7 |
* |
* @see UPSDevice::$_lastOutageFinish |
* |
* @return Void |
* @return void |
*/ |
public function setLastOutageFinish($lastOutageFinish) |
{ |
272,7 → 279,7 |
* |
* @see UPSDevice::$_lineVoltage |
* |
* @return Integer |
* @return int |
*/ |
public function getLineVoltage() |
{ |
282,11 → 289,11 |
/** |
* Sets $_lineVoltage. |
* |
* @param Integer $lineVoltage line voltage |
* @param int $lineVoltage line voltage |
* |
* @see UPSDevice::$_lineVoltage |
* |
* @return Void |
* @return void |
*/ |
public function setLineVoltage($lineVoltage) |
{ |
298,7 → 305,7 |
* |
* @see UPSDevice::$_lineFrequency |
* |
* @return Integer |
* @return int |
*/ |
public function getLineFrequency() |
{ |
308,11 → 315,11 |
/** |
* Sets $_lineFrequency. |
* |
* @param Integer $lineFrequency line frequency |
* @param int $lineFrequency line frequency |
* |
* @see UPSDevice::$_lineFrequency |
* |
* @return Void |
* @return void |
*/ |
public function setLineFrequency($lineFrequency) |
{ |
324,7 → 331,7 |
* |
* @see UPSDevice::$_load |
* |
* @return Integer |
* @return int |
*/ |
public function getLoad() |
{ |
334,11 → 341,11 |
/** |
* Sets $_load. |
* |
* @param Integer $load current load |
* @param int $load current load |
* |
* @see UPSDevice::$_load |
* |
* @return Void |
* @return void |
*/ |
public function setLoad($load) |
{ |
364,7 → 371,7 |
* |
* @see UPSDevice::$_mode |
* |
* @return Void |
* @return void |
*/ |
public function setMode($mode) |
{ |
390,7 → 397,7 |
* |
* @see UPSDevice::$_model |
* |
* @return Void |
* @return void |
*/ |
public function setModel($model) |
{ |
416,7 → 423,7 |
* |
* @see UPSDevice::$_name |
* |
* @return Void |
* @return void |
*/ |
public function setName($name) |
{ |
428,7 → 435,7 |
* |
* @see UPSDevice::$_outages |
* |
* @return Integer |
* @return int |
*/ |
public function getOutages() |
{ |
438,11 → 445,11 |
/** |
* Sets $_outages. |
* |
* @param Integer $outages outages count |
* @param int $outages outages count |
* |
* @see UPSDevice::$_outages |
* |
* @return Void |
* @return void |
*/ |
public function setOutages($outages) |
{ |
468,7 → 475,7 |
* |
* @see UPSDevice::$_startTime |
* |
* @return Void |
* @return void |
*/ |
public function setStartTime($startTime) |
{ |
494,7 → 501,7 |
* |
* @see UPSDevice::$_status |
* |
* @return Void |
* @return void |
*/ |
public function setStatus($status) |
{ |
506,7 → 513,7 |
* |
* @see UPSDevice::$_temperatur |
* |
* @return Integer |
* @return int |
*/ |
public function getTemperatur() |
{ |
516,11 → 523,11 |
/** |
* Sets $_temperatur. |
* |
* @param Integer $temperatur temperature |
* @param int $temperatur temperature |
* |
* @see UPSDevice::$_temperatur |
* |
* @return Void |
* @return void |
*/ |
public function setTemperatur($temperatur) |
{ |
546,10 → 553,36 |
* |
* @see UPSDevice::$_timeLeft |
* |
* @return Void |
* @return void |
*/ |
public function setTimeLeft($timeLeft) |
{ |
$this->_timeLeft = $timeLeft; |
} |
/** |
* Returns $_beeperStatus. |
* |
* @see UPSDevice::$_beeperStatus |
* |
* @return String |
*/ |
public function getBeeperStatus() |
{ |
return $this->_beeperStatus; |
} |
/** |
* Sets $_beeperStatus. |
* |
* @param String $beeperStatus beeper status |
* |
* @see UPSDevice::$_beeperStatus |
* |
* @return void |
*/ |
public function setBeeperStatus($beeperStatus) |
{ |
$this->_beeperStatus = $beeperStatus; |
} |
} |