Skip to content

FloatSetting#

This is the class for a setting of type float for a device configuration. This class inherits from Setting.


constructor FloatSetting(id: str, caption: str, default_value: float)#

Initializes a new instance of the FloatSetting class.

Parameters#

Name Description
id The unique identifier for the setting. Must be unique within the settings of a device.
caption The caption of the setting which is displayed in the Measmatic decive manager.
default_value The default value of the setting.

property default_value#

Gets or sets the default value of the setting.

Returns#

Type Description
float The default value of the setting.

property value#

Gets or sets the current value of the setting.

Returns#

Type Description
float The current value of the setting.