gongqiuhong 1 éve
szülő
commit
a8597776c8

+ 68 - 11
XdCxRhDW.App/EditForms/X2D1PosParamEditor.cs

@@ -27,6 +27,7 @@ using XdCxRhDW.Core.Api;
 using XdCxRhDW.Repostory;
 using XdCxRhDW.Repostory.EFContext;
 using XdCxRhDW.Repostory.Model;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement.TextBox;
 
 namespace XdCxRhDW.App.EditForms
 {
@@ -158,12 +159,22 @@ namespace XdCxRhDW.App.EditForms
                 double[] msEph = new double[] { MainX, MainY, MainZ, 0, 0, 0 };
                 double[] NsEph = new double[] { AdjaX, AdjaY, AdjaZ, 0, 0, 0 };
                 var sigTime = txtSigTime.DateTime;
-               
+                var StationRes = new StationRes()
+                {
+                    SatTxLon = MsAnt[0],
+                    SatTxLat = MsAnt[1],
+                    CdbTxLon = CDBAnt[0],
+                    CdbTxLat = CDBAnt[1],
+                    RefLon = RefGeod[0],
+                    RefLat = RefGeod[1],
+                };
+
+
                 string url = string.Format("http://{0}:{1}/Api/Pos/", IpHelper.GetLocalIp(), settings.HttpPort);
                 if (info.PosResType == EnumPosResType.X2D1NoRef)
                 {
                     url += "PosX2D1NoParAsync";
-                    X2D1NoParPosDto X2D1PosDto = new X2D1NoParPosDto()
+                    X2D1NoParPosDto dto = new X2D1NoParPosDto()
                     {
                         SigTime = sigTime,
                         MainCode = mainSat,
@@ -181,16 +192,38 @@ namespace XdCxRhDW.App.EditForms
                         CdbTxLon = CDBAnt[0],
                         CdbTxLat = CDBAnt[1],
                     };
-                    var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2D1PosDto);
-                    if (result.code == 200)
+                    var cgRes = new CgRes()
                     {
-                        lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
-                    }
+                        SigTime = dto.SigTime,
+                        Dto1 = dto.SxDto,
+                        Dfo1 = dto.SxDfo,
+                        Snr1 = dto.SxSnr,
+                        DtoCdb = dto.XdDto,
+                        DfoCdb = dto.XdDfo,
+                        SnrCdb = dto.XdSnr,
+                        //StationResID = StationRes.ID,
+                        MainCode = dto.MainCode,
+                        Adja1Code = dto.AdjaCode,
+                        //TaskID = runTask.ID,
+                        MainX = dto.MainX,
+                        MainY = dto.MainY,
+                        MainZ = dto.MainZ,
+                        Adja1X = dto.AdjaX,
+                        Adja1Y = dto.AdjaY,
+                        Adja1Z = dto.AdjaZ,
+                    };
+                    var res = PosApi.X2D1_PosNoRef(cgRes, StationRes);
+                    this.lblRes.Text = $"{info.PosResType.GetEnumDisplayName()}定位点:[{res[0]:f3},{res[1]:f3}] 镜像点:[{res[3]:f3},{res[4]:f3}]";
+                    //var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2D1PosDto);
+                    //if (result.code == 200)
+                    //{
+                    //    lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
+                    //}
                 }
                 else
                 {
                     url += "PosX2D1Async";
-                    X2D1PosDto X2D1PosDto = new X2D1PosDto()
+                    X2D1PosDto dto = new X2D1PosDto()
                     {
                         SigTime = sigTime,
                         MainCode = mainSat,
@@ -212,11 +245,35 @@ namespace XdCxRhDW.App.EditForms
                         RefLon = RefGeod[0],
                         RefLat = RefGeod[1],
                     };
-                    var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2D1PosDto);
-                    if (result.code == 200)
+                    var cgRes = new CgRes()
                     {
-                        lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
-                    }
+                        SigTime = dto.SigTime,
+                        Dto1 = dto.SxDto,
+                        Dfo1 = dto.SxDfo,
+                        Snr1 = dto.SxSnr,
+                        DtoCdb = dto.XdDto,
+                        DfoCdb = dto.XdDfo,
+                        SnrCdb = dto.XdSnr,
+                        YbMainDto = dto.MainYbDto,
+                        YbAdja1Dto = dto.AdjaYbDto,
+                        //StationResID = StationRes.ID,
+                        MainCode = dto.MainCode,
+                        Adja1Code = dto.AdjaCode,
+                       // TaskID = runTask.ID,
+                        MainX = dto.MainX,
+                        MainY = dto.MainY,
+                        MainZ = dto.MainZ,
+                        Adja1X = dto.AdjaX,
+                        Adja1Y = dto.AdjaY,
+                        Adja1Z = dto.AdjaZ,
+                    };
+                    var res = PosApi.X2D1_Pos(cgRes, StationRes);
+                    this.lblRes.Text = $"{info.PosResType.GetEnumDisplayName()}定位点:[{res[0]:f3},{res[1]:f3}] 镜像点:[{res[3]:f3},{res[4]:f3}]";
+                    //var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2D1PosDto);
+                    //if (result.code == 200)
+                    //{
+                    //    lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
+                    //}
                 }
             }
             catch (Exception ex)

+ 299 - 299
XdCxRhDW.App/EditForms/X2PosParamEditor.Designer.cs

@@ -140,6 +140,7 @@
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject87 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject88 = new DevExpress.Utils.SerializableAppearanceObject();
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.lblRes = new DevExpress.XtraEditors.LabelControl();
             this.txtSigTime = new DevExpress.XtraEditors.DateEdit();
             this.txtDtoSx = new DevExpress.XtraEditors.ButtonEdit();
             this.txtYbMain = new DevExpress.XtraEditors.ButtonEdit();
@@ -153,6 +154,21 @@
             this.txtAdjaY = new DevExpress.XtraEditors.ButtonEdit();
             this.txtAdjaZ = new DevExpress.XtraEditors.ButtonEdit();
             this.btnOK = new DevExpress.XtraEditors.SimpleButton();
+            this.txtDfo = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtTarFreqUp = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtTarFreqDown = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtYbMainDfo = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtYbAdjaDfo = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtRefFreqDown = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtRefFreqUp = new DevExpress.XtraEditors.ButtonEdit();
+            this.btnMainXl = new DevExpress.XtraEditors.SimpleButton();
+            this.txtAdjaXl = new DevExpress.XtraEditors.SimpleButton();
+            this.txtMainVx = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtMainVy = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtMainVz = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtAdjaVx = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtAdjaVy = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtAdjaVz = new DevExpress.XtraEditors.ButtonEdit();
             this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
             this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
             this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -161,52 +177,36 @@
             this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem();
             this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
-            this.dxErrorProvider = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
-            this.txtDfo = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtTarFreqUp = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtTarFreqDown = new DevExpress.XtraEditors.ButtonEdit();
-            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtYbMainDfo = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtYbAdjaDfo = new DevExpress.XtraEditors.ButtonEdit();
+            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtRefFreqDown = new DevExpress.XtraEditors.ButtonEdit();
-            this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtRefFreqUp = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
             this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem();
-            this.btnMainXl = new DevExpress.XtraEditors.SimpleButton();
-            this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtAdjaXl = new DevExpress.XtraEditors.SimpleButton();
-            this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtMainVx = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtMainVy = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtMainVz = new DevExpress.XtraEditors.ButtonEdit();
-            this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtAdjaVx = new DevExpress.XtraEditors.ButtonEdit();
+            this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtAdjaVy = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtAdjaVz = new DevExpress.XtraEditors.ButtonEdit();
             this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem6 = new DevExpress.XtraLayout.EmptySpaceItem();
             this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem();
-            this.lblRes = new DevExpress.XtraEditors.LabelControl();
+            this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.dxErrorProvider = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
             this.layoutControl1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.txtSigTime.Properties)).BeginInit();
@@ -222,6 +222,19 @@
             ((System.ComponentModel.ISupportInitialize)(this.txtAdjaX.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtAdjaY.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtAdjaZ.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDfo.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqUp.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqDown.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbMainDfo.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbAdjaDfo.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqDown.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqUp.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainVx.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainVy.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainVz.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVx.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVy.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVz.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
@@ -230,49 +243,36 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtDfo.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqUp.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqDown.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtYbMainDfo.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtYbAdjaDfo.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqDown.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqUp.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainVx.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainVy.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainVz.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVx.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVy.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVz.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).BeginInit();
             this.SuspendLayout();
             // 
             // layoutControl1
@@ -315,6 +315,15 @@
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
+            // lblRes
+            // 
+            this.lblRes.Location = new System.Drawing.Point(22, 535);
+            this.lblRes.Name = "lblRes";
+            this.lblRes.Size = new System.Drawing.Size(4, 14);
+            this.lblRes.StyleController = this.layoutControl1;
+            this.lblRes.TabIndex = 28;
+            this.lblRes.Text = " ";
+            // 
             // txtSigTime
             // 
             this.txtSigTime.EditValue = null;
@@ -492,6 +501,156 @@
             this.btnOK.Text = "确定";
             this.btnOK.Click += new System.EventHandler(this.btnOk_Click);
             // 
+            // txtDfo
+            // 
+            this.txtDfo.Location = new System.Drawing.Point(22, 141);
+            this.txtDfo.Name = "txtDfo";
+            this.txtDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions10, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject37, serializableAppearanceObject38, serializableAppearanceObject39, serializableAppearanceObject40, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDfo.Size = new System.Drawing.Size(191, 23);
+            this.txtDfo.StyleController = this.layoutControl1;
+            this.txtDfo.TabIndex = 13;
+            // 
+            // txtTarFreqUp
+            // 
+            this.txtTarFreqUp.Location = new System.Drawing.Point(22, 185);
+            this.txtTarFreqUp.Name = "txtTarFreqUp";
+            this.txtTarFreqUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions11, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject41, serializableAppearanceObject42, serializableAppearanceObject43, serializableAppearanceObject44, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtTarFreqUp.Size = new System.Drawing.Size(191, 23);
+            this.txtTarFreqUp.StyleController = this.layoutControl1;
+            this.txtTarFreqUp.TabIndex = 14;
+            // 
+            // txtTarFreqDown
+            // 
+            this.txtTarFreqDown.Location = new System.Drawing.Point(217, 185);
+            this.txtTarFreqDown.Name = "txtTarFreqDown";
+            this.txtTarFreqDown.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions12, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject45, serializableAppearanceObject46, serializableAppearanceObject47, serializableAppearanceObject48, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtTarFreqDown.Size = new System.Drawing.Size(191, 23);
+            this.txtTarFreqDown.StyleController = this.layoutControl1;
+            this.txtTarFreqDown.TabIndex = 15;
+            // 
+            // txtYbMainDfo
+            // 
+            this.txtYbMainDfo.Location = new System.Drawing.Point(217, 141);
+            this.txtYbMainDfo.Name = "txtYbMainDfo";
+            this.txtYbMainDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions13, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject49, serializableAppearanceObject50, serializableAppearanceObject51, serializableAppearanceObject52, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtYbMainDfo.Size = new System.Drawing.Size(191, 23);
+            this.txtYbMainDfo.StyleController = this.layoutControl1;
+            this.txtYbMainDfo.TabIndex = 16;
+            // 
+            // txtYbAdjaDfo
+            // 
+            this.txtYbAdjaDfo.Location = new System.Drawing.Point(412, 141);
+            this.txtYbAdjaDfo.Name = "txtYbAdjaDfo";
+            this.txtYbAdjaDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions14, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject53, serializableAppearanceObject54, serializableAppearanceObject55, serializableAppearanceObject56, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtYbAdjaDfo.Size = new System.Drawing.Size(191, 23);
+            this.txtYbAdjaDfo.StyleController = this.layoutControl1;
+            this.txtYbAdjaDfo.TabIndex = 17;
+            // 
+            // txtRefFreqDown
+            // 
+            this.txtRefFreqDown.Location = new System.Drawing.Point(217, 229);
+            this.txtRefFreqDown.Name = "txtRefFreqDown";
+            this.txtRefFreqDown.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions15, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject57, serializableAppearanceObject58, serializableAppearanceObject59, serializableAppearanceObject60, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtRefFreqDown.Size = new System.Drawing.Size(191, 23);
+            this.txtRefFreqDown.StyleController = this.layoutControl1;
+            this.txtRefFreqDown.TabIndex = 18;
+            // 
+            // txtRefFreqUp
+            // 
+            this.txtRefFreqUp.Location = new System.Drawing.Point(22, 229);
+            this.txtRefFreqUp.Name = "txtRefFreqUp";
+            this.txtRefFreqUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions16, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject61, serializableAppearanceObject62, serializableAppearanceObject63, serializableAppearanceObject64, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtRefFreqUp.Size = new System.Drawing.Size(191, 23);
+            this.txtRefFreqUp.StyleController = this.layoutControl1;
+            this.txtRefFreqUp.TabIndex = 19;
+            // 
+            // btnMainXl
+            // 
+            this.btnMainXl.Location = new System.Drawing.Point(412, 348);
+            this.btnMainXl.Name = "btnMainXl";
+            this.btnMainXl.Size = new System.Drawing.Size(191, 22);
+            this.btnMainXl.StyleController = this.layoutControl1;
+            this.btnMainXl.TabIndex = 20;
+            this.btnMainXl.Text = "推算主星星厉";
+            this.btnMainXl.Click += new System.EventHandler(this.btnMainXl_Click);
+            // 
+            // txtAdjaXl
+            // 
+            this.txtAdjaXl.Location = new System.Drawing.Point(412, 476);
+            this.txtAdjaXl.Name = "txtAdjaXl";
+            this.txtAdjaXl.Size = new System.Drawing.Size(191, 22);
+            this.txtAdjaXl.StyleController = this.layoutControl1;
+            this.txtAdjaXl.TabIndex = 21;
+            this.txtAdjaXl.Text = "推算邻星星厉";
+            this.txtAdjaXl.Click += new System.EventHandler(this.txtAdjaXl_Click);
+            // 
+            // txtMainVx
+            // 
+            this.txtMainVx.Location = new System.Drawing.Point(22, 324);
+            this.txtMainVx.Name = "txtMainVx";
+            this.txtMainVx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions17, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject65, serializableAppearanceObject66, serializableAppearanceObject67, serializableAppearanceObject68, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtMainVx.Size = new System.Drawing.Size(191, 20);
+            this.txtMainVx.StyleController = this.layoutControl1;
+            this.txtMainVx.TabIndex = 22;
+            // 
+            // txtMainVy
+            // 
+            this.txtMainVy.Location = new System.Drawing.Point(217, 324);
+            this.txtMainVy.Name = "txtMainVy";
+            this.txtMainVy.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions18, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject69, serializableAppearanceObject70, serializableAppearanceObject71, serializableAppearanceObject72, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtMainVy.Size = new System.Drawing.Size(191, 20);
+            this.txtMainVy.StyleController = this.layoutControl1;
+            this.txtMainVy.TabIndex = 23;
+            // 
+            // txtMainVz
+            // 
+            this.txtMainVz.Location = new System.Drawing.Point(412, 324);
+            this.txtMainVz.Name = "txtMainVz";
+            this.txtMainVz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions19, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject73, serializableAppearanceObject74, serializableAppearanceObject75, serializableAppearanceObject76, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtMainVz.Size = new System.Drawing.Size(191, 20);
+            this.txtMainVz.StyleController = this.layoutControl1;
+            this.txtMainVz.TabIndex = 24;
+            // 
+            // txtAdjaVx
+            // 
+            this.txtAdjaVx.Location = new System.Drawing.Point(22, 442);
+            this.txtAdjaVx.Name = "txtAdjaVx";
+            this.txtAdjaVx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions20, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject77, serializableAppearanceObject78, serializableAppearanceObject79, serializableAppearanceObject80, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtAdjaVx.Size = new System.Drawing.Size(191, 20);
+            this.txtAdjaVx.StyleController = this.layoutControl1;
+            this.txtAdjaVx.TabIndex = 25;
+            // 
+            // txtAdjaVy
+            // 
+            this.txtAdjaVy.Location = new System.Drawing.Point(217, 442);
+            this.txtAdjaVy.Name = "txtAdjaVy";
+            this.txtAdjaVy.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions21, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject81, serializableAppearanceObject82, serializableAppearanceObject83, serializableAppearanceObject84, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtAdjaVy.Size = new System.Drawing.Size(191, 20);
+            this.txtAdjaVy.StyleController = this.layoutControl1;
+            this.txtAdjaVy.TabIndex = 26;
+            // 
+            // txtAdjaVz
+            // 
+            this.txtAdjaVz.Location = new System.Drawing.Point(412, 442);
+            this.txtAdjaVz.Name = "txtAdjaVz";
+            this.txtAdjaVz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions22, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject85, serializableAppearanceObject86, serializableAppearanceObject87, serializableAppearanceObject88, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtAdjaVz.Size = new System.Drawing.Size(191, 20);
+            this.txtAdjaVz.StyleController = this.layoutControl1;
+            this.txtAdjaVz.TabIndex = 27;
+            // 
             // Root
             // 
             this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
@@ -642,23 +801,7 @@
             this.layoutControlItem13.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem13.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // layoutControlItem16
-            // 
-            this.layoutControlItem16.Control = this.txtAdjaZ;
-            this.layoutControlItem16.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem16.CustomizationFormText = "轨道经度";
-            this.layoutControlItem16.Location = new System.Drawing.Point(390, 352);
-            this.layoutControlItem16.MaxSize = new System.Drawing.Size(0, 51);
-            this.layoutControlItem16.MinSize = new System.Drawing.Size(54, 51);
-            this.layoutControlItem16.Name = "layoutControlItem16";
-            this.layoutControlItem16.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
-            this.layoutControlItem16.Size = new System.Drawing.Size(195, 51);
-            this.layoutControlItem16.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem16.Text = "邻星星历Z";
-            this.layoutControlItem16.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem16.TextSize = new System.Drawing.Size(79, 14);
-            // 
-            // layoutControlItem7
+            // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txtYbMain;
             this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
@@ -674,19 +817,6 @@
             this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem7.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // layoutControlItem17
-            // 
-            this.layoutControlItem17.Control = this.btnOK;
-            this.layoutControlItem17.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem17.CustomizationFormText = "layoutControlItem1";
-            this.layoutControlItem17.Location = new System.Drawing.Point(239, 480);
-            this.layoutControlItem17.Name = "layoutControlItem17";
-            this.layoutControlItem17.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
-            this.layoutControlItem17.Size = new System.Drawing.Size(346, 33);
-            this.layoutControlItem17.Text = "layoutControlItem1";
-            this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem17.TextVisible = false;
-            // 
             // emptySpaceItem4
             // 
             this.emptySpaceItem4.AllowHotTrack = false;
@@ -765,20 +895,6 @@
             this.emptySpaceItem2.Size = new System.Drawing.Size(239, 33);
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
-            // dxErrorProvider
-            // 
-            this.dxErrorProvider.ContainerControl = this;
-            // 
-            // txtDfo
-            // 
-            this.txtDfo.Location = new System.Drawing.Point(22, 141);
-            this.txtDfo.Name = "txtDfo";
-            this.txtDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions10, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject37, serializableAppearanceObject38, serializableAppearanceObject39, serializableAppearanceObject40, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDfo.Size = new System.Drawing.Size(191, 23);
-            this.txtDfo.StyleController = this.layoutControl1;
-            this.txtDfo.TabIndex = 13;
-            // 
             // layoutControlItem4
             // 
             this.layoutControlItem4.Control = this.txtDfo;
@@ -789,16 +905,6 @@
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem4.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtTarFreqUp
-            // 
-            this.txtTarFreqUp.Location = new System.Drawing.Point(22, 185);
-            this.txtTarFreqUp.Name = "txtTarFreqUp";
-            this.txtTarFreqUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions11, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject41, serializableAppearanceObject42, serializableAppearanceObject43, serializableAppearanceObject44, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtTarFreqUp.Size = new System.Drawing.Size(191, 23);
-            this.txtTarFreqUp.StyleController = this.layoutControl1;
-            this.txtTarFreqUp.TabIndex = 14;
-            // 
             // layoutControlItem5
             // 
             this.layoutControlItem5.Control = this.txtTarFreqUp;
@@ -809,36 +915,6 @@
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem5.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtTarFreqDown
-            // 
-            this.txtTarFreqDown.Location = new System.Drawing.Point(217, 185);
-            this.txtTarFreqDown.Name = "txtTarFreqDown";
-            this.txtTarFreqDown.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions12, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject45, serializableAppearanceObject46, serializableAppearanceObject47, serializableAppearanceObject48, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtTarFreqDown.Size = new System.Drawing.Size(191, 23);
-            this.txtTarFreqDown.StyleController = this.layoutControl1;
-            this.txtTarFreqDown.TabIndex = 15;
-            // 
-            // layoutControlItem6
-            // 
-            this.layoutControlItem6.Control = this.txtTarFreqDown;
-            this.layoutControlItem6.Location = new System.Drawing.Point(195, 146);
-            this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(195, 44);
-            this.layoutControlItem6.Text = "目标下行频点";
-            this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem6.TextSize = new System.Drawing.Size(79, 14);
-            // 
-            // txtYbMainDfo
-            // 
-            this.txtYbMainDfo.Location = new System.Drawing.Point(217, 141);
-            this.txtYbMainDfo.Name = "txtYbMainDfo";
-            this.txtYbMainDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions13, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject49, serializableAppearanceObject50, serializableAppearanceObject51, serializableAppearanceObject52, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtYbMainDfo.Size = new System.Drawing.Size(191, 23);
-            this.txtYbMainDfo.StyleController = this.layoutControl1;
-            this.txtYbMainDfo.TabIndex = 16;
-            // 
             // layoutControlItem9
             // 
             this.layoutControlItem9.Control = this.txtYbMainDfo;
@@ -849,15 +925,15 @@
             this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem9.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtYbAdjaDfo
+            // layoutControlItem6
             // 
-            this.txtYbAdjaDfo.Location = new System.Drawing.Point(412, 141);
-            this.txtYbAdjaDfo.Name = "txtYbAdjaDfo";
-            this.txtYbAdjaDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions14, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject53, serializableAppearanceObject54, serializableAppearanceObject55, serializableAppearanceObject56, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtYbAdjaDfo.Size = new System.Drawing.Size(191, 23);
-            this.txtYbAdjaDfo.StyleController = this.layoutControl1;
-            this.txtYbAdjaDfo.TabIndex = 17;
+            this.layoutControlItem6.Control = this.txtTarFreqDown;
+            this.layoutControlItem6.Location = new System.Drawing.Point(195, 146);
+            this.layoutControlItem6.Name = "layoutControlItem6";
+            this.layoutControlItem6.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem6.Text = "目标下行频点";
+            this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(79, 14);
             // 
             // layoutControlItem18
             // 
@@ -869,15 +945,15 @@
             this.layoutControlItem18.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem18.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtRefFreqDown
+            // layoutControlItem20
             // 
-            this.txtRefFreqDown.Location = new System.Drawing.Point(217, 229);
-            this.txtRefFreqDown.Name = "txtRefFreqDown";
-            this.txtRefFreqDown.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions15, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject57, serializableAppearanceObject58, serializableAppearanceObject59, serializableAppearanceObject60, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtRefFreqDown.Size = new System.Drawing.Size(191, 23);
-            this.txtRefFreqDown.StyleController = this.layoutControl1;
-            this.txtRefFreqDown.TabIndex = 18;
+            this.layoutControlItem20.Control = this.txtRefFreqUp;
+            this.layoutControlItem20.Location = new System.Drawing.Point(0, 190);
+            this.layoutControlItem20.Name = "layoutControlItem20";
+            this.layoutControlItem20.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem20.Text = "参考上行频点";
+            this.layoutControlItem20.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem20.TextSize = new System.Drawing.Size(79, 14);
             // 
             // layoutControlItem19
             // 
@@ -889,26 +965,6 @@
             this.layoutControlItem19.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem19.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtRefFreqUp
-            // 
-            this.txtRefFreqUp.Location = new System.Drawing.Point(22, 229);
-            this.txtRefFreqUp.Name = "txtRefFreqUp";
-            this.txtRefFreqUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions16, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject61, serializableAppearanceObject62, serializableAppearanceObject63, serializableAppearanceObject64, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtRefFreqUp.Size = new System.Drawing.Size(191, 23);
-            this.txtRefFreqUp.StyleController = this.layoutControl1;
-            this.txtRefFreqUp.TabIndex = 19;
-            // 
-            // layoutControlItem20
-            // 
-            this.layoutControlItem20.Control = this.txtRefFreqUp;
-            this.layoutControlItem20.Location = new System.Drawing.Point(0, 190);
-            this.layoutControlItem20.Name = "layoutControlItem20";
-            this.layoutControlItem20.Size = new System.Drawing.Size(195, 44);
-            this.layoutControlItem20.Text = "参考上行频点";
-            this.layoutControlItem20.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem20.TextSize = new System.Drawing.Size(79, 14);
-            // 
             // emptySpaceItem1
             // 
             this.emptySpaceItem1.AllowHotTrack = false;
@@ -925,54 +981,6 @@
             this.emptySpaceItem5.Size = new System.Drawing.Size(195, 44);
             this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0);
             // 
