mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Add temperature & angle
This commit is contained in:
parent
1a017e6719
commit
109964a6de
|
|
@ -73,6 +73,23 @@ class Localization
|
|||
* @since 1.0.0
|
||||
*/
|
||||
private $thousands = ',';
|
||||
|
||||
/**
|
||||
* Angle type.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $angle = AngleType::DEGREE;
|
||||
|
||||
/**
|
||||
* Temperature type.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $temperature = TemperatureType::CELSIUS;
|
||||
|
||||
/**
|
||||
* Time format.
|
||||
*
|
||||
|
|
@ -315,5 +332,53 @@ class Localization
|
|||
public function setThousands(string $thousands)
|
||||
{
|
||||
$this->thousands = $thousands;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function getAngle() : string
|
||||
{
|
||||
return $this->angle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $angle
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function setAngle(string $angle)
|
||||
{
|
||||
$this->temperature = $angle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function getTemperature() : string
|
||||
{
|
||||
return $this->temperature;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $temperature
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function setTemperatur(string $temperature)
|
||||
{
|
||||
$this->temperature = $temperature;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user