mirror of
https://github.com/ZGCA-Forge/Elevator.git
synced 2025-12-17 13:01:03 +00:00
Fix: remove abstractmethod decroation for on_elevator_move
This commit is contained in:
@@ -171,7 +171,7 @@ class ElevatorController(ABC):
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
# @abstractmethod 为了兼容性暂不强制要求elevator_move必须实现
|
||||
def on_elevator_move(
|
||||
self, elevator: ProxyElevator, from_position: float, to_position: float, direction: str, status: str
|
||||
) -> None:
|
||||
|
||||
Reference in New Issue
Block a user