wyq il y a 2 ans
Parent
commit
c1fdc14283

BIN
XdCxRhDW.Api/AddIns/频差推算/DLL_DTF.dll


+ 43 - 0
XdCxRhDW.Api/AddIns/频差推算/DfoCalcAPI.cs

@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Runtime.InteropServices;
+using System.Text;
+using System.Threading.Tasks;
+using XdCxRhDW.Entity;
+
+namespace XdCxRhDW.Api.AddIns
+{
+
+    /// <summary>
+    /// 频差值推算接口
+    /// </summary>
+    public static class DfoCalcAPI
+    {
+        //频差推算算法(用于频差预测调用)
+        private const string dfoDll = @"AddIns\频差推算\DLL_DTF.dll";
+
+        /// <summary>
+        /// 频差预测
+        /// </summary>
+        /// <param name="target_llh">目标位置(3)</param>
+        /// <param name="main_sat">星历位置(6)</param>
+        /// <param name="fu">上行频点(Hz)</param>
+        /// <returns></returns>
+        [DllImport(dfoDll, EntryPoint = "CFO_Comput", CallingConvention = CallingConvention.Cdecl)]//频差预测
+        private extern static double CFO_Comput(double[] target_llh, double[] main_sat, double fu);
+
+
+        /// <summary>
+        /// 频差预测
+        /// </summary>
+        /// <param name="targetPos"></param>
+        /// <param name="satEph"></param>
+        /// <param name="fuHz"></param>
+        /// <returns></returns>
+        public static double DfoCalc(double[] targetPos, double[] satEph, double fuHz)
+        {
+            return CFO_Comput(targetPos, satEph, fuHz);
+        }
+    }
+}

+ 6 - 0
XdCxRhDW.Api/AddIns/频差推算/新建文本文档.txt

