public void addLogEntry(LogEntry logEntry)
 {
     if (stationLog == null)
     {
         stationLog = new List<LogEntry>();
     }
     stationLog.Add(logEntry);
 }
        List<LogEntry> parseResponse(List<Byte> responseData)
        {
            List<LogEntry> log = new List<LogEntry>();

            LogEntry lgEntry = new LogEntry();

            if (responsePacketFields.Contains<String>("STATION"))
            {
                Byte[] tempBuff = { (Byte)(responseData[1] - '0'), (Byte)(responseData[0] - '0') };
                lgEntry.Station = tempBuff[1] * 10 + tempBuff[0];
                responseData.RemoveRange(0, 2);
            }

            if (responsePacketFields.Contains<String>("DEPARTMENT"))
            {

                lgEntry.Department = responseData[0] - '0';
                responseData.RemoveRange(0, 1);
            }

            if (responseData.Count > 0)
                lgEntry.Data = System.Text.Encoding.UTF8.GetString(responseData.ToArray());

            log.Add(lgEntry);

            return log;
        }