zansimple 8 hónapja
szülő
commit
debdf784af

BIN
KYFramework/bin/Debug/net7.0/KYFramework.dll


BIN
KYFramework/bin/Debug/net7.0/KYFramework.pdb


BIN
KYFramework/bin/Debug/net7.0/ThirdParty.dll


BIN
KYFramework/bin/Debug/net7.0/ThirdParty.pdb


+ 15 - 0
Models/SimulationCommon/SeaSJ.cs

@@ -250,7 +250,22 @@ public class SeaSJ
 
         // 获取凸包
         Point2f[] convexHull = Rectangular_Area_Search_Function.GetConvexHull(pointList);
+        
+        //获取凸包各点经纬度坐标
+        List<double[]> hullPoint = new List<double[]>();
+        for (int num = 0; num < convexHull.Length - 1; num++)
+        {
+            hullPoint.Add(new double[] { convexHull[num].Y, convexHull[num].X });
+        }
 
+        List<double[]> hullPointLatLon = new List<double[]>();
+        foreach (var point in hullPoint)
+        {
+            double pointLat = Rectangular_Area_Search_Function.RMokatuoLat(point[1]);
+            double pointLon = Rectangular_Area_Search_Function.RMokatuoLon(point[0]);
+            hullPointLatLon.Add(new double[] { pointLat, pointLon });
+        }
+        
         // 计算最小包围矩形
         List<double[]> minEnclosingRect = Rectangular_Area_Search_Function.MinEnclosingRectangle(convexHull);
 

+ 1 - 1
SimulationServer/Entity/SeaSJRescueMission.cs

@@ -69,7 +69,7 @@ public class SeaSJRescueMission : Entity
      public void SaveTotalMH()
     {
         var totalPerformance = GetComponent<SJTotalTaskPerformanceComponent>();
-        totalPerformance.FillData();
+        totalPerformance.FillData();    
         var totalPerformanceReport = totalPerformance.GetReport();
         foreach (var kv in totalPerformanceReport)
         {

BIN
SimulationServer/bin/Debug/net7.0/KYFramework.dll


BIN
SimulationServer/bin/Debug/net7.0/KYFramework.pdb


BIN
SimulationServer/bin/Debug/net7.0/SimulationCommon.dll


BIN
SimulationServer/bin/Debug/net7.0/SimulationCommon.pdb


BIN
SimulationServer/bin/Debug/net7.0/SimulationServer.dll


BIN
SimulationServer/bin/Debug/net7.0/SimulationServer.exe


BIN
SimulationServer/bin/Debug/net7.0/SimulationServer.pdb


BIN
SimulationServer/bin/Debug/net7.0/ThirdParty.dll


BIN
SimulationServer/bin/Debug/net7.0/ThirdParty.pdb


BIN
ThirdParty/bin/Debug/net7.0/ThirdParty.dll


BIN
ThirdParty/bin/Debug/net7.0/ThirdParty.pdb