-            // btnMainXl
-            // 
-            this.btnMainXl.Location = new System.Drawing.Point(412, 348);
-            this.btnMainXl.Name = "btnMainXl";
-            this.btnMainXl.Size = new System.Drawing.Size(191, 22);
-            this.btnMainXl.StyleController = this.layoutControl1;
-            this.btnMainXl.TabIndex = 20;
-            this.btnMainXl.Text = "推算主星星厉";
-            this.btnMainXl.Click += new System.EventHandler(this.btnMainXl_Click);
-            // 
-            // layoutControlItem21
-            // 
-            this.layoutControlItem21.Control = this.btnMainXl;
-            this.layoutControlItem21.Location = new System.Drawing.Point(390, 326);
-            this.layoutControlItem21.Name = "layoutControlItem21";
-            this.layoutControlItem21.Size = new System.Drawing.Size(195, 26);
-            this.layoutControlItem21.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem21.TextVisible = false;
-            // 
-            // txtAdjaXl
-            // 
-            this.txtAdjaXl.Location = new System.Drawing.Point(412, 476);
-            this.txtAdjaXl.Name = "txtAdjaXl";
-            this.txtAdjaXl.Size = new System.Drawing.Size(191, 22);
-            this.txtAdjaXl.StyleController = this.layoutControl1;
-            this.txtAdjaXl.TabIndex = 21;
-            this.txtAdjaXl.Text = "推算邻星星厉";
-            this.txtAdjaXl.Click += new System.EventHandler(this.txtAdjaXl_Click);
-            // 
-            // layoutControlItem22
-            // 
-            this.layoutControlItem22.Control = this.txtAdjaXl;
-            this.layoutControlItem22.Location = new System.Drawing.Point(390, 454);
-            this.layoutControlItem22.Name = "layoutControlItem22";
-            this.layoutControlItem22.Size = new System.Drawing.Size(195, 26);
-            this.layoutControlItem22.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem22.TextVisible = false;
-            // 
-            // txtMainVx
-            // 
-            this.txtMainVx.Location = new System.Drawing.Point(22, 324);
-            this.txtMainVx.Name = "txtMainVx";
-            this.txtMainVx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions17, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject65, serializableAppearanceObject66, serializableAppearanceObject67, serializableAppearanceObject68, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtMainVx.Size = new System.Drawing.Size(191, 20);
-            this.txtMainVx.StyleController = this.layoutControl1;
-            this.txtMainVx.TabIndex = 22;
-            // 
             // layoutControlItem23
             // 
             this.layoutControlItem23.Control = this.txtMainVx;
