Rework radar system
This commit is contained in:
@@ -16,6 +16,7 @@ class SwitchDriverProtocol(Protocol):
|
||||
|
||||
def position_count(self) -> int:
|
||||
"""Return total number of supported positions."""
|
||||
...
|
||||
|
||||
def switch_to(self, position: int) -> None:
|
||||
"""Switch to requested zero-based position."""
|
||||
@@ -23,3 +24,4 @@ class SwitchDriverProtocol(Protocol):
|
||||
@property
|
||||
def current_position(self) -> int:
|
||||
"""Return currently active position."""
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user