@@ -0,0 +1,6 @@
+extern "C"
+{
+	__declspec(dllexport)  double DTO_Comput(double* target_llh, double* rec_llh1, double* rec_llh2, double* main_sat_pos, double* neigh_sat_pos);
+	__declspec(dllexport)   double DFO_Comput(double* target_llh, double* rec_llh1, double* rec_llh2, double* main_sat, double* neigh_sat, double fu, double fd);
+	__declspec(dllexport)  double CFO_Comput(double* target_llh, double* main_sat, double fu);
+	

+ 5 - 0
XdCxRhDW.Api/XdCxRhDW.Api.csproj

@@ -57,6 +57,7 @@
     <Compile Include="AddIns\低轨\LeoErrorEllipseHelper.cs" />
     <Compile Include="AddIns\低轨\LeoPosApi.cs" />
     <Compile Include="AddIns\信号仿真\DataEmulationHelper.cs" />
+    <Compile Include="AddIns\频差推算\DfoCalcAPI.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="AddIns\定位\PosApi.cs" />
     <Compile Include="AddIns\时差线\DrawDtoLineHelper.cs" />
@@ -207,6 +208,10 @@
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
     <None Include="AddIns\信号仿真\SignalEmulation.h" />
+    <Content Include="AddIns\频差推算\DLL_DTF.dll">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="AddIns\频差推算\新建文本文档.txt" />
     <Content Include="AddIns\频差线\Positioning.h" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

+ 856 - 0
XdCxRhDW.App/EditForms/TarDfoCalc.Designer.cs

@@ -0,0 +1,856 @@
+namespace XdCxRhDW.App.EditForms
+{
+    partial class TarDfoCalc
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
+            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.btnOk = new DevExpress.XtraEditors.SimpleButton();
+            this.txtTar = new DevExpress.XtraEditors.TextEdit();
+            this.txtX1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtY1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtZ1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVX1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVY1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVZ1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtX2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtY2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtZ2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVX2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVY2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVZ2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtX21 = new DevExpress.XtraEditors.TextEdit();
+            this.txtY21 = new DevExpress.XtraEditors.TextEdit();
+            this.txtZ21 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVX21 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVY21 = new DevExpress.XtraEditors.TextEdit();
+            this.txtVZ21 = new DevExpress.XtraEditors.TextEdit();
+            this.txtFuMhz = new DevExpress.XtraEditors.ButtonEdit();
+            this.cbPosType = new DevExpress.XtraEditors.ComboBoxEdit();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.txtRes = new DevExpress.XtraLayout.SimpleLabelItem();
+            this.lcX1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcY1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcZ1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVZ1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVX1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVY1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcX2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcY2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcZ2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVX2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVY2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVZ2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcX3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcY3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcZ3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVX3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVY3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.lcVZ3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
+            this.layoutControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txtTar.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX1.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY1.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ1.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVX1.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVY1.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVZ1.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVX2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVY2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVZ2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX21.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY21.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ21.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVX21.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVY21.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVZ21.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtFuMhz.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cbPosType.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRes)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcX1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcY1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcZ1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVZ1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVX1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVY1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcX2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcY2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcZ2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVX2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVY2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVZ2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcX3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcY3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcZ3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVX3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVY3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVZ3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // layoutControl1
+            // 
+            this.layoutControl1.Controls.Add(this.btnOk);
+            this.layoutControl1.Controls.Add(this.txtTar);
+            this.layoutControl1.Controls.Add(this.txtX1);
+            this.layoutControl1.Controls.Add(this.txtY1);
+            this.layoutControl1.Controls.Add(this.txtZ1);
+            this.layoutControl1.Controls.Add(this.txtVX1);
+            this.layoutControl1.Controls.Add(this.txtVY1);
+            this.layoutControl1.Controls.Add(this.txtVZ1);
+            this.layoutControl1.Controls.Add(this.txtX2);
+            this.layoutControl1.Controls.Add(this.txtY2);
+            this.layoutControl1.Controls.Add(this.txtZ2);
+            this.layoutControl1.Controls.Add(this.txtVX2);
+            this.layoutControl1.Controls.Add(this.txtVY2);
+            this.layoutControl1.Controls.Add(this.txtVZ2);
+            this.layoutControl1.Controls.Add(this.txtX21);
+            this.layoutControl1.Controls.Add(this.txtY21);
+            this.layoutControl1.Controls.Add(this.txtZ21);
+            this.layoutControl1.Controls.Add(this.txtVX21);
+            this.layoutControl1.Controls.Add(this.txtVY21);
+            this.layoutControl1.Controls.Add(this.txtVZ21);
+            this.layoutControl1.Controls.Add(this.txtFuMhz);
+            this.layoutControl1.Controls.Add(this.cbPosType);
+            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.layoutControl1.Location = new System.Drawing.Point(0, 0);
+            this.layoutControl1.Name = "layoutControl1";
+            this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(831, 101, 650, 400);
+            this.layoutControl1.Root = this.Root;
+            this.layoutControl1.Size = new System.Drawing.Size(475, 540);
+            this.layoutControl1.TabIndex = 0;
+            this.layoutControl1.Text = "layoutControl1";
+            // 
+            // btnOk
+            // 
+            this.btnOk.Location = new System.Drawing.Point(337, 451);
+            this.btnOk.Name = "btnOk";
+            this.btnOk.Size = new System.Drawing.Size(116, 26);
+            this.btnOk.StyleController = this.layoutControl1;
+            this.btnOk.TabIndex = 8;
+            this.btnOk.Text = "确定";
+            this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
+            // 
+            // txtTar
+            // 
+            this.txtTar.EditValue = "";
+            this.txtTar.Location = new System.Drawing.Point(22, 80);
+            this.txtTar.Name = "txtTar";
+            this.txtTar.Size = new System.Drawing.Size(431, 20);
+            this.txtTar.StyleController = this.layoutControl1;
+            this.txtTar.TabIndex = 9;
+            // 
+            // txtX1
+            // 
+            this.txtX1.EditValue = "-1608418.46";
+            this.txtX1.Location = new System.Drawing.Point(22, 168);
+            this.txtX1.Name = "txtX1";
+            this.txtX1.Size = new System.Drawing.Size(138, 20);
+            this.txtX1.StyleController = this.layoutControl1;
+            this.txtX1.TabIndex = 9;
+            // 
+            // txtY1
+            // 
+            this.txtY1.EditValue = "5994257.60";
+            this.txtY1.Location = new System.Drawing.Point(164, 168);
+            this.txtY1.Name = "txtY1";
+            this.txtY1.Size = new System.Drawing.Size(138, 20);
+            this.txtY1.StyleController = this.layoutControl1;
+            this.txtY1.TabIndex = 9;
+            // 
+            // txtZ1
+            // 
+            this.txtZ1.EditValue = "3139819.89";
+            this.txtZ1.Location = new System.Drawing.Point(306, 168);
+            this.txtZ1.Name = "txtZ1";
+            this.txtZ1.Size = new System.Drawing.Size(147, 20);
+            this.txtZ1.StyleController = this.layoutControl1;
+            this.txtZ1.TabIndex = 9;
+            // 
+            // txtVX1
+            // 
+            this.txtVX1.EditValue = "-6632.8731";
+            this.txtVX1.Location = new System.Drawing.Point(22, 218);
+            this.txtVX1.Name = "txtVX1";
+            this.txtVX1.Size = new System.Drawing.Size(138, 20);
+            this.txtVX1.StyleController = this.layoutControl1;
+            this.txtVX1.TabIndex = 9;
+            // 
+            // txtVY1
+            // 
+            this.txtVY1.EditValue = "-373.9909";
+            this.txtVY1.Location = new System.Drawing.Point(164, 218);
+            this.txtVY1.Name = "txtVY1";
+            this.txtVY1.Size = new System.Drawing.Size(138, 20);
+            this.txtVY1.StyleController = this.layoutControl1;
+            this.txtVY1.TabIndex = 9;
+            // 
+            // txtVZ1
+            // 
+            this.txtVZ1.EditValue = "-2678.2335";
+            this.txtVZ1.Location = new System.Drawing.Point(306, 218);
+            this.txtVZ1.Name = "txtVZ1";
+            this.txtVZ1.Size = new System.Drawing.Size(147, 20);
+            this.txtVZ1.StyleController = this.layoutControl1;
+            this.txtVZ1.TabIndex = 9;
+            // 
+            // txtX2
+            // 
+            this.txtX2.EditValue = "-4629555.87";
+            this.txtX2.Location = new System.Drawing.Point(22, 268);
+            this.txtX2.Name = "txtX2";
+            this.txtX2.Size = new System.Drawing.Size(138, 20);
+            this.txtX2.StyleController = this.layoutControl1;
+            this.txtX2.TabIndex = 9;
+            // 
+            // txtY2
+            // 
+            this.txtY2.EditValue = "4978929.91";
+            this.txtY2.Location = new System.Drawing.Point(164, 268);
+            this.txtY2.Name = "txtY2";
+            this.txtY2.Size = new System.Drawing.Size(138, 20);
+            this.txtY2.StyleController = this.layoutControl1;
+            this.txtY2.TabIndex = 9;
+            // 
+            // txtZ2
+            // 
+            this.txtZ2.EditValue = "1487241.78";
+            this.txtZ2.Location = new System.Drawing.Point(306, 268);
+            this.txtZ2.Name = "txtZ2";
+            this.txtZ2.Size = new System.Drawing.Size(147, 20);
+            this.txtZ2.StyleController = this.layoutControl1;
+            this.txtZ2.TabIndex = 9;
+            // 
+            // txtVX2
+            // 
+            this.txtVX2.EditValue = "-4890.2693";
+            this.txtVX2.Location = new System.Drawing.Point(22, 318);
+            this.txtVX2.Name = "txtVX2";
+            this.txtVX2.Size = new System.Drawing.Size(138, 20);
+            this.txtVX2.StyleController = this.layoutControl1;
+            this.txtVX2.TabIndex = 9;
+            // 
+            // txtVY2
+            // 
+            this.txtVY2.EditValue = "-3337.6709";
+            this.txtVY2.Location = new System.Drawing.Point(164, 318);
+            this.txtVY2.Name = "txtVY2";
+            this.txtVY2.Size = new System.Drawing.Size(138, 20);
+            this.txtVY2.StyleController = this.layoutControl1;
+            this.txtVY2.TabIndex = 9;
+            // 
+            // txtVZ2
+            // 
+            this.txtVZ2.EditValue = "-4031.3087";
+            this.txtVZ2.Location = new System.Drawing.Point(306, 318);
+            this.txtVZ2.Name = "txtVZ2";
+            this.txtVZ2.Size = new System.Drawing.Size(147, 20);
+            this.txtVZ2.StyleController = this.layoutControl1;
+            this.txtVZ2.TabIndex = 9;
+            // 
+            // txtX21
+            // 
+            this.txtX21.EditValue = "-4629555.87";
+            this.txtX21.Location = new System.Drawing.Point(22, 368);
+            this.txtX21.Name = "txtX21";
+            this.txtX21.Size = new System.Drawing.Size(138, 20);
+            this.txtX21.StyleController = this.layoutControl1;
+            this.txtX21.TabIndex = 9;
+            // 
+            // txtY21
+            // 
+            this.txtY21.EditValue = "4978929.91";
+            this.txtY21.Location = new System.Drawing.Point(164, 368);
+            this.txtY21.Name = "txtY21";
+            this.txtY21.Size = new System.Drawing.Size(138, 20);
+            this.txtY21.StyleController = this.layoutControl1;
+            this.txtY21.TabIndex = 9;
+            // 
+            // txtZ21
+            // 
+            this.txtZ21.EditValue = "1487241.78";
+            this.txtZ21.Location = new System.Drawing.Point(306, 368);
+            this.txtZ21.Name = "txtZ21";
+            this.txtZ21.Size = new System.Drawing.Size(147, 20);
+            this.txtZ21.StyleController = this.layoutControl1;
+            this.txtZ21.TabIndex = 9;
+            // 
+            // txtVX21
+            // 
+            this.txtVX21.EditValue = "-4890.2693";
+            this.txtVX21.Location = new System.Drawing.Point(22, 418);
+            this.txtVX21.Name = "txtVX21";
+            this.txtVX21.Size = new System.Drawing.Size(138, 20);
+            this.txtVX21.StyleController = this.layoutControl1;
+            this.txtVX21.TabIndex = 9;
+            // 
+            // txtVY21
+            // 
+            this.txtVY21.EditValue = "-3337.6709";
+            this.txtVY21.Location = new System.Drawing.Point(164, 418);
+            this.txtVY21.Name = "txtVY21";
+            this.txtVY21.Size = new System.Drawing.Size(138, 20);
+            this.txtVY21.StyleController = this.layoutControl1;
+            this.txtVY21.TabIndex = 9;
+            // 
+            // txtVZ21
+            // 
+            this.txtVZ21.EditValue = "-4031.3087";
+            this.txtVZ21.Location = new System.Drawing.Point(306, 418);
+            this.txtVZ21.Name = "txtVZ21";
+            this.txtVZ21.Size = new System.Drawing.Size(147, 20);
+            this.txtVZ21.StyleController = this.layoutControl1;
+            this.txtVZ21.TabIndex = 9;
+            // 
+            // txtFuMhz
+            // 
+            this.txtFuMhz.EditValue = "260";
+            this.txtFuMhz.Location = new System.Drawing.Point(22, 124);
+            this.txtFuMhz.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtFuMhz.Name = "txtFuMhz";
+            this.txtFuMhz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFuMhz.Size = new System.Drawing.Size(431, 20);
+            this.txtFuMhz.StyleController = this.layoutControl1;
+            this.txtFuMhz.TabIndex = 10;
+            // 
+            // cbPosType
+            // 
+            this.cbPosType.Location = new System.Drawing.Point(22, 39);
+            this.cbPosType.MaximumSize = new System.Drawing.Size(0, 20);
+            this.cbPosType.Name = "cbPosType";
+            this.cbPosType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.cbPosType.Size = new System.Drawing.Size(431, 20);
+            this.cbPosType.StyleController = this.layoutControl1;
+            this.cbPosType.TabIndex = 11;
+            this.cbPosType.EditValueChanged += new System.EventHandler(this.cbPosType_EditValueChanged);
+            // 
+            // Root
+            // 
+            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+            this.Root.GroupBordersVisible = false;
+            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+            this.layoutControlItem5,
+            this.layoutControlItem6,
+            this.emptySpaceItem3,
+            this.txtRes,
+            this.lcX1,
+            this.lcY1,
+            this.lcZ1,
+            this.lcVZ1,
+            this.lcVX1,
+            this.lcVY1,
+            this.lcX2,
+            this.lcY2,
+            this.lcZ2,
+            this.lcVX2,
+            this.lcVY2,
+            this.lcVZ2,
+            this.lcX3,
+            this.lcY3,
+            this.lcZ3,
+            this.lcVX3,
+            this.lcVY3,
+            this.lcVZ3,
+            this.layoutControlItem22,
+            this.layoutControlItem7});
+            this.Root.Name = "Root";
+            this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(20, 20, 20, 20);
+            this.Root.Size = new System.Drawing.Size(475, 540);
+            this.Root.TextVisible = false;
+            // 
+            // layoutControlItem5
+            // 
+            this.layoutControlItem5.Control = this.btnOk;
+            this.layoutControlItem5.Location = new System.Drawing.Point(315, 429);
+            this.layoutControlItem5.MaxSize = new System.Drawing.Size(120, 30);
+            this.layoutControlItem5.MinSize = new System.Drawing.Size(120, 30);
+            this.layoutControlItem5.Name = "layoutControlItem5";
+            this.layoutControlItem5.Size = new System.Drawing.Size(120, 30);
+            this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem5.TextVisible = false;
+            // 
+            // layoutControlItem6
+            // 
+            this.layoutControlItem6.Control = this.txtTar;
+            this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem6.CustomizationFormText = "星历X";
+            this.layoutControlItem6.Location = new System.Drawing.Point(0, 41);
+            this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 44);
+            this.layoutControlItem6.MinSize = new System.Drawing.Size(54, 44);
+            this.layoutControlItem6.Name = "layoutControlItem6";
+            this.layoutControlItem6.Size = new System.Drawing.Size(435, 44);
+            this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem6.Text = "目标位置";
+            this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // emptySpaceItem3
+            // 
+            this.emptySpaceItem3.AllowHotTrack = false;
+            this.emptySpaceItem3.Location = new System.Drawing.Point(0, 429);
+            this.emptySpaceItem3.Name = "emptySpaceItem3";
+            this.emptySpaceItem3.Size = new System.Drawing.Size(315, 30);
+            this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // txtRes
+            // 
+            this.txtRes.AllowHotTrack = false;
+            this.txtRes.Location = new System.Drawing.Point(0, 459);
+            this.txtRes.MaxSize = new System.Drawing.Size(0, 26);
+            this.txtRes.MinSize = new System.Drawing.Size(67, 26);
+            this.txtRes.Name = "txtRes";
+            this.txtRes.Size = new System.Drawing.Size(435, 41);
+            this.txtRes.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.txtRes.Text = " ";
+            this.txtRes.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcX1
+            // 
+            this.lcX1.Control = this.txtX1;
+            this.lcX1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcX1.CustomizationFormText = "主星坐标X";
+            this.lcX1.Location = new System.Drawing.Point(0, 129);
+            this.lcX1.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcX1.MinSize = new System.Drawing.Size(54, 50);
+            this.lcX1.Name = "lcX1";
+            this.lcX1.Size = new System.Drawing.Size(142, 50);
+            this.lcX1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcX1.Text = "主星坐标X";
+            this.lcX1.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcX1.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcY1
+            // 
+            this.lcY1.Control = this.txtY1;
+            this.lcY1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcY1.CustomizationFormText = "星历X";
+            this.lcY1.Location = new System.Drawing.Point(142, 129);
+            this.lcY1.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcY1.MinSize = new System.Drawing.Size(54, 50);
+            this.lcY1.Name = "lcY1";
+            this.lcY1.Size = new System.Drawing.Size(142, 50);
+            this.lcY1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcY1.Text = "主星坐标Y";
+            this.lcY1.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcY1.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcZ1
+            // 
+            this.lcZ1.Control = this.txtZ1;
+            this.lcZ1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcZ1.CustomizationFormText = "星历X";
+            this.lcZ1.Location = new System.Drawing.Point(284, 129);
+            this.lcZ1.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcZ1.MinSize = new System.Drawing.Size(54, 50);
+            this.lcZ1.Name = "lcZ1";
+            this.lcZ1.Size = new System.Drawing.Size(151, 50);
+            this.lcZ1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcZ1.Text = "主星坐标Z";
+            this.lcZ1.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcZ1.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVZ1
+            // 
+            this.lcVZ1.Control = this.txtVZ1;
+            this.lcVZ1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVZ1.CustomizationFormText = "星历X";
+            this.lcVZ1.Location = new System.Drawing.Point(284, 179);
+            this.lcVZ1.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVZ1.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVZ1.Name = "lcVZ1";
+            this.lcVZ1.Size = new System.Drawing.Size(151, 50);
+            this.lcVZ1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVZ1.Text = "主星坐标VZ";
+            this.lcVZ1.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVZ1.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVX1
+            // 
+            this.lcVX1.Control = this.txtVX1;
+            this.lcVX1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVX1.CustomizationFormText = "卫星1坐标X";
+            this.lcVX1.Location = new System.Drawing.Point(0, 179);
+            this.lcVX1.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVX1.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVX1.Name = "lcVX1";
+            this.lcVX1.Size = new System.Drawing.Size(142, 50);
+            this.lcVX1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVX1.Text = "主星坐标VX";
+            this.lcVX1.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVX1.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVY1
+            // 
+            this.lcVY1.Control = this.txtVY1;
+            this.lcVY1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVY1.CustomizationFormText = "星历X";
+            this.lcVY1.Location = new System.Drawing.Point(142, 179);
+            this.lcVY1.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVY1.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVY1.Name = "lcVY1";
+            this.lcVY1.Size = new System.Drawing.Size(142, 50);
+            this.lcVY1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVY1.Text = "主星坐标VY";
+            this.lcVY1.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVY1.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcX2
+            // 
+            this.lcX2.Control = this.txtX2;
+            this.lcX2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcX2.CustomizationFormText = "卫星1坐标X";
+            this.lcX2.Location = new System.Drawing.Point(0, 229);
+            this.lcX2.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcX2.MinSize = new System.Drawing.Size(54, 50);
+            this.lcX2.Name = "lcX2";
+            this.lcX2.Size = new System.Drawing.Size(142, 50);
+            this.lcX2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcX2.Text = "邻1星坐标X";
+            this.lcX2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcX2.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcY2
+            // 
+            this.lcY2.Control = this.txtY2;
+            this.lcY2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcY2.CustomizationFormText = "星历X";
+            this.lcY2.Location = new System.Drawing.Point(142, 229);
+            this.lcY2.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcY2.MinSize = new System.Drawing.Size(54, 50);
+            this.lcY2.Name = "lcY2";
+            this.lcY2.Size = new System.Drawing.Size(142, 50);
+            this.lcY2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcY2.Text = "邻1星坐标Y";
+            this.lcY2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcY2.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcZ2
+            // 
+            this.lcZ2.Control = this.txtZ2;
+            this.lcZ2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcZ2.CustomizationFormText = "星历X";
+            this.lcZ2.Location = new System.Drawing.Point(284, 229);
+            this.lcZ2.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcZ2.MinSize = new System.Drawing.Size(54, 50);
+            this.lcZ2.Name = "lcZ2";
+            this.lcZ2.Size = new System.Drawing.Size(151, 50);
+            this.lcZ2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcZ2.Text = "邻1星坐标Z";
+            this.lcZ2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcZ2.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVX2
+            // 
+            this.lcVX2.Control = this.txtVX2;
+            this.lcVX2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVX2.CustomizationFormText = "卫星1坐标X";
+            this.lcVX2.Location = new System.Drawing.Point(0, 279);
+            this.lcVX2.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVX2.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVX2.Name = "lcVX2";
+            this.lcVX2.Size = new System.Drawing.Size(142, 50);
+            this.lcVX2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVX2.Text = "邻1星坐标VX";
+            this.lcVX2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVX2.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVY2
+            // 
+            this.lcVY2.Control = this.txtVY2;
+            this.lcVY2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVY2.CustomizationFormText = "星历X";
+            this.lcVY2.Location = new System.Drawing.Point(142, 279);
+            this.lcVY2.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVY2.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVY2.Name = "lcVY2";
+            this.lcVY2.Size = new System.Drawing.Size(142, 50);
+            this.lcVY2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVY2.Text = "邻1星坐标VY";
+            this.lcVY2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVY2.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVZ2
+            // 
+            this.lcVZ2.Control = this.txtVZ2;
+            this.lcVZ2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVZ2.CustomizationFormText = "星历X";
+            this.lcVZ2.Location = new System.Drawing.Point(284, 279);
+            this.lcVZ2.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVZ2.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVZ2.Name = "lcVZ2";
+            this.lcVZ2.Size = new System.Drawing.Size(151, 50);
+            this.lcVZ2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVZ2.Text = "邻1星坐标VZ";
+            this.lcVZ2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVZ2.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcX3
+            // 
+            this.lcX3.Control = this.txtX21;
+            this.lcX3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcX3.CustomizationFormText = "卫星1坐标X";
+            this.lcX3.Location = new System.Drawing.Point(0, 329);
+            this.lcX3.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcX3.MinSize = new System.Drawing.Size(54, 50);
+            this.lcX3.Name = "lcX3";
+            this.lcX3.Size = new System.Drawing.Size(142, 50);
+            this.lcX3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcX3.Text = "第三时刻主星坐标X";
+            this.lcX3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcX3.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcY3
+            // 
+            this.lcY3.Control = this.txtY21;
+            this.lcY3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcY3.CustomizationFormText = "星历X";
+            this.lcY3.Location = new System.Drawing.Point(142, 329);
+            this.lcY3.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcY3.MinSize = new System.Drawing.Size(54, 50);
+            this.lcY3.Name = "lcY3";
+            this.lcY3.Size = new System.Drawing.Size(142, 50);
+            this.lcY3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcY3.Text = "第三时刻主星坐标Y";
+            this.lcY3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcY3.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcZ3
+            // 
+            this.lcZ3.Control = this.txtZ21;
+            this.lcZ3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcZ3.CustomizationFormText = "星历X";
+            this.lcZ3.Location = new System.Drawing.Point(284, 329);
+            this.lcZ3.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcZ3.MinSize = new System.Drawing.Size(54, 50);
+            this.lcZ3.Name = "lcZ3";
+            this.lcZ3.Size = new System.Drawing.Size(151, 50);
+            this.lcZ3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcZ3.Text = "第三时刻主星坐标Z";
+            this.lcZ3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcZ3.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVX3
+            // 
+            this.lcVX3.Control = this.txtVX21;
+            this.lcVX3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVX3.CustomizationFormText = "卫星1坐标X";
+            this.lcVX3.Location = new System.Drawing.Point(0, 379);
+            this.lcVX3.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVX3.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVX3.Name = "lcVX3";
+            this.lcVX3.Size = new System.Drawing.Size(142, 50);
+            this.lcVX3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVX3.Text = "第三时刻主星坐标VX";
+            this.lcVX3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVX3.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVY3
+            // 
+            this.lcVY3.Control = this.txtVY21;
+            this.lcVY3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVY3.CustomizationFormText = "星历X";
+            this.lcVY3.Location = new System.Drawing.Point(142, 379);
+            this.lcVY3.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVY3.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVY3.Name = "lcVY3";
+            this.lcVY3.Size = new System.Drawing.Size(142, 50);
+            this.lcVY3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVY3.Text = "第三时刻主星坐标VY";
+            this.lcVY3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVY3.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // lcVZ3
+            // 
+            this.lcVZ3.Control = this.txtVZ21;
+            this.lcVZ3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.lcVZ3.CustomizationFormText = "星历X";
+            this.lcVZ3.Location = new System.Drawing.Point(284, 379);
+            this.lcVZ3.MaxSize = new System.Drawing.Size(0, 50);
+            this.lcVZ3.MinSize = new System.Drawing.Size(54, 50);
+            this.lcVZ3.Name = "lcVZ3";
+            this.lcVZ3.Size = new System.Drawing.Size(151, 50);
+            this.lcVZ3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.lcVZ3.Text = "第三时刻主星坐标VZ";
+            this.lcVZ3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.lcVZ3.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // layoutControlItem22
+            // 
+            this.layoutControlItem22.Control = this.txtFuMhz;
+            this.layoutControlItem22.Location = new System.Drawing.Point(0, 85);
+            this.layoutControlItem22.Name = "layoutControlItem22";
+            this.layoutControlItem22.Size = new System.Drawing.Size(435, 44);
+            this.layoutControlItem22.Text = "下行频点";
+            this.layoutControlItem22.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem22.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // layoutControlItem7
+            // 
+            this.layoutControlItem7.Control = this.cbPosType;
+            this.layoutControlItem7.Location = new System.Drawing.Point(0, 0);
+            this.layoutControlItem7.Name = "layoutControlItem7";
+            this.layoutControlItem7.Size = new System.Drawing.Size(435, 41);
+            this.layoutControlItem7.Text = "定位类型";
+            this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(112, 14);
+            // 
+            // TarDfoCalc
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(475, 540);
+            this.Controls.Add(this.layoutControl1);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+            this.Name = "TarDfoCalc";
+            this.Text = "频差预测";
+            this.Load += new System.EventHandler(this.TarDfoCalc_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
+            this.layoutControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txtTar.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVX1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVY1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVZ1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVX2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVY2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVZ2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX21.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY21.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ21.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVX21.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVY21.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtVZ21.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtFuMhz.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cbPosType.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRes)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcX1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcY1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcZ1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVZ1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVX1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVY1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcX2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcY2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcZ2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVX2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVY2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVZ2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcX3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcY3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcZ3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVX3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVY3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.lcVZ3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private DevExpress.XtraLayout.LayoutControl layoutControl1;
+        private DevExpress.XtraLayout.LayoutControlGroup Root;
+        private DevExpress.XtraEditors.SimpleButton btnOk;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+        private DevExpress.XtraEditors.TextEdit txtTar;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
+        private DevExpress.XtraLayout.SimpleLabelItem txtRes;
+        private DevExpress.XtraEditors.TextEdit txtX1;
+        private DevExpress.XtraEditors.TextEdit txtY1;
+        private DevExpress.XtraEditors.TextEdit txtZ1;
+        private DevExpress.XtraEditors.TextEdit txtVX1;
+        private DevExpress.XtraEditors.TextEdit txtVY1;
+        private DevExpress.XtraEditors.TextEdit txtVZ1;
+        private DevExpress.XtraEditors.TextEdit txtX2;
+        private DevExpress.XtraEditors.TextEdit txtY2;
+        private DevExpress.XtraEditors.TextEdit txtZ2;
+        private DevExpress.XtraLayout.LayoutControlItem lcX1;
+        private DevExpress.XtraLayout.LayoutControlItem lcY1;
+        private DevExpress.XtraLayout.LayoutControlItem lcZ1;
+        private DevExpress.XtraLayout.LayoutControlItem lcVZ1;
+        private DevExpress.XtraLayout.LayoutControlItem lcVX1;
+        private DevExpress.XtraLayout.LayoutControlItem lcVY1;
+        private DevExpress.XtraLayout.LayoutControlItem lcX2;
+        private DevExpress.XtraLayout.LayoutControlItem lcY2;
+        private DevExpress.XtraLayout.LayoutControlItem lcZ2;
+        private DevExpress.XtraEditors.TextEdit txtVX2;
+        private DevExpress.XtraEditors.TextEdit txtVY2;
+        private DevExpress.XtraEditors.TextEdit txtVZ2;
+        private DevExpress.XtraLayout.LayoutControlItem lcVX2;
+        private DevExpress.XtraLayout.LayoutControlItem lcVY2;
+        private DevExpress.XtraLayout.LayoutControlItem lcVZ2;
+        private DevExpress.XtraEditors.TextEdit txtX21;
+        private DevExpress.XtraEditors.TextEdit txtY21;
+        private DevExpress.XtraEditors.TextEdit txtZ21;
+        private DevExpress.XtraEditors.TextEdit txtVX21;
+        private DevExpress.XtraEditors.TextEdit txtVY21;
+        private DevExpress.XtraEditors.TextEdit txtVZ21;
+        private DevExpress.XtraLayout.LayoutControlItem lcX3;
+        private DevExpress.XtraLayout.LayoutControlItem lcY3;
+        private DevExpress.XtraLayout.LayoutControlItem lcZ3;
+        private DevExpress.XtraLayout.LayoutControlItem lcVX3;
+        private DevExpress.XtraLayout.LayoutControlItem lcVY3;
+        private DevExpress.XtraLayout.LayoutControlItem lcVZ3;
+        private DevExpress.XtraEditors.ButtonEdit txtFuMhz;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem22;
+        private DevExpress.XtraEditors.ComboBoxEdit cbPosType;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
+    }
+}

