|
@@ -18,7 +18,12 @@ public class AircraftXCJJ : AircraftEntity
|
|
|
|
|
|
public List<double> jiuzhuTimes = new List<double>();
|
|
|
|
|
|
- public Dictionary<string,string> reportInfo = new Dictionary<string,string>();
|
|
|
+ public Dictionary<string, string> reportInfo = new Dictionary<string, string>();
|
|
|
+
|
|
|
+ public List<string> load = new List<string>();
|
|
|
+ public string device;
|
|
|
+ public string medicine;
|
|
|
+
|
|
|
|
|
|
public override void End()
|
|
|
{
|
|
@@ -32,6 +37,8 @@ public class AircraftXCJJ : AircraftEntity
|
|
|
Success = false;
|
|
|
TotalTime = 0;
|
|
|
reportInfo = new Dictionary<string, string>();
|
|
|
+ device = string.Empty;
|
|
|
+ medicine = string.Empty;
|
|
|
}
|
|
|
|
|
|
public override void Start()
|
|
@@ -48,7 +55,7 @@ public class AircraftXCJJ : AircraftEntity
|
|
|
{
|
|
|
diseaseTypes.Add(FlightPlanEditor.medicalTargetPoint[0].TargetType.diseaseTypes[i]);
|
|
|
}
|
|
|
- int medicCount = taskParameter.MedicalStaffCount; // 医护人员数量
|
|
|
+ int medicCount = taskParameter.doctorPersonnel + taskParameter.nursePersonnel + taskParameter.nurseSeverePersonnel;//taskParameter.MedicalStaffCount; // 医护人员数量
|
|
|
|
|
|
// 交接时间为5分钟
|
|
|
double handoverTime = 5;
|
|
@@ -119,7 +126,7 @@ public class AircraftXCJJ : AircraftEntity
|
|
|
{
|
|
|
time += TurningPoints[i].SegmentFlightTime;
|
|
|
c++;
|
|
|
- if(c == 4)
|
|
|
+ if (c == 4)
|
|
|
{
|
|
|
jiuzhuTimes.Add(time);
|
|
|
c = 0;
|
|
@@ -149,6 +156,35 @@ public class AircraftXCJJ : AircraftEntity
|
|
|
reportInfo.Add("单机地面保障人数", "1");
|
|
|
reportInfo.Add("单机总任务时长", TotalTime.ToString());
|
|
|
reportInfo.Add("单机机场使用情况", Airport);
|
|
|
+ for (int i = 0; i < load.Count; i++)
|
|
|
+ {
|
|
|
+ if (load[i].Split(":")[0].Contains("装备"))
|
|
|
+ {
|
|
|
+ device += load[i].Split(":")[1];
|
|
|
+ if(i != load.Count - 1)
|
|
|
+ {
|
|
|
+ device += "\r\n";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (load[i].Split(":")[0].Contains("药品"))
|
|
|
+ {
|
|
|
+ medicine += load[i].Split(":")[1] + "\r\n";
|
|
|
+ if (i != load.Count - 1)
|
|
|
+ {
|
|
|
+ medicine += "\r\n";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //Console.WriteLine("医疗任务设备:" + device);
|
|
|
+ //Console.WriteLine("医疗药品:" + medicine);
|
|
|
+ if (device != null)
|
|
|
+ reportInfo.Add("医疗任务设备", device);
|
|
|
+ else
|
|
|
+ reportInfo.Add("医疗任务设备", "");
|
|
|
+ if (medicine != null)
|
|
|
+ reportInfo.Add("医疗药品", medicine);
|
|
|
+ else
|
|
|
+ reportInfo.Add("医疗药品", "");
|
|
|
reportInfo.Add("任务缓急情况", "紧急");
|
|
|
|
|
|
IsOver = true;
|