private static BartlettReportLine GetSegmentMeta(BartlettSegment segment, BartlettReportLine reportRow) { reportRow.SegmentNumber = segment.Number; reportRow.SegmentStart = segment.StartTime.ToString(); reportRow.SegmentEnd = segment.EndTime.ToString(); reportRow.SegmentTargetTemp = segment.TargetTemp.ToString(); reportRow.SegmentStartTemp = segment.StartTemp.ToString(); reportRow.SegmentEndTemp = segment.EndTemp.ToString(); reportRow.SegmentHoldTime = segment.HoldTime; reportRow.SegmentClimbRate = segment.ClimbRate.ToString(); return(reportRow); }
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); }