@@ -983,16 +991,6 @@
             this.layoutControlItem23.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem23.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtMainVy
-            // 
-            this.txtMainVy.Location = new System.Drawing.Point(217, 324);
-            this.txtMainVy.Name = "txtMainVy";
-            this.txtMainVy.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions18, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject69, serializableAppearanceObject70, serializableAppearanceObject71, serializableAppearanceObject72, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtMainVy.Size = new System.Drawing.Size(191, 20);
-            this.txtMainVy.StyleController = this.layoutControl1;
-            this.txtMainVy.TabIndex = 23;
-            // 
             // layoutControlItem24
             // 
             this.layoutControlItem24.Control = this.txtMainVy;
@@ -1003,35 +1001,14 @@
             this.layoutControlItem24.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem24.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtMainVz
-            // 
-            this.txtMainVz.Location = new System.Drawing.Point(412, 324);
-            this.txtMainVz.Name = "txtMainVz";
-            this.txtMainVz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions19, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject73, serializableAppearanceObject74, serializableAppearanceObject75, serializableAppearanceObject76, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtMainVz.Size = new System.Drawing.Size(191, 20);
-            this.txtMainVz.StyleController = this.layoutControl1;
-            this.txtMainVz.TabIndex = 24;
-            // 
-            // layoutControlItem25
-            // 
-            this.layoutControlItem25.Control = this.txtMainVz;
-            this.layoutControlItem25.Location = new System.Drawing.Point(390, 285);
-            this.layoutControlItem25.Name = "layoutControlItem25";
-            this.layoutControlItem25.Size = new System.Drawing.Size(195, 41);
-            this.layoutControlItem25.Text = "主星星历Vz";
-            this.layoutControlItem25.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem25.TextSize = new System.Drawing.Size(79, 14);
-            // 
-            // txtAdjaVx
+            // layoutControlItem21
             // 
