Forráskód Böngészése

修改两星一地byXYZ

wyq 1 éve
szülő
commit
139ada1e0e

+ 42 - 0
XdCxRhDW.Api/AddIns/GDOP误差椭圆/GDOPAPi.cs

@@ -122,6 +122,28 @@ namespace XdCxRhDW.Api
         , double[] level, int levlen, int[] resCount, out IntPtr res, double[] satllh);
 
 
+        ///
+        /// 获取2X1D GDOP
+        /// mainxyz :xyz vx vy vz
+        /// adajxyz :xyz vx vy vz 
+        /// cdbPos: 地面站经度,纬度
+        /// refPos: 参考经度,纬度
+        /// dtousErr: 时差误差
+        /// ephLocErr: 星历位置误差
+        /// level: gdop输出等级
+        /// levlen:level 长度
+        /// resCount:每一级的数据个数
+        /// res :数据
+        /// satllh :卫星位置  长度6
+        /// 返回值:0 成功
+        ///
+        [DllImport(GDOPDll, EntryPoint = "Gdop2Sat1DRefByXyz", CallingConvention = CallingConvention.Cdecl)]
+        public static extern int Gdop2Sat1DRefByXyz(double[] mainxyz, double[] adajxyz, double[] cdbPos
+            , double[] refPos, double dtousErr, double ephLocErr
+            , double[] level, int levlen, int[] resCount, out IntPtr res, double[] satllh);
+
+
+
         ///
         /// 获取2X1D no ref GDOP
         /// mainLines :主星历双行
@@ -142,6 +164,26 @@ namespace XdCxRhDW.Api
             double dtousErr, double ephLocErr
         , double[] level, int levlen, int[] resCount, out IntPtr res, double[] satllh);
 
+
+        ///
+        /// 获取2X1D no ref GDOP
+        /// mainxyz :xyz vx vy vz
+        /// adajxyz :xyz vx vy vz 
+        /// cdbPos: 地面站经度,纬度
+        /// dtousErr: 时差误差
+        /// ephLocErr: 星历位置误差
+        /// level: gdop输出等级
+        /// levlen:level 长度
+        /// resCount:每一级的数据个数
+        /// res :数据
+        /// satllh :卫星位置  长度6
+        /// 返回值:0 成功
+        ///
+        [DllImport(GDOPDll, EntryPoint = "Gdop2Sat1DNoRefByXyz", CallingConvention = CallingConvention.Cdecl)]
+        public static extern int Gdop2Sat1DNoRefByXyz(double[] mainxyz, double[] adajxyz, double[] cdbPos
+            , double dtousErr, double ephLocErr
+            , double[] level, int levlen, int[] resCount, out IntPtr res, double[] satllh);
+
         ///
         /// 获取XD_CX ref GDOP
         /// mainLines :主星历双行

+ 72 - 0
XdCxRhDW.Api/AddIns/GDOP误差椭圆/GdopHelper.cs

@@ -69,6 +69,64 @@ namespace XdCxRhDW.Api
             }
             return (satInfos, errs);
         }
+
+        /// <summary>
+        /// 两星一地GDOP 无参时参考位置不赋值
+        /// </summary>
+        /// <param name="mainEph">主星星历 x y z vx vy vz</param>
+        /// <param name="adajEph">邻星星历x y z vx vy vz</param>
+        /// <param name="cdbPos">超短波位置 3</param>
+        /// <param name="refPos">参考站位置 3</param>
+        /// <param name="dtousErr">时差误差</param>
+        /// <param name="ephLocErr">星历误差</param>
+        /// <param name="refPos"></param>
+        /// <returns></returns>
+        public static (List<MapSatInfo>, List<ErrDistanceMapPoints>) Gdop2Sat1DByXyz(double[] mainEph, double[] adajEph,  double[] cdbPos, double dtousErr, double ephLocErr, double[] refPos = null)
+        {
+            int satCount = 2;
+            //该值和points 一一对应
+            double[] level = GdopParam.误差配置.误差距离m;
+            double[] satllh = new double[satCount * 3];
+
+            IntPtr res = IntPtr.Zero;
+            int[] resCount = new int[level.Length];
+            if (refPos == null || refPos.Length == 0)
+            {
+                GDOPApi.Gdop2Sat1DNoRefByXyz(mainEph, adajEph, cdbPos, dtousErr, ephLocErr, level, level.Length, resCount, out res, satllh);
+
+            }
+            else
+            {
+
+                GDOPApi.Gdop2Sat1DRefByXyz(mainEph, adajEph, cdbPos, refPos, dtousErr, ephLocErr, level, level.Length, resCount, out res, satllh);
+
+            }
+
+
+            IntPtr tmp = res;
+
+            //用于绘制的数据
+            List<double[]> points = new List<double[]>();
+            for (int idx = 0; idx < level.Length; ++idx)
+            {
+                double[] levelval = new double[resCount[idx]];
+                Marshal.Copy(tmp, levelval, 0, resCount[idx]);
+                tmp += (resCount[idx] * sizeof(double));
+                points.Add(levelval);
+            }
+            GDOPApi.FreeGDOPBuf(res);
+            List<MapSatInfo> satInfos = ParseResult(satCount, satllh);
+            List<ErrDistanceMapPoints> errs = new List<ErrDistanceMapPoints>();
+            for (int i = 0; i < points.Count; i++)
+            {
+                if (!points[i].Any()) continue;
+                ErrDistanceMapPoints errDistanceMap = new ErrDistanceMapPoints();
+                errDistanceMap.ErrDistance = level[i];
+                errDistanceMap.MapDots.AddRange(ParseResult(points[i]));
+                errs.Add(errDistanceMap);
+            }
+            return (satInfos, errs);
+        }
         /// <summary>
         /// 一星一地GDOP 
         /// </summary>
@@ -262,7 +320,21 @@ namespace XdCxRhDW.Api
 
         }
 
