mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-07-13 12:11:51 +02:00
fix: fixed fupr number of axis
This commit is contained in:
@ -30,6 +30,21 @@ logger = bec_logger.logger
|
|||||||
|
|
||||||
|
|
||||||
class FuprGalilController(GalilController):
|
class FuprGalilController(GalilController):
|
||||||
|
def __init__(
|
||||||
|
self,
|
||||||
|
*,
|
||||||
|
name="GalilController",
|
||||||
|
kind=None,
|
||||||
|
parent=None,
|
||||||
|
socket=None,
|
||||||
|
attr_name="",
|
||||||
|
labels=None,
|
||||||
|
):
|
||||||
|
super().__init__(
|
||||||
|
name=name, kind=kind, parent=parent, socket=socket, attr_name=attr_name, labels=labels
|
||||||
|
)
|
||||||
|
self._galil_axis_per_controller = 1
|
||||||
|
|
||||||
def is_axis_moving(self, axis_Id, axis_Id_numeric) -> bool:
|
def is_axis_moving(self, axis_Id, axis_Id_numeric) -> bool:
|
||||||
if axis_Id is None and axis_Id_numeric is not None:
|
if axis_Id is None and axis_Id_numeric is not None:
|
||||||
axis_Id = self.axis_Id_numeric_to_alpha(axis_Id_numeric)
|
axis_Id = self.axis_Id_numeric_to_alpha(axis_Id_numeric)
|
||||||
|
Reference in New Issue
Block a user