- added activate
git-svn-id: http://moon:8086/svn/projects/HendiControl@215 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -9,6 +9,10 @@ class APlant(abc.ABC):
|
|||||||
def log(self, s):
|
def log(self, s):
|
||||||
print("{:.2f}: {}".format(time.time(), s))
|
print("{:.2f}: {}".format(time.time(), s))
|
||||||
|
|
||||||
|
@abc.abstractmethod
|
||||||
|
def activate(self, enable):
|
||||||
|
return None
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def process(self):
|
def process(self):
|
||||||
pass
|
pass
|
||||||
@@ -25,3 +29,4 @@ class APlant(abc.ABC):
|
|||||||
def getTemperature(self):
|
def getTemperature(self):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user