CounterDroneBackend/src/CounterDrone.Core/Models/SimFrameRecord.cs
tian ca0ce8aa52 重命名核心模型:TargetConfig→DroneProfile, SimTask→Scenario, TaskFullConfig→ScenarioConfig, TaskId→ScenarioId
- DroneType 枚举清理:移除 Electric/Piston,重编号 HighSpeed=2
- planner_config.json / defaults.json 同步迁移
- 238 单元测试全部通过
2026-06-18 15:02:58 +08:00

35 lines
945 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SQLite;
namespace CounterDrone.Core.Models
{
/// <summary>逐帧位置记录(回放用)— 存任务分库</summary>
[Table("SimFrameRecord")]
public class SimFrameRecord
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
[Indexed]
public string ScenarioId { get; set; } = string.Empty;
public int FrameIndex { get; set; }
public double Timestamp { get; set; }
public string EntityId { get; set; } = string.Empty;
public int EntityType { get; set; }
public double PosX { get; set; }
public double PosY { get; set; }
public double PosZ { get; set; }
public double RotX { get; set; }
public double RotY { get; set; }
public double RotZ { get; set; }
/// <summary>JSONdamageStage, cloudRadius, cloudOpacity 等</summary>
public string StateData { get; set; } = "{}";
}
}