Setting#
Base class for all settings of a Python device configuration. This is the base class for all settings of a Python device configuration. It should not be used directly, but inherited by other classes.
constructor Setting(id: str, caption: str, is_visible: bool = 'true')#
Initializes a new instance of the Setting 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. |
| is_visible | A value indicating whether the setting is shown in the user interface. Default: true |
property caption#
Gets or sets the caption of the setting which is displayed in the Measmatic decive manager.
Returns#
| Type | Description |
|---|---|
| str | The caption of the setting which is displayed in the Measmatic decive manager. |
property id#
Gets or sets the unique identifier for the setting. Must be unique within the settings of a device.
Returns#
| Type | Description |
|---|---|
| str | The unique identifier for the setting. Must be unique within the settings of a device. |
property is_visible#
Gets or sets a value indicating whether the setting is shown in the user interface.
Returns#
| Type | Description |
|---|---|
| bool | A value indicating whether the setting is shown in the user interface. |