beremiz
Clone
Summary
Browse
Changes
Graph
Fixed bug wxGlade hmi not closed when stopping PLC
2013-05-16, Laurent Bessard
38d6aaad8ffd
Fixed bug wxGlade hmi not closed when stopping PLC
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