sources
This commit is contained in:
14
src/digitaltwin1.py
Normal file
14
src/digitaltwin1.py
Normal 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()
|
||||
|
Reference in New Issue
Block a user