Skip to content

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 SettingBase(id: str, caption: str)#

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.

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.