22 lines
344 B
Python
22 lines
344 B
Python
from .models import *
|
|
from threading import Thread
|
|
|
|
|
|
class MbService(Thread):
|
|
def __init__(self, ip_addr):
|
|
super().__init__()
|
|
self._ip_addr = ip_addr
|
|
|
|
def to_json(self):
|
|
return {}
|
|
|
|
|
|
class MbTankService(MbService):
|
|
def run(self):
|
|
pass
|
|
|
|
|
|
class MbPumpService(MbService):
|
|
def run(self):
|
|
pass
|