+ 213 - 0
XdCxRhDW.App/EditForms/TarDfoCalc.cs

@@ -0,0 +1,213 @@
+using DevExpress.XtraEditors;
+using DevExpress.XtraEditors.Controls;
+using ExtensionsDev;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Data.Entity;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Documents;
+using System.Windows.Forms;
+using System.Windows.Input;
+using XdCxRhDW.Api;
+using XdCxRhDW.Api.AddIns;
+using XdCxRhDW.Entity;
+using XdCxRhDW.Repostory;
+
+namespace XdCxRhDW.App.EditForms
+{
+    public partial class TarDfoCalc : DevExpress.XtraEditors.XtraForm
+    {
+        public TarDfoCalc()
+        {
+            InitializeComponent();
+            this.layoutControl1.UseDefault();
+            this.StartPosition = FormStartPosition.CenterParent;
+        }
+        public TarDfoCalc(double lon, double lat)
+            : this()
+        {
+            this.txtTar.Text = $"{lon:f3},{lat:f3}";
+        }
+        private void TarDfoCalc_Load(object sender, EventArgs e)
+        {
+            this.cbPosType.Properties.Items.Add(new RadioGroupItem((int)EnumPosType.X1Leo, EnumPosType.X1Leo.GetEnumDisplayName()));
+            this.cbPosType.Properties.Items.Add(new RadioGroupItem((int)EnumPosType.X2Leo, EnumPosType.X2Leo.GetEnumDisplayName()));
+            this.cbPosType.SelectedIndex = 0;
+        }
+        private void cbPosType_EditValueChanged(object sender, EventArgs e)
+        {
+            var editvalue = cbPosType.EditValue as RadioGroupItem;
+            var posType = (EnumPosType)editvalue.Value;
+            if (posType == EnumPosType.X1Leo)
+            {
+                var time1SatInfo = "1234,-1608416.82,5994263.83,3139842.12,-6632.9542,-373.9141,-2678.0471";
+                var time2SatInfo = "1234,-3479304.94,5612482.70,2187901.77,-5784.2167,-2163.5059,-3632.7021";
+                var time3SatInfo = "1234,-5018683.88,4714452.40,1001435.81,-4399.2159,-3780.5070,-4206.3348";
+                this.lcX1.Text = "第一时刻主星坐标X";
+                this.lcY1.Text = "第一时刻主星坐标Y";
+                this.lcZ1.Text = "第一时刻主星坐标Z";
+                this.lcVX1.Text = "第一时刻主星坐标VX";
+                this.lcVY1.Text = "第一时刻主星坐标VY";
+                this.lcVZ1.Text = "第一时刻主星坐标VZ";
+
+                this.lcX2.Text = "第二时刻主星坐标X";
+                this.lcY2.Text = "第二时刻主星坐标Y";
+                this.lcZ2.Text = "第二时刻主星坐标Z";
+                this.lcVX2.Text = "第二时刻主星坐标VX";
+                this.lcVY2.Text = "第二时刻主星坐标VY";
+                this.lcVZ2.Text = "第二时刻主星坐标VZ";
+
+
+                var t1 = time1SatInfo.Split(',');
+                int idx = 0;
+                txtX1.EditValue = t1[++idx];
+                txtY1.EditValue = t1[++idx];
+                txtZ1.EditValue = t1[++idx];
+                txtVX1.EditValue = t1[++idx];
+                txtVY1.EditValue = t1[++idx];
+                txtVZ1.EditValue = t1[++idx];
+
+                var t2 = time2SatInfo.Split(',');
+                idx = 0;
+                txtX2.EditValue = t2[++idx];
+                txtY2.EditValue = t2[++idx];
+                txtZ2.EditValue = t2[++idx];
+                txtVX2.EditValue = t2[++idx];
+                txtVY2.EditValue = t2[++idx];
+                txtVZ2.EditValue = t2[++idx];
+
+
+                var t3= time3SatInfo.Split(',');
+                idx = 0;
+                txtX21.EditValue = t3[++idx];
+                txtY21.EditValue = t3[++idx];
+                txtZ21.EditValue = t3[++idx];
+                txtVX21.EditValue = t3[++idx];
+                txtVY21.EditValue = t3[++idx];
+                txtVZ21.EditValue = t3[++idx];
+
+                this.lcX3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
+                this.lcY3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
+                this.lcZ3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
+                this.lcVX3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
+                this.lcVY3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
+                this.lcVZ3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
+            }
+            else if (posType == EnumPosType.X2Leo)
+            {
+                string mainSatInfo = "23467,-1608418.46,5994257.60,3139819.89,-6632.8731,-373.9909,-2678.2335";
+                string adja1SatInfo = "40892,-4629555.87,4978929.91,1487241.78,-4890.2693,-3337.6709,-4031.3087";
+                this.lcX1.Text = "主星坐标X";
+                this.lcY1.Text = "主星坐标Y";
+                this.lcZ1.Text = "主星坐标Z";
+                this.lcVX1.Text = "主星坐标VX";
+                this.lcVY1.Text = "主星坐标VY";
+                this.lcVZ1.Text = "主星坐标VZ";
+
+                this.lcX2.Text = "邻星坐标X";
+                this.lcY2.Text = "邻星坐标Y";
+                this.lcZ2.Text = "邻星坐标Z";
+                this.lcVX2.Text = "邻星坐标VX";
+                this.lcVY2.Text = "邻星坐标VY";
+                this.lcVZ2.Text = "邻星坐标VZ";
+
+                var main = mainSatInfo.Split(',');
+                int idx = 0;
+                txtX1.EditValue = main[++idx];
+                txtY1.EditValue = main[++idx];
+                txtZ1.EditValue = main[++idx];
+                txtVX1.EditValue = main[++idx];
+                txtVY1.EditValue = main[++idx];
+                txtVZ1.EditValue = main[++idx];
+
+                var adja = adja1SatInfo.Split(',');
+                idx = 0;
+                txtX2.EditValue = adja[++idx];
+                txtY2.EditValue = adja[++idx];
+                txtZ2.EditValue = adja[++idx];
+                txtVX2.EditValue = adja[++idx];
+                txtVY2.EditValue = adja[++idx];
+                txtVZ2.EditValue = adja[++idx];
+                this.lcX3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+                this.lcY3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+                this.lcZ3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+                this.lcVX3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+                this.lcVY3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+                this.lcVZ3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+
+
+            }
+
+
+            this.layoutControl1.BestFit();
+        }
+        private async void btnOk_Click(object sender, EventArgs e)
+        {
+            try
+            {
+
+
+                var strTar = txtTar.Text.Replace(",", ",");
+                var fuHz = (Convert.ToDouble(txtFuMhz.Text)+44) * 1e6;
+                double lon = Convert.ToDouble(strTar.Split(",".ToCharArray(), StringSplitOptions.RemoveEmptyEntries)[0]);
+                double lat = Convert.ToDouble(strTar.Split(",".ToCharArray(), StringSplitOptions.RemoveEmptyEntries)[1]);
+
+                double x1 = Convert.ToDouble(txtX1.Text);
+                double y1 = Convert.ToDouble(txtY1.Text);
+                double z1 = Convert.ToDouble(txtZ1.Text);
+                double vx1 = Convert.ToDouble(txtVX1.Text);
+                double vy1 = Convert.ToDouble(txtVY1.Text);
+                double vz1 = Convert.ToDouble(txtVZ1.Text);
+
+                double[] ephX1 = new double[6] { x1, y1, z1, vx1, vy1, vz1 };
+                double x2 = Convert.ToDouble(txtX2.Text);
+                double y2 = Convert.ToDouble(txtY2.Text);
+                double z2 = Convert.ToDouble(txtZ2.Text);
+                double vx2 = Convert.ToDouble(txtVX2.Text);
+                double vy2 = Convert.ToDouble(txtVY2.Text);
+                double vz2 = Convert.ToDouble(txtVZ2.Text);
+                double[] ephX2 = new double[6] { x2, y2, z2, vx2, vy2, vz2 };
+
+                double[] targetPos = new double[3] { lon, lat, 0 };
+
+                var df1 = DfoCalcAPI.DfoCalc(targetPos, ephX1, fuHz);
+                var df2 = DfoCalcAPI.DfoCalc(targetPos, ephX2, fuHz);
+
+                var editvalue = cbPosType.EditValue as RadioGroupItem;
+                var posType = (EnumPosType)editvalue.Value;
+                if (posType == EnumPosType.X1Leo)
+                {
+                    double x3 = Convert.ToDouble(txtX21.Text);
+                    double y3 = Convert.ToDouble(txtY21.Text);
+                    double z3 = Convert.ToDouble(txtZ21.Text);
+                    double vx3 = Convert.ToDouble(txtVX21.Text);
+                    double vy3 = Convert.ToDouble(txtVY21.Text);
+                    double vz3 = Convert.ToDouble(txtVZ21.Text);
+                    double[] ephX3 = new double[6] { x3, y3, z3, vx3, vy3, vz3 };
+                    var df3 = DfoCalcAPI.DfoCalc(targetPos, ephX3, fuHz);
+                    this.txtRes.Text = $"第二时刻频差预测值:{df2 - df1:f3}Hz  第三时刻频差预测值:{df3 - df1:f3}Hz";
+                }
+                else if (posType == EnumPosType.X2Leo)
+                {
+                    this.txtRes.Text = $"主邻频差预测值:{df1 - df2:f3}Hz";
+                }
+                
+
+            }
+            catch (Exception ex)
+            {
+                await LogHelper.Error("频差预测出错", ex);
+                DxHelper.MsgBoxHelper.ShowError("频差预测出错");
+            }
+        }
+
+
+    }
+}

