public void addLogEntry(LogEntry logEntry)
        {
            if (deviceLog == null)
            {
                deviceLog = new List<LogEntry>();
            }
            deviceLog.Add(logEntry);


        }
        List<LogEntry> parseResponse(List<Byte> responseData)
        {
            List<LogEntry> log = new List<LogEntry>();

            LogEntry lgEntry = new LogEntry();

            Byte[] tempBuff = {(Byte)( responseData[1] - '0') , (Byte)(responseData[0] - '0')};
            lgEntry.Station = tempBuff[1]*10 + tempBuff[0];

            lgEntry.Department = responseData[2] - '0';

            responseData.RemoveRange(0,3);

           lgEntry.Data = System.Text.Encoding.UTF8.GetString(responseData.ToArray());

           log.Add(lgEntry);       

            return log;


        }
        List<LogEntry> parseWHResponse(List<Byte> responseData)
        {
            List<LogEntry> log = new List<LogEntry>();

            LogEntry lgEntry = new LogEntry();

            
            lgEntry.Station = 0;

            lgEntry.Department = (responseData[0] - '0') + 4;

            responseData.RemoveAt(0);

            lgEntry.Data = System.Text.Encoding.UTF8.GetString(responseData.ToArray());

            log.Add(lgEntry);

            return log;


        }