def start(self, wait=True): super(SCEXAO, self).start(wait=wait) self.logger.info('SCEXAO STARTED.') # Start auto-generation of status task t = common.IntervalTask(self.putstatus, self.param.status_interval) self.status_task = t t.init_and_start(self) # Start task to fetching pointing at intervals t = common.IntervalTask(self.getstatus, self.param.pointing_fetch_interval) self.fetching_task = t t.init_and_start(self)
def start(self, wait=True): super(SPCAM, self).start(wait=wait) self.logger.info("SPCAM STARTED.") # Start auto-generation of status task t = common.IntervalTask(self.status, 60.0) self.status_task = t t.init_and_start(self)
def start(self, wait=True): super(ANA, self).start(wait=wait) self.logger.info('***** START CALLED *****') # Start auto-generation of status task t = common.IntervalTask(self.putstatus, 60.0) self.status_task = t t.init_and_start(self)
def start(self, wait=True): super(SKYMON, self).start(wait=wait) # Start auto-generation of FITS task t = FitsGenTask(self) self.fitsGenTask = t t.init_and_start(self) # Start auto-generation of status task t = common.IntervalTask(self.putstatus, 60.0) self.status_task = t t.init_and_start(self)
def start(self, wait=True): super(HSC, self).start(wait=wait) self.logger.info('HSC STARTED.') # Start auto-generation of status task t = common.IntervalTask(self.putstatus, self.param.status_interval) self.status_task = t t.init_and_start(self) # Start task to monitor summit power. Call self.power_off # when we've been running on UPS power for 60 seconds t = common.PowerMonTask(self, self.power_off, upstime=60.0)
def start(self, wait=True): super(FLDMON, self).start(wait=wait) self.logger.info('***** FLDMON STARTED *****') # Start auto-generation of FITS task t = FitsGenTask(self) self.fitsGenTask = t t.init_and_start(self) # Start auto-generation of status task t = common.IntervalTask(self.putstatus, 60.0) self.status_task = t t.init_and_start(self)