+        private static List<MapSatInfo> ParseResult(int satCount, double[] satllh)
+        {
+
+            List<MapSatInfo> list = new List<MapSatInfo>();
+            int len = 3;
+            for (int i = 0; i < satCount; i++)
+            {
+                MapSatInfo satInfo = new MapSatInfo();
+                satInfo.SatLon = Convert.ToDouble(satllh[len * i]);
+                satInfo.SatLat = Convert.ToDouble(satllh[len * i + 1]);
+                list.Add(satInfo);
+            }
 
+            return list;
+        }
         private static List<MapSatInfo> ParseResult(int satCount, double[] satllh, params string[] ephLine)
         {
 

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

@@ -311,13 +311,13 @@
             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(642, 561);
+            this.layoutControl1.Size = new System.Drawing.Size(687, 575);
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
             // lblRes
             // 
-            this.lblRes.Location = new System.Drawing.Point(22, 525);
+            this.lblRes.Location = new System.Drawing.Point(22, 535);
             this.lblRes.Name = "lblRes";
             this.lblRes.Size = new System.Drawing.Size(4, 14);
             this.lblRes.StyleController = this.layoutControl1;
@@ -327,7 +327,7 @@
             // txtSigTime
             // 
             this.txtSigTime.EditValue = null;
-            this.txtSigTime.Location = new System.Drawing.Point(412, 35);
+            this.txtSigTime.Location = new System.Drawing.Point(474, 45);
             this.txtSigTime.Name = "txtSigTime";
             this.txtSigTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -344,7 +344,7 @@
             // 
             // txtDtoSx
             // 
-            this.txtDtoSx.Location = new System.Drawing.Point(22, 90);
+            this.txtDtoSx.Location = new System.Drawing.Point(22, 100);
             this.txtDtoSx.Name = "txtDtoSx";
             this.txtDtoSx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -352,26 +352,26 @@
             this.txtDtoSx.Properties.MaskSettings.Set("mask", "f3");
             this.txtDtoSx.Properties.MaxLength = 10;
             this.txtDtoSx.Properties.NullValuePrompt = "必需";
-            this.txtDtoSx.Size = new System.Drawing.Size(191, 23);
+            this.txtDtoSx.Size = new System.Drawing.Size(222, 23);
             this.txtDtoSx.StyleController = this.layoutControl1;
             this.txtDtoSx.TabIndex = 6;
             // 
             // txtYbMain
             // 
-            this.txtYbMain.Location = new System.Drawing.Point(217, 90);
+            this.txtYbMain.Location = new System.Drawing.Point(248, 100);
             this.txtYbMain.Name = "txtYbMain";
             this.txtYbMain.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
             this.txtYbMain.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             this.txtYbMain.Properties.MaskSettings.Set("mask", "f3");
             this.txtYbMain.Properties.MaxLength = 10;
-            this.txtYbMain.Size = new System.Drawing.Size(191, 23);
+            this.txtYbMain.Size = new System.Drawing.Size(222, 23);
             this.txtYbMain.StyleController = this.layoutControl1;
             this.txtYbMain.TabIndex = 6;
             // 
             // txtYbAdja
             // 
-            this.txtYbAdja.Location = new System.Drawing.Point(412, 90);
+            this.txtYbAdja.Location = new System.Drawing.Point(474, 100);
             this.txtYbAdja.Name = "txtYbAdja";
             this.txtYbAdja.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -385,11 +385,11 @@
             // txtsatStation
             // 
             this.txtsatStation.EditValue = "";
-            this.txtsatStation.Location = new System.Drawing.Point(22, 35);
+            this.txtsatStation.Location = new System.Drawing.Point(22, 45);
             this.txtsatStation.Name = "txtsatStation";
             this.txtsatStation.Properties.AutoHeight = false;
             this.txtsatStation.Properties.MaxLength = 20;
-            this.txtsatStation.Size = new System.Drawing.Size(191, 20);
+            this.txtsatStation.Size = new System.Drawing.Size(222, 20);
             this.txtsatStation.StyleController = this.layoutControl1;
             this.txtsatStation.TabIndex = 10;
             this.txtsatStation.ToolTip = "经度纬度之间用英文逗号隔开";
@@ -397,18 +397,18 @@
             // txtRefLocation
             // 
             this.txtRefLocation.EditValue = "";
-            this.txtRefLocation.Location = new System.Drawing.Point(217, 35);
+            this.txtRefLocation.Location = new System.Drawing.Point(248, 45);
             this.txtRefLocation.Name = "txtRefLocation";
             this.txtRefLocation.Properties.AutoHeight = false;
             this.txtRefLocation.Properties.MaxLength = 20;
-            this.txtRefLocation.Size = new System.Drawing.Size(191, 20);
+            this.txtRefLocation.Size = new System.Drawing.Size(222, 20);
             this.txtRefLocation.StyleController = this.layoutControl1;
             this.txtRefLocation.TabIndex = 10;
             this.txtRefLocation.ToolTip = "经度纬度之间用英文逗号隔开";
             // 
             // txtMainX
             // 
-            this.txtMainX.Location = new System.Drawing.Point(22, 273);
+            this.txtMainX.Location = new System.Drawing.Point(22, 283);
             this.txtMainX.Name = "txtMainX";
             this.txtMainX.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -416,13 +416,13 @@
             this.txtMainX.Properties.MaskSettings.Set("mask", "f3");
             this.txtMainX.Properties.MaxLength = 10;
             this.txtMainX.Properties.NullValuePrompt = "必需";
-            this.txtMainX.Size = new System.Drawing.Size(191, 20);
+            this.txtMainX.Size = new System.Drawing.Size(222, 20);
             this.txtMainX.StyleController = this.layoutControl1;
             this.txtMainX.TabIndex = 6;
             // 
             // txtMainY
             // 
-            this.txtMainY.Location = new System.Drawing.Point(217, 273);
+            this.txtMainY.Location = new System.Drawing.Point(248, 283);
             this.txtMainY.Name = "txtMainY";
             this.txtMainY.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -430,13 +430,13 @@
             this.txtMainY.Properties.MaskSettings.Set("mask", "f3");
             this.txtMainY.Properties.MaxLength = 10;
             this.txtMainY.Properties.NullValuePrompt = "必需";
-            this.txtMainY.Size = new System.Drawing.Size(191, 20);
+            this.txtMainY.Size = new System.Drawing.Size(222, 20);
             this.txtMainY.StyleController = this.layoutControl1;
             this.txtMainY.TabIndex = 6;
             // 
             // txtMainZ
             // 
-            this.txtMainZ.Location = new System.Drawing.Point(412, 273);
+            this.txtMainZ.Location = new System.Drawing.Point(474, 283);
             this.txtMainZ.Name = "txtMainZ";
             this.txtMainZ.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -450,7 +450,7 @@
             // 
             // txtAdjaX
             // 
-            this.txtAdjaX.Location = new System.Drawing.Point(22, 391);
+            this.txtAdjaX.Location = new System.Drawing.Point(22, 401);
             this.txtAdjaX.Name = "txtAdjaX";
             this.txtAdjaX.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -458,13 +458,13 @@
             this.txtAdjaX.Properties.MaskSettings.Set("mask", "f3");
             this.txtAdjaX.Properties.MaxLength = 10;
             this.txtAdjaX.Properties.NullValuePrompt = "必需";
-            this.txtAdjaX.Size = new System.Drawing.Size(191, 20);
+            this.txtAdjaX.Size = new System.Drawing.Size(222, 20);
             this.txtAdjaX.StyleController = this.layoutControl1;
             this.txtAdjaX.TabIndex = 6;
             // 
             // txtAdjaY
             // 
-            this.txtAdjaY.Location = new System.Drawing.Point(217, 391);
+            this.txtAdjaY.Location = new System.Drawing.Point(248, 401);
             this.txtAdjaY.Name = "txtAdjaY";
             this.txtAdjaY.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions8, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject29, serializableAppearanceObject30, serializableAppearanceObject31, serializableAppearanceObject32, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -472,13 +472,13 @@
             this.txtAdjaY.Properties.MaskSettings.Set("mask", "f3");
             this.txtAdjaY.Properties.MaxLength = 10;
             this.txtAdjaY.Properties.NullValuePrompt = "必需";
-            this.txtAdjaY.Size = new System.Drawing.Size(191, 20);
+            this.txtAdjaY.Size = new System.Drawing.Size(222, 20);
             this.txtAdjaY.StyleController = this.layoutControl1;
             this.txtAdjaY.TabIndex = 6;
             // 
             // txtAdjaZ
             // 
-            this.txtAdjaZ.Location = new System.Drawing.Point(412, 391);
+            this.txtAdjaZ.Location = new System.Drawing.Point(474, 401);
             this.txtAdjaZ.Name = "txtAdjaZ";
             this.txtAdjaZ.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions9, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject33, serializableAppearanceObject34, serializableAppearanceObject35, serializableAppearanceObject36, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -492,7 +492,7 @@
             // 
             // btnOK
             // 
-            this.btnOK.Location = new System.Drawing.Point(412, 499);
+            this.btnOK.Location = new System.Drawing.Point(474, 509);
             this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnOK.Name = "btnOK";
             this.btnOK.Size = new System.Drawing.Size(191, 22);
@@ -503,47 +503,47 @@
             // 
             // txtDfo
             // 
-            this.txtDfo.Location = new System.Drawing.Point(22, 131);
+            this.txtDfo.Location = new System.Drawing.Point(22, 141);
             this.txtDfo.Name = "txtDfo";
             this.txtDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions10, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject37, serializableAppearanceObject38, serializableAppearanceObject39, serializableAppearanceObject40, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDfo.Size = new System.Drawing.Size(191, 23);
+            this.txtDfo.Size = new System.Drawing.Size(222, 23);
             this.txtDfo.StyleController = this.layoutControl1;
             this.txtDfo.TabIndex = 13;
             // 
             // txtTarFreqUp
             // 
-            this.txtTarFreqUp.Location = new System.Drawing.Point(22, 175);
+            this.txtTarFreqUp.Location = new System.Drawing.Point(22, 185);
             this.txtTarFreqUp.Name = "txtTarFreqUp";
             this.txtTarFreqUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions11, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject41, serializableAppearanceObject42, serializableAppearanceObject43, serializableAppearanceObject44, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtTarFreqUp.Size = new System.Drawing.Size(191, 23);
+            this.txtTarFreqUp.Size = new System.Drawing.Size(222, 23);
             this.txtTarFreqUp.StyleController = this.layoutControl1;
             this.txtTarFreqUp.TabIndex = 14;
             // 
             // txtTarFreqDown
             // 
-            this.txtTarFreqDown.Location = new System.Drawing.Point(217, 175);
+            this.txtTarFreqDown.Location = new System.Drawing.Point(248, 185);
             this.txtTarFreqDown.Name = "txtTarFreqDown";
             this.txtTarFreqDown.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions12, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject45, serializableAppearanceObject46, serializableAppearanceObject47, serializableAppearanceObject48, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtTarFreqDown.Size = new System.Drawing.Size(191, 23);
+            this.txtTarFreqDown.Size = new System.Drawing.Size(222, 23);
             this.txtTarFreqDown.StyleController = this.layoutControl1;
             this.txtTarFreqDown.TabIndex = 15;
             // 
             // txtYbMainDfo
             // 
-            this.txtYbMainDfo.Location = new System.Drawing.Point(217, 131);
+            this.txtYbMainDfo.Location = new System.Drawing.Point(248, 141);
             this.txtYbMainDfo.Name = "txtYbMainDfo";
             this.txtYbMainDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions13, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject49, serializableAppearanceObject50, serializableAppearanceObject51, serializableAppearanceObject52, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtYbMainDfo.Size = new System.Drawing.Size(191, 23);
+            this.txtYbMainDfo.Size = new System.Drawing.Size(222, 23);
             this.txtYbMainDfo.StyleController = this.layoutControl1;
             this.txtYbMainDfo.TabIndex = 16;
             // 
             // txtYbAdjaDfo
             // 
-            this.txtYbAdjaDfo.Location = new System.Drawing.Point(412, 131);
+            this.txtYbAdjaDfo.Location = new System.Drawing.Point(474, 141);
             this.txtYbAdjaDfo.Name = "txtYbAdjaDfo";
             this.txtYbAdjaDfo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions14, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject53, serializableAppearanceObject54, serializableAppearanceObject55, serializableAppearanceObject56, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -553,27 +553,27 @@
             // 
             // txtRefFreqDown
             // 
-            this.txtRefFreqDown.Location = new System.Drawing.Point(217, 219);
+            this.txtRefFreqDown.Location = new System.Drawing.Point(248, 229);
             this.txtRefFreqDown.Name = "txtRefFreqDown";
             this.txtRefFreqDown.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions15, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject57, serializableAppearanceObject58, serializableAppearanceObject59, serializableAppearanceObject60, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtRefFreqDown.Size = new System.Drawing.Size(191, 23);
+            this.txtRefFreqDown.Size = new System.Drawing.Size(222, 23);
             this.txtRefFreqDown.StyleController = this.layoutControl1;
             this.txtRefFreqDown.TabIndex = 18;
             // 
             // txtRefFreqUp
             // 
-            this.txtRefFreqUp.Location = new System.Drawing.Point(22, 219);
+            this.txtRefFreqUp.Location = new System.Drawing.Point(22, 229);
             this.txtRefFreqUp.Name = "txtRefFreqUp";
             this.txtRefFreqUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions16, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject61, serializableAppearanceObject62, serializableAppearanceObject63, serializableAppearanceObject64, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtRefFreqUp.Size = new System.Drawing.Size(191, 23);
+            this.txtRefFreqUp.Size = new System.Drawing.Size(222, 23);
             this.txtRefFreqUp.StyleController = this.layoutControl1;
             this.txtRefFreqUp.TabIndex = 19;
             // 
             // btnMainXl
             // 
-            this.btnMainXl.Location = new System.Drawing.Point(412, 338);
+            this.btnMainXl.Location = new System.Drawing.Point(474, 348);
             this.btnMainXl.Name = "btnMainXl";
             this.btnMainXl.Size = new System.Drawing.Size(191, 22);
             this.btnMainXl.StyleController = this.layoutControl1;
@@ -583,7 +583,7 @@
             // 
             // txtAdjaXl
             // 
-            this.txtAdjaXl.Location = new System.Drawing.Point(412, 466);
+            this.txtAdjaXl.Location = new System.Drawing.Point(474, 476);
             this.txtAdjaXl.Name = "txtAdjaXl";
             this.txtAdjaXl.Size = new System.Drawing.Size(191, 22);
             this.txtAdjaXl.StyleController = this.layoutControl1;
@@ -593,27 +593,27 @@
             // 
             // txtMainVx
             // 
-            this.txtMainVx.Location = new System.Drawing.Point(22, 314);
+            this.txtMainVx.Location = new System.Drawing.Point(22, 324);
             this.txtMainVx.Name = "txtMainVx";
             this.txtMainVx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions17, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject65, serializableAppearanceObject66, serializableAppearanceObject67, serializableAppearanceObject68, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtMainVx.Size = new System.Drawing.Size(191, 20);
+            this.txtMainVx.Size = new System.Drawing.Size(222, 20);
             this.txtMainVx.StyleController = this.layoutControl1;
             this.txtMainVx.TabIndex = 22;
             // 
             // txtMainVy
             // 
-            this.txtMainVy.Location = new System.Drawing.Point(217, 314);
+            this.txtMainVy.Location = new System.Drawing.Point(248, 324);
             this.txtMainVy.Name = "txtMainVy";
             this.txtMainVy.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions18, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject69, serializableAppearanceObject70, serializableAppearanceObject71, serializableAppearanceObject72, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtMainVy.Size = new System.Drawing.Size(191, 20);
+            this.txtMainVy.Size = new System.Drawing.Size(222, 20);
             this.txtMainVy.StyleController = this.layoutControl1;
             this.txtMainVy.TabIndex = 23;
             // 
             // txtMainVz
             // 
-            this.txtMainVz.Location = new System.Drawing.Point(412, 314);
+            this.txtMainVz.Location = new System.Drawing.Point(474, 324);
             this.txtMainVz.Name = "txtMainVz";
             this.txtMainVz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions19, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject73, serializableAppearanceObject74, serializableAppearanceObject75, serializableAppearanceObject76, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -623,27 +623,27 @@
             // 
             // txtAdjaVx
             // 
-            this.txtAdjaVx.Location = new System.Drawing.Point(22, 432);
+            this.txtAdjaVx.Location = new System.Drawing.Point(22, 442);
             this.txtAdjaVx.Name = "txtAdjaVx";
             this.txtAdjaVx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions20, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject77, serializableAppearanceObject78, serializableAppearanceObject79, serializableAppearanceObject80, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtAdjaVx.Size = new System.Drawing.Size(191, 20);
+            this.txtAdjaVx.Size = new System.Drawing.Size(222, 20);
             this.txtAdjaVx.StyleController = this.layoutControl1;
             this.txtAdjaVx.TabIndex = 25;
             // 
             // txtAdjaVy
             // 
-            this.txtAdjaVy.Location = new System.Drawing.Point(217, 432);
+            this.txtAdjaVy.Location = new System.Drawing.Point(248, 442);
             this.txtAdjaVy.Name = "txtAdjaVy";
             this.txtAdjaVy.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions21, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject81, serializableAppearanceObject82, serializableAppearanceObject83, serializableAppearanceObject84, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtAdjaVy.Size = new System.Drawing.Size(191, 20);
+            this.txtAdjaVy.Size = new System.Drawing.Size(222, 20);
             this.txtAdjaVy.StyleController = this.layoutControl1;
             this.txtAdjaVy.TabIndex = 26;
             // 
             // txtAdjaVz
             // 
-            this.txtAdjaVz.Location = new System.Drawing.Point(412, 432);
+            this.txtAdjaVz.Location = new System.Drawing.Point(474, 442);
             this.txtAdjaVz.Name = "txtAdjaVz";
             this.txtAdjaVz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions22, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject85, serializableAppearanceObject86, serializableAppearanceObject87, serializableAppearanceObject88, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
@@ -694,7 +694,7 @@
             this.layoutControlItem29});
             this.Root.Name = "Root";
             this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(20, 20, 20, 20);
