GUI: Add beamline name to BeamlineStatus
Build and Publish / build (push) Successful in 23s

This commit is contained in:
2025-06-17 16:22:36 +02:00
parent dafda5adcb
commit 3c7ae33b80
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -146,6 +146,7 @@ class AutofocusSettings(BaseModel):
z_steps: int
class BeamlineStatus(BaseModel):
name: str
ring_current_mA: float
light: Annotated[float, Field(ge=0.0, le=100.0)]
cryojet_K: float
+3 -1
View File
@@ -47,6 +47,7 @@ class AareDAQ:
self.__devs = BeamlineDevices(bl)
self.__mlbox = MlBox()
self.__jfjoch = JFJochWrapper(bl)
self.__bl = bl.value.upper()
@property
def state(self) -> BeamlineStateEnum:
@@ -763,7 +764,8 @@ class AareDAQ:
cryojet_K=self.__devs.cryojet_temp,
shutter_open=self.__devs.shutter,
flux_ph_s=3.0e12,
sample_camera=self.__devs.samcam_settings
sample_camera=self.__devs.samcam_settings,
name=self.__bl
)
@property