From 027fde898fd536e519ce2c3dba0cef38eebec5e9 Mon Sep 17 00:00:00 2001 From: Doug Boulware Date: Thu, 18 Jan 2024 10:54:20 -0700 Subject: [PATCH] Add optional switches dictionary to SignalAnalyzerInterface --- scos_actions/hardware/sigan_iface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scos_actions/hardware/sigan_iface.py b/scos_actions/hardware/sigan_iface.py index 86a08d01..0375b6ed 100644 --- a/scos_actions/hardware/sigan_iface.py +++ b/scos_actions/hardware/sigan_iface.py @@ -26,12 +26,14 @@ def __init__( self, sensor_cal: Optional[Calibration] = None, sigan_cal: Optional[Calibration] = None, + switches: Optional[dict] = None, ): self.sensor_calibration_data = {} self.sigan_calibration_data = {} self._sensor_calibration = sensor_cal self._sigan_calibration = sigan_cal self._model = "Unknown" + self.switches = switches @property def last_calibration_time(self) -> str: