runtime/PLCObject.py
changeset 2682 4d3320fdab19
parent 2678 45f1ff6a7f87
child 2689 7f67a7f6bfcc
equal deleted inserted replaced
2681:abc2088aac4e 2682:4d3320fdab19
   449         self.PythonThreadCondLock.acquire()
   449         self.PythonThreadCondLock.acquire()
   450         self.PythonThreadCmd = cmd
   450         self.PythonThreadCmd = cmd
   451         self.PythonThreadCond.notify()
   451         self.PythonThreadCond.notify()
   452         self.PythonThreadCondLock.release()
   452         self.PythonThreadCondLock.release()
   453 
   453 
   454     def _fail(msg):
   454     def _fail(self, msg):
   455         self.LogMessage(0, msg)
   455         self.LogMessage(0, msg)
   456         self.PLCStatus = PlcStatus.Broken
   456         self.PLCStatus = PlcStatus.Broken
   457         self.StatusChange()
   457         self.StatusChange()
   458 
   458 
   459     def PreStartPLC(self):
   459     def PreStartPLC(self):