mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-16 01:10:48 +00:00
Update vbancmd.py
add strip_levels, bus_levels property objects to base class
This commit is contained in:
parent
1c0ebfa1d1
commit
7f2a3ef7e5
@ -265,6 +265,16 @@ class VbanCmd(abc.ABC):
|
|||||||
def reset(self) -> NoReturn:
|
def reset(self) -> NoReturn:
|
||||||
self.apply_profile("base")
|
self.apply_profile("base")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def strip_levels(self):
|
||||||
|
"""Returns the full level array for strips, PREFADER mode, before math conversion"""
|
||||||
|
return self.public_packet.inputlevels
|
||||||
|
|
||||||
|
@property
|
||||||
|
def bus_levels(self):
|
||||||
|
"""Returns the full level array for buses, before math conversion"""
|
||||||
|
return self.public_packet.outputlevels
|
||||||
|
|
||||||
def logout(self):
|
def logout(self):
|
||||||
"""sets thread flag, closes sockets"""
|
"""sets thread flag, closes sockets"""
|
||||||
self.running = False
|
self.running = False
|
||||||
|
Loading…
Reference in New Issue
Block a user