Beispiel #1
0
class Main(object):
	def __init__(self):
		self._config = Config()
		self._db = DatabaseHelper(self)
		self._db.test()
		self._dueser = ArduinoSerialReader(self)
		self._dueser.test()

	@property
	def config(self):
		return self._config

	@property
	def db(self):
		return self._db
Beispiel #2
0
	def __init__(self):
		self._config = Config()
		self._db = DatabaseHelper(self)
		self._db.test()
		self._dueser = ArduinoSerialReader(self)
		self._dueser.test()