Commit 240873f872308ea7267563365e28ff8f84a5f42c

Authored by Patrick Maeght
1 parent 2a363011
Exists in dev

date modif

simulators/plc/guitalens_worker.py
  1 +"""
  2 +PM 20190108
1 3
  4 +"""
2 5
3 import logging 6 import logging
4 import threading 7 import threading
@@ -10,7 +13,7 @@ import os, sys @@ -10,7 +13,7 @@ import os, sys
10 print(os.path.abspath(".")) 13 print(os.path.abspath("."))
11 _path = os.path.abspath("..") 14 _path = os.path.abspath("..")
12 sys.path.insert(0, _path ) 15 sys.path.insert(0, _path )
13 -import logconf 16 +#import logconf
14 logger = logging.getLogger(__name__) 17 logger = logging.getLogger(__name__)
15 """logger = logging.getLogger(__name__) 18 """logger = logging.getLogger(__name__)
16 logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') 19 logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
simulators/plc/plcSimulator.py
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
  2 +"""
2 3
  4 +MODIFIED:
  5 +PM 20190108
  6 +
  7 +"""
3 import os 8 import os
4 import sys 9 import sys
5 import json 10 import json
6 import time 11 import time
7 import logging 12 import logging
8 -import urllib.request 13 +#import urllib.request
9 14
10 DEBUG_FILE = True 15 DEBUG_FILE = True
11 PACKAGE_PARENT = '..' 16 PACKAGE_PARENT = '..'