- reworked
git-svn-id: http://moon:8086/svn/projects/HendiControl@113 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import numpy as np
|
||||
import abc
|
||||
|
||||
|
||||
class APlant(abc.ABC):
|
||||
def __init__(self, params):
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
def process(self, dt):
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
def setPower(self, power_W):
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
def getTemperature(self):
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user