Esempio n. 1
0
        static void Main(string[] args)
        {
            file = new FileInfo("DebugLog.log");
            // Make a connection with the mqtt broker and subscribe to several topics.
            Input.InputManager man = new Input.InputManager("145.24.222.132");

            //// --------------------------------------------- DEBUGGING -------------------------------------------
            //Input.DataParser p = new Input.DataParser();
            //FileInfo file2 = new FileInfo("../../test.json");
            //StreamReader reader = file2.OpenText();
            //string data = reader.ReadToEnd();

            //p.DecodeData(data, "POSITIONS");

            //Console.In.Read();
            //// --------------------------------------------- DEBUGGING -------------------------------------------
        }
Esempio n. 2
0
        static void Main(string[] args)
        {

            file = new FileInfo("DebugLog.log");
            // Make a connection with the mqtt broker and subscribe to several topics.
            Input.InputManager man = new Input.InputManager("145.24.222.132");

            //// --------------------------------------------- DEBUGGING -------------------------------------------
            //Input.DataParser p = new Input.DataParser();
            //FileInfo file2 = new FileInfo("../../test.json");
            //StreamReader reader = file2.OpenText();
            //string data = reader.ReadToEnd();

            //p.DecodeData(data, "POSITIONS");

            //Console.In.Read();
            //// --------------------------------------------- DEBUGGING -------------------------------------------

        }