21 lines
325 B
Python
21 lines
325 B
Python
import abc
|
|
import logging
|
|
from utils.value import AttributeChange
|
|
|
|
|
|
class ATemperatureSensor(AttributeChange):
|
|
def __init__(self):
|
|
AttributeChange.__init__(self)
|
|
|
|
@abc.abstractmethod
|
|
def name(self):
|
|
return ""
|
|
|
|
@abc.abstractmethod
|
|
def temperature(self):
|
|
return None
|
|
|
|
@abc.abstractmethod
|
|
def process(self):
|
|
pass
|