добавил модуль сервиса для мониторинга
This commit is contained in:
21
logs_service/services.py
Normal file
21
logs_service/services.py
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user