Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2976 → Rev 3037

/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)
{