runtime/PLCObject.py
branchsvghmi
changeset 2986 12cd06391185
parent 2678 45f1ff6a7f87
child 2689 7f67a7f6bfcc
equal deleted inserted replaced
2985:2ddedeb035e0 2986:12cd06391185
   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):