Skip to content

Commit

Permalink
Pressure jump cell removed empty enum values.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnettwilliam authored and stan-dot committed Jul 30, 2024
1 parent 06bd4dc commit 431887c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/dodal/devices/pressure_jump_cell.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from enum import Enum

from ophyd_async.core import ConfigSignal, StandardReadable
from ophyd_async.epics.signal import epics_signal_r, epics_signal_rw

Expand Down Expand Up @@ -30,9 +31,6 @@ class PressureJumpCellValveControlRequest(str, Enum):
RESET = "Reset"
ARM = "Arm"
DISARM = "Disarm"
# TODO the nones may not be required but FVST and SXST set
NONE1 = ""
NONE2 = ""


class PressureJumpCellPumpMotorControlRequest(str, Enum):
Expand Down Expand Up @@ -60,8 +58,6 @@ class PressureJumpCellValveState(str, Enum):
OPENING = "Opening"
CLOSED = "Closed"
CLOSING = "Closing"
NONE5 = ""
NONE6 = ""


class PressureJumpCellFastValveState(str, Enum):
Expand All @@ -71,7 +67,6 @@ class PressureJumpCellFastValveState(str, Enum):
CLOSED = "Closed"
CLOSED_ARMED = "Closed Armed"
NONE5 = "Unused"
NONE6 = ""


class PressureJumpCellLimitSwitch(str, Enum):
Expand Down

0 comments on commit 431887c

Please sign in to comment.