Skip to content

StringSelectionSetting#

This is the class for all a setting of type string selection for a device configuration. This class inherits from StringSetting.


constructor StringSelectionSetting(id: str, caption: str, selectable_values: list, default_value: str)#

Initializes a new instance of the StringSelectionSetting 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.
selectable_values The list with all selectable values of the setting.
default_value The default value of the setting.

property selectable_values#

Gets or sets the list with all selectable values of the setting.

Returns#

Type Description
list The list with all selectable values of the setting.