mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-14 15:14:28 -04:00
cut and lower program keys
This commit is contained in:
parent
fe4f6e766e
commit
fc8c92d538
3 changed files with 8 additions and 7 deletions
|
@ -93,7 +93,7 @@ class HonParameterEnum(HonParameter):
|
|||
|
||||
@property
|
||||
def values(self):
|
||||
return [str(value) for value in self._values]
|
||||
return sorted([str(value) for value in self._values])
|
||||
|
||||
@property
|
||||
def value(self):
|
||||
|
@ -111,7 +111,7 @@ class HonParameterProgram(HonParameterEnum):
|
|||
def __init__(self, key, command):
|
||||
super().__init__(key, {})
|
||||
self._command = command
|
||||
self._value = command._category
|
||||
self._value = command._program
|
||||
self._values = command._multi
|
||||
self._typology = "enum"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue