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