|
@@ -18,7 +18,7 @@ public class LandSJRescueMission : Entity
|
|
|
// <sheet,<指标名,值列表>>
|
|
|
public Dictionary<string, Dictionary<string, List<string>>> totalReport = new();
|
|
|
|
|
|
- public Dictionary<string, Dictionary<string, List<string>>> aircraftSJDatas = new();
|
|
|
+ public Dictionary<string, Dictionary<string, List<string>>> aircraftLandSJDatas = new();
|
|
|
|
|
|
public bool IsOver = false;
|
|
|
|
|
@@ -55,13 +55,13 @@ public class LandSJRescueMission : Entity
|
|
|
{
|
|
|
SaveSJ();
|
|
|
//SaveTotalMH();
|
|
|
- SaveAircraftSJDatas();
|
|
|
+ SaveAircraftLandSJDatas();
|
|
|
}
|
|
|
|
|
|
if (currentExecuteCount == ExecutionContext)
|
|
|
{
|
|
|
SaveSJ();
|
|
|
- SaveAircraftSJDatas();
|
|
|
+ SaveAircraftLandSJDatas();
|
|
|
//SaveTotalMH();
|
|
|
ReportSJ();
|
|
|
//this.StartAsyncMH();
|
|
@@ -79,29 +79,29 @@ public class LandSJRescueMission : Entity
|
|
|
// Task.Delay(TimeSpan.FromSeconds(readyTime)).ContinueWith(t => this.StartAsyncXH());
|
|
|
}
|
|
|
|
|
|
- public void SaveAircraftSJDatas()
|
|
|
+ public void SaveAircraftLandSJDatas()
|
|
|
{
|
|
|
foreach (AircraftLandSJ aircraftEntity in aircrafts)
|
|
|
{
|
|
|
string key = aircraftEntity.AircraftId;
|
|
|
- if (!aircraftSJDatas.ContainsKey(key))
|
|
|
+ if (!aircraftLandSJDatas.ContainsKey(key))
|
|
|
{
|
|
|
- aircraftSJDatas[key] = new Dictionary<string, List<string>>();
|
|
|
+ aircraftLandSJDatas[key] = new Dictionary<string, List<string>>();
|
|
|
}
|
|
|
- if (!aircraftSJDatas[key].ContainsKey("识别成功率"))
|
|
|
- aircraftSJDatas[key]["识别成功率"] = new List<string>();
|
|
|
+ if (!aircraftLandSJDatas[key].ContainsKey("识别成功率"))
|
|
|
+ aircraftLandSJDatas[key]["识别成功率"] = new List<string>();
|
|
|
//aircraftSJDatas[key]["识别成功率"].Add(aircraftEntity.isseePerson ? "1" : "0");
|
|
|
- if (!aircraftSJDatas[key].ContainsKey("任务准备时间"))
|
|
|
- aircraftSJDatas[key]["任务准备时间"] = new List<string>();
|
|
|
- aircraftSJDatas[key]["任务准备时间"].Add(aircraftEntity.TaskReadyTime.ToString());
|
|
|
- if (!aircraftSJDatas[key].ContainsKey("平均搜索时间"))
|
|
|
- aircraftSJDatas[key]["平均搜索时间"] = new List<string>();
|
|
|
- aircraftSJDatas[key]["平均搜索时间"].Add(aircraftEntity.SearchTime.ToString());
|
|
|
- if (!aircraftSJDatas[key].ContainsKey("总飞行时间"))
|
|
|
- aircraftSJDatas[key]["总飞行时间"] = new List<string>();
|
|
|
- aircraftSJDatas[key]["总飞行时间"].Add(aircraftEntity.TotalTime.ToString());
|
|
|
- if (!aircraftSJDatas[key].ContainsKey("人员存活率"))
|
|
|
- aircraftSJDatas[key]["人员存活率"] = new List<string>();
|
|
|
+ if (!aircraftLandSJDatas[key].ContainsKey("任务准备时间"))
|
|
|
+ aircraftLandSJDatas[key]["任务准备时间"] = new List<string>();
|
|
|
+ aircraftLandSJDatas[key]["任务准备时间"].Add(aircraftEntity.TaskReadyTime.ToString());
|
|
|
+ if (!aircraftLandSJDatas[key].ContainsKey("平均搜索时间"))
|
|
|
+ aircraftLandSJDatas[key]["平均搜索时间"] = new List<string>();
|
|
|
+ aircraftLandSJDatas[key]["平均搜索时间"].Add(aircraftEntity.SearchTime.ToString());
|
|
|
+ if (!aircraftLandSJDatas[key].ContainsKey("总飞行时间"))
|
|
|
+ aircraftLandSJDatas[key]["总飞行时间"] = new List<string>();
|
|
|
+ aircraftLandSJDatas[key]["总飞行时间"].Add(aircraftEntity.TotalTime.ToString());
|
|
|
+ if (!aircraftLandSJDatas[key].ContainsKey("人员存活率"))
|
|
|
+ aircraftLandSJDatas[key]["人员存活率"] = new List<string>();
|
|
|
//aircraftSJDatas[key]["人员存活率"].Add(aircraftEntity.Success ? "1" : "0");
|
|
|
}
|
|
|
}
|