-            this.Root.Size = new System.Drawing.Size(625, 571);
+            this.Root.Size = new System.Drawing.Size(687, 575);
             this.Root.TextVisible = false;
             // 
             // emptySpaceItem3
@@ -702,7 +702,7 @@
             this.emptySpaceItem3.AllowHotTrack = false;
             this.emptySpaceItem3.Location = new System.Drawing.Point(0, 444);
             this.emptySpaceItem3.Name = "emptySpaceItem3";
-            this.emptySpaceItem3.Size = new System.Drawing.Size(195, 10);
+            this.emptySpaceItem3.Size = new System.Drawing.Size(226, 10);
             this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem14
@@ -715,7 +715,7 @@
             this.layoutControlItem14.MinSize = new System.Drawing.Size(77, 46);
             this.layoutControlItem14.Name = "layoutControlItem14";
             this.layoutControlItem14.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 1);
-            this.layoutControlItem14.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem14.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem14.Text = "接收站经纬度";
             this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
@@ -726,12 +726,12 @@
             this.layoutControlItem10.Control = this.txtRefLocation;
             this.layoutControlItem10.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem10.CustomizationFormText = "参考站经纬度";
-            this.layoutControlItem10.Location = new System.Drawing.Point(195, 0);
+            this.layoutControlItem10.Location = new System.Drawing.Point(226, 0);
             this.layoutControlItem10.MaxSize = new System.Drawing.Size(0, 46);
             this.layoutControlItem10.MinSize = new System.Drawing.Size(77, 46);
             this.layoutControlItem10.Name = "layoutControlItem10";
             this.layoutControlItem10.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 1);
-            this.layoutControlItem10.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem10.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem10.Text = "参考站经纬度";
             this.layoutControlItem10.TextLocation = DevExpress.Utils.Locations.Top;
@@ -747,7 +747,7 @@
             this.layoutControlItem3.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem3.Name = "layoutControlItem3";
             this.layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
-            this.layoutControlItem3.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem3.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem3.Text = "主星星历X";
             this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Top;
@@ -758,12 +758,12 @@
             this.layoutControlItem11.Control = this.txtMainY;
             this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem11.CustomizationFormText = "轨道经度";
-            this.layoutControlItem11.Location = new System.Drawing.Point(195, 234);
+            this.layoutControlItem11.Location = new System.Drawing.Point(226, 234);
             this.layoutControlItem11.MaxSize = new System.Drawing.Size(0, 51);
             this.layoutControlItem11.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem11.Name = "layoutControlItem11";
             this.layoutControlItem11.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
-            this.layoutControlItem11.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem11.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem11.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem11.Text = "主星星历Y";
             this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
@@ -774,12 +774,12 @@
             this.layoutControlItem15.Control = this.txtAdjaY;
             this.layoutControlItem15.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem15.CustomizationFormText = "轨道经度";
-            this.layoutControlItem15.Location = new System.Drawing.Point(195, 352);
+            this.layoutControlItem15.Location = new System.Drawing.Point(226, 352);
             this.layoutControlItem15.MaxSize = new System.Drawing.Size(0, 51);
             this.layoutControlItem15.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem15.Name = "layoutControlItem15";
             this.layoutControlItem15.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
-            this.layoutControlItem15.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem15.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem15.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem15.Text = "邻星星历Y";
             this.layoutControlItem15.TextLocation = DevExpress.Utils.Locations.Top;
@@ -795,7 +795,7 @@
             this.layoutControlItem13.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem13.Name = "layoutControlItem13";
             this.layoutControlItem13.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
-            this.layoutControlItem13.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem13.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem13.Text = "邻星星历X";
             this.layoutControlItem13.TextLocation = DevExpress.Utils.Locations.Top;
@@ -806,12 +806,12 @@
             this.layoutControlItem7.Control = this.txtYbMain;
             this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem7.CustomizationFormText = "轨道经度";
-            this.layoutControlItem7.Location = new System.Drawing.Point(195, 51);
+            this.layoutControlItem7.Location = new System.Drawing.Point(226, 51);
             this.layoutControlItem7.MaxSize = new System.Drawing.Size(0, 51);
             this.layoutControlItem7.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem7.Name = "layoutControlItem7";
             this.layoutControlItem7.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
-            this.layoutControlItem7.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem7.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem7.Text = "样本主星时差";
             this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
@@ -820,9 +820,9 @@
             // emptySpaceItem4
             // 
             this.emptySpaceItem4.AllowHotTrack = false;
-            this.emptySpaceItem4.Location = new System.Drawing.Point(195, 444);
+            this.emptySpaceItem4.Location = new System.Drawing.Point(226, 444);
             this.emptySpaceItem4.Name = "emptySpaceItem4";
-            this.emptySpaceItem4.Size = new System.Drawing.Size(195, 10);
+            this.emptySpaceItem4.Size = new System.Drawing.Size(226, 10);
             this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem8
@@ -830,7 +830,7 @@
             this.layoutControlItem8.Control = this.txtYbAdja;
             this.layoutControlItem8.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem8.CustomizationFormText = "轨道经度";
-            this.layoutControlItem8.Location = new System.Drawing.Point(390, 51);
+            this.layoutControlItem8.Location = new System.Drawing.Point(452, 51);
             this.layoutControlItem8.MaxSize = new System.Drawing.Size(0, 51);
             this.layoutControlItem8.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem8.Name = "layoutControlItem8";
@@ -846,7 +846,7 @@
             this.layoutControlItem12.Control = this.txtMainZ;
             this.layoutControlItem12.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem12.CustomizationFormText = "轨道经度";
-            this.layoutControlItem12.Location = new System.Drawing.Point(390, 234);
+            this.layoutControlItem12.Location = new System.Drawing.Point(452, 234);
             this.layoutControlItem12.MaxSize = new System.Drawing.Size(0, 51);
             this.layoutControlItem12.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem12.Name = "layoutControlItem12";
@@ -860,7 +860,7 @@
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.txtSigTime;
-            this.layoutControlItem1.Location = new System.Drawing.Point(390, 0);
+            this.layoutControlItem1.Location = new System.Drawing.Point(452, 0);
             this.layoutControlItem1.MaxSize = new System.Drawing.Size(0, 54);
             this.layoutControlItem1.MinSize = new System.Drawing.Size(83, 51);
             this.layoutControlItem1.Name = "layoutControlItem1";
@@ -881,7 +881,7 @@
             this.layoutControlItem2.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem2.Name = "layoutControlItem2";
             this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
-            this.layoutControlItem2.Size = new System.Drawing.Size(195, 51);
+            this.layoutControlItem2.Size = new System.Drawing.Size(226, 51);
             this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem2.Text = "双星时差";
             this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top;
@@ -892,7 +892,7 @@
             this.emptySpaceItem2.AllowHotTrack = false;
             this.emptySpaceItem2.Location = new System.Drawing.Point(0, 480);
             this.emptySpaceItem2.Name = "emptySpaceItem2";
-            this.emptySpaceItem2.Size = new System.Drawing.Size(390, 33);
+            this.emptySpaceItem2.Size = new System.Drawing.Size(452, 33);
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem4
@@ -900,7 +900,7 @@
             this.layoutControlItem4.Control = this.txtDfo;
             this.layoutControlItem4.Location = new System.Drawing.Point(0, 102);
             this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem4.Size = new System.Drawing.Size(226, 44);
             this.layoutControlItem4.Text = "双星频差";
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem4.TextSize = new System.Drawing.Size(79, 14);
@@ -910,7 +910,7 @@
             this.layoutControlItem5.Control = this.txtTarFreqUp;
             this.layoutControlItem5.Location = new System.Drawing.Point(0, 146);
             this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem5.Size = new System.Drawing.Size(226, 44);
             this.layoutControlItem5.Text = "目标上行频点";
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem5.TextSize = new System.Drawing.Size(79, 14);
@@ -918,9 +918,9 @@
             // layoutControlItem9
             // 
             this.layoutControlItem9.Control = this.txtYbMainDfo;
-            this.layoutControlItem9.Location = new System.Drawing.Point(195, 102);
+            this.layoutControlItem9.Location = new System.Drawing.Point(226, 102);
             this.layoutControlItem9.Name = "layoutControlItem9";
-            this.layoutControlItem9.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem9.Size = new System.Drawing.Size(226, 44);
             this.layoutControlItem9.Text = "样本主星频差";
             this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem9.TextSize = new System.Drawing.Size(79, 14);
@@ -928,9 +928,9 @@
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txtTarFreqDown;
-            this.layoutControlItem6.Location = new System.Drawing.Point(195, 146);
+            this.layoutControlItem6.Location = new System.Drawing.Point(226, 146);
             this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem6.Size = new System.Drawing.Size(226, 44);
             this.layoutControlItem6.Text = "目标下行频点";
             this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem6.TextSize = new System.Drawing.Size(79, 14);
@@ -938,7 +938,7 @@
             // layoutControlItem18
             // 
             this.layoutControlItem18.Control = this.txtYbAdjaDfo;
-            this.layoutControlItem18.Location = new System.Drawing.Point(390, 102);
+            this.layoutControlItem18.Location = new System.Drawing.Point(452, 102);
             this.layoutControlItem18.Name = "layoutControlItem18";
             this.layoutControlItem18.Size = new System.Drawing.Size(195, 44);
             this.layoutControlItem18.Text = "样本邻星频差";
@@ -950,7 +950,7 @@
             this.layoutControlItem20.Control = this.txtRefFreqUp;
             this.layoutControlItem20.Location = new System.Drawing.Point(0, 190);
             this.layoutControlItem20.Name = "layoutControlItem20";
-            this.layoutControlItem20.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem20.Size = new System.Drawing.Size(226, 44);
             this.layoutControlItem20.Text = "参考上行频点";
             this.layoutControlItem20.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem20.TextSize = new System.Drawing.Size(79, 14);
@@ -958,9 +958,9 @@
             // layoutControlItem19
             // 
             this.layoutControlItem19.Control = this.txtRefFreqDown;
-            this.layoutControlItem19.Location = new System.Drawing.Point(195, 190);
+            this.layoutControlItem19.Location = new System.Drawing.Point(226, 190);
             this.layoutControlItem19.Name = "layoutControlItem19";
-            this.layoutControlItem19.Size = new System.Drawing.Size(195, 44);
+            this.layoutControlItem19.Size = new System.Drawing.Size(226, 44);
             this.layoutControlItem19.Text = "参考下行频点";
             this.layoutControlItem19.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem19.TextSize = new System.Drawing.Size(79, 14);
@@ -968,7 +968,7 @@
             // emptySpaceItem1
             // 
             this.emptySpaceItem1.AllowHotTrack = false;
-            this.emptySpaceItem1.Location = new System.Drawing.Point(390, 146);
+            this.emptySpaceItem1.Location = new System.Drawing.Point(452, 146);
             this.emptySpaceItem1.Name = "emptySpaceItem1";
             this.emptySpaceItem1.Size = new System.Drawing.Size(195, 44);
             this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
@@ -976,7 +976,7 @@
             // emptySpaceItem5
             // 
             this.emptySpaceItem5.AllowHotTrack = false;
