wyq пре 1 година
родитељ
комит
a9065953a0

+ 1 - 0
DataSimulation.Repostory/DataSimulation.Repostory.csproj

@@ -90,6 +90,7 @@
     <Compile Include="Model\RefInfo.cs" />
     <Compile Include="Model\SatInfo.cs" />
     <Compile Include="Model\SimulationInfo.cs" />
+    <Compile Include="Model\SimulationPonit.cs" />
     <Compile Include="Model\SysSetings.cs" />
     <Compile Include="Model\TaskInfo.cs" />
     <Compile Include="Model\XlInfo.cs" />

+ 2 - 0
DataSimulation.Repostory/EFContext/SimulationContext.cs

@@ -98,6 +98,8 @@ namespace DataSimulation.Repostory.EFContext
 
         public DbSet<SimulationInfo> SimulationInfos { get; set; }
 
+        public DbSet<SimulationPonit> SimulationPonits { get; set; }
+
         public DbSet<TaskInfo> TaskInfos { set; get; }
     }
 

+ 8 - 5
DataSimulation.Repostory/Model/SimulationInfo.cs

@@ -10,15 +10,18 @@ using System.Threading.Tasks;
 namespace DataSimulation.Repostory.Model
 {
     /// <summary>
-    /// 仿真航迹数据信息
+    /// 仿真航迹信息
     /// </summary>
     [Table("SimulationInfo")]
     public class SimulationInfo : BaseModel<long>
     {
-        [Display(Name = "仿真经度")]
-        public double SimulationLon { get; set; }
+        [Display(Name = "仿真名称")]
+        public double SimulationName { get; set; }
 
-        [Display(Name = "仿真纬度")]
-        public double SimulationLat { get; set; }
+        [Display(Name = "仿真速度(Km/s)")]
+        public double SimulationSpeed { get; set; }
+
+        [Display(Name = "仿真数据编号", AutoGenerateField = false)]
+        public double SimulationPId { get; set; }
     }
 }

+ 24 - 0
DataSimulation.Repostory/Model/SimulationPonit.cs

@@ -0,0 +1,24 @@
+using DataSimulation.Repostory;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DataSimulation.Repostory.Model
+{
+    /// <summary>
+    /// 仿真航迹数据信息
+    /// </summary>
+    [Table("SimulationPonit")]
+    public class SimulationPonit : BaseModel<long>
+    {
+        [Display(Name = "仿真经度")]
+        public double SimulationLon { get; set; }
+
+        [Display(Name = "仿真纬度")]
+        public double SimulationLat { get; set; }
+    }
+}