| | | 1 | | using System; |
| | | 2 | | using SQLite; |
| | | 3 | | |
| | | 4 | | namespace CounterDrone.Core.Models |
| | | 5 | | { |
| | | 6 | | /// <summary>步骤3:装备部署</summary> |
| | | 7 | | [Table("EquipmentDeployment")] |
| | | 8 | | public class EquipmentDeployment |
| | | 9 | | { |
| | | 10 | | [PrimaryKey] |
| | 195 | 11 | | public string Id { get; set; } = Guid.NewGuid().ToString(); |
| | | 12 | | |
| | | 13 | | [Indexed] |
| | 195 | 14 | | public string TaskId { get; set; } = string.Empty; |
| | | 15 | | |
| | 323 | 16 | | public int EquipmentRole { get; set; } = (int)Models.EquipmentRole.LaunchPlatform; |
| | | 17 | | |
| | 263 | 18 | | public int Quantity { get; set; } = 1; |
| | | 19 | | |
| | 173 | 20 | | public string GroupId { get; set; } = string.Empty; |
| | | 21 | | |
| | | 22 | | // 发射平台专用 |
| | 123 | 23 | | public int? PlatformType { get; set; } |
| | | 24 | | |
| | 141 | 25 | | public double PositionX { get; set; } |
| | 124 | 26 | | public double PositionY { get; set; } |
| | 141 | 27 | | public double PositionZ { get; set; } |
| | | 28 | | |
| | 124 | 29 | | public int? AerosolType { get; set; } |
| | | 30 | | |
| | 112 | 31 | | public int? MunitionCount { get; set; } |
| | | 32 | | |
| | 173 | 33 | | public int Source { get; set; } = (int)ConfigSource.Manual; |
| | | 34 | | |
| | 95 | 35 | | public double? MuzzleVelocity { get; set; } |
| | | 36 | | |
| | 22 | 37 | | public double? ReleaseAltitude { get; set; } |
| | | 38 | | |
| | 210 | 39 | | public double Cooldown { get; set; } = 5.0; |
| | | 40 | | |
| | | 41 | | // 探测设备专用 |
| | 36 | 42 | | public double? DetectionRadius { get; set; } |
| | | 43 | | } |
| | | 44 | | } |