LPCManager.py
changeset 39 38a01052693f
parent 37 6e36ecf3f622
child 40 000de4f24ab2
equal deleted inserted replaced
38:13c9ff7f3b54 39:38a01052693f
  1205             # Start the status Timer
  1205             # Start the status Timer
  1206             self.StatusTimer.Start(milliseconds=500, oneShot=False)
  1206             self.StatusTimer.Start(milliseconds=500, oneShot=False)
  1207     
  1207     
  1208     def StopSimulation(self):
  1208     def StopSimulation(self):
  1209         self.CurrentMode = None
  1209         self.CurrentMode = None
       
  1210         self._SetConnector(None)
  1210         self.ApplyOnlineMode()
  1211         self.ApplyOnlineMode()
  1211     
  1212     
  1212     def _Stop(self):
  1213     def _Stop(self):
  1213         ProjectController._Stop(self)
  1214         ProjectController._Stop(self)
  1214         
  1215         
  1815                 
  1816                 
  1816     def RefreshAll(self):
  1817     def RefreshAll(self):
  1817         Beremiz.RefreshAll(self)
  1818         Beremiz.RefreshAll(self)
  1818         self.RefreshPLCParams()
  1819         self.RefreshPLCParams()
  1819         self.RefreshConfNodeTree()
  1820         self.RefreshConfNodeTree()
       
  1821     
       
  1822     # Remove taskbar icon when simulating
       
  1823     def StartLocalRuntime(self, taskbaricon = True):
       
  1824         return Beremiz.StartLocalRuntime(self, taskbaricon = False)
  1820 
  1825 
  1821 class StdoutPseudoFile:
  1826 class StdoutPseudoFile:
  1822     
  1827     
  1823     def __init__(self, port):
  1828     def __init__(self, port):
  1824         self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  1829         self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)