- PdfSharpCore 1.3.64 引入(纯托管,Unity IL2CPP 兼容,+9 DLL) - ReportData 结构化模型 + MarkdownRenderer + StandardPdfTemplate - IReportService.ExportReport(id, format) 按需导出 PDF/MD - 仿真后自动生成 MD 到 reports 目录,PDF 按需调用 - CJK 字体嵌入(SimHei),IPathProvider + GetFontPath - ReportGenerator 重构为构建 ReportData,去掉 emoji - check_unity_build.ps1 修复 -quit 参数缺失导致超时 - 对接文档 V2.0:坐标系/3D 可视化/完整枚举/Manager 签名/模型字段 - 262 测试全部通过
35 lines
976 B
C#
35 lines
976 B
C#
using System;
|
||
using SQLite;
|
||
|
||
namespace CounterDrone.Core.Models
|
||
{
|
||
/// <summary>仿真报告</summary>
|
||
[Table("SimulationReport")]
|
||
public class SimulationReport
|
||
{
|
||
[PrimaryKey]
|
||
public string Id { get; set; } = Guid.NewGuid().ToString();
|
||
|
||
[Indexed]
|
||
public string ScenarioId { get; set; } = string.Empty;
|
||
|
||
public string ScenarioName { get; set; } = string.Empty;
|
||
|
||
public string ScenarioNumber { get; set; } = string.Empty;
|
||
|
||
public string CompletedAt { get; set; } = string.Empty;
|
||
|
||
public int DroneCount { get; set; }
|
||
|
||
public int UnitCount { get; set; }
|
||
|
||
public int InterceptResult { get; set; }
|
||
|
||
/// <summary>Markdown 文本(用于快速展示)</summary>
|
||
public string Content { get; set; } = string.Empty;
|
||
|
||
/// <summary>结构化报告数据 JSON(用于 PDF 等格式重新渲染)</summary>
|
||
public string? ReportDataJson { get; set; }
|
||
}
|
||
}
|