wyq 1 éve
szülő
commit
cf14bf7e7f

+ 4 - 0
XdCxRhDW.App/UserControl/CtrlSat.cs

@@ -108,6 +108,10 @@ namespace XdCxRhDW.App.UserControl
         {
             try
             {
+                if (XtraMessageBox.Show("确认删除选择的卫星信息?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
+                {
+                    return;
+                }
                 var ids = gridView1.GetSelectedRows();
 
                 using (RHDWContext db = new RHDWContext())

+ 4 - 0
XdCxRhDW.App/UserControl/CtrlXl.cs

@@ -134,6 +134,10 @@ namespace XdCxRhDW.App.UserControl
         {
             try
             {
+                if (XtraMessageBox.Show("确认删除选择的星历信息?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
+                {
+                    return;
+                }
                 this.Enabled = false;
                 await Task.Run(async () =>
                 {

+ 6 - 6
XdCxRhDW.Core/Api/EphHelper.cs

@@ -185,32 +185,32 @@ namespace XdCxRhDW.Core.Api
         /// <summary>
         /// X坐标
         /// </summary>
-        [Display(Name = "X")]
+        [Display(Name = "坐标X")]
         public double X { get; set; }
         /// <summary>
         /// Y坐标
         /// </summary>
-        [Display(Name = "Y")]
+        [Display(Name = "坐标Y")]
         public double Y { get; set; }
         /// <summary>
         /// Z坐标
         /// </summary>
-        [Display(Name = "Z")]
+        [Display(Name = "坐标Z")]
         public double Z { get; set; }
         /// <summary>
         /// X方向速率
         /// </summary>
-        [Display(Name = "VX")]
+        [Display(Name = "速度VX(m/s)")]
         public double VX { get; set; }
         /// <summary>
         /// Y方向速率
         /// </summary>
-        [Display(Name = "VY")]
+        [Display(Name = "速度VY(m/s)")]
         public double VY { get; set; }
         /// <summary>
         /// Z方向速率
         /// </summary>
-        [Display(Name = "VZ")]
+        [Display(Name = "速度VZ(m/s)")]
         public double VZ { get; set; }
         public override string ToString()
         {

+ 3 - 0
XdCxRhDW.Repostory/Model/XlInfo.cs

@@ -11,7 +11,9 @@ namespace XdCxRhDW.Repostory.Model
     [Table("XlInfo")]
     public class XlInfo : BaseModel<long>
     {
+        [Display(Name = "卫星编号",AutoGenerateField = false)]
         public int SatCode { get; set; }
+        [Display(Name = "卫星名称",AutoGenerateField = false)]
 
         public string SatName { get; set; }
 
@@ -26,6 +28,7 @@ namespace XdCxRhDW.Repostory.Model
 
         [Display(Name = "双行根数2")]
         public string Line2 { get; set; }
+        [Display(AutoGenerateField = false)]
 
         public string TwoLine => $"{Line1};{Line2}";