# HG changeset patch # User Laurent Bessard # Date 1368648905 -7200 # Node ID 8a4783508ea9eb6e0e913c08966235c9c545a1ee # Parent ed1f9752f9297580c604cc8b1c9318f8c438a275 Fixed bug in simulation with debugging variables diff -r ed1f9752f929 -r 8a4783508ea9 LPCManager.py --- a/LPCManager.py Fri May 10 12:14:04 2013 +0200 +++ b/LPCManager.py Wed May 15 22:15:05 2013 +0200 @@ -916,7 +916,10 @@ wx.CallAfter(self.RefreshConfNodesBlockLists) return None - + + def IsPLCStarted(self): + return self.previous_plcstate == "Started" or self.previous_mode == SIMULATION_MODE + def UpdateMethodsFromPLCStatus(self): simulating = self.CurrentMode == SIMULATION_MODE if self.OnlineMode == "OFF":