Skip to content

Commit

Permalink
inherit from movable for period and tcb settings classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rerpha committed Sep 27, 2024
1 parent 9201b04 commit 7b0bbfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ibex_bluesky_core/devices/dae/dae_period_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import List
from xml.etree.ElementTree import tostring

from bluesky.protocols import Locatable, Location
from bluesky.protocols import Locatable, Location, Movable
from ophyd_async.core import AsyncStatus, Device, SignalRW

from ibex_bluesky_core.devices import (
Expand Down Expand Up @@ -106,7 +106,7 @@ def _convert_period_settings_to_xml(current_xml: str, value: DaePeriodSettingsDa
return tostring(root, encoding="unicode")


class DaePeriodSettings(Device, Locatable):
class DaePeriodSettings(Device, Locatable, Movable):
"""Subdevice for the DAE hardware period settings."""

def __init__(self, dae_prefix: str, name: str = "") -> None:
Expand Down
4 changes: 2 additions & 2 deletions src/ibex_bluesky_core/devices/dae/dae_tcb_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Dict
from xml.etree.ElementTree import tostring

from bluesky.protocols import Locatable, Location
from bluesky.protocols import Locatable, Location, Movable
from ophyd_async.core import AsyncStatus, Device, SignalRW

from ibex_bluesky_core.devices import (
Expand Down Expand Up @@ -118,7 +118,7 @@ def _convert_tcb_settings_to_xml(current_xml: str, settings: DaeTCBSettingsData)
return tostring(root, encoding="unicode")


class DaeTCBSettings(Device, Locatable):
class DaeTCBSettings(Device, Locatable, Movable):
"""Subdevice for the DAE time channel settings."""

def __init__(self, dae_prefix: str, name: str = "") -> None:
Expand Down

0 comments on commit 7b0bbfb

Please sign in to comment.