+ 120 - 0
XdCxRhDW.App/EditForms/TarDfoCalc.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 164 - 164
XdCxRhDW.App/EditForms/TarDtoDfoCalc.Designer.cs

@@ -29,60 +29,60 @@
         private void InitializeComponent()
         {
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.txtX1 = new DevExpress.XtraEditors.TextEdit();
             this.btnOk = new DevExpress.XtraEditors.SimpleButton();
+            this.txtY1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtZ1 = new DevExpress.XtraEditors.TextEdit();
+            this.txtTar = new DevExpress.XtraEditors.TextEdit();
+            this.txtRec = new DevExpress.XtraEditors.TextEdit();
+            this.txtX2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtY2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtZ2 = new DevExpress.XtraEditors.TextEdit();
+            this.txtX3 = new DevExpress.XtraEditors.TextEdit();
+            this.txtY3 = new DevExpress.XtraEditors.TextEdit();
+            this.txtZ3 = new DevExpress.XtraEditors.TextEdit();
             this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
             this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
-            this.txtX1 = new DevExpress.XtraEditors.TextEdit();
             this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtY1 = new DevExpress.XtraEditors.TextEdit();
-            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtZ1 = new DevExpress.XtraEditors.TextEdit();
-            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtTar = new DevExpress.XtraEditors.TextEdit();
             this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtRec = new DevExpress.XtraEditors.TextEdit();
             this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
             this.txtRes = new DevExpress.XtraLayout.SimpleLabelItem();
-            this.txtY2 = new DevExpress.XtraEditors.TextEdit();
-            this.txtX2 = new DevExpress.XtraEditors.TextEdit();
-            this.txtZ2 = new DevExpress.XtraEditors.TextEdit();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtX3 = new DevExpress.XtraEditors.TextEdit();
-            this.txtY3 = new DevExpress.XtraEditors.TextEdit();
-            this.txtZ3 = new DevExpress.XtraEditors.TextEdit();
             this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
             this.layoutControl1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtX1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtY1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtZ1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtTar.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtRec.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX3.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY3.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ3.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtRes)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtY2.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtX2.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtZ2.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtX3.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtY3.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtZ3.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
