+# $Id#
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
raise PLCPermissionDenied, "Not allowed to update that PCU"
pcu.delete()
- self.object_ids = [pcu['pcu_id']]
+
+ # Logging variables
+ self.event_objects = {'PCU': [pcu['pcu_id']]}
+ self.message = 'PCU %d deleted' % pcu['pcu_id']
return 1