| 编号 | "); + htmlBuilder.AppendLine("日期 | "); // 加宽 + htmlBuilder.AppendLine("时间 | "); + htmlBuilder.AppendLine("定量供氧流量(L/min) | "); // 加宽(字段名较长) + htmlBuilder.AppendLine("自动/手动补给供氧量(L/min) | "); + htmlBuilder.AppendLine("样品编号 | "); + htmlBuilder.AppendLine("测试时长 | "); // 加宽(支持时长格式) + htmlBuilder.AppendLine("记录时间 | "); // 加宽 + htmlBuilder.AppendLine("
|---|---|---|---|---|---|---|---|
| {record.Id.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Date?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Time?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.FlowRate:F2} | "); // 供氧流量(2位小数,匹配单位) + htmlBuilder.AppendLine($"{record.FlowRate2:F2} | "); // 供氧流量(2位小数,匹配单位) + htmlBuilder.AppendLine($"{record.No?.ToString() ?? ""} | "); // 样品编号 + htmlBuilder.AppendLine($"{record.Duration?.ToString() ?? ""} | "); // 测试时长 + htmlBuilder.AppendLine($"{record.CreateTime:yyyy/MM/dd HH:mm:ss} | "); // 记录时间 + htmlBuilder.AppendLine("
| 编号 | "); + htmlBuilder.AppendLine("日期 | "); // 加宽 + htmlBuilder.AppendLine("时间 | "); + htmlBuilder.AppendLine("初始压力 | "); + htmlBuilder.AppendLine("结束压力 | "); + htmlBuilder.AppendLine("压差 | "); + htmlBuilder.AppendLine("样品编号 | "); + htmlBuilder.AppendLine("保压时间 | "); // 加宽 + htmlBuilder.AppendLine("记录时间 | "); // 加宽 + htmlBuilder.AppendLine("
|---|---|---|---|---|---|---|---|---|
| {record.Id.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Date?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Time?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.StartPress:F2} | "); // 初始压力(2位小数) + htmlBuilder.AppendLine($"{record.EndPress:F2} | "); // 结束压力(2位小数) + htmlBuilder.AppendLine($"{record.DiffPress:F2} | "); // 压差(2位小数) + htmlBuilder.AppendLine($"{record.No?.ToString() ?? ""} | "); // 样品编号 + htmlBuilder.AppendLine($"{record.ProtectTime:F2} | "); // 保压时间(2位小数) + htmlBuilder.AppendLine($"{record.CreateTime:yyyy/MM/dd HH:mm:ss} | "); // 记录时间 + htmlBuilder.AppendLine("
| 编号 | "); + htmlBuilder.AppendLine("日期 | "); + htmlBuilder.AppendLine("时间 | "); + htmlBuilder.AppendLine("初始压力 | "); + htmlBuilder.AppendLine("结束压力 | "); + htmlBuilder.AppendLine("压差 | "); + htmlBuilder.AppendLine("样品编号 | "); + htmlBuilder.AppendLine("保压时间 | "); // 加宽 + htmlBuilder.AppendLine("记录时间 | "); // 加宽 + htmlBuilder.AppendLine("
|---|---|---|---|---|---|---|---|---|
| {record.Id.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Date?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Time?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.StartPress:F2} | "); // 初始压力(2位小数) + htmlBuilder.AppendLine($"{record.EndPress:F2} | "); // 结束压力(2位小数) + htmlBuilder.AppendLine($"{record.DiffPress:F2} | "); // 压差(2位小数) + htmlBuilder.AppendLine($"{record.No?.ToString() ?? ""} | "); // 样品编号 + htmlBuilder.AppendLine($"{record.ProtectTime:F2} | "); // 保压时间(2位小数) + htmlBuilder.AppendLine($"{record.CreateTime:yyyy/MM/dd HH:mm:ss} | "); // 记录时间 + htmlBuilder.AppendLine("
| 编号 | "); + htmlBuilder.AppendLine("日期 | "); + htmlBuilder.AppendLine("时间 | "); + htmlBuilder.AppendLine("排气阀开启压力pa | "); + htmlBuilder.AppendLine("样品编号 | "); + htmlBuilder.AppendLine("测试时长 | "); + htmlBuilder.AppendLine("记录时间 | "); + htmlBuilder.AppendLine("
|---|---|---|---|---|---|---|
| {record.Id.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Date?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Time?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.FlowRate:F2} | "); // 保留2位小数 + htmlBuilder.AppendLine($"{record.No?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.Duration?.ToString() ?? ""} | "); + htmlBuilder.AppendLine($"{record.CreateTime:yyyy/MM/dd HH:mm:ss} | "); + htmlBuilder.AppendLine("