@@ -111,6 +111,15 @@
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
+            // txtX1
+            // 
+            this.txtX1.EditValue = "-41891185.7993";
+            this.txtX1.Location = new System.Drawing.Point(22, 139);
+            this.txtX1.Name = "txtX1";
+            this.txtX1.Size = new System.Drawing.Size(141, 20);
+            this.txtX1.StyleController = this.layoutControl1;
+            this.txtX1.TabIndex = 9;
+            // 
             // btnOk
             // 
             this.btnOk.Location = new System.Drawing.Point(337, 296);
@@ -121,6 +130,96 @@
             this.btnOk.Text = "确定";
             this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
             // 
+            // txtY1
+            // 
+            this.txtY1.EditValue = "-2303482.9121";
+            this.txtY1.Location = new System.Drawing.Point(167, 139);
+            this.txtY1.Name = "txtY1";
+            this.txtY1.Size = new System.Drawing.Size(141, 20);
+            this.txtY1.StyleController = this.layoutControl1;
+            this.txtY1.TabIndex = 9;
+            // 
+            // txtZ1
+            // 
+            this.txtZ1.EditValue = "-1007186.7852";
+            this.txtZ1.Location = new System.Drawing.Point(312, 139);
+            this.txtZ1.Name = "txtZ1";
+            this.txtZ1.Size = new System.Drawing.Size(141, 20);
+            this.txtZ1.StyleController = this.layoutControl1;
+            this.txtZ1.TabIndex = 9;
+            // 
+            // txtTar
+            // 
+            this.txtTar.EditValue = "";
+            this.txtTar.Location = new System.Drawing.Point(22, 39);
+            this.txtTar.Name = "txtTar";
+            this.txtTar.Size = new System.Drawing.Size(431, 20);
+            this.txtTar.StyleController = this.layoutControl1;
+            this.txtTar.TabIndex = 9;
+            // 
+            // txtRec
+            // 
+            this.txtRec.EditValue = "";
+            this.txtRec.Location = new System.Drawing.Point(22, 89);
+            this.txtRec.Name = "txtRec";
+            this.txtRec.Size = new System.Drawing.Size(431, 20);
+            this.txtRec.StyleController = this.layoutControl1;
+            this.txtRec.TabIndex = 9;
+            // 
+            // txtX2
+            // 
+            this.txtX2.EditValue = "-38238754.6382";
+            this.txtX2.Location = new System.Drawing.Point(22, 189);
+            this.txtX2.Name = "txtX2";
+            this.txtX2.Size = new System.Drawing.Size(141, 20);
+            this.txtX2.StyleController = this.layoutControl1;
+            this.txtX2.TabIndex = 9;
+            // 
+            // txtY2
+            // 
+            this.txtY2.EditValue = "17791981.2179";
+            this.txtY2.Location = new System.Drawing.Point(167, 189);
+            this.txtY2.Name = "txtY2";
+            this.txtY2.Size = new System.Drawing.Size(141, 20);
+            this.txtY2.StyleController = this.layoutControl1;
+            this.txtY2.TabIndex = 9;
+            // 
+            // txtZ2
+            // 
+            this.txtZ2.EditValue = "-21447.071";
+            this.txtZ2.Location = new System.Drawing.Point(312, 189);
+            this.txtZ2.Name = "txtZ2";
+            this.txtZ2.Size = new System.Drawing.Size(141, 20);
+            this.txtZ2.StyleController = this.layoutControl1;
+            this.txtZ2.TabIndex = 9;
+            // 
+            // txtX3
+            // 
+            this.txtX3.EditValue = "4658230.4522";
+            this.txtX3.Location = new System.Drawing.Point(22, 239);
+            this.txtX3.Name = "txtX3";
+            this.txtX3.Size = new System.Drawing.Size(141, 20);
+            this.txtX3.StyleController = this.layoutControl1;
+            this.txtX3.TabIndex = 9;
+            // 
+            // txtY3
+            // 
+            this.txtY3.EditValue = "41911093.1893";
+            this.txtY3.Location = new System.Drawing.Point(167, 239);
+            this.txtY3.Name = "txtY3";
+            this.txtY3.Size = new System.Drawing.Size(141, 20);
+            this.txtY3.StyleController = this.layoutControl1;
+            this.txtY3.TabIndex = 9;
+            // 
+            // txtZ3
+            // 
+            this.txtZ3.EditValue = "-32337.1851";
+            this.txtZ3.Location = new System.Drawing.Point(312, 239);
+            this.txtZ3.Name = "txtZ3";
+            this.txtZ3.Size = new System.Drawing.Size(141, 20);
+            this.txtZ3.StyleController = this.layoutControl1;
+            this.txtZ3.TabIndex = 9;
+            // 
             // Root
             // 
             this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
