def __init__(self, name, userPort=0):
     self.name = name
     self.actor = None # the ArcticFWActor, once it's built
     ActorWrapper.__init__(self,
         deviceWrapperList = [],
         name = name,
         userPort = userPort,
         )
示例#2
0
 def __init__(self, name, userPort=0):
     self.name = name
     self.actor = None  # the ArcticFWActor, once it's built
     ActorWrapper.__init__(
         self,
         deviceWrapperList=[],
         name=name,
         userPort=userPort,
     )
 def __init__(self, name, userPort=0, test=True):
     # if test=True use fake camera
     self.name = name
     self.test = test
     self.actor = None # the ArcticActor, once it's built
     self.shutterDevWrapper = ShutterDeviceWrapper()
     self.filterDevWrapper = FilterWheelDeviceWrapper()
     ActorWrapper.__init__(self,
         deviceWrapperList = [self.shutterDevWrapper, self.filterDevWrapper],
         name = name,
         userPort = userPort,
         )
示例#4
0
 def __init__(self, name, userPort=0, test=True):
     # if test=True use fake camera
     self.name = name
     self.test = test
     self.actor = None  # the ArcticActor, once it's built
     self.shutterDevWrapper = ShutterDeviceWrapper()
     self.filterDevWrapper = FilterWheelDeviceWrapper()
     ActorWrapper.__init__(
         self,
         deviceWrapperList=[self.shutterDevWrapper, self.filterDevWrapper],
         name=name,
         userPort=userPort,
     )
示例#5
0
    def __init__(self,
        name = "mockTCCLCO",
        userPort = 0,
        debug = False,
    ):
        """!Construct a TCCLCOActorWrapper

        @param[in] name  a name to use for messages
        @param[in] userPort  port for actor server
        @param[in] debug  print debug messages?
        """
        self.tcsWrapper = TCSDeviceWrapper(name="tcsWrapper", debug=debug)
        self.scaleWrapper = ScaleDeviceWrapper(name="scaleWrapper", debug=debug)
        self.m2Wrapper = M2DeviceWrapper(name="m2Wrapper", debug=debug)
        self.measScaleWrapper = MeasScaleDeviceWrapper(name="measScaleWrapper", debug=debug)
        deviceWrapperList = [self.tcsWrapper, self.scaleWrapper, self.m2Wrapper, self.measScaleWrapper]
        ActorWrapper.__init__(self,
            deviceWrapperList = deviceWrapperList,
            name = name,
            userPort = userPort,
            debug = debug,
        )