runtime/PLCObject.py
changeset 4034 6359536d60a9
parent 4032 1ffff67678ad
equal deleted inserted replaced
4033:208a808d1081 4034:6359536d60a9
   827     @RunInMain
   827     @RunInMain
   828     def ExtendedCall(self, method, argument):
   828     def ExtendedCall(self, method, argument):
   829         """ Dispatch argument to registered service """
   829         """ Dispatch argument to registered service """
   830         return self.extended_calls[method](argument)
   830         return self.extended_calls[method](argument)
   831 
   831 
   832     def RegisterExtendedCall(method, callback):
   832     def RegisterExtendedCall(self, method, callback):
   833         self.extended_calls[method] = callback
   833         self.extended_calls[method] = callback
   834 
   834 
   835     def UnregisterExtendedCall(method):
   835     def UnregisterExtendedCall(self, method):
   836         del self.extended_calls[method]
   836         del self.extended_calls[method]
   837 
   837