- 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
+43
View File
@@ -0,0 +1,43 @@
import abc
from utils.value import AttributeChange
class APid(AttributeChange):
def __init__(self):
AttributeChange.__init__(self)
@abc.abstractmethod
def set_theta_soll(self, value):
return None
@abc.abstractmethod
def set_heatrate_soll(self, value):
return None
@abc.abstractmethod
def get_theta_ist(self):
return None
@abc.abstractmethod
def get_heatrate_ist(self):
return None
@abc.abstractmethod
def get_theta_soll_set(self):
return None
@abc.abstractmethod
def get_theta_soll(self):
return None
@abc.abstractmethod
def get_heatrate_soll_set(self):
return None
@abc.abstractmethod
def get_heatrate_soll(self):
return None
@abc.abstractmethod
def process(self):
pass