Lines Matching refs:power_method
2174 def _set_power(self, state, power_method): argument
2186 if not power_method:
2187 power_method = self.get_default_power_method()
2194 if power_method == self.POWER_CONTROL_SERVO:
2198 elif power_method == self.POWER_CONTROL_MANUAL:
2202 elif power_method == self.POWER_CONTROL_CCD:
2222 def power_off(self, power_method=None): argument
2232 self._set_power('OFF', power_method)
2307 def power_on(self, power_method=None): argument
2316 self._set_power('ON', power_method)
2319 def power_cycle(self, power_method=None): argument
2328 if not power_method:
2329 power_method = self.get_default_power_method()
2331 if power_method in (self.POWER_CONTROL_SERVO,
2334 self.power_off(power_method=power_method)
2336 self.power_on(power_method=power_method)