public ThinkifyReader(string port)
        {
            sC = new ThinkifySerialConnection(port);
            TagList = new ThinkifyTagList();

            //If a new line comes in
            sC.LineReceivedEvent += new LineReceivedEventHandler(ProcessLine);
            sC.DataReceivedEvent += new DataReceivedEventHandler(ProcessData);

            ReadingActiveValue = false;
            latestTag = new ThinkifyTag();
        }
Beispiel #2
0
        public ThinkifyReader(string port)
        {
            sC      = new ThinkifySerialConnection(port);
            TagList = new ThinkifyTagList();

            //If a new line comes in
            sC.LineReceivedEvent += new LineReceivedEventHandler(ProcessLine);
            sC.DataReceivedEvent += new DataReceivedEventHandler(ProcessData);

            ReadingActiveValue = false;
            latestTag          = new ThinkifyTag();
        }