# HG changeset patch # User greg # Date 1241422164 -7200 # Node ID 6dbde4a0c31d0af8ccf0b31bf4a6bd02403e031e # Parent e19c78831d411c7adfcfb9e9638fa45ad6caf1be Adding support for updating PLC status when stopping diff -r e19c78831d41 -r 6dbde4a0c31d runtime/PLCObject.py --- a/runtime/PLCObject.py Mon May 04 09:27:33 2009 +0200 +++ b/runtime/PLCObject.py Mon May 04 09:29:24 2009 +0200 @@ -274,6 +274,7 @@ def _DoStopPLC(self): self.PLCStatus = "Stopped" + self.StatusChange() self._stopPLC() if self._FreePLC(): self.PLCStatus = "Dirty" @@ -393,7 +394,7 @@ def GetTraceVariables(self): """ - Return a list of variables, corresponding to the list of requiered idx + Return a list of variables, corresponding to the list of required idx """ if self.PLCStatus == "Started": tick = self._WaitDebugData()