| | | 1 | | using System.Collections.Generic; |
| | | 2 | | |
| | | 3 | | namespace CounterDrone.Core.Models |
| | | 4 | | { |
| | | 5 | | /// <summary>想定完整配置(聚合 5 步配置)</summary> |
| | | 6 | | public class TaskFullConfig |
| | | 7 | | { |
| | 133 | 8 | | public SimTask Task { get; set; } = new(); |
| | 97 | 9 | | public CombatScene Scene { get; set; } = new(); |
| | 94 | 10 | | public List<ControlZone> ControlZones { get; set; } = new(); |
| | 123 | 11 | | public List<TargetConfig> Targets { get; set; } = new(); |
| | 116 | 12 | | public List<EquipmentDeployment> Equipment { get; set; } = new(); |
| | 110 | 13 | | public CloudDispersal Cloud { get; set; } = new(); |
| | 102 | 14 | | public RoutePlan Route { get; set; } = new(); |
| | 94 | 15 | | public List<Waypoint> Waypoints { get; set; } = new(); |
| | | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary>分页结果</summary> |
| | | 19 | | public class PagedResult<T> |
| | | 20 | | { |
| | | 21 | | public List<T> Items { get; set; } = new(); |
| | | 22 | | public int TotalCount { get; set; } |
| | | 23 | | public int Page { get; set; } |
| | | 24 | | public int PageSize { get; set; } |
| | | 25 | | public int TotalPages => (TotalCount + PageSize - 1) / PageSize; |
| | | 26 | | } |
| | | 27 | | } |