-            this.txtAdjaVx.Location = new System.Drawing.Point(22, 442);
-            this.txtAdjaVx.Name = "txtAdjaVx";
-            this.txtAdjaVx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions20, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject77, serializableAppearanceObject78, serializableAppearanceObject79, serializableAppearanceObject80, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtAdjaVx.Size = new System.Drawing.Size(191, 20);
-            this.txtAdjaVx.StyleController = this.layoutControl1;
-            this.txtAdjaVx.TabIndex = 25;
+            this.layoutControlItem21.Control = this.btnMainXl;
+            this.layoutControlItem21.Location = new System.Drawing.Point(390, 326);
+            this.layoutControlItem21.Name = "layoutControlItem21";
+            this.layoutControlItem21.Size = new System.Drawing.Size(195, 26);
+            this.layoutControlItem21.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem21.TextVisible = false;
             // 
             // layoutControlItem26
             // 
@@ -1043,16 +1020,6 @@
             this.layoutControlItem26.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem26.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtAdjaVy
-            // 
-            this.txtAdjaVy.Location = new System.Drawing.Point(217, 442);
-            this.txtAdjaVy.Name = "txtAdjaVy";
-            this.txtAdjaVy.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions21, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject81, serializableAppearanceObject82, serializableAppearanceObject83, serializableAppearanceObject84, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtAdjaVy.Size = new System.Drawing.Size(191, 20);
-            this.txtAdjaVy.StyleController = this.layoutControl1;
-            this.txtAdjaVy.TabIndex = 26;
-            // 
             // layoutControlItem27
             // 
             this.layoutControlItem27.Control = this.txtAdjaVy;
