コード例 #1
0
def start():
    # initializing nodes
    data_path = "../assets/"
    parser = Parser(data_path).getInstance()
    parking_container = parser.read_parking_container()
    subscriberThread = MQTTSubscriber("MQTT", parking_container)
    subscriberThread.start()
コード例 #2
0
from utils.parser import Parser

if __name__ == "__main__":
    data_path = "../assets/"
    parser = Parser(data_path).getInstance()
    parking_container = parser.read_parking_container()