equal
deleted
inserted
replaced
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: |