Files
brewpi/components/aplant.py
T
2020-11-29 12:37:18 +01:00

25 lines
374 B
Python

import abc
from utils.value import AttributeChange
class APlant(AttributeChange):
@abc.abstractmethod
def activate(self, enable):
return None
@abc.abstractmethod
def process(self):
pass
@abc.abstractmethod
def setPower(self, power):
pass
@abc.abstractmethod
def getPower(self):
return None
@abc.abstractmethod
def getTemperature(self):
return None