- fixed
git-svn-id: http://moon:8086/svn/projects/HendiControl@381 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -8,7 +8,6 @@ class AStirrer(abc.ABC):
|
||||
return ""
|
||||
|
||||
def __init__(self, dt):
|
||||
self.log("Create")
|
||||
self.dt = dt
|
||||
self.speed = 0
|
||||
self.cycleTime = 1
|
||||
|
||||
@@ -150,7 +150,7 @@ class HendiCtrl():
|
||||
return self.cmd("R" + str(int(enable)))
|
||||
|
||||
def isRemoteEnable(self):
|
||||
return self.cmd("R?")
|
||||
return '1' in self.cmd("R?")
|
||||
|
||||
def setPowerDigits(self, power_digits):
|
||||
return self.cmd("P" + str(power_digits))
|
||||
|
||||
Reference in New Issue
Block a user