tslumd.tallyobj
¶
-
class
tslumd.tallyobj.
Tally
(*args, **kwargs)[source]¶ Bases:
pydispatch.dispatch.Dispatcher
A single tally object
- Properties
-
-
normalized_brightness
: float → Property(float)¶ The
brightness
value normalized as a float from0.0
to1.0
-
- Events
New in version 0.0.2: The
on_control
event-
property
is_broadcast
→ bool [read-only]¶ True
if the tally is to be “broadcast”, meaning sent to alldisplay indices
.(if the
index
is0xffff
)New in version 0.0.2.
-
classmethod
broadcast
(**kwargs) → tslumd.tallyobj.Tally[source]¶ Create a
broadcast
tally(with
index
set to0xffff
)New in version 0.0.2.
-
classmethod
from_display
(display: tslumd.Display) → Tally[source]¶ Create an instance from the given
Display
object
-
update
(**kwargs) → Set[str][source]¶ Update any known properties from the given keyword-arguments
- Returns
The property names, if any, that changed
- Return type
-
update_from_display
(display: tslumd.messages.Display) → Set[str][source]¶ Update this instance from the values of the given
Display
object- Returns
The property names, if any, that changed
- Return type