From 87ab69b335c080413dfd459140b175240ba10b6d Mon Sep 17 00:00:00 2001 From: gac-x01da Date: Mon, 10 Mar 2025 11:02:10 +0100 Subject: [PATCH] Adding classes for trigger enum signals --- debye_bec/devices/mo1_bragg.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/debye_bec/devices/mo1_bragg.py b/debye_bec/devices/mo1_bragg.py index 639743d..da5e3be 100644 --- a/debye_bec/devices/mo1_bragg.py +++ b/debye_bec/devices/mo1_bragg.py @@ -36,6 +36,18 @@ from debye_bec.devices.utils.mo1_bragg_utils import compute_spline logger = bec_logger.logger +class TriggerControlSource(int, enum.Enum): + """Enum class for the trigger control source of the trigger generator""" + + EPICS = 0 + INPOS = 1 + +class TriggerControlMode(int, enum.Enum): + """Enum class for the trigger control mode of the trigger generator""" + + PULSE = 0 + CONDITION = 1 + class ScanControlScanStatus(int, enum.Enum): """Enum class for the scan status of the Bragg positioner"""