devices: added magnet position sensor functions and moved set_transmission function
This commit is contained in:
@@ -86,19 +86,24 @@ class BeamlineDevices:
|
||||
|
||||
self.__cryojet_x = MyMotor(f"{BEAMLINE}-ES-CS:TRX") #currently in is 5 out is 15?
|
||||
|
||||
self.magnet_position_sensor = PV(f"{BEAMLINE}-ES-DF1:CBOX-CMP1")
|
||||
self.magnet_position_sensor_readout = PV(f"{BEAMLINE}-ES-DF1:CBOX-USER1")
|
||||
|
||||
|
||||
|
||||
|
||||
# Transmission
|
||||
@property
|
||||
def transmission(self) -> float:
|
||||
return 1.0
|
||||
def set_transmission(self, value: float, /, wait: bool = True):
|
||||
pass
|
||||
|
||||
@transmission.setter
|
||||
def transmission(self, value: float):
|
||||
self.set_transmission(value, wait=False)
|
||||
|
||||
def set_transmission(self, value: float, /, wait: bool = True):
|
||||
pass
|
||||
|
||||
# Lamp light
|
||||
@property
|
||||
def lamp_light(self) -> float:
|
||||
|
||||
Reference in New Issue
Block a user