BooleanSetting#
This is the class for all a setting of type boolean for a device configuration. This class inherits from Setting.
constructor BooleanSetting(id: str, caption: str, default_value: bool)#
Initializes a new instance of the BooleanSetting 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 |
|---|---|
| bool | The default value of the setting. |
property value#
Gets or sets the current value of the setting.
Returns#
| Type | Description |
|---|---|
| bool | The current value of the setting. |