@@ -1063,16 +1030,6 @@
             this.layoutControlItem27.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem27.TextSize = new System.Drawing.Size(79, 14);
             // 
-            // txtAdjaVz
-            // 
-            this.txtAdjaVz.Location = new System.Drawing.Point(412, 442);
-            this.txtAdjaVz.Name = "txtAdjaVz";
-            this.txtAdjaVz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions22, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject85, serializableAppearanceObject86, serializableAppearanceObject87, serializableAppearanceObject88, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtAdjaVz.Size = new System.Drawing.Size(191, 20);
-            this.txtAdjaVz.StyleController = this.layoutControl1;
-            this.txtAdjaVz.TabIndex = 27;
-            // 
             // layoutControlItem28
             // 
             this.layoutControlItem28.Control = this.txtAdjaVz;
@@ -1099,14 +1056,53 @@
             this.emptySpaceItem7.Size = new System.Drawing.Size(195, 26);
             this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0);
             // 
-            // lblRes
+            // layoutControlItem16
             // 
-            this.lblRes.Location = new System.Drawing.Point(22, 535);
-            this.lblRes.Name = "lblRes";
-            this.lblRes.Size = new System.Drawing.Size(70, 14);
-            this.lblRes.StyleController = this.layoutControl1;
-            this.lblRes.TabIndex = 28;
-            this.lblRes.Text = "labelControl1";
+            this.layoutControlItem16.Control = this.txtAdjaZ;
+            this.layoutControlItem16.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem16.CustomizationFormText = "轨道经度";
+            this.layoutControlItem16.Location = new System.Drawing.Point(390, 352);
+            this.layoutControlItem16.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem16.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem16.Name = "layoutControlItem16";
+            this.layoutControlItem16.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem16.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem16.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem16.Text = "邻星星历Z";
+            this.layoutControlItem16.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem16.TextSize = new System.Drawing.Size(79, 14);
+            // 
+            // layoutControlItem22
+            // 
+            this.layoutControlItem22.Control = this.txtAdjaXl;
+            this.layoutControlItem22.Location = new System.Drawing.Point(390, 454);
+            this.layoutControlItem22.Name = "layoutControlItem22";
+            this.layoutControlItem22.Size = new System.Drawing.Size(195, 26);
+            this.layoutControlItem22.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem22.TextVisible = false;
+            // 
+            // layoutControlItem17
+            // 
+            this.layoutControlItem17.Control = this.btnOK;
+            this.layoutControlItem17.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem17.CustomizationFormText = "layoutControlItem1";
+            this.layoutControlItem17.Location = new System.Drawing.Point(239, 480);
+            this.layoutControlItem17.Name = "layoutControlItem17";
+            this.layoutControlItem17.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
+            this.layoutControlItem17.Size = new System.Drawing.Size(346, 33);
+            this.layoutControlItem17.Text = "layoutControlItem1";
+            this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem17.TextVisible = false;
+            // 
+            // layoutControlItem25
+            // 
+            this.layoutControlItem25.Control = this.txtMainVz;
+            this.layoutControlItem25.Location = new System.Drawing.Point(390, 285);
+            this.layoutControlItem25.Name = "layoutControlItem25";
+            this.layoutControlItem25.Size = new System.Drawing.Size(195, 41);
+            this.layoutControlItem25.Text = "主星星历Vz";
+            this.layoutControlItem25.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem25.TextSize = new System.Drawing.Size(79, 14);
             // 
             // layoutControlItem29
             // 
