renamed Device to DeviceZ
This commit is contained in:
6
adhoc.py
6
adhoc.py
@ -20,14 +20,14 @@ microscope_yaw = SmarActAxis("SARES11-XMI125:ROZ1")
|
|||||||
|
|
||||||
|
|
||||||
#TODO: just some generic examples:
|
#TODO: just some generic examples:
|
||||||
from slic.devices.device import Device
|
from slic.devices.devicez import DeviceZ
|
||||||
|
|
||||||
shut_und = Device(
|
shut_und = DeviceZ(
|
||||||
"SARFE10-OPSH044",
|
"SARFE10-OPSH044",
|
||||||
description="Photon shutter after Undulator"
|
description="Photon shutter after Undulator"
|
||||||
)
|
)
|
||||||
|
|
||||||
pbps_und = Device(
|
pbps_und = DeviceZ(
|
||||||
"SARFE10-PBPS053",
|
"SARFE10-PBPS053",
|
||||||
z_undulator=44,
|
z_undulator=44,
|
||||||
description="Intensity position monitor after Undulator (PBPS)"
|
description="Intensity position monitor after Undulator (PBPS)"
|
||||||
|
Reference in New Issue
Block a user