-            this.emptySpaceItem5.Location = new System.Drawing.Point(390, 190);
+            this.emptySpaceItem5.Location = new System.Drawing.Point(452, 190);
             this.emptySpaceItem5.Name = "emptySpaceItem5";
             this.emptySpaceItem5.Size = new System.Drawing.Size(195, 44);
             this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0);
@@ -986,7 +986,7 @@
             this.layoutControlItem23.Control = this.txtMainVx;
             this.layoutControlItem23.Location = new System.Drawing.Point(0, 285);
             this.layoutControlItem23.Name = "layoutControlItem23";
-            this.layoutControlItem23.Size = new System.Drawing.Size(195, 67);
+            this.layoutControlItem23.Size = new System.Drawing.Size(226, 67);
             this.layoutControlItem23.Text = "主星星历Vx";
             this.layoutControlItem23.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem23.TextSize = new System.Drawing.Size(79, 14);
@@ -994,9 +994,9 @@
             // layoutControlItem24
             // 
             this.layoutControlItem24.Control = this.txtMainVy;
-            this.layoutControlItem24.Location = new System.Drawing.Point(195, 285);
+            this.layoutControlItem24.Location = new System.Drawing.Point(226, 285);
             this.layoutControlItem24.Name = "layoutControlItem24";
-            this.layoutControlItem24.Size = new System.Drawing.Size(195, 67);
+            this.layoutControlItem24.Size = new System.Drawing.Size(226, 67);
             this.layoutControlItem24.Text = "主星星历Vy";
             this.layoutControlItem24.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem24.TextSize = new System.Drawing.Size(79, 14);
@@ -1004,7 +1004,7 @@
             // layoutControlItem21
             // 
             this.layoutControlItem21.Control = this.btnMainXl;
-            this.layoutControlItem21.Location = new System.Drawing.Point(390, 326);
+            this.layoutControlItem21.Location = new System.Drawing.Point(452, 326);
             this.layoutControlItem21.Name = "layoutControlItem21";
             this.layoutControlItem21.Size = new System.Drawing.Size(195, 26);
             this.layoutControlItem21.TextSize = new System.Drawing.Size(0, 0);
@@ -1015,7 +1015,7 @@
             this.layoutControlItem26.Control = this.txtAdjaVx;
             this.layoutControlItem26.Location = new System.Drawing.Point(0, 403);
             this.layoutControlItem26.Name = "layoutControlItem26";
-            this.layoutControlItem26.Size = new System.Drawing.Size(195, 41);
+            this.layoutControlItem26.Size = new System.Drawing.Size(226, 41);
             this.layoutControlItem26.Text = "邻星星历Vx";
             this.layoutControlItem26.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem26.TextSize = new System.Drawing.Size(79, 14);
@@ -1023,9 +1023,9 @@
             // layoutControlItem27
             // 
             this.layoutControlItem27.Control = this.txtAdjaVy;
-            this.layoutControlItem27.Location = new System.Drawing.Point(195, 403);
+            this.layoutControlItem27.Location = new System.Drawing.Point(226, 403);
             this.layoutControlItem27.Name = "layoutControlItem27";
-            this.layoutControlItem27.Size = new System.Drawing.Size(195, 41);
+            this.layoutControlItem27.Size = new System.Drawing.Size(226, 41);
             this.layoutControlItem27.Text = "邻星星历Vy";
             this.layoutControlItem27.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem27.TextSize = new System.Drawing.Size(79, 14);
@@ -1033,7 +1033,7 @@
             // layoutControlItem28
             // 
             this.layoutControlItem28.Control = this.txtAdjaVz;
-            this.layoutControlItem28.Location = new System.Drawing.Point(390, 403);
+            this.layoutControlItem28.Location = new System.Drawing.Point(452, 403);
             this.layoutControlItem28.Name = "layoutControlItem28";
             this.layoutControlItem28.Size = new System.Drawing.Size(195, 51);
             this.layoutControlItem28.Text = "邻星星历Vz";
@@ -1045,15 +1045,15 @@
             this.emptySpaceItem6.AllowHotTrack = false;
             this.emptySpaceItem6.Location = new System.Drawing.Point(0, 454);
             this.emptySpaceItem6.Name = "emptySpaceItem6";
-            this.emptySpaceItem6.Size = new System.Drawing.Size(195, 26);
+            this.emptySpaceItem6.Size = new System.Drawing.Size(226, 26);
             this.emptySpaceItem6.TextSize = new System.Drawing.Size(0, 0);
             // 
             // emptySpaceItem7
             // 
             this.emptySpaceItem7.AllowHotTrack = false;
-            this.emptySpaceItem7.Location = new System.Drawing.Point(195, 454);
+            this.emptySpaceItem7.Location = new System.Drawing.Point(226, 454);
             this.emptySpaceItem7.Name = "emptySpaceItem7";
-            this.emptySpaceItem7.Size = new System.Drawing.Size(195, 26);
+            this.emptySpaceItem7.Size = new System.Drawing.Size(226, 26);
             this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem16
@@ -1061,7 +1061,7 @@
             this.layoutControlItem16.Control = this.txtAdjaZ;
             this.layoutControlItem16.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem16.CustomizationFormText = "轨道经度";
-            this.layoutControlItem16.Location = new System.Drawing.Point(390, 352);
+            this.layoutControlItem16.Location = new System.Drawing.Point(452, 352);
             this.layoutControlItem16.MaxSize = new System.Drawing.Size(0, 51);
             this.layoutControlItem16.MinSize = new System.Drawing.Size(54, 51);
             this.layoutControlItem16.Name = "layoutControlItem16";
@@ -1075,7 +1075,7 @@
             // layoutControlItem22
             // 
             this.layoutControlItem22.Control = this.txtAdjaXl;
-            this.layoutControlItem22.Location = new System.Drawing.Point(390, 454);
+            this.layoutControlItem22.Location = new System.Drawing.Point(452, 454);
             this.layoutControlItem22.Name = "layoutControlItem22";
             this.layoutControlItem22.Size = new System.Drawing.Size(195, 26);
             this.layoutControlItem22.TextSize = new System.Drawing.Size(0, 0);
@@ -1086,7 +1086,7 @@
             this.layoutControlItem17.Control = this.btnOK;
             this.layoutControlItem17.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem17.CustomizationFormText = "layoutControlItem1";
-            this.layoutControlItem17.Location = new System.Drawing.Point(390, 480);
+            this.layoutControlItem17.Location = new System.Drawing.Point(452, 480);
             this.layoutControlItem17.MaxSize = new System.Drawing.Size(195, 33);
             this.layoutControlItem17.MinSize = new System.Drawing.Size(195, 33);
             this.layoutControlItem17.Name = "layoutControlItem17";
@@ -1100,7 +1100,7 @@
             // layoutControlItem25
             // 
             this.layoutControlItem25.Control = this.txtMainVz;
-            this.layoutControlItem25.Location = new System.Drawing.Point(390, 285);
+            this.layoutControlItem25.Location = new System.Drawing.Point(452, 285);
             this.layoutControlItem25.Name = "layoutControlItem25";
             this.layoutControlItem25.Size = new System.Drawing.Size(195, 41);
             this.layoutControlItem25.Text = "主星星历Vz";
@@ -1112,7 +1112,7 @@
             this.layoutControlItem29.Control = this.lblRes;
             this.layoutControlItem29.Location = new System.Drawing.Point(0, 513);
             this.layoutControlItem29.Name = "layoutControlItem29";
-            this.layoutControlItem29.Size = new System.Drawing.Size(585, 18);
+            this.layoutControlItem29.Size = new System.Drawing.Size(647, 22);
             this.layoutControlItem29.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem29.TextVisible = false;
             // 
@@ -1126,7 +1126,7 @@
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.Controls.Add(this.layoutControl1);
             this.Name = "X2PosParamEditor";
-            this.Size = new System.Drawing.Size(642, 561);
+            this.Size = new System.Drawing.Size(687, 575);
             this.Load += new System.EventHandler(this.X2DTOParamEditor_Load);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);

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

@@ -991,7 +991,7 @@ namespace XdCxRhDW.App.UserControl
                     case EnumPosResType.X2D1NoRef:
                         X2D1GDOPParam x2D1GdopParam = new X2D1GDOPParam(item);
                         x2D1GdopParam.mapControl1 = mapControl1;
-                        DxHelper.PopupHelper.ShowPopup(x2D1GdopParam, layoutControl1, 300);
+                        DxHelper.PopupHelper.ShowPopup(x2D1GdopParam, layoutControl1, 500);
                         break;
                     case EnumPosResType.X3:
                     case EnumPosResType.X3NoRef:

+ 333 - 0
XdCxRhDW.App/UserControl/UCEphXYZParam.Designer.cs

