Script execution

This commit is contained in:
gac-S_Changer
2017-02-23 12:02:05 +01:00
parent 65720700c2
commit 34a6706ca3
+2 -2
View File
@@ -190,7 +190,7 @@ class RobotTCP(TcpDevice):
def poll_events():
ev = self.read_event()
if ec is not None:
if ev is not None:
self.getLogger().info(ev)
on_event(ev)
@@ -213,4 +213,4 @@ class RobotTCP(TcpDevice):
add_device(RobotTCP("robot_tcp", "129.129.126.100:1000"), force = True)
robot_tcp.setPolling(500)
robot_tcp.set_monitor_speed(20)
#robot_tcp.set_monitor_speed(20)