1882
|
1 # Stubs for pyudmx.pyudmx (Python 3)
|
|
2 #
|
|
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
4
|
|
5 import usb.core
|
|
6 from typing import List, Union
|
|
7
|
|
8 class uDMXDevice:
|
|
9 def __init__(self) -> None: ...
|
|
10 @property
|
|
11 def Device(self) -> usb.core.Device: ...
|
|
12 def open(self, vendor_id: int=..., product_id: int=..., bus: int=..., address: int=...) -> bool: ...
|
|
13 def close(self) -> None: ...
|
|
14 def send_single_value(self, channel: int, value: int) -> int: ...
|
|
15 def send_multi_value(self, channel: int, values: Union[List[int], bytearray]) -> int: ...
|