@@ -0,0 +1,333 @@
+namespace XdCxRhDW.App.UserControl
+{
+    partial class UCEphXYZParam
+    {
+        /// <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 Component 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();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject();
+            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.ephX = new DevExpress.XtraEditors.ButtonEdit();
+            this.ephY = new DevExpress.XtraEditors.ButtonEdit();
+            this.ephZ = new DevExpress.XtraEditors.ButtonEdit();
+            this.ephVX = new DevExpress.XtraEditors.ButtonEdit();
+            this.ephVY = new DevExpress.XtraEditors.ButtonEdit();
+            this.ephVZ = new DevExpress.XtraEditors.ButtonEdit();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.layoutControlItemx = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItemvx = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItemy = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItemz = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItemvz = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItemvy = new DevExpress.XtraLayout.LayoutControlItem();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
+            this.layoutControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ephX.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephY.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephZ.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephVX.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephVY.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephVZ.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemx)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemvx)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemy)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemz)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemvz)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemvy)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // layoutControl1
+            // 
+            this.layoutControl1.Controls.Add(this.ephX);
+            this.layoutControl1.Controls.Add(this.ephY);
+            this.layoutControl1.Controls.Add(this.ephZ);
+            this.layoutControl1.Controls.Add(this.ephVX);
+            this.layoutControl1.Controls.Add(this.ephVY);
+            this.layoutControl1.Controls.Add(this.ephVZ);
+            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.layoutControl1.Location = new System.Drawing.Point(0, 0);
+            this.layoutControl1.Name = "layoutControl1";
+            this.layoutControl1.Root = this.Root;
+            this.layoutControl1.Size = new System.Drawing.Size(470, 86);
+            this.layoutControl1.TabIndex = 0;
+            this.layoutControl1.Text = "layoutControl1";
+            // 
+            // ephX
+            // 
+            this.ephX.EditValue = "";
+            this.ephX.Location = new System.Drawing.Point(2, 19);
+            this.ephX.Name = "ephX";
+            this.ephX.Properties.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
+            this.ephX.Properties.Appearance.Options.UseForeColor = true;
+            this.ephX.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph)});
+            this.ephX.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.ephX.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            this.ephX.Properties.MaskSettings.Set("mask", "f");
+            this.ephX.Properties.MaxLength = 10;
+            this.ephX.Size = new System.Drawing.Size(169, 20);
+            this.ephX.StyleController = this.layoutControl1;
+            this.ephX.TabIndex = 4;
+            // 
+            // ephY
+            // 
+            this.ephY.Location = new System.Drawing.Point(175, 19);
+            this.ephY.Name = "ephY";
+            this.ephY.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph)});
+            this.ephY.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.ephY.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            this.ephY.Properties.MaskSettings.Set("mask", "f");
+            this.ephY.Properties.MaxLength = 10;
+            this.ephY.Size = new System.Drawing.Size(146, 20);
+            this.ephY.StyleController = this.layoutControl1;
+            this.ephY.TabIndex = 4;
+            // 
+            // ephZ
+            // 
+            this.ephZ.Location = new System.Drawing.Point(325, 19);
+            this.ephZ.Name = "ephZ";
+            this.ephZ.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph)});
+            this.ephZ.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.ephZ.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            this.ephZ.Properties.MaskSettings.Set("mask", "f");
+            this.ephZ.Properties.MaxLength = 10;
+            this.ephZ.Size = new System.Drawing.Size(143, 20);
+            this.ephZ.StyleController = this.layoutControl1;
+            this.ephZ.TabIndex = 4;
+            // 
+            // ephVX
+            // 
+            this.ephVX.Location = new System.Drawing.Point(2, 64);
+            this.ephVX.MaximumSize = new System.Drawing.Size(0, 20);
+            this.ephVX.Name = "ephVX";
+            this.ephVX.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -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.ephVX.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.ephVX.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            this.ephVX.Properties.MaskSettings.Set("mask", "f");
+            this.ephVX.Properties.MaxLength = 10;
+            this.ephVX.Size = new System.Drawing.Size(169, 20);
+            this.ephVX.StyleController = this.layoutControl1;
+            this.ephVX.TabIndex = 4;
+            // 
+            // ephVY
+            // 
+            this.ephVY.Location = new System.Drawing.Point(175, 64);
+            this.ephVY.MaximumSize = new System.Drawing.Size(0, 20);
+            this.ephVY.Name = "ephVY";
+            this.ephVY.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.ephVY.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.ephVY.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            this.ephVY.Properties.MaskSettings.Set("mask", "f");
+            this.ephVY.Properties.MaxLength = 10;
+            this.ephVY.Size = new System.Drawing.Size(146, 20);
+            this.ephVY.StyleController = this.layoutControl1;
+            this.ephVY.TabIndex = 4;
+            // 
+            // ephVZ
+            // 
+            this.ephVZ.Location = new System.Drawing.Point(325, 64);
+            this.ephVZ.MaximumSize = new System.Drawing.Size(0, 20);
+            this.ephVZ.Name = "ephVZ";
+            this.ephVZ.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, true, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.ephVZ.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.ephVZ.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            this.ephVZ.Properties.MaskSettings.Set("mask", "f");
+            this.ephVZ.Properties.MaxLength = 10;
+            this.ephVZ.Size = new System.Drawing.Size(143, 20);
+            this.ephVZ.StyleController = this.layoutControl1;
+            this.ephVZ.TabIndex = 4;
+            // 
+            // Root
+            // 
+            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+            this.Root.GroupBordersVisible = false;
+            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+            this.layoutControlItemx,
+            this.layoutControlItemvx,
+            this.layoutControlItemy,
+            this.layoutControlItemz,
+            this.layoutControlItemvz,
+            this.layoutControlItemvy});
+            this.Root.Name = "Root";
+            this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
+            this.Root.Size = new System.Drawing.Size(470, 86);
+            this.Root.TextVisible = false;
+            // 
+            // layoutControlItemx
+            // 
+            this.layoutControlItemx.Control = this.ephX;
+            this.layoutControlItemx.Location = new System.Drawing.Point(0, 0);
+            this.layoutControlItemx.MaxSize = new System.Drawing.Size(0, 41);
+            this.layoutControlItemx.MinSize = new System.Drawing.Size(54, 41);
+            this.layoutControlItemx.Name = "layoutControlItemx";
+            this.layoutControlItemx.Size = new System.Drawing.Size(173, 41);
+            this.layoutControlItemx.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItemx.Text = "坐标X";
+            this.layoutControlItemx.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItemx.TextSize = new System.Drawing.Size(40, 14);
+            // 
+            // layoutControlItemvx
+            // 
+            this.layoutControlItemvx.Control = this.ephVX;
+            this.layoutControlItemvx.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItemvx.CustomizationFormText = "坐标X";
+            this.layoutControlItemvx.Location = new System.Drawing.Point(0, 41);
+            this.layoutControlItemvx.MaxSize = new System.Drawing.Size(0, 41);
+            this.layoutControlItemvx.MinSize = new System.Drawing.Size(62, 41);
+            this.layoutControlItemvx.Name = "layoutControlItemvx";
+            this.layoutControlItemvx.Size = new System.Drawing.Size(173, 45);
+            this.layoutControlItemvx.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItemvx.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 0);
+            this.layoutControlItemvx.Text = "坐标VX";
+            this.layoutControlItemvx.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItemvx.TextSize = new System.Drawing.Size(40, 14);
+            // 
+            // layoutControlItemy
+            // 
+            this.layoutControlItemy.Control = this.ephY;
+            this.layoutControlItemy.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItemy.CustomizationFormText = "坐标X";
+            this.layoutControlItemy.Location = new System.Drawing.Point(173, 0);
+            this.layoutControlItemy.MaxSize = new System.Drawing.Size(0, 41);
+            this.layoutControlItemy.MinSize = new System.Drawing.Size(54, 41);
+            this.layoutControlItemy.Name = "layoutControlItemy";
+            this.layoutControlItemy.Size = new System.Drawing.Size(150, 41);
+            this.layoutControlItemy.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItemy.Text = "坐标Y";
+            this.layoutControlItemy.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItemy.TextSize = new System.Drawing.Size(40, 14);
+            // 
+            // layoutControlItemz
+            // 
+            this.layoutControlItemz.Control = this.ephZ;
+            this.layoutControlItemz.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItemz.CustomizationFormText = "坐标X";
+            this.layoutControlItemz.Location = new System.Drawing.Point(323, 0);
+            this.layoutControlItemz.MaxSize = new System.Drawing.Size(0, 41);
+            this.layoutControlItemz.MinSize = new System.Drawing.Size(54, 41);
+            this.layoutControlItemz.Name = "layoutControlItemz";
+            this.layoutControlItemz.Size = new System.Drawing.Size(147, 41);
+            this.layoutControlItemz.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItemz.Text = "坐标Z";
+            this.layoutControlItemz.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItemz.TextSize = new System.Drawing.Size(40, 14);
+            // 
+            // layoutControlItemvz
+            // 
+            this.layoutControlItemvz.Control = this.ephVZ;
+            this.layoutControlItemvz.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItemvz.CustomizationFormText = "坐标X";
+            this.layoutControlItemvz.Location = new System.Drawing.Point(323, 41);
+            this.layoutControlItemvz.MaxSize = new System.Drawing.Size(0, 41);
+            this.layoutControlItemvz.MinSize = new System.Drawing.Size(62, 41);
+            this.layoutControlItemvz.Name = "layoutControlItemvz";
+            this.layoutControlItemvz.Size = new System.Drawing.Size(147, 45);
+            this.layoutControlItemvz.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItemvz.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 0);
+            this.layoutControlItemvz.Text = "坐标VZ";
+            this.layoutControlItemvz.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItemvz.TextSize = new System.Drawing.Size(40, 14);
+            // 
+            // layoutControlItemvy
+            // 
+            this.layoutControlItemvy.Control = this.ephVY;
+            this.layoutControlItemvy.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItemvy.CustomizationFormText = "坐标X";
+            this.layoutControlItemvy.Location = new System.Drawing.Point(173, 41);
+            this.layoutControlItemvy.MaxSize = new System.Drawing.Size(0, 41);
+            this.layoutControlItemvy.MinSize = new System.Drawing.Size(62, 41);
+            this.layoutControlItemvy.Name = "layoutControlItemvy";
+            this.layoutControlItemvy.Size = new System.Drawing.Size(150, 45);
+            this.layoutControlItemvy.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItemvy.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 0);
+            this.layoutControlItemvy.Text = "坐标VY";
+            this.layoutControlItemvy.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItemvy.TextSize = new System.Drawing.Size(40, 14);
+            // 
+            // UCEphXYZParam
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Controls.Add(this.layoutControl1);
+            this.Name = "UCEphXYZParam";
+            this.Size = new System.Drawing.Size(470, 86);
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
+            this.layoutControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ephX.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephY.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephZ.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephVX.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephVY.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ephVZ.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemx)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemvx)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemy)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemz)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemvz)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemvy)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private DevExpress.XtraLayout.LayoutControl layoutControl1;
+        private DevExpress.XtraLayout.LayoutControlGroup Root;
+        private DevExpress.XtraEditors.ButtonEdit ephX;
+        private DevExpress.XtraEditors.ButtonEdit ephY;
+        private DevExpress.XtraEditors.ButtonEdit ephZ;
+        private DevExpress.XtraEditors.ButtonEdit ephVX;
+        private DevExpress.XtraEditors.ButtonEdit ephVY;
+        private DevExpress.XtraEditors.ButtonEdit ephVZ;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItemx;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItemvx;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItemy;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItemz;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItemvz;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItemvy;
+    }
+}

+ 99 - 0
XdCxRhDW.App/UserControl/UCEphXYZParam.cs

@@ -0,0 +1,99 @@
+using DevExpress.XtraEditors;
+using DevExpress.XtraLayout;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.Xml.Serialization;
+
+namespace XdCxRhDW.App.UserControl
+{
+    public partial class UCEphXYZParam : DevExpress.XtraEditors.XtraUserControl
+    {
+        private int? SatCode;
+        public UCEphXYZParam()
+        {
+            InitializeComponent();
+        }
+
+        public void SetParam(string title, int? satCode, (double? x, double? y, double? z, double? vx, double? vy, double? vz) eph, Color color)
+        {
+
+            SatCode = satCode;
+            ephX.EditValue = eph.x.HasValue ? Math.Round(eph.x.Value, 3) : 0;
+            layoutControlItemx.Text = $"{title}[{satCode}]星历X";
+            ephY.EditValue = eph.y.HasValue ? Math.Round(eph.y.Value, 3) : 0;
+            layoutControlItemy.Text = $"{title}星历Y";
+            ephZ.EditValue = eph.z.HasValue ? Math.Round(eph.z.Value, 3) : 0;
+            layoutControlItemz.Text = $"{title}星历Z";
+
+            ephVX.EditValue = eph.vx.HasValue ? Math.Round(eph.vx.Value, 3) : 0;
+            layoutControlItemvx.Text = $"{title}星历VX";
+            ephVY.EditValue = eph.vy.HasValue ? Math.Round(eph.vy.Value, 3) : 0;
+            layoutControlItemvy.Text = $"{title}星历VY";
+            ephVZ.EditValue = eph.vz.HasValue ? Math.Round(eph.vz.Value, 3) : 0;
+            layoutControlItemvz.Text = $"{title}星历VZ";
+
+            ephX.ForeColor = ephY.ForeColor = ephZ.ForeColor = ephVX.ForeColor = ephVY.ForeColor = ephVZ.ForeColor = color;
+        }
+
+
+        public (bool, string) ValidateParam()
+        {
+            if (string.IsNullOrWhiteSpace(ephX.Text))
+            {
+                return (false, $"{layoutControlItemx.Text}星历X不能为空!");
+            }
+            if (string.IsNullOrWhiteSpace(ephY.Text))
+            {
+                return (false, $"{layoutControlItemy.Text}星历Y不能为空!");
+            }
+            if (string.IsNullOrWhiteSpace(ephZ.Text))
+            {
+                return (false, $"{layoutControlItemz.Text}星历Z不能为空!");
+            }
+            if (string.IsNullOrWhiteSpace(ephVX.Text))
+            {
+                return (false, $"{layoutControlItemvx.Text}星历VX不能为空!");
+            }
+            if (string.IsNullOrWhiteSpace(ephVY.Text))
+            {
+                return (false, $"{layoutControlItemvy.Text}星历VY不能为空!");
+            }
+            if (string.IsNullOrWhiteSpace(ephVZ.Text))
+            {
+                return (false, $"{layoutControlItemvz.Text}星历VZ不能为空!");
+            }
+            return (true, string.Empty);
+        }
+        public double[] EphParam()
+        {
+            try
+            {
+
+                var x = Convert.ToDouble(ephX.EditValue);
+                var y = Convert.ToDouble(ephY.EditValue);
+                var z = Convert.ToDouble(ephZ.EditValue);
+                var vx = Convert.ToDouble(ephVX.EditValue);
+                var vy = Convert.ToDouble(ephVY.EditValue);
+                var vz = Convert.ToDouble(ephVZ.EditValue);
+                return new double[6] { x, y, z, vx, vy, vz };
+            }
+            catch (Exception ex)
+            {
+                throw new Exception(ex.Message);
+            }
+
+        }
+
+        public int GetSatCode()
+        {
+            return SatCode.HasValue ? SatCode.Value : 0;
+        }
+    }
+}

