connectors/PYRO/__init__.py
changeset 1441 826730e60407
parent 1440 e8daabf2c438
child 1455 4ba27ed51e48
equal deleted inserted replaced
1440:e8daabf2c438 1441:826730e60407
    92     if PyroCatcher(lambda:RemotePLCObjectProxy.GetPLCstatus())() is None:
    92     if PyroCatcher(lambda:RemotePLCObjectProxy.GetPLCstatus())() is None:
    93         confnodesroot.logger.write_error(_("Cannot get PLC status - connection failed.\n"))
    93         confnodesroot.logger.write_error(_("Cannot get PLC status - connection failed.\n"))
    94         return None
    94         return None
    95 
    95 
    96 
    96 
    97     class PyroProxyProxy:
    97     class PyroProxyProxy(object):
    98         """
    98         """
    99         A proxy proxy class to handle Beremiz Pyro interface specific behavior.
    99         A proxy proxy class to handle Beremiz Pyro interface specific behavior.
   100         And to put pyro exception catcher in between caller and pyro proxy
   100         And to put pyro exception catcher in between caller and pyro proxy
   101         """
   101         """
   102         def __init__(self):
   102         def __init__(self):