@@ -169,15 +268,6 @@
             this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
-            // txtX1
-            // 
-            this.txtX1.EditValue = "-41891185.7993";
-            this.txtX1.Location = new System.Drawing.Point(22, 139);
-            this.txtX1.Name = "txtX1";
-            this.txtX1.Size = new System.Drawing.Size(141, 20);
-            this.txtX1.StyleController = this.layoutControl1;
-            this.txtX1.TabIndex = 9;
-            // 
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.txtX1;
@@ -191,63 +281,6 @@
             this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem1.TextSize = new System.Drawing.Size(63, 14);
             // 
-            // txtY1
-            // 
-            this.txtY1.EditValue = "-2303482.9121";
-            this.txtY1.Location = new System.Drawing.Point(167, 139);
-            this.txtY1.Name = "txtY1";
-            this.txtY1.Size = new System.Drawing.Size(141, 20);
-            this.txtY1.StyleController = this.layoutControl1;
-            this.txtY1.TabIndex = 9;
-            // 
-            // layoutControlItem2
-            // 
-            this.layoutControlItem2.Control = this.txtY1;
-            this.layoutControlItem2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem2.CustomizationFormText = "星历X";
-            this.layoutControlItem2.Location = new System.Drawing.Point(145, 100);
-            this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 50);
-            this.layoutControlItem2.MinSize = new System.Drawing.Size(54, 50);
-            this.layoutControlItem2.Name = "layoutControlItem2";
-            this.layoutControlItem2.Size = new System.Drawing.Size(145, 50);
-            this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem2.Text = "主星坐标Y";
-            this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem2.TextSize = new System.Drawing.Size(63, 14);
-            // 
-            // txtZ1
-            // 
-            this.txtZ1.EditValue = "-1007186.7852";
-            this.txtZ1.Location = new System.Drawing.Point(312, 139);
-            this.txtZ1.Name = "txtZ1";
-            this.txtZ1.Size = new System.Drawing.Size(141, 20);
-            this.txtZ1.StyleController = this.layoutControl1;
-            this.txtZ1.TabIndex = 9;
-            // 
-            // layoutControlItem3
-            // 
-            this.layoutControlItem3.Control = this.txtZ1;
-            this.layoutControlItem3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem3.CustomizationFormText = "星历X";
-            this.layoutControlItem3.Location = new System.Drawing.Point(290, 100);
-            this.layoutControlItem3.MaxSize = new System.Drawing.Size(0, 50);
-            this.layoutControlItem3.MinSize = new System.Drawing.Size(54, 50);
-            this.layoutControlItem3.Name = "layoutControlItem3";
-            this.layoutControlItem3.Size = new System.Drawing.Size(145, 50);
-            this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem3.Text = "主星坐标Z";
-            this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem3.TextSize = new System.Drawing.Size(63, 14);
-            // 
-            // txtTar
-            // 
-            this.txtTar.EditValue = "";
-            this.txtTar.Location = new System.Drawing.Point(22, 39);
-            this.txtTar.Name = "txtTar";
-            this.txtTar.Size = new System.Drawing.Size(431, 20);
-            this.txtTar.StyleController = this.layoutControl1;
-            this.txtTar.TabIndex = 9;
-            // 
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txtTar;
@@ -263,15 +296,6 @@
             this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem6.TextSize = new System.Drawing.Size(63, 14);
             // 
