mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 00:40:01 +02:00
renaming file containing DeviceConnection, updating component
This commit is contained in:
parent
1318bbc8a8
commit
30138bcb45
@ -28,7 +28,7 @@ print(my_service.voltage.value) # Output: 5
|
||||
"""
|
||||
|
||||
from pydase.components.coloured_enum import ColouredEnum
|
||||
from pydase.components.connection import DeviceConnection
|
||||
from pydase.components.device_connection import DeviceConnection
|
||||
from pydase.components.image import Image
|
||||
from pydase.components.number_slider import NumberSlider
|
||||
|
||||
|
@ -26,8 +26,8 @@ class DeviceConnection(pydase.DataService, ABC):
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
self._autostart_tasks = {"_handle_connection": ()} # type: ignore
|
||||
self._handle_connection_wait_time = 2.0
|
||||
self._autostart_tasks["_handle_connection"] = () # type: ignore
|
||||
self._handle_connection_wait_time = 10.0
|
||||
|
||||
@abstractmethod
|
||||
def connect(self) -> None:
|
Loading…
x
Reference in New Issue
Block a user