+ 120 - 0
XdCxRhDW.App/UserControl/UCEphXYZParam.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>

+ 143 - 189
XdCxRhDW.App/UserControl/X2D1GDOPParam.Designer.cs

@@ -39,20 +39,17 @@
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.ucEphXYZAdja = new XdCxRhDW.App.UserControl.UCEphXYZParam();
+            this.ucEphXYZMain = new XdCxRhDW.App.UserControl.UCEphXYZParam();
             this.btnOK = new DevExpress.XtraEditors.SimpleButton();
             this.txtCapTime = new DevExpress.XtraEditors.DateEdit();
             this.txtStationLocation1 = new DevExpress.XtraEditors.TextEdit();
             this.txtRefLocation1 = new DevExpress.XtraEditors.TextEdit();
-            this.txtTleMain = new DevExpress.XtraEditors.SearchLookUpEdit();
-            this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
-            this.txtTleAdja = new DevExpress.XtraEditors.SearchLookUpEdit();
-            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.txtDtousErr1 = new DevExpress.XtraEditors.ButtonEdit();
             this.txtSatLocErr1 = new DevExpress.XtraEditors.ButtonEdit();
             this.btnClose = new DevExpress.XtraEditors.SimpleButton();
+            this.btnEphCalc = new DevExpress.XtraEditors.SimpleButton();
             this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
-            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -60,25 +57,20 @@
             this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
-            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.txtMainSat = new DevExpress.XtraLayout.SimpleLabelItem();
-            this.txtAdjaSat = new DevExpress.XtraLayout.SimpleLabelItem();
             this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
             this.layoutControl1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtStationLocation1.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtRefLocation1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleMain.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleAdja.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtDtousErr1.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtSatLocErr1.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
@@ -86,39 +78,55 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainSat)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaSat)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             this.SuspendLayout();
             // 
             // layoutControl1
             // 
+            this.layoutControl1.Controls.Add(this.ucEphXYZAdja);
+            this.layoutControl1.Controls.Add(this.ucEphXYZMain);
             this.layoutControl1.Controls.Add(this.btnOK);
             this.layoutControl1.Controls.Add(this.txtCapTime);
             this.layoutControl1.Controls.Add(this.txtStationLocation1);
             this.layoutControl1.Controls.Add(this.txtRefLocation1);
-            this.layoutControl1.Controls.Add(this.txtTleMain);
-            this.layoutControl1.Controls.Add(this.txtTleAdja);
             this.layoutControl1.Controls.Add(this.txtDtousErr1);
             this.layoutControl1.Controls.Add(this.txtSatLocErr1);
             this.layoutControl1.Controls.Add(this.btnClose);
+            this.layoutControl1.Controls.Add(this.btnEphCalc);
             this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.layoutControl1.Location = new System.Drawing.Point(0, 0);
             this.layoutControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.layoutControl1.Name = "layoutControl1";
             this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(993, 379, 650, 400);
             this.layoutControl1.Root = this.Root;
-            this.layoutControl1.Size = new System.Drawing.Size(340, 452);
+            this.layoutControl1.Size = new System.Drawing.Size(484, 530);
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
+            // ucEphXYZAdja
+            // 
+            this.ucEphXYZAdja.Location = new System.Drawing.Point(2, 94);
+            this.ucEphXYZAdja.Name = "ucEphXYZAdja";
+            this.ucEphXYZAdja.Size = new System.Drawing.Size(480, 88);
+            this.ucEphXYZAdja.TabIndex = 15;
+            // 
+            // ucEphXYZMain
+            // 
+            this.ucEphXYZMain.Location = new System.Drawing.Point(2, 2);
+            this.ucEphXYZMain.Name = "ucEphXYZMain";
+            this.ucEphXYZMain.Size = new System.Drawing.Size(480, 88);
+            this.ucEphXYZMain.TabIndex = 14;
+            // 
             // btnOK
             // 
-            this.btnOK.Location = new System.Drawing.Point(172, 312);
+            this.btnOK.Location = new System.Drawing.Point(330, 426);
             this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnOK.Name = "btnOK";
-            this.btnOK.Size = new System.Drawing.Size(166, 22);
+            this.btnOK.Size = new System.Drawing.Size(152, 22);
             this.btnOK.StyleController = this.layoutControl1;
             this.btnOK.TabIndex = 12;
             this.btnOK.Text = "确定";
@@ -127,7 +135,7 @@
             // txtCapTime
             // 
             this.txtCapTime.EditValue = null;
-            this.txtCapTime.Location = new System.Drawing.Point(2, 105);
+            this.txtCapTime.Location = new System.Drawing.Point(4, 205);
             this.txtCapTime.Margin = new System.Windows.Forms.Padding(2);
             this.txtCapTime.MaximumSize = new System.Drawing.Size(0, 22);
             this.txtCapTime.MinimumSize = new System.Drawing.Size(0, 22);
@@ -137,20 +145,20 @@
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
             this.txtCapTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txtCapTime.Size = new System.Drawing.Size(336, 22);
+            this.txtCapTime.Size = new System.Drawing.Size(476, 22);
             this.txtCapTime.StyleController = this.layoutControl1;
             this.txtCapTime.TabIndex = 8;
             // 
             // txtStationLocation1
             // 
             this.txtStationLocation1.EditValue = "";
-            this.txtStationLocation1.Location = new System.Drawing.Point(2, 148);
+            this.txtStationLocation1.Location = new System.Drawing.Point(4, 252);
             this.txtStationLocation1.Margin = new System.Windows.Forms.Padding(2);
             this.txtStationLocation1.MaximumSize = new System.Drawing.Size(0, 22);
             this.txtStationLocation1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtStationLocation1.Name = "txtStationLocation1";
             this.txtStationLocation1.Properties.AutoHeight = false;
-            this.txtStationLocation1.Size = new System.Drawing.Size(336, 22);
+            this.txtStationLocation1.Size = new System.Drawing.Size(476, 22);
             this.txtStationLocation1.StyleController = this.layoutControl1;
             this.txtStationLocation1.TabIndex = 11;
             this.txtStationLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
@@ -158,75 +166,21 @@
             // txtRefLocation1
             // 
             this.txtRefLocation1.EditValue = "";
-            this.txtRefLocation1.Location = new System.Drawing.Point(2, 191);
+            this.txtRefLocation1.Location = new System.Drawing.Point(4, 299);
             this.txtRefLocation1.Margin = new System.Windows.Forms.Padding(2);
             this.txtRefLocation1.MaximumSize = new System.Drawing.Size(0, 22);
             this.txtRefLocation1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtRefLocation1.Name = "txtRefLocation1";
             this.txtRefLocation1.Properties.AutoHeight = false;
-            this.txtRefLocation1.Size = new System.Drawing.Size(336, 22);
+            this.txtRefLocation1.Size = new System.Drawing.Size(476, 22);
             this.txtRefLocation1.StyleController = this.layoutControl1;
             this.txtRefLocation1.TabIndex = 10;
             this.txtRefLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
             // 
-            // txtTleMain
-            // 
-            this.txtTleMain.EditValue = "";
-            this.txtTleMain.Location = new System.Drawing.Point(2, 19);
-            this.txtTleMain.Margin = new System.Windows.Forms.Padding(2);
-            this.txtTleMain.MaximumSize = new System.Drawing.Size(0, 22);
-            this.txtTleMain.MinimumSize = new System.Drawing.Size(0, 22);
-            this.txtTleMain.Name = "txtTleMain";
-            this.txtTleMain.Properties.AutoHeight = false;
-            this.txtTleMain.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txtTleMain.Properties.NullText = "";
-            this.txtTleMain.Properties.PopupSizeable = false;
-            this.txtTleMain.Properties.PopupView = this.searchLookUpEdit1View;
-            this.txtTleMain.Size = new System.Drawing.Size(336, 22);
-            this.txtTleMain.StyleController = this.layoutControl1;
-            this.txtTleMain.TabIndex = 4;
-            this.txtTleMain.ToolTip = "填写卫星的双行根数";
-            // 
-            // searchLookUpEdit1View
-            // 
-            this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
-            this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
-            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 430;
-            this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
-            this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
-            // 
-            // txtTleAdja
-            // 
-            this.txtTleAdja.EditValue = "";
-            this.txtTleAdja.Location = new System.Drawing.Point(2, 62);
-            this.txtTleAdja.Margin = new System.Windows.Forms.Padding(2);
-            this.txtTleAdja.MaximumSize = new System.Drawing.Size(0, 22);
-            this.txtTleAdja.MinimumSize = new System.Drawing.Size(0, 22);
-            this.txtTleAdja.Name = "txtTleAdja";
-            this.txtTleAdja.Properties.AutoHeight = false;
-            this.txtTleAdja.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txtTleAdja.Properties.NullText = "";
-            this.txtTleAdja.Properties.PopupSizeable = false;
-            this.txtTleAdja.Properties.PopupView = this.gridView1;
-            this.txtTleAdja.Size = new System.Drawing.Size(336, 22);
-            this.txtTleAdja.StyleController = this.layoutControl1;
-            this.txtTleAdja.TabIndex = 5;
-            this.txtTleAdja.ToolTip = "填写卫星的双行根数";
-            // 
-            // gridView1
-            // 
-            this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
-            this.gridView1.Name = "gridView1";
-            this.gridView1.OptionsEditForm.PopupEditFormWidth = 430;
-            this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
-            this.gridView1.OptionsView.ShowGroupPanel = false;
-            // 
             // txtDtousErr1
             // 
             this.txtDtousErr1.EditValue = "";
-            this.txtDtousErr1.Location = new System.Drawing.Point(2, 234);
+            this.txtDtousErr1.Location = new System.Drawing.Point(2, 344);
             this.txtDtousErr1.Margin = new System.Windows.Forms.Padding(2);
             this.txtDtousErr1.MaximumSize = new System.Drawing.Size(0, 22);
             this.txtDtousErr1.MinimumSize = new System.Drawing.Size(0, 22);
@@ -237,7 +191,7 @@
             this.txtDtousErr1.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             this.txtDtousErr1.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
             this.txtDtousErr1.Properties.MaskSettings.Set("mask", "f");
-            this.txtDtousErr1.Size = new System.Drawing.Size(336, 22);
+            this.txtDtousErr1.Size = new System.Drawing.Size(480, 22);
             this.txtDtousErr1.StyleController = this.layoutControl1;
             this.txtDtousErr1.TabIndex = 6;
             this.txtDtousErr1.ToolTip = "时差误差";
@@ -245,7 +199,7 @@
             // txtSatLocErr1
             // 
             this.txtSatLocErr1.EditValue = "";
-            this.txtSatLocErr1.Location = new System.Drawing.Point(2, 278);
+            this.txtSatLocErr1.Location = new System.Drawing.Point(4, 390);
             this.txtSatLocErr1.Margin = new System.Windows.Forms.Padding(2);
             this.txtSatLocErr1.MaximumSize = new System.Drawing.Size(0, 22);
             this.txtSatLocErr1.MinimumSize = new System.Drawing.Size(0, 22);
