Skip to content

Commit

Permalink
Fix enum type for fluorescence detector
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Oct 23, 2024
1 parent b40c641 commit bb0d60c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/dodal/devices/fluorescence_detector_motion.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from enum import Enum

from ophyd_async.core import StandardReadable
from ophyd_async.core import StandardReadable, StrictEnum
from ophyd_async.epics.signal import epics_signal_r


class FluorescenceDetectorControlState(Enum):
OUT = 0
IN = 1
class FluorescenceDetectorControlState(StrictEnum):
OUT = "Out"
IN = "In"


class FluorescenceDetector(StandardReadable):
Expand Down

0 comments on commit bb0d60c

Please sign in to comment.