- added stirrer
- many other improvements git-svn-id: http://moon:8086/svn/projects/HendiControl@116 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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
|
||||
Reference in New Issue
Block a user