-            // txtRec
-            // 
-            this.txtRec.EditValue = "";
-            this.txtRec.Location = new System.Drawing.Point(22, 89);
-            this.txtRec.Name = "txtRec";
-            this.txtRec.Size = new System.Drawing.Size(431, 20);
-            this.txtRec.StyleController = this.layoutControl1;
-            this.txtRec.TabIndex = 9;
-            // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txtRec;
@@ -307,32 +331,35 @@
             this.txtRes.Text = " ";
             this.txtRes.TextSize = new System.Drawing.Size(63, 14);
             // 
-            // txtY2
-            // 
-            this.txtY2.EditValue = "17791981.2179";
-            this.txtY2.Location = new System.Drawing.Point(167, 189);
-            this.txtY2.Name = "txtY2";
-            this.txtY2.Size = new System.Drawing.Size(141, 20);
-            this.txtY2.StyleController = this.layoutControl1;
-            this.txtY2.TabIndex = 9;
-            // 
-            // txtX2
+            // layoutControlItem2
             // 
-            this.txtX2.EditValue = "-38238754.6382";
-            this.txtX2.Location = new System.Drawing.Point(22, 189);
-            this.txtX2.Name = "txtX2";
-            this.txtX2.Size = new System.Drawing.Size(141, 20);
-            this.txtX2.StyleController = this.layoutControl1;
-            this.txtX2.TabIndex = 9;
+            this.layoutControlItem2.Control = this.txtY1;
+            this.layoutControlItem2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem2.CustomizationFormText = "星历X";
+            this.layoutControlItem2.Location = new System.Drawing.Point(145, 100);
+            this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 50);
+            this.layoutControlItem2.MinSize = new System.Drawing.Size(54, 50);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.Size = new System.Drawing.Size(145, 50);
+            this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem2.Text = "主星坐标Y";
+            this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(63, 14);
             // 
