- many other improvements git-svn-id: http://moon:8086/svn/projects/HendiControl@116 fda53097-d464-4ada-af97-ba876c37ca34
21 lines
263 B
Python
21 lines
263 B
Python
import numpy as np
|
|
import abc
|
|
|
|
|
|
class APlant(abc.ABC):
|
|
def __init__(self, params):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def process(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def setPower(self, power_W):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def getTemperature(self):
|
|
return None
|
|
|