private void ControlsToData()
{
if (!edtDoubleValue.HasValue())
_doubleValue = null;
else
{
if (_doubleValue == null)
_doubleValue = new @double();
_doubleValue.value = edtDoubleValue.GetValue<double>();
_doubleValue.standardUnit = standardUnitControl.StandardUnit;
}
}