lpcmanager

7fb8d30cd2e2
Parents 3ee8dd509f01
Children 719795972a28
Fixed bug in simulation with debugging variables
--- 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":