- many other improvements git-svn-id: http://moon:8086/svn/projects/HendiControl@116 fda53097-d464-4ada-af97-ba876c37ca34
35 lines
459 B
Python
35 lines
459 B
Python
import numpy as np
|
|
import abc
|
|
|
|
|
|
class AStirrer(abc.ABC):
|
|
def __init__(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def process(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def setRpm(self, rpm):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def setCycleTime(self, time):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def setDutyCycle(self, dutyCycle):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def getRpm(self):
|
|
return None
|
|
|
|
@abc.abstractmethod
|
|
def start(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def stop(self):
|
|
pass |