- added activate

git-svn-id: http://moon:8086/svn/projects/HendiControl@215 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-04-03 17:31:03 +00:00
parent 5aa46ff38d
commit 6af38484c1
+5
View File
@@ -9,6 +9,10 @@ class APlant(abc.ABC):
def log(self, s):
print("{:.2f}: {}".format(time.time(), s))
@abc.abstractmethod
def activate(self, enable):
return None
@abc.abstractmethod
def process(self):
pass
@@ -25,3 +29,4 @@ class APlant(abc.ABC):
def getTemperature(self):
return None