@@ -256,28 +210,37 @@
             this.txtSatLocErr1.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             this.txtSatLocErr1.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
             this.txtSatLocErr1.Properties.MaskSettings.Set("mask", "f");
-            this.txtSatLocErr1.Size = new System.Drawing.Size(336, 22);
+            this.txtSatLocErr1.Size = new System.Drawing.Size(476, 22);
             this.txtSatLocErr1.StyleController = this.layoutControl1;
             this.txtSatLocErr1.TabIndex = 6;
             this.txtSatLocErr1.ToolTip = "星历位置误差";
             // 
             // btnClose
             // 
-            this.btnClose.Location = new System.Drawing.Point(2, 312);
+            this.btnClose.Location = new System.Drawing.Point(173, 426);
             this.btnClose.Margin = new System.Windows.Forms.Padding(2);
             this.btnClose.Name = "btnClose";
-            this.btnClose.Size = new System.Drawing.Size(166, 22);
+            this.btnClose.Size = new System.Drawing.Size(153, 22);
             this.btnClose.StyleController = this.layoutControl1;
             this.btnClose.TabIndex = 13;
             this.btnClose.Text = "关闭";
             this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
             // 
+            // btnEphCalc
+            // 
+            this.btnEphCalc.Location = new System.Drawing.Point(4, 426);
+            this.btnEphCalc.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.btnEphCalc.Name = "btnEphCalc";
+            this.btnEphCalc.Size = new System.Drawing.Size(165, 22);
+            this.btnEphCalc.StyleController = this.layoutControl1;
+            this.btnEphCalc.TabIndex = 12;
+            this.btnEphCalc.Text = "星历推算";
+            this.btnEphCalc.Click += new System.EventHandler(this.btnEphCalc_Click);
+            // 
             // Root
             // 
             this.Root.GroupBordersVisible = false;
             this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
-            this.layoutControlItem8,
-            this.layoutControlItem9,
             this.layoutControlItem11,
             this.layoutControlItem14,
             this.layoutControlItem13,
@@ -285,155 +248,153 @@
             this.layoutControlItem5,
             this.layoutControlItem1,
             this.emptySpaceItem1,
-            this.layoutControlItem2,
-            this.txtMainSat,
             this.emptySpaceItem2,
-            this.txtAdjaSat});
+            this.layoutControlItem3,
+            this.layoutControlItem6,
+            this.layoutControlItem7,
+            this.layoutControlItem2});
             this.Root.Name = "Root";
-            this.Root.Size = new System.Drawing.Size(340, 452);
+            this.Root.Size = new System.Drawing.Size(484, 530);
             this.Root.TextVisible = false;
             // 
-            // layoutControlItem8
-            // 
-            this.layoutControlItem8.Control = this.txtTleMain;
-            this.layoutControlItem8.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
-            this.layoutControlItem8.Name = "layoutControlItem8";
-            this.layoutControlItem8.Size = new System.Drawing.Size(340, 43);
-            this.layoutControlItem8.Text = "主星星历";
-            this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem8.TextSize = new System.Drawing.Size(86, 14);
-            // 
-            // layoutControlItem9
-            // 
-            this.layoutControlItem9.Control = this.txtTleAdja;
-            this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem9.Location = new System.Drawing.Point(0, 43);
-            this.layoutControlItem9.Name = "layoutControlItem9";
-            this.layoutControlItem9.Size = new System.Drawing.Size(340, 43);
-            this.layoutControlItem9.Text = "邻星星历";
-            this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem9.TextSize = new System.Drawing.Size(86, 14);
-            // 
             // layoutControlItem11
             // 
             this.layoutControlItem11.Control = this.txtCapTime;
             this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem11.Location = new System.Drawing.Point(0, 86);
+            this.layoutControlItem11.Location = new System.Drawing.Point(0, 184);
             this.layoutControlItem11.Name = "layoutControlItem11";
-            this.layoutControlItem11.Size = new System.Drawing.Size(340, 43);
+            this.layoutControlItem11.Size = new System.Drawing.Size(484, 47);
+            this.layoutControlItem11.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2);
             this.layoutControlItem11.Text = "采集时刻";
             this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem11.TextSize = new System.Drawing.Size(86, 14);
+            this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem14
             // 
             this.layoutControlItem14.Control = this.txtRefLocation1;
             this.layoutControlItem14.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem14.Location = new System.Drawing.Point(0, 172);
+            this.layoutControlItem14.Location = new System.Drawing.Point(0, 278);
             this.layoutControlItem14.Name = "layoutControlItem14";
-            this.layoutControlItem14.Size = new System.Drawing.Size(340, 43);
+            this.layoutControlItem14.Size = new System.Drawing.Size(484, 47);
+            this.layoutControlItem14.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2);
             this.layoutControlItem14.Text = "参考站经纬度";
             this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem14.TextSize = new System.Drawing.Size(86, 14);
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem13
             // 
             this.layoutControlItem13.Control = this.txtStationLocation1;
             this.layoutControlItem13.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem13.Location = new System.Drawing.Point(0, 129);
+            this.layoutControlItem13.Location = new System.Drawing.Point(0, 231);
             this.layoutControlItem13.Name = "layoutControlItem13";
-            this.layoutControlItem13.Size = new System.Drawing.Size(340, 43);
+            this.layoutControlItem13.Size = new System.Drawing.Size(484, 47);
+            this.layoutControlItem13.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2);
             this.layoutControlItem13.Text = "超短站经纬度";
             this.layoutControlItem13.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem13.TextSize = new System.Drawing.Size(86, 14);
+            this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem4
             // 
             this.layoutControlItem4.Control = this.txtDtousErr1;
             this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem4.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem4.Location = new System.Drawing.Point(0, 215);
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 325);
             this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(340, 44);
+            this.layoutControlItem4.Size = new System.Drawing.Size(484, 44);
             this.layoutControlItem4.Text = "时差误差";
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem4.TextSize = new System.Drawing.Size(86, 14);
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem5
             // 
             this.layoutControlItem5.Control = this.txtSatLocErr1;
             this.layoutControlItem5.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem5.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem5.Location = new System.Drawing.Point(0, 259);
+            this.layoutControlItem5.Location = new System.Drawing.Point(0, 369);
             this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(340, 44);
+            this.layoutControlItem5.Size = new System.Drawing.Size(484, 48);
+            this.layoutControlItem5.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2);
             this.layoutControlItem5.Text = "星历位置误差";
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(86, 14);
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.btnOK;
-            this.layoutControlItem1.Location = new System.Drawing.Point(170, 303);
+            this.layoutControlItem1.Location = new System.Drawing.Point(328, 417);
             this.layoutControlItem1.Name = "layoutControlItem1";
             this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
-            this.layoutControlItem1.Size = new System.Drawing.Size(170, 33);
+            this.layoutControlItem1.Size = new System.Drawing.Size(156, 33);
             this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem1.TextVisible = false;
             // 
             // emptySpaceItem1
             // 
             this.emptySpaceItem1.AllowHotTrack = false;
-            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 336);
+            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 450);
             this.emptySpaceItem1.Name = "emptySpaceItem1";
-            this.emptySpaceItem1.Size = new System.Drawing.Size(340, 70);
+            this.emptySpaceItem1.Size = new System.Drawing.Size(484, 56);
             this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
             // 
-            // layoutControlItem2
-            // 
-            this.layoutControlItem2.Control = this.btnClose;
-            this.layoutControlItem2.Location = new System.Drawing.Point(0, 303);
-            this.layoutControlItem2.Name = "layoutControlItem2";
-            this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
-            this.layoutControlItem2.Size = new System.Drawing.Size(170, 33);
-            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem2.TextVisible = false;
-            // 
-            // txtMainSat
-            // 
-            this.txtMainSat.AllowHotTrack = false;
-            this.txtMainSat.AppearanceItemCaption.ForeColor = System.Drawing.Color.SteelBlue;
-            this.txtMainSat.AppearanceItemCaption.Options.UseForeColor = true;
-            this.txtMainSat.Location = new System.Drawing.Point(0, 406);
-            this.txtMainSat.MaxSize = new System.Drawing.Size(0, 22);
-            this.txtMainSat.MinSize = new System.Drawing.Size(126, 22);
-            this.txtMainSat.Name = "txtMainSat";
-            this.txtMainSat.Size = new System.Drawing.Size(170, 22);
-            this.txtMainSat.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.txtMainSat.TextSize = new System.Drawing.Size(86, 14);
-            // 
-            // txtAdjaSat
-            // 
-            this.txtAdjaSat.AllowHotTrack = false;
-            this.txtAdjaSat.AppearanceItemCaption.ForeColor = System.Drawing.Color.SteelBlue;
-            this.txtAdjaSat.AppearanceItemCaption.Options.UseForeColor = true;
-            this.txtAdjaSat.Location = new System.Drawing.Point(170, 406);
-            this.txtAdjaSat.Name = "txtAdjaSat";
-            this.txtAdjaSat.Size = new System.Drawing.Size(170, 22);
-            this.txtAdjaSat.TextSize = new System.Drawing.Size(86, 14);
-            // 
             // emptySpaceItem2
             // 
             this.emptySpaceItem2.AllowHotTrack = false;
-            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 428);
+            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 506);
             this.emptySpaceItem2.MaxSize = new System.Drawing.Size(0, 24);
             this.emptySpaceItem2.MinSize = new System.Drawing.Size(104, 24);
             this.emptySpaceItem2.Name = "emptySpaceItem2";
-            this.emptySpaceItem2.Size = new System.Drawing.Size(340, 24);
+            this.emptySpaceItem2.Size = new System.Drawing.Size(484, 24);
             this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
+            // layoutControlItem3
+            // 
+            this.layoutControlItem3.Control = this.ucEphXYZMain;
+            this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
+            this.layoutControlItem3.MaxSize = new System.Drawing.Size(0, 92);
+            this.layoutControlItem3.MinSize = new System.Drawing.Size(190, 92);
+            this.layoutControlItem3.Name = "layoutControlItem3";
+            this.layoutControlItem3.Size = new System.Drawing.Size(484, 92);
+            this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem3.TextVisible = false;
+            // 
+            // layoutControlItem6
+            // 
+            this.layoutControlItem6.Control = this.ucEphXYZAdja;
+            this.layoutControlItem6.Location = new System.Drawing.Point(0, 92);
+            this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 92);
+            this.layoutControlItem6.MinSize = new System.Drawing.Size(190, 92);
+            this.layoutControlItem6.Name = "layoutControlItem6";
+            this.layoutControlItem6.Size = new System.Drawing.Size(484, 92);
+            this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem6.TextVisible = false;
+            // 
+            // layoutControlItem7
+            // 
+            this.layoutControlItem7.Control = this.btnEphCalc;
+            this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem7.CustomizationFormText = "layoutControlItem1";
+            this.layoutControlItem7.Location = new System.Drawing.Point(0, 417);
+            this.layoutControlItem7.Name = "layoutControlItem7";
+            this.layoutControlItem7.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
+            this.layoutControlItem7.Size = new System.Drawing.Size(171, 33);
+            this.layoutControlItem7.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 0, 0, 0);
+            this.layoutControlItem7.Text = "layoutControlItem1";
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem7.TextVisible = false;
+            // 
+            // layoutControlItem2
+            // 
+            this.layoutControlItem2.Control = this.btnClose;
+            this.layoutControlItem2.Location = new System.Drawing.Point(171, 417);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
+            this.layoutControlItem2.Size = new System.Drawing.Size(157, 33);
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem2.TextVisible = false;
+            // 
             // X2D1GDOPParam
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
@@ -441,22 +402,16 @@
             this.Controls.Add(this.layoutControl1);
             this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.Name = "X2D1GDOPParam";
