equal
deleted
inserted
replaced
254 PLCprint("PythonThreadProc interrupted") |
254 PLCprint("PythonThreadProc interrupted") |
255 |
255 |
256 def StartPLC(self, debug=False): |
256 def StartPLC(self, debug=False): |
257 PLCprint("StartPLC") |
257 PLCprint("StartPLC") |
258 if self.CurrentPLCFilename is not None: |
258 if self.CurrentPLCFilename is not None: |
|
259 self.PLCStatus = "Starting" |
259 self.PythonThread = Thread(target=self.PythonThreadProc, args=[debug]) |
260 self.PythonThread = Thread(target=self.PythonThreadProc, args=[debug]) |
260 self.PythonThread.start() |
261 self.PythonThread.start() |
261 |
262 |
262 def StopPLC(self): |
263 def StopPLC(self): |
263 PLCprint("StopPLC") |
264 PLCprint("StopPLC") |