Beremiz_service.py
changeset 1999 36a624779f9f
parent 1997 d9e8fb47340f
child 2000 9fa2f8ede5d6
equal deleted inserted replaced
1998:12b20698e4f3 1999:36a624779f9f
   480         if self.plcobj.GetPLCstatus()[0] == "Stopped":
   480         if self.plcobj.GetPLCstatus()[0] == "Stopped":
   481             if autostart:
   481             if autostart:
   482                 self.plcobj.StartPLC()
   482                 self.plcobj.StartPLC()
   483         self.plcobj.StatusChange()
   483         self.plcobj.StatusChange()
   484 
   484 
       
   485 
   485 if enabletwisted:
   486 if enabletwisted:
   486     import warnings
   487     import warnings
   487     with warnings.catch_warnings():
   488     with warnings.catch_warnings():
   488         warnings.simplefilter("ignore")
   489         warnings.simplefilter("ignore")
   489         try:
   490         try: