[Controller]
- on Pause: deactivate stirrer and power git-svn-id: http://moon:8086/svn/projects/HendiControl@149 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -83,6 +83,8 @@ class Controller():
|
|||||||
def pause(self):
|
def pause(self):
|
||||||
if self.thread != None:
|
if self.thread != None:
|
||||||
self.is_pause = True
|
self.is_pause = True
|
||||||
|
self.stirrer.deactivate()
|
||||||
|
self.plant.setPower(0)
|
||||||
|
|
||||||
def cont(self):
|
def cont(self):
|
||||||
if self.thread != None:
|
if self.thread != None:
|
||||||
|
|||||||
Reference in New Issue
Block a user