private function __construct($id, $name, $minValue, $maxValue, $defaultValue, $shouldSend = true)
{
$this->id = (int) $id;
$this->name = (string) $name;
$this->minValue = (double) $minValue;
$this->maxValue = (double) $maxValue;
$this->defaultValue = (double) $defaultValue;
$this->shouldSend = (bool) $shouldSend;
$this->currentValue = $this->defaultValue;
}