beremiz
Clone
Summary
Browse
Changes
Graph
Fixed bug when generating ST code and connection is broken in POU using graphical language
2013-06-10, Laurent Bessard
d1f6ea56555d
Fixed bug when generating ST code and connection is broken in POU using graphical language
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self,func):
self.methods[func.__name__]=func
return func