private static BartlettReportLine GetReportMeta(List <BartlettInfo> info, BartlettProgram program)
        {
            var reportRow = new BartlettReportLine();

            reportRow.FiringName            = program.Name;
            reportRow.FiringDate            = info[0].DateTime.ToString();
            reportRow.FiringCost            = info[0].Cost.ToString();
            reportRow.FirmwareVersion       = info[0].FirmwareVersion;
            reportRow.CircuitBoardStartTemp = info[0].BoardTemp.ToString();
            reportRow.CircuitBoardEndTemp   = info[1].BoardTemp.ToString();
            return(reportRow);
        }
        private static BartlettProgram GetBartlettProgram(List <BartlettLogRecordRaw> logRecords)
        {
            var program = new BartlettProgram();

            foreach (var record in logRecords)
            {
                if (record.Event.Equals("program"))
                {
                    if (record.EventName.Equals("name"))
                    {
                        program.Name = record.EventValue;
                    }
                    if (record.EventName.Equals("cone"))
                    {
                        program.Cone = record.EventValue;
                    }
                    if (record.EventName.Equals("segments"))
                    {
                        program.Segments = Int32.Parse(record.EventValue);
                    }
                }
            }
            return(program);
        }