-            // txtZ2
+            // layoutControlItem3
             // 
-            this.txtZ2.EditValue = "-21447.071";
-            this.txtZ2.Location = new System.Drawing.Point(312, 189);
-            this.txtZ2.Name = "txtZ2";
-            this.txtZ2.Size = new System.Drawing.Size(141, 20);
-            this.txtZ2.StyleController = this.layoutControl1;
-            this.txtZ2.TabIndex = 9;
+            this.layoutControlItem3.Control = this.txtZ1;
+            this.layoutControlItem3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem3.CustomizationFormText = "星历X";
+            this.layoutControlItem3.Location = new System.Drawing.Point(290, 100);
+            this.layoutControlItem3.MaxSize = new System.Drawing.Size(0, 50);
+            this.layoutControlItem3.MinSize = new System.Drawing.Size(54, 50);
+            this.layoutControlItem3.Name = "layoutControlItem3";
+            this.layoutControlItem3.Size = new System.Drawing.Size(145, 50);
+            this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem3.Text = "主星坐标Z";
+            this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem3.TextSize = new System.Drawing.Size(63, 14);
             // 
             // layoutControlItem4
             // 
@@ -379,33 +406,6 @@
             this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem9.TextSize = new System.Drawing.Size(63, 14);
             // 
-            // txtX3
-            // 
-            this.txtX3.EditValue = "4658230.4522";
-            this.txtX3.Location = new System.Drawing.Point(22, 239);
-            this.txtX3.Name = "txtX3";
-            this.txtX3.Size = new System.Drawing.Size(141, 20);
-            this.txtX3.StyleController = this.layoutControl1;
-            this.txtX3.TabIndex = 9;
-            // 
-            // txtY3
-            // 
-            this.txtY3.EditValue = "41911093.1893";
-            this.txtY3.Location = new System.Drawing.Point(167, 239);
-            this.txtY3.Name = "txtY3";
-            this.txtY3.Size = new System.Drawing.Size(141, 20);
-            this.txtY3.StyleController = this.layoutControl1;
-            this.txtY3.TabIndex = 9;
-            // 
-            // txtZ3
-            // 
-            this.txtZ3.EditValue = "-32337.1851";
-            this.txtZ3.Location = new System.Drawing.Point(312, 239);
-            this.txtZ3.Name = "txtZ3";
-            this.txtZ3.Size = new System.Drawing.Size(141, 20);
-            this.txtZ3.StyleController = this.layoutControl1;
-            this.txtZ3.TabIndex = 9;
-            // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txtX3;
@@ -463,30 +463,30 @@
             this.Load += new System.EventHandler(this.SatEditor_Load);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtX1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtY1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtZ1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtTar.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtRec.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtX3.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtY3.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtZ3.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtRes)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtY2.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtX2.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtZ2.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtX3.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtY3.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtZ3.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();

+ 6 - 1
XdCxRhDW.App/UserControl/CtrlHome.cs

@@ -117,7 +117,12 @@ namespace XdCxRhDW.App.UserControl
            {
                TarDtoDfoCalc frm = new TarDtoDfoCalc(lon, lat);
                frm.ShowDialog();
-           });
+           })
+           .AddMapMenu("频差预测", SvgHelper.CreateCxLine(), (lon, lat) =>
+            {
+               TarDfoCalc frm = new TarDfoCalc(lon, lat);
+               frm.ShowDialog();
+            });
             if (ConfigurationManager.AppSettings["UseMapCluster"] != null
                 && ConfigurationManager.AppSettings["UseMapCluster"].Trim().ToLower() != "0"
                  && ConfigurationManager.AppSettings["UseMapCluster"].Trim().ToLower() != "false")

+ 9 - 1
XdCxRhDW.App/XdCxRhDW.App.csproj

@@ -200,6 +200,12 @@
     <Compile Include="DxHelper\PopupHelper.cs" />
     <Compile Include="DxHelper\SvgHelper.cs" />
     <Compile Include="DxHelper\WaitHelper.cs" />
+    <Compile Include="EditForms\TarDfoCalc.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="EditForms\TarDfoCalc.Designer.cs">
+      <DependentUpon>TarDfoCalc.cs</DependentUpon>
+    </Compile>
     <Compile Include="EditForms\TarDtoDfoCalc.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -491,6 +497,9 @@
     <EmbeddedResource Include="CorTools\XlCalculateForm.resx">
       <DependentUpon>XlCalculateForm.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="EditForms\TarDfoCalc.resx">
+      <DependentUpon>TarDfoCalc.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="EditForms\TarDtoDfoCalc.resx">
       <DependentUpon>TarDtoDfoCalc.cs</DependentUpon>
     </EmbeddedResource>
@@ -568,7 +577,6 @@
     <EmbeddedResource Include="PopupControl\ShowCxCtrl.resx">
       <DependentUpon>ShowCxCtrl.cs</DependentUpon>
     </EmbeddedResource>
-    <None Include="Properties\licenses.licx" />
     <EmbeddedResource Include="Properties\Resources.resx">
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>