Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2788 → Rev 2976

/web/acc/phpsysinfo/includes/to/device/class.SensorDevice.inc.php
61,6 → 61,13
private $_event = "";
 
/**
* unit of values of the sensor
*
* @var String
*/
private $_unit = "";
 
/**
* Returns $_max.
*
* @see Sensor::$_max
189,4 → 196,30
{
$this->_event = $event;
}
 
/**
* Returns $_unit.
*
* @see Sensor::$_unit
*
* @return String
*/
public function getUnit()
{
return $this->_unit;
}
 
/**
* Sets $_unit.
*
* @param String $unit sensor unit
*
* @see Sensor::$_unit
*
* @return Void
*/
public function setUnit($unit)
{
$this->_unit = $unit;
}
}