fixed merge conflicts with dev
This commit is contained in:
@@ -138,7 +138,7 @@ components = [
|
||||
{
|
||||
"name": "xp",
|
||||
"args": [],
|
||||
"kwargs": {"Id": "SAROP21-OPPI103", "evrout": "SGE-CPCW-72-EVR0:FrontUnivOut15-Ena-SP"},
|
||||
"kwargs": {"Id": "SAROP21-OPPI103", "IdCTA": "SAR-CCTA-ESB", "evrout": "SGE-CPCW-72-EVR0:FrontUnivOut15-Ena-SP"},
|
||||
"z_und": 103,
|
||||
"desc": "X-ray pulse picker",
|
||||
"type": "eco.xoptics.pp:Pulsepick"
|
||||
|
||||
+5
-4
@@ -15,15 +15,16 @@ def addMotorRecordToSelf(self, name=None, Id=None):
|
||||
print("Warning! Could not find motor {name} (Id:{Id})")
|
||||
|
||||
class Pulsepick:
|
||||
def __init__(self, Id=None, evrout=None, name=None):
|
||||
def __init__(self, Id=None, IdCTA = None, evrout=None, name=None):
|
||||
self.name = name
|
||||
self.alias = Alias(name)
|
||||
self.evrout = evrout
|
||||
|
||||
self.Id = Id
|
||||
self._start = PV(Id + ":seq0Ctrl-Start-I")
|
||||
self._stop = PV(Id + ":seq0Ctrl-Stop-I")
|
||||
self._cycles = PV(Id + ":seq0Ctrl-Cycles-I")
|
||||
self.IdCTA = IdCTA
|
||||
self._start = PV(self.IdCTA + ":seq0Ctrl-Start-I")
|
||||
self._stop = PV(self.IdCTA + ":seq0Ctrl-Stop-I")
|
||||
self._cycles = PV(self.IdCTA + ":seq0Ctrl-Cycles-I")
|
||||
self._openclose = PV(self.evrout)
|
||||
addMotorRecordToSelf(self, Id=self.Id + ":MOTOR_X1", name="x")
|
||||
addMotorRecordToSelf(self, Id=self.Id + ":MOTOR_Y1", name="y")
|
||||
|
||||
Reference in New Issue
Block a user