Breaking: Group表/枚举/Service/Repository移除; GroupId->WaveId; DroneGroup->DroneWave; DroneGroupId->DroneWaveId; GroupManager删除 Docs: CHANGELOG 0.7.0; 总体架构 V10; DefensePlanner V4; 实施计划 V1.4; 对接文档 V1.2 Tests: 204/204 pass
31 lines
791 B
C#
31 lines
791 B
C#
using System;
|
||
using SQLite;
|
||
|
||
namespace CounterDrone.Core.Models
|
||
{
|
||
/// <summary>步骤2:目标配置</summary>
|
||
[Table("TargetConfig")]
|
||
public class TargetConfig
|
||
{
|
||
[PrimaryKey]
|
||
public string Id { get; set; } = Guid.NewGuid().ToString();
|
||
|
||
[Indexed]
|
||
public string TaskId { get; set; } = string.Empty;
|
||
|
||
public string WaveId { get; set; } = string.Empty;
|
||
|
||
public int TargetType { get; set; } = (int)Models.TargetType.Rotor;
|
||
|
||
public int Quantity { get; set; } = 1;
|
||
|
||
public int PowerType { get; set; } = (int)Models.PowerType.Electric;
|
||
|
||
public double Wingspan { get; set; } = 1.2;
|
||
|
||
public double TypicalSpeed { get; set; } = 60.0;
|
||
|
||
public double TypicalAltitude { get; set; } = 300.0;
|
||
}
|
||
}
|