renamed "Id" -> "ID"
This commit is contained in:
30
adhoc.py
30
adhoc.py
@ -28,27 +28,27 @@ opo_delay = PVAdjustable("SLAAR03-LTIM-PDLY:DELAY", name="OPO Delay")
|
|||||||
|
|
||||||
class TXS(Device):
|
class TXS(Device):
|
||||||
|
|
||||||
def __init__(self, Id="SAROP11-PTXS128", name="TXS"):
|
def __init__(self, ID="SAROP11-PTXS128", name="TXS"):
|
||||||
super().__init__(Id, name=name)
|
super().__init__(ID, name=name)
|
||||||
|
|
||||||
self.x = Motor(Id + ":TRX1")
|
self.x = Motor(ID + ":TRX1")
|
||||||
self.y = Motor(Id + ":TRY1")
|
self.y = Motor(ID + ":TRY1")
|
||||||
self.z = Motor(Id + ":TRZ1")
|
self.z = Motor(ID + ":TRZ1")
|
||||||
|
|
||||||
self.crystals = SimpleDevice("TXS Crystals",
|
self.crystals = SimpleDevice("TXS Crystals",
|
||||||
left = SimpleDevice("Left Crystals",
|
left = SimpleDevice("Left Crystals",
|
||||||
linear = SmarActAxis(Id + ":TRX11"),
|
linear = SmarActAxis(ID + ":TRX11"),
|
||||||
rotary = SmarActAxis(Id + ":ROTY11"),
|
rotary = SmarActAxis(ID + ":ROTY11"),
|
||||||
gonio1 = SmarActAxis(Id + ":ROTX11"),
|
gonio1 = SmarActAxis(ID + ":ROTX11"),
|
||||||
gonio2 = SmarActAxis(Id + ":ROTX12"),
|
gonio2 = SmarActAxis(ID + ":ROTX12"),
|
||||||
gonio3 = SmarActAxis(Id + ":ROTX13")
|
gonio3 = SmarActAxis(ID + ":ROTX13")
|
||||||
),
|
),
|
||||||
right = SimpleDevice("Right Crystals",
|
right = SimpleDevice("Right Crystals",
|
||||||
linear = SmarActAxis(Id + ":TRX21"),
|
linear = SmarActAxis(ID + ":TRX21"),
|
||||||
rotary = SmarActAxis(Id + ":ROTY21"),
|
rotary = SmarActAxis(ID + ":ROTY21"),
|
||||||
gonio1 = SmarActAxis(Id + ":ROTX21"),
|
gonio1 = SmarActAxis(ID + ":ROTX21"),
|
||||||
gonio2 = SmarActAxis(Id + ":ROTX22"),
|
gonio2 = SmarActAxis(ID + ":ROTX22"),
|
||||||
gonio3 = SmarActAxis(Id + ":ROTX23")
|
gonio3 = SmarActAxis(ID + ":ROTX23")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user