SimulationReport: TargetCount→DroneCount, EquipmentCount→UnitCount
This commit is contained in:
parent
843141a7a8
commit
f0f5f76b8b
@ -19,9 +19,9 @@ namespace CounterDrone.Core.Models
|
|||||||
|
|
||||||
public string CompletedAt { get; set; } = string.Empty;
|
public string CompletedAt { get; set; } = string.Empty;
|
||||||
|
|
||||||
public int TargetCount { get; set; }
|
public int DroneCount { get; set; }
|
||||||
|
|
||||||
public int EquipmentCount { get; set; }
|
public int UnitCount { get; set; }
|
||||||
|
|
||||||
public int InterceptResult { get; set; }
|
public int InterceptResult { get; set; }
|
||||||
|
|
||||||
|
|||||||
@ -39,8 +39,8 @@ namespace CounterDrone.Core.Services
|
|||||||
ScenarioName = config.Info.Name,
|
ScenarioName = config.Info.Name,
|
||||||
ScenarioNumber = config.Info.ScenarioNumber,
|
ScenarioNumber = config.Info.ScenarioNumber,
|
||||||
CompletedAt = DateTime.UtcNow.ToString("o"),
|
CompletedAt = DateTime.UtcNow.ToString("o"),
|
||||||
TargetCount = total,
|
DroneCount = total,
|
||||||
EquipmentCount = config.Units.Count,
|
UnitCount = config.Units.Count,
|
||||||
InterceptResult = (int)result,
|
InterceptResult = (int)result,
|
||||||
Content = _generator.Generate(config, events, Simulation.DroneStatus.Flying, duration,
|
Content = _generator.Generate(config, events, Simulation.DroneStatus.Flying, duration,
|
||||||
droneSpecs, fireUnitSpecs, sensorSpecs),
|
droneSpecs, fireUnitSpecs, sensorSpecs),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user