connectors/PYRO/__init__.py
changeset 917 401e44bae7c0
parent 906 de452d65865c
child 923 6ef6e0b3a908
equal deleted inserted replaced
916:697d8b77d716 917:401e44bae7c0
   138             for safe use in from debug thread, must use the copy
   138             for safe use in from debug thread, must use the copy
   139             """
   139             """
   140             if self.RemotePLCObjectProxyCopy is None:
   140             if self.RemotePLCObjectProxyCopy is None:
   141                 self.RemotePLCObjectProxyCopy = copy.copy(confnodesroot._connector.GetPyroProxy())
   141                 self.RemotePLCObjectProxyCopy = copy.copy(confnodesroot._connector.GetPyroProxy())
   142             return self.RemotePLCObjectProxyCopy.GetTraceVariables()
   142             return self.RemotePLCObjectProxyCopy.GetTraceVariables()
   143         GetTraceVariables = PyroCatcher(_PyroGetTraceVariables,("Broken",-1,None,None))
   143         GetTraceVariables = PyroCatcher(_PyroGetTraceVariables,("Broken",None,None))
   144 
   144 
   145         def _PyroGetPLCstatus(self):
   145         def _PyroGetPLCstatus(self):
   146             return RemotePLCObjectProxy.GetPLCstatus()
   146             return RemotePLCObjectProxy.GetPLCstatus()
   147         GetPLCstatus = PyroCatcher(_PyroGetPLCstatus, ("Broken",-1))
   147         GetPLCstatus = PyroCatcher(_PyroGetPLCstatus, ("Broken",-1))
   148 
   148