示例#1
0
	def get_set_string(self):
		if not self.running:
			if self.value:
				capture.pause()
			else:
				capture.resume()
		return "TPA capture is " + ("gated" if self.value else "not gated")
示例#2
0
	def stop_handler(self, event):
		self.running = False
		if self.value:
			capture.pause()