Closedown

This commit is contained in:
gac-S_Changer
2017-03-01 14:52:48 +01:00
parent 221c25a60f
commit 0772fc9780

View File

@@ -200,10 +200,10 @@ class RobotTCP(TcpDevice, Stoppable):
mode = self.eval_int("workingMode(arr)")
status = int(self.get_var("arr[0]"))
self._update_working_mode(mode, status)
self._update_state()
except:
self.working_mode = "invalid"
self.status = "invalid"
self._update_state()
self.status = "invalid"
return self.working_mode
def get_emergency_stop_sts(self):