-            this.Size = new System.Drawing.Size(340, 452);
+            this.Size = new System.Drawing.Size(484, 530);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtStationLocation1.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtRefLocation1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleMain.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleAdja.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtDtousErr1.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtSatLocErr1.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
@@ -464,10 +419,11 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtMainSat)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaSat)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             this.ResumeLayout(false);
 
         }
@@ -477,15 +433,9 @@
         private DevExpress.XtraEditors.DateEdit txtCapTime;
         private DevExpress.XtraEditors.TextEdit txtStationLocation1;
         private DevExpress.XtraEditors.TextEdit txtRefLocation1;
-        private DevExpress.XtraEditors.SearchLookUpEdit txtTleMain;
-        private DevExpress.XtraGrid.Views.Grid.GridView searchLookUpEdit1View;
-        private DevExpress.XtraEditors.SearchLookUpEdit txtTleAdja;
-        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
         private DevExpress.XtraEditors.ButtonEdit txtDtousErr1;
         private DevExpress.XtraEditors.ButtonEdit txtSatLocErr1;
         private DevExpress.XtraLayout.LayoutControlGroup Root;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
@@ -496,8 +446,12 @@
         private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
         private DevExpress.XtraEditors.SimpleButton btnClose;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
-        private DevExpress.XtraLayout.SimpleLabelItem txtMainSat;
-        private DevExpress.XtraLayout.SimpleLabelItem txtAdjaSat;
         private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
+        private UCEphXYZParam ucEphXYZMain;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+        private UCEphXYZParam ucEphXYZAdja;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
+        private DevExpress.XtraEditors.SimpleButton btnEphCalc;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
     }
 }

+ 70 - 38
XdCxRhDW.App/UserControl/X2D1GDOPParam.cs

@@ -8,6 +8,8 @@ using DxHelper;
 using XdCxRhDW.Repostory;
 using XdCxRhDW.Entity;
 using XdCxRhDW.Api;
+using System.Drawing;
+using DevExpress.Utils.About;
 
 namespace XdCxRhDW.App.UserControl
 {
@@ -16,8 +18,8 @@ namespace XdCxRhDW.App.UserControl
         public MapControl mapControl1;
         public GDOP星地两星一地接口 Model => new GDOP星地两星一地接口()
         {
-            TleMain = txtTleMain.Text.Trim(),
-            TleAdja = txtTleAdja.Text.Trim(),
+            TleMain = ucEphXYZMain.EphParam(),
+            TleAdja = ucEphXYZAdja.EphParam(),
             CapTime = txtCapTime.DateTime,
             StationLon = Convert.ToDouble(txtStationLocation1.Text.Replace(",", ",").Split(',')[0].Trim()),
             StationLat = Convert.ToDouble(txtStationLocation1.Text.Replace(",", ",").Split(',')[1].Trim()),
@@ -33,27 +35,19 @@ namespace XdCxRhDW.App.UserControl
             InitializeComponent();
             this.layoutControl1.UseDefault();
             txtCapTime.UseDefault();
-            txtTleMain.UseDoubleClickToSelectAll();
-            txtTleAdja.UseDoubleClickToSelectAll();
             txtStationLocation1.UseDoubleClickToSelectAll();
             txtRefLocation1.UseDoubleClickToSelectAll();
             this.txtCapTime.DateTime = item.SigTime;
             this.txtDtousErr1.EditValue = 1;
             this.txtSatLocErr1.EditValue = 10000;
-            List<string> xlall = new List<string>();
-            string mainTle = string.Empty;
-            string adjaTle = string.Empty;
+
 
             PosResType = item.PosResType;
             if (PosResType == EnumPosResType.X2D1NoRef)
             {
                 layoutControlItem14.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
             }
-            List<SatInfo> sats = null;
-            using (RHDWContext db = new RHDWContext())
-            {
-                sats = db.SatInfos.ToList();
-            }
+          
             using (RHDWPartContext db = RHDWPartContext.GetContext(item.SigTime))
             {
 
@@ -64,40 +58,35 @@ namespace XdCxRhDW.App.UserControl
                     this.txtStationLocation1.Text = $"{station.CdbTxLon},{station.CdbTxLat}";
                     this.txtRefLocation1.Text = $"{station.RefLon},{station.RefLat}";
                 }
-                var xlList = XlRepository.GetAllAsync().Result;
-                xlall.AddRange(xlList.Select(m => m.TwoLine));
-                if (xlall.Count == 0) return;
-                if (cg != null && cg.MainCode.HasValue && xlList.Any(m => m.SatCode == cg.MainCode.Value))
-                {
-                    mainTle = xlList.First(m => m.SatCode == cg.MainCode.Value).TwoLine;
-                }
-                if (cg != null && cg.Adja1Code.HasValue && xlList.Any(m => m.SatCode == cg.Adja1Code.Value))
+
+                if (cg != null)
                 {
-                    adjaTle = xlList.First(m => m.SatCode == cg.Adja1Code.Value).TwoLine;
+                    var mainEph = (cg.MainX, cg.MainY, cg.MainZ, cg.MainVx, cg.Adja1Vy, cg.Adja1Vz);
+                    ucEphXYZMain.SetParam($"主星", cg.MainCode, mainEph, Color.Black);
+
+                    var adjaEph = (cg.Adja1X, cg.Adja1Y, cg.Adja1Z, cg.Adja1Vx, cg.Adja1Vy, cg.Adja1Vz);
+                    ucEphXYZAdja.SetParam($"邻星", cg.Adja1Code, adjaEph, Color.Black);
+
                 }
-                txtMainSat.Text = "主星:" + cg.MainCode;
-                txtAdjaSat.Text = "邻星:" + cg.Adja1Code;
+
             }
 
-            txtTleMain.UseDefault().SetStringData(xlall).Text = mainTle;
-            txtTleAdja.UseDefault().SetStringData(xlall).Text = adjaTle;
         }
 
 
         private (bool, string) ParamValidate()
         {
-            if (string.IsNullOrWhiteSpace(txtTleMain.Text.Trim()))
+            var mainparam = ucEphXYZMain.ValidateParam();
+            if (!mainparam.Item1)
             {
-                return (false, "主星星历不能为空!");
+                return (false, mainparam.Item2);
             }
-            if (string.IsNullOrWhiteSpace(txtTleAdja.Text.Trim()))
+            var adjaparam = ucEphXYZAdja.ValidateParam();
+            if (!adjaparam.Item1)
             {
-                return (false, "主星星历不能为空!");
-            }
-            if (txtTleMain.Text.Trim() == txtTleAdja.Text.Trim())
-            {
-                return (false, "主邻星历不能相同!");
+                return (false, adjaparam.Item2);
             }
+
             if (txtCapTime.DateTime == DateTime.MinValue)
             {
                 return (false, "采集时刻不能为空!");
@@ -131,7 +120,7 @@ namespace XdCxRhDW.App.UserControl
                 var cdb = new double[] { Model.StationLon, Model.StationLat, 0 };
                 var refstation = new double[] { Model.RefLon, Model.RefLat, 0 };
 
-                var (listSat, data) = GdopHelper.Gdop2Sat1D(Model.TleMain, Model.TleAdja, Model.CapTime, cdb
+                var (listSat, data) = GdopHelper.Gdop2Sat1DByXyz(Model.TleMain, Model.TleAdja, cdb
                          , Model.DtousErr, Model.SatLocErr, PosResType == EnumPosResType.X2D1NoRef ? null : refstation);
                 foreach (var errLins in data)//画GDOP
                 {
@@ -148,18 +137,61 @@ namespace XdCxRhDW.App.UserControl
         {
             DxHelper.PopupHelper.HidePopup(this);
         }
+        private async void btnEphCalc_Click(object sender, EventArgs e)
+        {
+            if (txtCapTime.DateTime == DateTime.MinValue)
+            {
+                DxHelper.MsgBoxHelper.ShowWarning("采集时刻不能为空!");
+                return;
+            }
+            var sigTime = txtCapTime.DateTime;
+            try
+            {
+                var mainCode = ucEphXYZMain.GetSatCode();
+                var adjaCode = ucEphXYZAdja.GetSatCode();
+
+                var mainxlInfo = await XlRepository.GetLatestAsync(mainCode, sigTime);
+                if (mainxlInfo == null)
+                {
+                    DxHelper.MsgBoxHelper.ShowWarning($"卫星:{mainCode}未找到对应的星历信息,请导入星历");
+                    return;
+                }
+                var maineph = EphHelper.Calc(mainxlInfo.TwoLine, sigTime);
+
+                ucEphXYZMain.SetParam("主星", mainCode, (maineph.X, maineph.Y, maineph.Z, maineph.VX, maineph.VY, maineph.VZ), Color.Red);
+
+
+
+                var adjaxlInfo = await XlRepository.GetLatestAsync(adjaCode, sigTime);
+                if (adjaxlInfo == null)
+                {
+                    DxHelper.MsgBoxHelper.ShowWarning($"卫星:{adjaCode}未找到对应的星历信息,请导入星历");
+                    return;
+                }
+                var adjaeph = EphHelper.Calc(adjaxlInfo.TwoLine, sigTime);
+
+                ucEphXYZAdja.SetParam("邻星", adjaCode, (adjaeph.X, adjaeph.Y, adjaeph.Z, adjaeph.VX, adjaeph.VY, adjaeph.VZ), Color.Red);
+            }
+            catch (Exception ex)
+            {
+                Serilog.Log.Error(ex, $"手动推算{PosResType.GetEnumDisplayName()}星历失败,SigTime={sigTime}");
+                DxHelper.MsgBoxHelper.ShowError($"手动推算{PosResType.GetEnumDisplayName()}星历失败,{ex.Message}");
+            }
+
+
+        }
     }
     public class GDOP星地两星一地接口
     {
         /// <summary>
-        /// 主星星历(Tle)
+        /// 主星x y z vx vy vz
         /// </summary>
-        public string TleMain { get; set; }
+        public double[] TleMain { get; set; }
 
         /// <summary>
-        /// 邻星星历(Tle)
+        /// 邻星x y z vx vy vz
         /// </summary>
-        public string TleAdja { get; set; }
+        public double[] TleAdja { get; set; }
 
         /// <summary>
         /// 采集时刻

+ 12 - 0
XdCxRhDW.App/XdCxRhDW.App.csproj

@@ -125,6 +125,7 @@
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\System.Net.Http.Formatting.dll</HintPath>
     </Reference>
+    <Reference Include="System.Runtime.Remoting" />
     <Reference Include="System.Runtime.Serialization" />
     <Reference Include="System.Runtime.Serialization.Formatters.Soap" />
     <Reference Include="System.Security" />
@@ -136,6 +137,8 @@
     <Reference Include="System.Windows.Forms" />
     <Reference Include="System.Xml" />
     <Reference Include="System.Xml.Linq" />
+    <Reference Include="UIAutomationClient" />
+    <Reference Include="WindowsBase" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Basic\BaseVm.cs" />
@@ -364,6 +367,12 @@
     <Compile Include="UserControl\CtrlXl.Designer.cs">
       <DependentUpon>CtrlXl.cs</DependentUpon>
     </Compile>
+    <Compile Include="UserControl\UCEphXYZParam.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="UserControl\UCEphXYZParam.Designer.cs">
+      <DependentUpon>UCEphXYZParam.cs</DependentUpon>
+    </Compile>
     <Compile Include="UserControl\X1D1GDOPParam.cs">
       <SubType>UserControl</SubType>
     </Compile>
@@ -545,6 +554,9 @@
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>
+    <EmbeddedResource Include="UserControl\UCEphXYZParam.resx">
+      <DependentUpon>UCEphXYZParam.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="UserControl\X1D1GDOPParam.resx">
       <DependentUpon>X1D1GDOPParam.cs</DependentUpon>
     </EmbeddedResource>