This commit is contained in:
2021-08-22 23:57:45 +02:00
parent 3192897b06
commit d62356b1f5
7 changed files with 218 additions and 0 deletions

14
src/digitaltwin1.py Normal file
View File

@ -0,0 +1,14 @@
from ProcessImage import ProcessImage
from ModbusHandler import modbusHandler
from DummyPublisher import dummyPublisher as publisher
import threading
processImage = ProcessImage()
modbusThread = threading.Thread(target=modbusHandler, args=[processImage])
publisherThread = threading.Thread(target=publisher, args=[processImage])
modbusThread.start()
publisherThread.start()