From 6af38484c1ec595d047cdc21e761d3a0360836fd Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 3 Apr 2019 17:31:03 +0000 Subject: [PATCH] - added activate git-svn-id: http://moon:8086/svn/projects/HendiControl@215 fda53097-d464-4ada-af97-ba876c37ca34 --- Control/brewpi/aplant.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Control/brewpi/aplant.py b/Control/brewpi/aplant.py index 6f6e7a7..049415e 100644 --- a/Control/brewpi/aplant.py +++ b/Control/brewpi/aplant.py @@ -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 +