@@ -1117,6 +1113,10 @@
             this.layoutControlItem29.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem29.TextVisible = false;
             // 
+            // dxErrorProvider
+            // 
+            this.dxErrorProvider.ContainerControl = this;
+            // 
             // X2PosParamEditor
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
@@ -1140,6 +1140,19 @@
             ((System.ComponentModel.ISupportInitialize)(this.txtAdjaX.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtAdjaY.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtAdjaZ.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDfo.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqUp.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqDown.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbMainDfo.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbAdjaDfo.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqDown.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqUp.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainVx.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainVy.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainVz.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVx.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVy.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVz.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
@@ -1148,49 +1161,36 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtDfo.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqUp.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTarFreqDown.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtYbMainDfo.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtYbAdjaDfo.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqDown.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtRefFreqUp.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainVx.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainVy.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainVz.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVx.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVy.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaVz.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).EndInit();
             this.ResumeLayout(false);
 
         }

+ 48 - 6
XdCxRhDW.App/EditForms/X2PosParamEditor.cs

@@ -162,7 +162,16 @@ namespace XdCxRhDW.App.EditForms
                 double[] msEph = new double[] { MainX, MainY, MainZ, 0, 0, 0 };
                 double[] Ns1Eph = new double[] { AdjaX, AdjaY, AdjaZ, 0, 0, 0 };
 
-                X2DtoDfoPosDto X2DtoDfoPos = new X2DtoDfoPosDto()
+                var StationRes = new StationRes()
+                {
+                    SatTxLon = MsAnt[0],
+                    SatTxLat = MsAnt[1],
+                    RefLon = RefGeod[0],
+                    RefLat = RefGeod[1],
+                };
+
+
+                X2DtoDfoPosDto dto = new X2DtoDfoPosDto()
                 {
                     SigTime = sigTime,
                     MainCode = mainSat,
@@ -195,12 +204,45 @@ namespace XdCxRhDW.App.EditForms
                     RefLat = RefGeod[1],
                 };
 
-                string url = string.Format("http://{0}:{1}/Api/Pos/PosX2DtoDfoAsync", IpHelper.GetLocalIp(), settings.HttpPort);
-                var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2DtoDfoPos);
-                if (result.code == 200)
+                var cgRes = new CgRes()
                 {
-                    lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
-                }
+                    SigTime = dto.SigTime,
+                    Dto1 = dto.Dto,
+                    Dfo1 = dto.Dfo,
+                    Snr1 = dto.Snr,
+                    YbMainDto = dto.YbMainDto,
+                    YbAdja1Dto = dto.YbAdjaDto,
+                    YbMainDfo = dto.YbMainDfo,
+                    YbAdja1Dfo = dto.YbAdjaDfo,
+                    TarFreqUp = dto.TarFreqUp,
+                    TarFreqDown = dto.TarFreqDown,
+                    RefFreqUp = dto.RefFreqUp,
+                    RefFreqDown = dto.RefFreqDown,
+                   // StationResID = StationRes.ID,
+                    MainCode = dto.MainCode,
+                    Adja1Code = dto.AdjaCode,
+                   // TaskID = runTask.ID,
+                    MainX = dto.MainX,
+                    MainY = dto.MainY,
+                    MainZ = dto.MainZ,
+                    MainVx = dto.MainVx,
+                    MainVy = dto.MainVy,
+                    MainVz = dto.MainVz,
+                    Adja1X = dto.AdjaX,
+                    Adja1Y = dto.AdjaY,
+                    Adja1Z = dto.AdjaZ,
+                    Adja1Vx = dto.AdjaVx,
+                    Adja1Vy = dto.AdjaVy,
+                    Adja1Vz = dto.AdjaVz,
+                };
+                var res = PosApi.X2_PosDtoDfo(cgRes, StationRes);
+                this.lblRes.Text = $"{info.PosResType.GetEnumDisplayName()}定位点:[{res[0]:f3},{res[1]:f3}] 镜像点:[{res[3]:f3},{res[4]:f3}]";
+                //string url = string.Format("http://{0}:{1}/Api/Pos/PosX2DtoDfoAsync", IpHelper.GetLocalIp(), settings.HttpPort);
+                //var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2DtoDfoPos);
+                //if (result.code == 200)
+                //{
+                //    lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
+                //}
             }
 
             catch (Exception ex)