- added abstarct PID APid

- added PidFactory
- use variable args for factory
This commit is contained in:
jens
2021-10-02 11:10:43 +02:00
parent 7111bfd5e2
commit bf019733b2
15 changed files with 117 additions and 26 deletions
+2 -2
View File
@@ -2,11 +2,11 @@ import asyncio
from tasks import ATask
from ws.message import MsgIo
from utils.value import ChangedFloat
from components.pid import TempController
from components import APid
class TcTask(ATask):
def __init__(self, tc: TempController, interval, msg_handler: MsgIo):
def __init__(self, tc: APid, interval, msg_handler: MsgIo):
ATask.__init__(self, interval)
self.tc = tc