Browse Source

更新单星和XZ测试参数

wyq 1 year ago
parent
commit
e96005ed42

+ 0 - 88
Common/App.config

@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-	<configSections>
-		<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
-		<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
-		<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System">
-			<section name="DevExpress.LookAndFeel.Design.AppSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
-		</sectionGroup>
-	</configSections>
-	<applicationSettings>
-		<DevExpress.LookAndFeel.Design.AppSettings>
-			<setting name="DefaultAppSkin" serializeAs="String">
-				<value>CompactSkin/WXI</value>
-			</setting>
-			<setting name="DefaultPalette" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="TouchUI" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="CompactUI" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="TouchScaleFactor" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="DirectX" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="RegisterUserSkins" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="RegisterBonusSkins" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="FontBehavior" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="DefaultAppFont" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="DPIAwarenessMode" serializeAs="String">
-				<value></value>
-			</setting>
-			<setting name="CustomPaletteCollection" serializeAs="Xml">
-				<value />
-			</setting>
-		</DevExpress.LookAndFeel.Design.AppSettings>
-	</applicationSettings>
-	<startup>
-		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
-	</startup>
-	<entityFramework>
-		<providers>
-			<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
-			<provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
-			<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
-		</providers>
-	</entityFramework>
-	<system.data>
-		<DbProviderFactories>
-			<remove invariant="System.Data.SQLite.EF6" />
-			<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-			<remove invariant="System.Data.SQLite" />
-			<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-		</DbProviderFactories>
-	</system.data>
-	<connectionStrings>
-		<add name="DbCon" connectionString="Data Source=|DataDirectory|\Database.db" providerName="System.Data.SQLite.EF6" />
-	</connectionStrings>
-	<appSettings>
-		<!--程序标题-->
-		<add key="SystemName" value="XZDW平台" />
-		<!--公司名称(没有则不会显示版权)-->
-		<add key="Company" value="" />
-		<add key="MBUpFreq" value="3.1085e8"/>
-		<add key="CKUpFreq" value="2.95e8"/>
-		<!--双星参考站位置-->
-		<add key="SXCKLon" value="112.33"/>
-		<add key="SXCKLat" value="16.3"/>
-
-		<!--框选范围-->
-		<add key="CenterLon" value="144"/>
-		<add key="CenterLat" value="13"/>
-		<add key="LonRange" value="10"/>
-		<add key="LatRange" value="10"/>
-	</appSettings>
-</configuration>

+ 0 - 1
Common/Common.csproj

@@ -262,7 +262,6 @@
       <DependentUpon>Resources.resx</DependentUpon>
       <DesignTime>True</DesignTime>
     </Compile>
-    <None Include="App.config" />
     <None Include="Properties\Settings.settings">
       <Generator>SettingsSingleFileGenerator</Generator>
       <LastGenOutput>Settings.Designer.cs</LastGenOutput>

+ 4 - 3
XzDw.App/UserControl/CtrlPosSingle.cs

@@ -96,7 +96,7 @@ namespace XzXdDw.App.UserControl
                       .AddMenu("绘制频差线", SvgHelper.LoadFromFile("Image\\DfoLine.svg"), DrawDfoLine)
                     .AddMenu("绘制误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), () => {
                         
-                        var ctrl = new DXErrEllipseParam();
+                        var ctrl = new DXErrEllipseParam(MBfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -136,7 +136,7 @@ namespace XzXdDw.App.UserControl
                     .AddMapMenu("停止加载", SvgHelper.LoadFromFile("Image\\Stop.svg"), (lon, lat) => stoped = true)
                     .AddMapMenu("GDOP分析", SvgHelper.LoadFromFile("Image\\GDOP.svg"), (lon, lat) =>
                     {
-                        var ctrl = new DXGDOPParam();
+                        var ctrl = new DXGDOPParam(MBfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -175,7 +175,7 @@ namespace XzXdDw.App.UserControl
 
                     .AddPosMenu<PosRes>("误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), item =>
                     {
-                        var ctrl = new DXErrEllipseParam();
+                        var ctrl = new DXErrEllipseParam(MBfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -331,6 +331,7 @@ namespace XzXdDw.App.UserControl
             string json = Newtonsoft.Json.JsonConvert.SerializeObject(pos);
             tcpServer.SendData(setings.ServerIp, setings.Port, json);
         }
+
         private void DrawErrorEllipse1X(double[] MsEph, double[] NsEph1, double[] NsEph2,double DfoErr,double EphPosErr,double EphVelErr,double fu)
         {
             try

+ 4 - 7
XzDw.App/UserControl/CtrlPosXz.cs

@@ -64,10 +64,8 @@ namespace XzXdDw.App.UserControl
 
             MBfu = ConfigurationManager.AppSettings["MBUpFreq"].To(3.1085e8);
             CKfu = ConfigurationManager.AppSettings["CKUpFreq"].To(2.95e8);
-
             tcpServer = new TcpServer();
 
-
         }
 
         private async void CtrlXdPos_Load(object sender, EventArgs e)
@@ -112,7 +110,7 @@ namespace XzXdDw.App.UserControl
                      .AddMenu("绘制频差线", SvgHelper.LoadFromFile("Image\\DfoLine.svg"), DrawDfoLine)
                      .AddMenu("绘制误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), () =>
                      {
-                         var ctrl = new XZErrEllipseParam();
+                         var ctrl = new XZErrEllipseParam(refTx, MBfu, CKfu);
                          PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                          {
                              if (hideReason == HideReason.Defalut) return;
@@ -150,7 +148,7 @@ namespace XzXdDw.App.UserControl
                     .AddMapMenu("停止加载", SvgHelper.LoadFromFile("Image\\Stop.svg"), (lon, lat) => stoped = true)
                     .AddMapMenu("GDOP分析", SvgHelper.LoadFromFile("Image\\GDOP.svg"), (lon, lat) =>
                     {
-                        var ctrl = new XZGDOPParam();
+                        var ctrl = new XZGDOPParam( refTx, MBfu,  CKfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -188,7 +186,7 @@ namespace XzXdDw.App.UserControl
                     })
                     .AddPosMenu<XZPosRes>("误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), item =>
                     {
-                        var ctrl = new XZErrEllipseParam();
+                        var ctrl = new XZErrEllipseParam(refTx, MBfu, CKfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -313,8 +311,6 @@ namespace XzXdDw.App.UserControl
                         MirrLat = res[4],
                     };
                     db.XZPosRes.Add(posRes);//定位结果入库
-
-
                     SendPosData(posRes, sysSetings);
                     //更新定位结果UI列表和地图
                     var currentTask = gridView1.GetFocusedRow() as TaskInfo;
@@ -329,6 +325,7 @@ namespace XzXdDw.App.UserControl
                 }
             }
         }
+
         private void SendPosData(XZPosRes pos, SysSetings setings)
         {
             if (setings == null || string.IsNullOrEmpty(setings.ServerIp) || setings.Port < 0 || setings.Port > 65535)

+ 0 - 1
XzDw.App/UserControl/DXErrEllipseParam.Designer.cs

@@ -438,7 +438,6 @@
             this.Margin = new System.Windows.Forms.Padding(5);
             this.Name = "DXErrEllipseParam";
             this.Size = new System.Drawing.Size(493, 597);
-            this.Load += new System.EventHandler(this.DXErrEllipseParam_Load);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtTleMain.Properties)).EndInit();

+ 3 - 8
XzDw.App/UserControl/DXErrEllipseParam.cs

@@ -28,14 +28,9 @@ namespace XdCxRhDW.App.UserControl
             EphVelErr = Convert.ToDouble(txtEphVelErr1.Text),
             fu = Convert.ToDouble(txtFu1.Text)*1e6,
         };
-        public DXErrEllipseParam()
+        public DXErrEllipseParam(double MBfu)
         {
             InitializeComponent();
-        }
-
-        private void DXErrEllipseParam_Load(object sender, EventArgs e)
-        {
-
             txtTleMain.UseDoubleClickToSelectAll();
             txtTleAdja1.UseDoubleClickToSelectAll();
             txtTleAdja2.UseDoubleClickToSelectAll();
@@ -45,8 +40,8 @@ namespace XdCxRhDW.App.UserControl
             this.txtCapTime.DateTime = TestData.Time;
             this.txtDfoErr1.EditValue = TestData.DtousErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
-            this.txtEphVelErr1.EditValue= TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
+            this.txtEphVelErr1.EditValue = TestData.EphVelErr;
+            this.txtFu1.EditValue = MBfu * 1e-6;
         }
 
         private void btnOK_Click(object sender, EventArgs e)

+ 0 - 1
XzDw.App/UserControl/DXGDOPParam.Designer.cs

@@ -426,7 +426,6 @@
             this.Margin = new System.Windows.Forms.Padding(5);
             this.Name = "DXGDOPParam";
             this.Size = new System.Drawing.Size(493, 875);
-            this.Load += new System.EventHandler(this.DXGDOPParam_Load);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtTleLeo1.Properties)).EndInit();

+ 2 - 7
XzDw.App/UserControl/DXGDOPParam.cs

@@ -28,13 +28,9 @@ namespace XdCxRhDW.App.UserControl
             EphVelErr = Convert.ToDouble(txtEphVelErr1.Text),
             fu = Convert.ToDouble(txtFu1.Text)*1e6,
         };
-        public DXGDOPParam()
+        public DXGDOPParam(double MBfu)
         {
             InitializeComponent();
-        }
-
-        private void DXGDOPParam_Load(object sender, EventArgs e)
-        {
             txtTleLeo1.UseDoubleClickToSelectAll();
             txtTleLeo1.UseDefault().SetStringData(TestData.AllTle).Text = TestData.tleleo1;
             this.txtCapTime1.DateTime = TestData.leoTime;
@@ -43,9 +39,8 @@ namespace XdCxRhDW.App.UserControl
             this.txtDfoErr1.EditValue = TestData.DtousErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
             this.txtEphVelErr1.EditValue = TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
+            this.txtFu1.EditValue = MBfu * 1e-6;
         }
-
         private void btnOK_Click(object sender, EventArgs e)
         {
             PopupHelper.HidePopup(this);

+ 106 - 99
XzDw.App/UserControl/XZErrEllipseParam.Designer.cs

@@ -28,11 +28,6 @@
         /// </summary>
         private void InitializeComponent()
         {
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions6 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject21 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject22 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject23 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject24 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions7 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject25 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject26 = new DevExpress.Utils.SerializableAppearanceObject();
@@ -58,6 +53,11 @@
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions5 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject17 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject18 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject19 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject20 = new DevExpress.Utils.SerializableAppearanceObject();
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
             this.btnOK = new DevExpress.XtraEditors.SimpleButton();
             this.txtCapTime = new DevExpress.XtraEditors.DateEdit();
@@ -132,20 +132,20 @@
             this.layoutControl1.Controls.Add(this.txtFu2);
             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(6, 5, 6, 5);
+            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(493, 875);
+            this.layoutControl1.Size = new System.Drawing.Size(345, 557);
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
             // btnOK
             // 
-            this.btnOK.Location = new System.Drawing.Point(249, 432);
-            this.btnOK.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.btnOK.Location = new System.Drawing.Point(174, 254);
+            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnOK.Name = "btnOK";
-            this.btnOK.Size = new System.Drawing.Size(241, 32);
+            this.btnOK.Size = new System.Drawing.Size(169, 22);
             this.btnOK.StyleController = this.layoutControl1;
             this.btnOK.TabIndex = 12;
             this.btnOK.Text = "确定";
@@ -154,28 +154,30 @@
             // txtCapTime
             // 
             this.txtCapTime.EditValue = null;
-            this.txtCapTime.Location = new System.Drawing.Point(3, 172);
-            this.txtCapTime.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtCapTime.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtCapTime.Location = new System.Drawing.Point(1, 100);
+            this.txtCapTime.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtCapTime.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtCapTime.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtCapTime.Name = "txtCapTime";
             this.txtCapTime.Properties.AutoHeight = false;
             this.txtCapTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             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(240, 35);
+            this.txtCapTime.Size = new System.Drawing.Size(170, 22);
             this.txtCapTime.StyleController = this.layoutControl1;
             this.txtCapTime.TabIndex = 8;
             // 
             // txtRefLocation1
             // 
             this.txtRefLocation1.EditValue = "";
-            this.txtRefLocation1.Location = new System.Drawing.Point(249, 172);
-            this.txtRefLocation1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtRefLocation1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtRefLocation1.Location = new System.Drawing.Point(173, 100);
+            this.txtRefLocation1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 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(241, 35);
+            this.txtRefLocation1.Size = new System.Drawing.Size(171, 22);
             this.txtRefLocation1.StyleController = this.layoutControl1;
             this.txtRefLocation1.TabIndex = 10;
             this.txtRefLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
@@ -183,9 +185,10 @@
             // txtTleMain
             // 
             this.txtTleMain.EditValue = "";
-            this.txtTleMain.Location = new System.Drawing.Point(3, 32);
-            this.txtTleMain.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleMain.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleMain.Location = new System.Drawing.Point(1, 18);
+            this.txtTleMain.Margin = new System.Windows.Forms.Padding(2, 2, 2, 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[] {
@@ -193,26 +196,26 @@
             this.txtTleMain.Properties.NullText = "";
             this.txtTleMain.Properties.PopupSizeable = false;
             this.txtTleMain.Properties.PopupView = this.searchLookUpEdit1View;
-            this.txtTleMain.Size = new System.Drawing.Size(487, 35);
+            this.txtTleMain.Size = new System.Drawing.Size(343, 22);
             this.txtTleMain.StyleController = this.layoutControl1;
             this.txtTleMain.TabIndex = 4;
             this.txtTleMain.ToolTip = "填写卫星的双行根数";
             // 
             // searchLookUpEdit1View
             // 
-            this.searchLookUpEdit1View.DetailHeight = 550;
             this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
-            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 614;
+            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(3, 102);
-            this.txtTleAdja.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleAdja.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleAdja.Location = new System.Drawing.Point(1, 59);
+            this.txtTleAdja.Margin = new System.Windows.Forms.Padding(2, 2, 2, 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[] {
@@ -220,31 +223,31 @@
             this.txtTleAdja.Properties.NullText = "";
             this.txtTleAdja.Properties.PopupSizeable = false;
             this.txtTleAdja.Properties.PopupView = this.gridView1;
-            this.txtTleAdja.Size = new System.Drawing.Size(487, 35);
+            this.txtTleAdja.Size = new System.Drawing.Size(343, 22);
             this.txtTleAdja.StyleController = this.layoutControl1;
             this.txtTleAdja.TabIndex = 5;
             this.txtTleAdja.ToolTip = "填写卫星的双行根数";
             // 
             // gridView1
             // 
-            this.gridView1.DetailHeight = 550;
             this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.gridView1.Name = "gridView1";
-            this.gridView1.OptionsEditForm.PopupEditFormWidth = 614;
+            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(3, 242);
-            this.txtDtousErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDtousErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDtousErr1.Location = new System.Drawing.Point(1, 141);
+            this.txtDtousErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtDtousErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtDtousErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtDtousErr1.Name = "txtDtousErr1";
             this.txtDtousErr1.Properties.AutoHeight = false;
             this.txtDtousErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDtousErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDtousErr1.Size = new System.Drawing.Size(170, 22);
             this.txtDtousErr1.StyleController = this.layoutControl1;
             this.txtDtousErr1.TabIndex = 6;
             this.txtDtousErr1.ToolTip = "ECEF坐标X";
@@ -252,59 +255,64 @@
             // txtSatLocErr1
             // 
             this.txtSatLocErr1.EditValue = "";
-            this.txtSatLocErr1.Location = new System.Drawing.Point(3, 312);
-            this.txtSatLocErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtSatLocErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtSatLocErr1.Location = new System.Drawing.Point(1, 182);
+            this.txtSatLocErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtSatLocErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtSatLocErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtSatLocErr1.Name = "txtSatLocErr1";
             this.txtSatLocErr1.Properties.AutoHeight = false;
             this.txtSatLocErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtSatLocErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtSatLocErr1.Size = new System.Drawing.Size(170, 22);
             this.txtSatLocErr1.StyleController = this.layoutControl1;
             this.txtSatLocErr1.TabIndex = 6;
             this.txtSatLocErr1.ToolTip = "ECEF坐标X";
             // 
             // txtDfoErr1
             // 
-            this.txtDfoErr1.Location = new System.Drawing.Point(249, 242);
-            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDfoErr1.Location = new System.Drawing.Point(173, 141);
+            this.txtDfoErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtDfoErr1.Name = "txtDfoErr1";
             this.txtDfoErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDfoErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -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.txtDfoErr1.Size = new System.Drawing.Size(171, 22);
             this.txtDfoErr1.StyleController = this.layoutControl1;
             this.txtDfoErr1.TabIndex = 13;
             // 
             // txtEphVelErr1
             // 
-            this.txtEphVelErr1.Location = new System.Drawing.Point(249, 312);
-            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtEphVelErr1.Location = new System.Drawing.Point(173, 182);
+            this.txtEphVelErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtEphVelErr1.Name = "txtEphVelErr1";
             this.txtEphVelErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -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.txtEphVelErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtEphVelErr1.Size = new System.Drawing.Size(171, 22);
             this.txtEphVelErr1.StyleController = this.layoutControl1;
             this.txtEphVelErr1.TabIndex = 14;
             // 
             // txtFu1
             // 
-            this.txtFu1.Location = new System.Drawing.Point(3, 382);
+            this.txtFu1.Location = new System.Drawing.Point(1, 223);
+            this.txtFu1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.txtFu1.Name = "txtFu1";
             this.txtFu1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu1.Size = new System.Drawing.Size(240, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu1.Size = new System.Drawing.Size(170, 22);
             this.txtFu1.StyleController = this.layoutControl1;
             this.txtFu1.TabIndex = 15;
             // 
             // txtFu2
             // 
-            this.txtFu2.Location = new System.Drawing.Point(249, 382);
+            this.txtFu2.Location = new System.Drawing.Point(173, 223);
+            this.txtFu2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.txtFu2.Name = "txtFu2";
             this.txtFu2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu2.Size = new System.Drawing.Size(241, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu2.Size = new System.Drawing.Size(171, 22);
             this.txtFu2.StyleController = this.layoutControl1;
             this.txtFu2.TabIndex = 16;
             // 
@@ -326,7 +334,7 @@
             this.layoutControlItem7,
             this.layoutControlItem12});
             this.Root.Name = "Root";
-            this.Root.Size = new System.Drawing.Size(493, 875);
+            this.Root.Size = new System.Drawing.Size(345, 557);
             this.Root.TextVisible = false;
             // 
             // layoutControlItem8
@@ -335,69 +343,69 @@
             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(493, 70);
+            this.layoutControlItem8.Size = new System.Drawing.Size(345, 41);
             this.layoutControlItem8.Text = "主星星历";
             this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem8.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem9
             // 
             this.layoutControlItem9.Control = this.txtTleAdja;
             this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem9.Location = new System.Drawing.Point(0, 70);
+            this.layoutControlItem9.Location = new System.Drawing.Point(0, 41);
             this.layoutControlItem9.Name = "layoutControlItem9";
-            this.layoutControlItem9.Size = new System.Drawing.Size(493, 70);
+            this.layoutControlItem9.Size = new System.Drawing.Size(345, 41);
             this.layoutControlItem9.Text = "邻星星历";
             this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem9.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem11
             // 
             this.layoutControlItem11.Control = this.txtCapTime;
             this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem11.Location = new System.Drawing.Point(0, 140);
+            this.layoutControlItem11.Location = new System.Drawing.Point(0, 82);
             this.layoutControlItem11.Name = "layoutControlItem11";
-            this.layoutControlItem11.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem11.Size = new System.Drawing.Size(172, 41);
             this.layoutControlItem11.Text = "采集时刻";
             this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem11.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem11.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, 280);
+            this.layoutControlItem5.Location = new System.Drawing.Point(0, 164);
             this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem5.Size = new System.Drawing.Size(172, 41);
             this.layoutControlItem5.Text = "星历位置误差";
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.btnOK;
-            this.layoutControlItem1.Location = new System.Drawing.Point(246, 419);
+            this.layoutControlItem1.Location = new System.Drawing.Point(172, 246);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 13, 3);
-            this.layoutControlItem1.Size = new System.Drawing.Size(247, 48);
+            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 2);
+            this.layoutControlItem1.Size = new System.Drawing.Size(173, 32);
             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, 467);
+            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 278);
             this.emptySpaceItem1.Name = "emptySpaceItem1";
-            this.emptySpaceItem1.Size = new System.Drawing.Size(493, 408);
+            this.emptySpaceItem1.Size = new System.Drawing.Size(345, 279);
             this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
             // 
             // emptySpaceItem2
             // 
             this.emptySpaceItem2.AllowHotTrack = false;
-            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 419);
+            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 246);
             this.emptySpaceItem2.Name = "emptySpaceItem2";
-            this.emptySpaceItem2.Size = new System.Drawing.Size(246, 48);
+            this.emptySpaceItem2.Size = new System.Drawing.Size(172, 32);
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem4
@@ -405,73 +413,72 @@
             this.layoutControlItem4.Control = this.txtDtousErr1;
             this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem4.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem4.Location = new System.Drawing.Point(0, 210);
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 123);
             this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem4.Size = new System.Drawing.Size(172, 41);
             this.layoutControlItem4.Text = "时差误差";
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem4.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txtFu1;
-            this.layoutControlItem10.Location = new System.Drawing.Point(0, 350);
+            this.layoutControlItem10.Location = new System.Drawing.Point(0, 205);
             this.layoutControlItem10.Name = "layoutControlItem10";
-            this.layoutControlItem10.Size = new System.Drawing.Size(246, 69);
-            this.layoutControlItem10.Text = "主星上行频点";
+            this.layoutControlItem10.Size = new System.Drawing.Size(172, 41);
+            this.layoutControlItem10.Text = "目标上行频点";
             this.layoutControlItem10.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem10.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem10.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(246, 140);
+            this.layoutControlItem14.Location = new System.Drawing.Point(172, 82);
             this.layoutControlItem14.Name = "layoutControlItem14";
-            this.layoutControlItem14.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem14.Size = new System.Drawing.Size(173, 41);
             this.layoutControlItem14.Text = "参考站经纬度";
             this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem14.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txtDfoErr1;
-            this.layoutControlItem6.Location = new System.Drawing.Point(246, 210);
+            this.layoutControlItem6.Location = new System.Drawing.Point(172, 123);
             this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem6.Size = new System.Drawing.Size(173, 41);
             this.layoutControlItem6.Text = "频差误差";
             this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem6.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txtEphVelErr1;
-            this.layoutControlItem7.Location = new System.Drawing.Point(246, 280);
+            this.layoutControlItem7.Location = new System.Drawing.Point(172, 164);
             this.layoutControlItem7.Name = "layoutControlItem7";
-            this.layoutControlItem7.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem7.Size = new System.Drawing.Size(173, 41);
             this.layoutControlItem7.Text = "星历速度误差";
             this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem7.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem12
             // 
             this.layoutControlItem12.Control = this.txtFu2;
-            this.layoutControlItem12.Location = new System.Drawing.Point(246, 350);
+            this.layoutControlItem12.Location = new System.Drawing.Point(172, 205);
             this.layoutControlItem12.Name = "layoutControlItem12";
-            this.layoutControlItem12.Size = new System.Drawing.Size(247, 69);
-            this.layoutControlItem12.Text = "邻星上行频点";
+            this.layoutControlItem12.Size = new System.Drawing.Size(173, 41);
+            this.layoutControlItem12.Text = "参考上行频点";
             this.layoutControlItem12.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem12.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14);
             // 
             // XZErrEllipseParam
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.Controls.Add(this.layoutControl1);
-            this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.Name = "XZErrEllipseParam";
-            this.Size = new System.Drawing.Size(493, 875);
-            this.Load += new System.EventHandler(this.XZErrEllipseParam_Load);
+            this.Size = new System.Drawing.Size(345, 557);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).EndInit();

+ 5 - 8
XzDw.App/UserControl/XZErrEllipseParam.cs

@@ -31,13 +31,9 @@ namespace XdCxRhDW.App.UserControl
             fu1 = Convert.ToDouble(txtFu1.Text) * 1e6,
             fu2 = Convert.ToDouble(txtFu2.Text) * 1e6,
         };
-        public XZErrEllipseParam()
+        public XZErrEllipseParam(TxInfo refTx, double upfreqHz1, double upfreqHz2)
         {
             InitializeComponent();
-        }
-
-        private void XZErrEllipseParam_Load(object sender, EventArgs e)
-        {
             txtCapTime.UseDefault();
             txtCapTime.DateTime = TestData.Time;
             txtTleMain.UseDoubleClickToSelectAll();
@@ -45,17 +41,18 @@ namespace XdCxRhDW.App.UserControl
             txtRefLocation1.UseDoubleClickToSelectAll();
 
             this.txtCapTime.DateTime = TestData.Time;
-            this.txtRefLocation1.Text = TestData.RefLoc;
+            this.txtRefLocation1.Text = $"{refTx.Lon},{refTx.Lat}";
             txtTleMain.UseDefault().SetStringData(TestData.AllTle).Text = TestData.TleMain;
             txtTleAdja.UseDefault().SetStringData(TestData.AllTle).Text = TestData.TleAdja1;
             this.txtDtousErr1.EditValue = TestData.DtousErr;
             this.txtDfoErr1.EditValue = TestData.DfoHzErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
             this.txtEphVelErr1.EditValue = TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
-            this.txtFu2.EditValue = TestData.Freq;
+            this.txtFu1.EditValue = upfreqHz1 * 1e-6;
+            this.txtFu2.EditValue = upfreqHz2 * 1e-6;
         }
 
+
         private void btnOK_Click(object sender, EventArgs e)
         {
             PopupHelper.HidePopup(this);

+ 108 - 99
XzDw.App/UserControl/XZGDOPParam .Designer.cs

@@ -28,6 +28,11 @@
         /// </summary>
         private void InitializeComponent()
         {
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions7 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject25 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject26 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject27 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject28 = new DevExpress.Utils.SerializableAppearanceObject();
             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();
@@ -53,11 +58,6 @@
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject18 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject19 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject20 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions6 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject21 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject22 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject23 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject24 = new DevExpress.Utils.SerializableAppearanceObject();
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
             this.btnOK = new DevExpress.XtraEditors.SimpleButton();
             this.txtCapTime = new DevExpress.XtraEditors.DateEdit();
@@ -132,20 +132,20 @@
             this.layoutControl1.Controls.Add(this.txtFu2);
             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(6, 5, 6, 5);
+            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(493, 875);
+            this.layoutControl1.Size = new System.Drawing.Size(345, 557);
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
             // btnOK
             // 
-            this.btnOK.Location = new System.Drawing.Point(249, 432);
-            this.btnOK.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.btnOK.Location = new System.Drawing.Point(174, 272);
+            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnOK.Name = "btnOK";
-            this.btnOK.Size = new System.Drawing.Size(241, 32);
+            this.btnOK.Size = new System.Drawing.Size(169, 22);
             this.btnOK.StyleController = this.layoutControl1;
             this.btnOK.TabIndex = 12;
             this.btnOK.Text = "确定";
@@ -154,28 +154,30 @@
             // txtCapTime
             // 
             this.txtCapTime.EditValue = null;
-            this.txtCapTime.Location = new System.Drawing.Point(3, 172);
-            this.txtCapTime.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtCapTime.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtCapTime.Location = new System.Drawing.Point(2, 108);
+            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);
             this.txtCapTime.Name = "txtCapTime";
             this.txtCapTime.Properties.AutoHeight = false;
             this.txtCapTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             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(240, 35);
+            this.txtCapTime.Size = new System.Drawing.Size(168, 22);
             this.txtCapTime.StyleController = this.layoutControl1;
             this.txtCapTime.TabIndex = 8;
             // 
             // txtRefLocation1
             // 
             this.txtRefLocation1.EditValue = "";
-            this.txtRefLocation1.Location = new System.Drawing.Point(249, 172);
-            this.txtRefLocation1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtRefLocation1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtRefLocation1.Location = new System.Drawing.Point(174, 108);
+            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(241, 35);
+            this.txtRefLocation1.Size = new System.Drawing.Size(169, 22);
             this.txtRefLocation1.StyleController = this.layoutControl1;
             this.txtRefLocation1.TabIndex = 10;
             this.txtRefLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
@@ -183,9 +185,10 @@
             // txtTleLeo1
             // 
             this.txtTleLeo1.EditValue = "";
-            this.txtTleLeo1.Location = new System.Drawing.Point(3, 32);
-            this.txtTleLeo1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleLeo1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleLeo1.Location = new System.Drawing.Point(2, 20);
+            this.txtTleLeo1.Margin = new System.Windows.Forms.Padding(2);
+            this.txtTleLeo1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtTleLeo1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtTleLeo1.Name = "txtTleLeo1";
             this.txtTleLeo1.Properties.AutoHeight = false;
             this.txtTleLeo1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
@@ -193,26 +196,26 @@
             this.txtTleLeo1.Properties.NullText = "";
             this.txtTleLeo1.Properties.PopupSizeable = false;
             this.txtTleLeo1.Properties.PopupView = this.searchLookUpEdit1View;
-            this.txtTleLeo1.Size = new System.Drawing.Size(487, 35);
+            this.txtTleLeo1.Size = new System.Drawing.Size(341, 22);
             this.txtTleLeo1.StyleController = this.layoutControl1;
             this.txtTleLeo1.TabIndex = 4;
             this.txtTleLeo1.ToolTip = "填写卫星的双行根数";
             // 
             // searchLookUpEdit1View
             // 
-            this.searchLookUpEdit1View.DetailHeight = 550;
             this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
-            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 614;
+            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 430;
             this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
             this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
             // 
             // txtTleLeo2
             // 
             this.txtTleLeo2.EditValue = "";
-            this.txtTleLeo2.Location = new System.Drawing.Point(3, 102);
-            this.txtTleLeo2.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleLeo2.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleLeo2.Location = new System.Drawing.Point(2, 64);
+            this.txtTleLeo2.Margin = new System.Windows.Forms.Padding(2);
+            this.txtTleLeo2.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtTleLeo2.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtTleLeo2.Name = "txtTleLeo2";
             this.txtTleLeo2.Properties.AutoHeight = false;
             this.txtTleLeo2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
@@ -220,31 +223,31 @@
             this.txtTleLeo2.Properties.NullText = "";
             this.txtTleLeo2.Properties.PopupSizeable = false;
             this.txtTleLeo2.Properties.PopupView = this.gridView1;
-            this.txtTleLeo2.Size = new System.Drawing.Size(487, 35);
+            this.txtTleLeo2.Size = new System.Drawing.Size(341, 22);
             this.txtTleLeo2.StyleController = this.layoutControl1;
             this.txtTleLeo2.TabIndex = 5;
             this.txtTleLeo2.ToolTip = "填写卫星的双行根数";
             // 
             // gridView1
             // 
-            this.gridView1.DetailHeight = 550;
             this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.gridView1.Name = "gridView1";
-            this.gridView1.OptionsEditForm.PopupEditFormWidth = 614;
+            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(3, 242);
-            this.txtDtousErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDtousErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDtousErr1.Location = new System.Drawing.Point(2, 152);
+            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);
             this.txtDtousErr1.Name = "txtDtousErr1";
             this.txtDtousErr1.Properties.AutoHeight = false;
             this.txtDtousErr1.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)});
-            this.txtDtousErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDtousErr1.Size = new System.Drawing.Size(168, 22);
             this.txtDtousErr1.StyleController = this.layoutControl1;
             this.txtDtousErr1.TabIndex = 6;
             this.txtDtousErr1.ToolTip = "ECEF坐标X";
@@ -252,59 +255,64 @@
             // txtSatLocErr1
             // 
             this.txtSatLocErr1.EditValue = "";
-            this.txtSatLocErr1.Location = new System.Drawing.Point(3, 312);
-            this.txtSatLocErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtSatLocErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtSatLocErr1.Location = new System.Drawing.Point(2, 196);
+            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);
             this.txtSatLocErr1.Name = "txtSatLocErr1";
             this.txtSatLocErr1.Properties.AutoHeight = false;
             this.txtSatLocErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -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.txtSatLocErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtSatLocErr1.Size = new System.Drawing.Size(168, 22);
             this.txtSatLocErr1.StyleController = this.layoutControl1;
             this.txtSatLocErr1.TabIndex = 6;
             this.txtSatLocErr1.ToolTip = "ECEF坐标X";
             // 
             // txtDfoErr1
             // 
-            this.txtDfoErr1.Location = new System.Drawing.Point(249, 242);
-            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDfoErr1.Location = new System.Drawing.Point(174, 152);
+            this.txtDfoErr1.Margin = new System.Windows.Forms.Padding(2);
+            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtDfoErr1.Name = "txtDfoErr1";
             this.txtDfoErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDfoErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -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.txtDfoErr1.Size = new System.Drawing.Size(169, 22);
             this.txtDfoErr1.StyleController = this.layoutControl1;
             this.txtDfoErr1.TabIndex = 13;
             // 
             // txtEphVelErr1
             // 
-            this.txtEphVelErr1.Location = new System.Drawing.Point(249, 312);
-            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtEphVelErr1.Location = new System.Drawing.Point(174, 196);
+            this.txtEphVelErr1.Margin = new System.Windows.Forms.Padding(2);
+            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtEphVelErr1.Name = "txtEphVelErr1";
             this.txtEphVelErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtEphVelErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtEphVelErr1.Size = new System.Drawing.Size(169, 22);
             this.txtEphVelErr1.StyleController = this.layoutControl1;
             this.txtEphVelErr1.TabIndex = 14;
             // 
             // txtFu1
             // 
-            this.txtFu1.Location = new System.Drawing.Point(3, 382);
+            this.txtFu1.Location = new System.Drawing.Point(2, 240);
+            this.txtFu1.Margin = new System.Windows.Forms.Padding(2);
             this.txtFu1.Name = "txtFu1";
             this.txtFu1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu1.Size = new System.Drawing.Size(240, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu1.Size = new System.Drawing.Size(168, 22);
             this.txtFu1.StyleController = this.layoutControl1;
             this.txtFu1.TabIndex = 15;
             // 
             // txtFu2
             // 
-            this.txtFu2.Location = new System.Drawing.Point(249, 382);
+            this.txtFu2.Location = new System.Drawing.Point(174, 240);
+            this.txtFu2.Margin = new System.Windows.Forms.Padding(2);
             this.txtFu2.Name = "txtFu2";
             this.txtFu2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu2.Size = new System.Drawing.Size(241, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu2.Size = new System.Drawing.Size(169, 22);
             this.txtFu2.StyleController = this.layoutControl1;
             this.txtFu2.TabIndex = 16;
             // 
@@ -326,7 +334,7 @@
             this.layoutControlItem7,
             this.layoutControlItem12});
             this.Root.Name = "Root";
-            this.Root.Size = new System.Drawing.Size(493, 875);
+            this.Root.Size = new System.Drawing.Size(345, 557);
             this.Root.TextVisible = false;
             // 
             // layoutControlItem8
@@ -335,69 +343,69 @@
             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(493, 70);
+            this.layoutControlItem8.Size = new System.Drawing.Size(345, 44);
             this.layoutControlItem8.Text = "主星星历";
             this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem8.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem9
             // 
             this.layoutControlItem9.Control = this.txtTleLeo2;
             this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem9.Location = new System.Drawing.Point(0, 70);
+            this.layoutControlItem9.Location = new System.Drawing.Point(0, 44);
             this.layoutControlItem9.Name = "layoutControlItem9";
-            this.layoutControlItem9.Size = new System.Drawing.Size(493, 70);
+            this.layoutControlItem9.Size = new System.Drawing.Size(345, 44);
             this.layoutControlItem9.Text = "邻星星历";
             this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem9.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem11
             // 
             this.layoutControlItem11.Control = this.txtCapTime;
             this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem11.Location = new System.Drawing.Point(0, 140);
+            this.layoutControlItem11.Location = new System.Drawing.Point(0, 88);
             this.layoutControlItem11.Name = "layoutControlItem11";
-            this.layoutControlItem11.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem11.Size = new System.Drawing.Size(172, 44);
             this.layoutControlItem11.Text = "采集时刻";
             this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem11.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem11.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, 280);
+            this.layoutControlItem5.Location = new System.Drawing.Point(0, 176);
             this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem5.Size = new System.Drawing.Size(172, 44);
             this.layoutControlItem5.Text = "星历位置误差";
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.btnOK;
-            this.layoutControlItem1.Location = new System.Drawing.Point(246, 419);
+            this.layoutControlItem1.Location = new System.Drawing.Point(172, 264);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 13, 3);
-            this.layoutControlItem1.Size = new System.Drawing.Size(247, 48);
+            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 2);
+            this.layoutControlItem1.Size = new System.Drawing.Size(173, 32);
             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, 467);
+            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 296);
             this.emptySpaceItem1.Name = "emptySpaceItem1";
-            this.emptySpaceItem1.Size = new System.Drawing.Size(493, 408);
+            this.emptySpaceItem1.Size = new System.Drawing.Size(345, 261);
             this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
             // 
             // emptySpaceItem2
             // 
             this.emptySpaceItem2.AllowHotTrack = false;
-            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 419);
+            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 264);
             this.emptySpaceItem2.Name = "emptySpaceItem2";
-            this.emptySpaceItem2.Size = new System.Drawing.Size(246, 48);
+            this.emptySpaceItem2.Size = new System.Drawing.Size(172, 32);
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem4
@@ -405,73 +413,74 @@
             this.layoutControlItem4.Control = this.txtDtousErr1;
             this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem4.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem4.Location = new System.Drawing.Point(0, 210);
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 132);
             this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem4.Size = new System.Drawing.Size(172, 44);
             this.layoutControlItem4.Text = "时差误差";
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem4.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txtFu1;
-            this.layoutControlItem10.Location = new System.Drawing.Point(0, 350);
+            this.layoutControlItem10.CustomizationFormText = "目标上行频点";
+            this.layoutControlItem10.Location = new System.Drawing.Point(0, 220);
             this.layoutControlItem10.Name = "layoutControlItem10";
-            this.layoutControlItem10.Size = new System.Drawing.Size(246, 69);
-            this.layoutControlItem10.Text = "主星上行频点";
+            this.layoutControlItem10.Size = new System.Drawing.Size(172, 44);
+            this.layoutControlItem10.Text = "目标上行频点";
             this.layoutControlItem10.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem10.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem10.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(246, 140);
+            this.layoutControlItem14.Location = new System.Drawing.Point(172, 88);
             this.layoutControlItem14.Name = "layoutControlItem14";
-            this.layoutControlItem14.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem14.Size = new System.Drawing.Size(173, 44);
             this.layoutControlItem14.Text = "参考站经纬度";
             this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem14.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txtDfoErr1;
-            this.layoutControlItem6.Location = new System.Drawing.Point(246, 210);
+            this.layoutControlItem6.Location = new System.Drawing.Point(172, 132);
             this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem6.Size = new System.Drawing.Size(173, 44);
             this.layoutControlItem6.Text = "频差误差";
             this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem6.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txtEphVelErr1;
-            this.layoutControlItem7.Location = new System.Drawing.Point(246, 280);
+            this.layoutControlItem7.Location = new System.Drawing.Point(172, 176);
             this.layoutControlItem7.Name = "layoutControlItem7";
-            this.layoutControlItem7.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem7.Size = new System.Drawing.Size(173, 44);
             this.layoutControlItem7.Text = "星历速度误差";
             this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem7.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem12
             // 
             this.layoutControlItem12.Control = this.txtFu2;
-            this.layoutControlItem12.Location = new System.Drawing.Point(246, 350);
+            this.layoutControlItem12.CustomizationFormText = "参考上行频点";
+            this.layoutControlItem12.Location = new System.Drawing.Point(172, 220);
             this.layoutControlItem12.Name = "layoutControlItem12";
-            this.layoutControlItem12.Size = new System.Drawing.Size(247, 69);
-            this.layoutControlItem12.Text = "邻星上行频点";
+            this.layoutControlItem12.Size = new System.Drawing.Size(173, 44);
+            this.layoutControlItem12.Text = "参考上行频点";
             this.layoutControlItem12.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem12.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14);
             // 
             // XZGDOPParam
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.Controls.Add(this.layoutControl1);
-            this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.Name = "XZGDOPParam";
-            this.Size = new System.Drawing.Size(493, 875);
-            this.Load += new System.EventHandler(this.XZGDOPParam_Load);
+            this.Size = new System.Drawing.Size(345, 557);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).EndInit();

+ 8 - 9
XzDw.App/UserControl/XZGDOPParam .cs

@@ -1,4 +1,5 @@
-using DevExpress.XtraEditors;
+using DevExpress.Mvvm.ModuleInjection.Native;
+using DevExpress.XtraEditors;
 using DxHelper;
 using ExtensionsDev;
 using System;
@@ -31,13 +32,10 @@ namespace XdCxRhDW.App.UserControl
             fu1 = Convert.ToDouble(txtFu1.Text) * 1e6,
             fu2 = Convert.ToDouble(txtFu2.Text) * 1e6,
         };
-        public XZGDOPParam()
-        {
-            InitializeComponent();
-        }
 
-        private void XZGDOPParam_Load(object sender, EventArgs e)
+        public XZGDOPParam(TxInfo refTx, double upfreqHz1, double upfreqHz2)
         {
+            InitializeComponent();
             txtCapTime.UseDefault();
             txtCapTime.DateTime = TestData.leoTime;
             txtTleLeo1.UseDoubleClickToSelectAll();
@@ -45,17 +43,18 @@ namespace XdCxRhDW.App.UserControl
             txtRefLocation1.UseDoubleClickToSelectAll();
 
             this.txtCapTime.DateTime = TestData.leoTime;
-            this.txtRefLocation1.Text = TestData.RefLoc;
+            this.txtRefLocation1.Text = $"{refTx.Lon},{refTx.Lat}";
             txtTleLeo1.UseDefault().SetStringData(TestData.AllTle).Text = TestData.tleleo1;
             txtTleLeo2.UseDefault().SetStringData(TestData.AllTle).Text = TestData.tleleo2;
             this.txtDtousErr1.EditValue = TestData.DtousErr;
             this.txtDfoErr1.EditValue = TestData.DfoHzErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
             this.txtEphVelErr1.EditValue = TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
-            this.txtFu2.EditValue = TestData.Freq;
+            this.txtFu1.EditValue = upfreqHz1 * 1e-6;
+            this.txtFu2.EditValue = upfreqHz2 * 1e-6;
         }
 
+
         private void btnOK_Click(object sender, EventArgs e)
         {
             PopupHelper.HidePopup(this);

+ 3 - 3
XzXdDw.App/UserControl/CtrlPosSingle.cs

@@ -96,7 +96,7 @@ namespace XzXdDw.App.UserControl
                       .AddMenu("绘制频差线", SvgHelper.LoadFromFile("Image\\DfoLine.svg"), DrawDfoLine)
                     .AddMenu("绘制误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), () => {
                         
-                        var ctrl = new DXErrEllipseParam();
+                        var ctrl = new DXErrEllipseParam(MBfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -136,7 +136,7 @@ namespace XzXdDw.App.UserControl
                     .AddMapMenu("停止加载", SvgHelper.LoadFromFile("Image\\Stop.svg"), (lon, lat) => stoped = true)
                     .AddMapMenu("GDOP分析", SvgHelper.LoadFromFile("Image\\GDOP.svg"), (lon, lat) =>
                     {
-                        var ctrl = new DXGDOPParam();
+                        var ctrl = new DXGDOPParam(MBfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -175,7 +175,7 @@ namespace XzXdDw.App.UserControl
 
                     .AddPosMenu<PosRes>("误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), item =>
                     {
-                        var ctrl = new DXErrEllipseParam();
+                        var ctrl = new DXErrEllipseParam(MBfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;

+ 3 - 3
XzXdDw.App/UserControl/CtrlPosXz.cs

@@ -110,7 +110,7 @@ namespace XzXdDw.App.UserControl
                      .AddMenu("绘制频差线", SvgHelper.LoadFromFile("Image\\DfoLine.svg"), DrawDfoLine)
                      .AddMenu("绘制误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), () =>
                      {
-                         var ctrl = new XZErrEllipseParam();
+                         var ctrl = new XZErrEllipseParam(refTx, MBfu, CKfu);
                          PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                          {
                              if (hideReason == HideReason.Defalut) return;
@@ -148,7 +148,7 @@ namespace XzXdDw.App.UserControl
                     .AddMapMenu("停止加载", SvgHelper.LoadFromFile("Image\\Stop.svg"), (lon, lat) => stoped = true)
                     .AddMapMenu("GDOP分析", SvgHelper.LoadFromFile("Image\\GDOP.svg"), (lon, lat) =>
                     {
-                        var ctrl = new XZGDOPParam();
+                        var ctrl = new XZGDOPParam( refTx, MBfu,  CKfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;
@@ -186,7 +186,7 @@ namespace XzXdDw.App.UserControl
                     })
                     .AddPosMenu<XZPosRes>("误差椭圆", SvgHelper.LoadFromFile("Image\\误差椭圆.svg"), item =>
                     {
-                        var ctrl = new XZErrEllipseParam();
+                        var ctrl = new XZErrEllipseParam(refTx, MBfu, CKfu);
                         PopupHelper.ShowPopup(ctrl, mapControl1, mapControl1.Width / 4, onHide: hideReason =>
                         {
                             if (hideReason == HideReason.Defalut) return;

+ 0 - 1
XzXdDw.App/UserControl/DXErrEllipseParam.Designer.cs

@@ -438,7 +438,6 @@
             this.Margin = new System.Windows.Forms.Padding(5);
             this.Name = "DXErrEllipseParam";
             this.Size = new System.Drawing.Size(493, 597);
-            this.Load += new System.EventHandler(this.DXErrEllipseParam_Load);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtTleMain.Properties)).EndInit();

+ 3 - 8
XzXdDw.App/UserControl/DXErrEllipseParam.cs

@@ -28,14 +28,9 @@ namespace XdCxRhDW.App.UserControl
             EphVelErr = Convert.ToDouble(txtEphVelErr1.Text),
             fu = Convert.ToDouble(txtFu1.Text)*1e6,
         };
-        public DXErrEllipseParam()
+        public DXErrEllipseParam(double MBfu)
         {
             InitializeComponent();
-        }
-
-        private void DXErrEllipseParam_Load(object sender, EventArgs e)
-        {
-
             txtTleMain.UseDoubleClickToSelectAll();
             txtTleAdja1.UseDoubleClickToSelectAll();
             txtTleAdja2.UseDoubleClickToSelectAll();
@@ -45,8 +40,8 @@ namespace XdCxRhDW.App.UserControl
             this.txtCapTime.DateTime = TestData.Time;
             this.txtDfoErr1.EditValue = TestData.DtousErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
-            this.txtEphVelErr1.EditValue= TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
+            this.txtEphVelErr1.EditValue = TestData.EphVelErr;
+            this.txtFu1.EditValue = MBfu * 1e-6;
         }
 
         private void btnOK_Click(object sender, EventArgs e)

+ 0 - 1
XzXdDw.App/UserControl/DXGDOPParam.Designer.cs

@@ -426,7 +426,6 @@
             this.Margin = new System.Windows.Forms.Padding(5);
             this.Name = "DXGDOPParam";
             this.Size = new System.Drawing.Size(493, 875);
-            this.Load += new System.EventHandler(this.DXGDOPParam_Load);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtTleLeo1.Properties)).EndInit();

+ 2 - 7
XzXdDw.App/UserControl/DXGDOPParam.cs

@@ -28,13 +28,9 @@ namespace XdCxRhDW.App.UserControl
             EphVelErr = Convert.ToDouble(txtEphVelErr1.Text),
             fu = Convert.ToDouble(txtFu1.Text)*1e6,
         };
-        public DXGDOPParam()
+        public DXGDOPParam(double MBfu)
         {
             InitializeComponent();
-        }
-
-        private void DXGDOPParam_Load(object sender, EventArgs e)
-        {
             txtTleLeo1.UseDoubleClickToSelectAll();
             txtTleLeo1.UseDefault().SetStringData(TestData.AllTle).Text = TestData.tleleo1;
             this.txtCapTime1.DateTime = TestData.leoTime;
@@ -43,9 +39,8 @@ namespace XdCxRhDW.App.UserControl
             this.txtDfoErr1.EditValue = TestData.DtousErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
             this.txtEphVelErr1.EditValue = TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
+            this.txtFu1.EditValue = MBfu * 1e-6;
         }
-
         private void btnOK_Click(object sender, EventArgs e)
         {
             PopupHelper.HidePopup(this);

+ 106 - 99
XzXdDw.App/UserControl/XZErrEllipseParam.Designer.cs

@@ -28,11 +28,6 @@
         /// </summary>
         private void InitializeComponent()
         {
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions6 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject21 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject22 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject23 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject24 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions7 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject25 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject26 = new DevExpress.Utils.SerializableAppearanceObject();
@@ -58,6 +53,11 @@
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions5 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject17 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject18 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject19 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject20 = new DevExpress.Utils.SerializableAppearanceObject();
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
             this.btnOK = new DevExpress.XtraEditors.SimpleButton();
             this.txtCapTime = new DevExpress.XtraEditors.DateEdit();
@@ -132,20 +132,20 @@
             this.layoutControl1.Controls.Add(this.txtFu2);
             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(6, 5, 6, 5);
+            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(493, 875);
+            this.layoutControl1.Size = new System.Drawing.Size(345, 557);
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
             // btnOK
             // 
-            this.btnOK.Location = new System.Drawing.Point(249, 432);
-            this.btnOK.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.btnOK.Location = new System.Drawing.Point(174, 254);
+            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnOK.Name = "btnOK";
-            this.btnOK.Size = new System.Drawing.Size(241, 32);
+            this.btnOK.Size = new System.Drawing.Size(169, 22);
             this.btnOK.StyleController = this.layoutControl1;
             this.btnOK.TabIndex = 12;
             this.btnOK.Text = "确定";
@@ -154,28 +154,30 @@
             // txtCapTime
             // 
             this.txtCapTime.EditValue = null;
-            this.txtCapTime.Location = new System.Drawing.Point(3, 172);
-            this.txtCapTime.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtCapTime.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtCapTime.Location = new System.Drawing.Point(1, 100);
+            this.txtCapTime.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtCapTime.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtCapTime.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtCapTime.Name = "txtCapTime";
             this.txtCapTime.Properties.AutoHeight = false;
             this.txtCapTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             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(240, 35);
+            this.txtCapTime.Size = new System.Drawing.Size(170, 22);
             this.txtCapTime.StyleController = this.layoutControl1;
             this.txtCapTime.TabIndex = 8;
             // 
             // txtRefLocation1
             // 
             this.txtRefLocation1.EditValue = "";
-            this.txtRefLocation1.Location = new System.Drawing.Point(249, 172);
-            this.txtRefLocation1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtRefLocation1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtRefLocation1.Location = new System.Drawing.Point(173, 100);
+            this.txtRefLocation1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 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(241, 35);
+            this.txtRefLocation1.Size = new System.Drawing.Size(171, 22);
             this.txtRefLocation1.StyleController = this.layoutControl1;
             this.txtRefLocation1.TabIndex = 10;
             this.txtRefLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
@@ -183,9 +185,10 @@
             // txtTleMain
             // 
             this.txtTleMain.EditValue = "";
-            this.txtTleMain.Location = new System.Drawing.Point(3, 32);
-            this.txtTleMain.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleMain.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleMain.Location = new System.Drawing.Point(1, 18);
+            this.txtTleMain.Margin = new System.Windows.Forms.Padding(2, 2, 2, 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[] {
@@ -193,26 +196,26 @@
             this.txtTleMain.Properties.NullText = "";
             this.txtTleMain.Properties.PopupSizeable = false;
             this.txtTleMain.Properties.PopupView = this.searchLookUpEdit1View;
-            this.txtTleMain.Size = new System.Drawing.Size(487, 35);
+            this.txtTleMain.Size = new System.Drawing.Size(343, 22);
             this.txtTleMain.StyleController = this.layoutControl1;
             this.txtTleMain.TabIndex = 4;
             this.txtTleMain.ToolTip = "填写卫星的双行根数";
             // 
             // searchLookUpEdit1View
             // 
-            this.searchLookUpEdit1View.DetailHeight = 550;
             this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
-            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 614;
+            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(3, 102);
-            this.txtTleAdja.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleAdja.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleAdja.Location = new System.Drawing.Point(1, 59);
+            this.txtTleAdja.Margin = new System.Windows.Forms.Padding(2, 2, 2, 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[] {
@@ -220,31 +223,31 @@
             this.txtTleAdja.Properties.NullText = "";
             this.txtTleAdja.Properties.PopupSizeable = false;
             this.txtTleAdja.Properties.PopupView = this.gridView1;
-            this.txtTleAdja.Size = new System.Drawing.Size(487, 35);
+            this.txtTleAdja.Size = new System.Drawing.Size(343, 22);
             this.txtTleAdja.StyleController = this.layoutControl1;
             this.txtTleAdja.TabIndex = 5;
             this.txtTleAdja.ToolTip = "填写卫星的双行根数";
             // 
             // gridView1
             // 
-            this.gridView1.DetailHeight = 550;
             this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.gridView1.Name = "gridView1";
-            this.gridView1.OptionsEditForm.PopupEditFormWidth = 614;
+            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(3, 242);
-            this.txtDtousErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDtousErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDtousErr1.Location = new System.Drawing.Point(1, 141);
+            this.txtDtousErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtDtousErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtDtousErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtDtousErr1.Name = "txtDtousErr1";
             this.txtDtousErr1.Properties.AutoHeight = false;
             this.txtDtousErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDtousErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDtousErr1.Size = new System.Drawing.Size(170, 22);
             this.txtDtousErr1.StyleController = this.layoutControl1;
             this.txtDtousErr1.TabIndex = 6;
             this.txtDtousErr1.ToolTip = "ECEF坐标X";
@@ -252,59 +255,64 @@
             // txtSatLocErr1
             // 
             this.txtSatLocErr1.EditValue = "";
-            this.txtSatLocErr1.Location = new System.Drawing.Point(3, 312);
-            this.txtSatLocErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtSatLocErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtSatLocErr1.Location = new System.Drawing.Point(1, 182);
+            this.txtSatLocErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtSatLocErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtSatLocErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtSatLocErr1.Name = "txtSatLocErr1";
             this.txtSatLocErr1.Properties.AutoHeight = false;
             this.txtSatLocErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtSatLocErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtSatLocErr1.Size = new System.Drawing.Size(170, 22);
             this.txtSatLocErr1.StyleController = this.layoutControl1;
             this.txtSatLocErr1.TabIndex = 6;
             this.txtSatLocErr1.ToolTip = "ECEF坐标X";
             // 
             // txtDfoErr1
             // 
-            this.txtDfoErr1.Location = new System.Drawing.Point(249, 242);
-            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDfoErr1.Location = new System.Drawing.Point(173, 141);
+            this.txtDfoErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtDfoErr1.Name = "txtDfoErr1";
             this.txtDfoErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDfoErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -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.txtDfoErr1.Size = new System.Drawing.Size(171, 22);
             this.txtDfoErr1.StyleController = this.layoutControl1;
             this.txtDfoErr1.TabIndex = 13;
             // 
             // txtEphVelErr1
             // 
-            this.txtEphVelErr1.Location = new System.Drawing.Point(249, 312);
-            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtEphVelErr1.Location = new System.Drawing.Point(173, 182);
+            this.txtEphVelErr1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtEphVelErr1.Name = "txtEphVelErr1";
             this.txtEphVelErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -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.txtEphVelErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtEphVelErr1.Size = new System.Drawing.Size(171, 22);
             this.txtEphVelErr1.StyleController = this.layoutControl1;
             this.txtEphVelErr1.TabIndex = 14;
             // 
             // txtFu1
             // 
-            this.txtFu1.Location = new System.Drawing.Point(3, 382);
+            this.txtFu1.Location = new System.Drawing.Point(1, 223);
+            this.txtFu1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.txtFu1.Name = "txtFu1";
             this.txtFu1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu1.Size = new System.Drawing.Size(240, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu1.Size = new System.Drawing.Size(170, 22);
             this.txtFu1.StyleController = this.layoutControl1;
             this.txtFu1.TabIndex = 15;
             // 
             // txtFu2
             // 
-            this.txtFu2.Location = new System.Drawing.Point(249, 382);
+            this.txtFu2.Location = new System.Drawing.Point(173, 223);
+            this.txtFu2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.txtFu2.Name = "txtFu2";
             this.txtFu2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu2.Size = new System.Drawing.Size(241, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu2.Size = new System.Drawing.Size(171, 22);
             this.txtFu2.StyleController = this.layoutControl1;
             this.txtFu2.TabIndex = 16;
             // 
@@ -326,7 +334,7 @@
             this.layoutControlItem7,
             this.layoutControlItem12});
             this.Root.Name = "Root";
-            this.Root.Size = new System.Drawing.Size(493, 875);
+            this.Root.Size = new System.Drawing.Size(345, 557);
             this.Root.TextVisible = false;
             // 
             // layoutControlItem8
@@ -335,69 +343,69 @@
             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(493, 70);
+            this.layoutControlItem8.Size = new System.Drawing.Size(345, 41);
             this.layoutControlItem8.Text = "主星星历";
             this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem8.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem9
             // 
             this.layoutControlItem9.Control = this.txtTleAdja;
             this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem9.Location = new System.Drawing.Point(0, 70);
+            this.layoutControlItem9.Location = new System.Drawing.Point(0, 41);
             this.layoutControlItem9.Name = "layoutControlItem9";
-            this.layoutControlItem9.Size = new System.Drawing.Size(493, 70);
+            this.layoutControlItem9.Size = new System.Drawing.Size(345, 41);
             this.layoutControlItem9.Text = "邻星星历";
             this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem9.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem11
             // 
             this.layoutControlItem11.Control = this.txtCapTime;
             this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem11.Location = new System.Drawing.Point(0, 140);
+            this.layoutControlItem11.Location = new System.Drawing.Point(0, 82);
             this.layoutControlItem11.Name = "layoutControlItem11";
-            this.layoutControlItem11.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem11.Size = new System.Drawing.Size(172, 41);
             this.layoutControlItem11.Text = "采集时刻";
             this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem11.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem11.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, 280);
+            this.layoutControlItem5.Location = new System.Drawing.Point(0, 164);
             this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem5.Size = new System.Drawing.Size(172, 41);
             this.layoutControlItem5.Text = "星历位置误差";
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.btnOK;
-            this.layoutControlItem1.Location = new System.Drawing.Point(246, 419);
+            this.layoutControlItem1.Location = new System.Drawing.Point(172, 246);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 13, 3);
-            this.layoutControlItem1.Size = new System.Drawing.Size(247, 48);
+            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 2);
+            this.layoutControlItem1.Size = new System.Drawing.Size(173, 32);
             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, 467);
+            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 278);
             this.emptySpaceItem1.Name = "emptySpaceItem1";
-            this.emptySpaceItem1.Size = new System.Drawing.Size(493, 408);
+            this.emptySpaceItem1.Size = new System.Drawing.Size(345, 279);
             this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
             // 
             // emptySpaceItem2
             // 
             this.emptySpaceItem2.AllowHotTrack = false;
-            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 419);
+            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 246);
             this.emptySpaceItem2.Name = "emptySpaceItem2";
-            this.emptySpaceItem2.Size = new System.Drawing.Size(246, 48);
+            this.emptySpaceItem2.Size = new System.Drawing.Size(172, 32);
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem4
@@ -405,73 +413,72 @@
             this.layoutControlItem4.Control = this.txtDtousErr1;
             this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem4.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem4.Location = new System.Drawing.Point(0, 210);
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 123);
             this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem4.Size = new System.Drawing.Size(172, 41);
             this.layoutControlItem4.Text = "时差误差";
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem4.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txtFu1;
-            this.layoutControlItem10.Location = new System.Drawing.Point(0, 350);
+            this.layoutControlItem10.Location = new System.Drawing.Point(0, 205);
             this.layoutControlItem10.Name = "layoutControlItem10";
-            this.layoutControlItem10.Size = new System.Drawing.Size(246, 69);
-            this.layoutControlItem10.Text = "主星上行频点";
+            this.layoutControlItem10.Size = new System.Drawing.Size(172, 41);
+            this.layoutControlItem10.Text = "目标上行频点";
             this.layoutControlItem10.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem10.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem10.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(246, 140);
+            this.layoutControlItem14.Location = new System.Drawing.Point(172, 82);
             this.layoutControlItem14.Name = "layoutControlItem14";
-            this.layoutControlItem14.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem14.Size = new System.Drawing.Size(173, 41);
             this.layoutControlItem14.Text = "参考站经纬度";
             this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem14.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txtDfoErr1;
-            this.layoutControlItem6.Location = new System.Drawing.Point(246, 210);
+            this.layoutControlItem6.Location = new System.Drawing.Point(172, 123);
             this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem6.Size = new System.Drawing.Size(173, 41);
             this.layoutControlItem6.Text = "频差误差";
             this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem6.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txtEphVelErr1;
-            this.layoutControlItem7.Location = new System.Drawing.Point(246, 280);
+            this.layoutControlItem7.Location = new System.Drawing.Point(172, 164);
             this.layoutControlItem7.Name = "layoutControlItem7";
-            this.layoutControlItem7.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem7.Size = new System.Drawing.Size(173, 41);
             this.layoutControlItem7.Text = "星历速度误差";
             this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem7.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem12
             // 
             this.layoutControlItem12.Control = this.txtFu2;
-            this.layoutControlItem12.Location = new System.Drawing.Point(246, 350);
+            this.layoutControlItem12.Location = new System.Drawing.Point(172, 205);
             this.layoutControlItem12.Name = "layoutControlItem12";
-            this.layoutControlItem12.Size = new System.Drawing.Size(247, 69);
-            this.layoutControlItem12.Text = "邻星上行频点";
+            this.layoutControlItem12.Size = new System.Drawing.Size(173, 41);
+            this.layoutControlItem12.Text = "参考上行频点";
             this.layoutControlItem12.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem12.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14);
             // 
             // XZErrEllipseParam
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.Controls.Add(this.layoutControl1);
-            this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.Name = "XZErrEllipseParam";
-            this.Size = new System.Drawing.Size(493, 875);
-            this.Load += new System.EventHandler(this.XZErrEllipseParam_Load);
+            this.Size = new System.Drawing.Size(345, 557);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).EndInit();

+ 5 - 8
XzXdDw.App/UserControl/XZErrEllipseParam.cs

@@ -31,13 +31,9 @@ namespace XdCxRhDW.App.UserControl
             fu1 = Convert.ToDouble(txtFu1.Text) * 1e6,
             fu2 = Convert.ToDouble(txtFu2.Text) * 1e6,
         };
-        public XZErrEllipseParam()
+        public XZErrEllipseParam(TxInfo refTx, double upfreqHz1, double upfreqHz2)
         {
             InitializeComponent();
-        }
-
-        private void XZErrEllipseParam_Load(object sender, EventArgs e)
-        {
             txtCapTime.UseDefault();
             txtCapTime.DateTime = TestData.Time;
             txtTleMain.UseDoubleClickToSelectAll();
@@ -45,17 +41,18 @@ namespace XdCxRhDW.App.UserControl
             txtRefLocation1.UseDoubleClickToSelectAll();
 
             this.txtCapTime.DateTime = TestData.Time;
-            this.txtRefLocation1.Text = TestData.RefLoc;
+            this.txtRefLocation1.Text = $"{refTx.Lon},{refTx.Lat}";
             txtTleMain.UseDefault().SetStringData(TestData.AllTle).Text = TestData.TleMain;
             txtTleAdja.UseDefault().SetStringData(TestData.AllTle).Text = TestData.TleAdja1;
             this.txtDtousErr1.EditValue = TestData.DtousErr;
             this.txtDfoErr1.EditValue = TestData.DfoHzErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
             this.txtEphVelErr1.EditValue = TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
-            this.txtFu2.EditValue = TestData.Freq;
+            this.txtFu1.EditValue = upfreqHz1 * 1e-6;
+            this.txtFu2.EditValue = upfreqHz2 * 1e-6;
         }
 
+
         private void btnOK_Click(object sender, EventArgs e)
         {
             PopupHelper.HidePopup(this);

+ 108 - 99
XzXdDw.App/UserControl/XZGDOPParam .Designer.cs

@@ -28,6 +28,11 @@
         /// </summary>
         private void InitializeComponent()
         {
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions7 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject25 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject26 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject27 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject28 = new DevExpress.Utils.SerializableAppearanceObject();
             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();
@@ -53,11 +58,6 @@
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject18 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject19 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject20 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions6 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject21 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject22 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject23 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject24 = new DevExpress.Utils.SerializableAppearanceObject();
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
             this.btnOK = new DevExpress.XtraEditors.SimpleButton();
             this.txtCapTime = new DevExpress.XtraEditors.DateEdit();
@@ -132,20 +132,20 @@
             this.layoutControl1.Controls.Add(this.txtFu2);
             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(6, 5, 6, 5);
+            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(493, 875);
+            this.layoutControl1.Size = new System.Drawing.Size(345, 557);
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
             // 
             // btnOK
             // 
-            this.btnOK.Location = new System.Drawing.Point(249, 432);
-            this.btnOK.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.btnOK.Location = new System.Drawing.Point(174, 272);
+            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnOK.Name = "btnOK";
-            this.btnOK.Size = new System.Drawing.Size(241, 32);
+            this.btnOK.Size = new System.Drawing.Size(169, 22);
             this.btnOK.StyleController = this.layoutControl1;
             this.btnOK.TabIndex = 12;
             this.btnOK.Text = "确定";
@@ -154,28 +154,30 @@
             // txtCapTime
             // 
             this.txtCapTime.EditValue = null;
-            this.txtCapTime.Location = new System.Drawing.Point(3, 172);
-            this.txtCapTime.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtCapTime.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtCapTime.Location = new System.Drawing.Point(2, 108);
+            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);
             this.txtCapTime.Name = "txtCapTime";
             this.txtCapTime.Properties.AutoHeight = false;
             this.txtCapTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             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(240, 35);
+            this.txtCapTime.Size = new System.Drawing.Size(168, 22);
             this.txtCapTime.StyleController = this.layoutControl1;
             this.txtCapTime.TabIndex = 8;
             // 
             // txtRefLocation1
             // 
             this.txtRefLocation1.EditValue = "";
-            this.txtRefLocation1.Location = new System.Drawing.Point(249, 172);
-            this.txtRefLocation1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtRefLocation1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtRefLocation1.Location = new System.Drawing.Point(174, 108);
+            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(241, 35);
+            this.txtRefLocation1.Size = new System.Drawing.Size(169, 22);
             this.txtRefLocation1.StyleController = this.layoutControl1;
             this.txtRefLocation1.TabIndex = 10;
             this.txtRefLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
@@ -183,9 +185,10 @@
             // txtTleLeo1
             // 
             this.txtTleLeo1.EditValue = "";
-            this.txtTleLeo1.Location = new System.Drawing.Point(3, 32);
-            this.txtTleLeo1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleLeo1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleLeo1.Location = new System.Drawing.Point(2, 20);
+            this.txtTleLeo1.Margin = new System.Windows.Forms.Padding(2);
+            this.txtTleLeo1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtTleLeo1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtTleLeo1.Name = "txtTleLeo1";
             this.txtTleLeo1.Properties.AutoHeight = false;
             this.txtTleLeo1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
@@ -193,26 +196,26 @@
             this.txtTleLeo1.Properties.NullText = "";
             this.txtTleLeo1.Properties.PopupSizeable = false;
             this.txtTleLeo1.Properties.PopupView = this.searchLookUpEdit1View;
-            this.txtTleLeo1.Size = new System.Drawing.Size(487, 35);
+            this.txtTleLeo1.Size = new System.Drawing.Size(341, 22);
             this.txtTleLeo1.StyleController = this.layoutControl1;
             this.txtTleLeo1.TabIndex = 4;
             this.txtTleLeo1.ToolTip = "填写卫星的双行根数";
             // 
             // searchLookUpEdit1View
             // 
-            this.searchLookUpEdit1View.DetailHeight = 550;
             this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
-            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 614;
+            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 430;
             this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
             this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
             // 
             // txtTleLeo2
             // 
             this.txtTleLeo2.EditValue = "";
-            this.txtTleLeo2.Location = new System.Drawing.Point(3, 102);
-            this.txtTleLeo2.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtTleLeo2.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtTleLeo2.Location = new System.Drawing.Point(2, 64);
+            this.txtTleLeo2.Margin = new System.Windows.Forms.Padding(2);
+            this.txtTleLeo2.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtTleLeo2.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtTleLeo2.Name = "txtTleLeo2";
             this.txtTleLeo2.Properties.AutoHeight = false;
             this.txtTleLeo2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
@@ -220,31 +223,31 @@
             this.txtTleLeo2.Properties.NullText = "";
             this.txtTleLeo2.Properties.PopupSizeable = false;
             this.txtTleLeo2.Properties.PopupView = this.gridView1;
-            this.txtTleLeo2.Size = new System.Drawing.Size(487, 35);
+            this.txtTleLeo2.Size = new System.Drawing.Size(341, 22);
             this.txtTleLeo2.StyleController = this.layoutControl1;
             this.txtTleLeo2.TabIndex = 5;
             this.txtTleLeo2.ToolTip = "填写卫星的双行根数";
             // 
             // gridView1
             // 
-            this.gridView1.DetailHeight = 550;
             this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
             this.gridView1.Name = "gridView1";
-            this.gridView1.OptionsEditForm.PopupEditFormWidth = 614;
+            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(3, 242);
-            this.txtDtousErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDtousErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDtousErr1.Location = new System.Drawing.Point(2, 152);
+            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);
             this.txtDtousErr1.Name = "txtDtousErr1";
             this.txtDtousErr1.Properties.AutoHeight = false;
             this.txtDtousErr1.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)});
-            this.txtDtousErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDtousErr1.Size = new System.Drawing.Size(168, 22);
             this.txtDtousErr1.StyleController = this.layoutControl1;
             this.txtDtousErr1.TabIndex = 6;
             this.txtDtousErr1.ToolTip = "ECEF坐标X";
@@ -252,59 +255,64 @@
             // txtSatLocErr1
             // 
             this.txtSatLocErr1.EditValue = "";
-            this.txtSatLocErr1.Location = new System.Drawing.Point(3, 312);
-            this.txtSatLocErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtSatLocErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtSatLocErr1.Location = new System.Drawing.Point(2, 196);
+            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);
             this.txtSatLocErr1.Name = "txtSatLocErr1";
             this.txtSatLocErr1.Properties.AutoHeight = false;
             this.txtSatLocErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -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.txtSatLocErr1.Size = new System.Drawing.Size(240, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtSatLocErr1.Size = new System.Drawing.Size(168, 22);
             this.txtSatLocErr1.StyleController = this.layoutControl1;
             this.txtSatLocErr1.TabIndex = 6;
             this.txtSatLocErr1.ToolTip = "ECEF坐标X";
             // 
             // txtDfoErr1
             // 
-            this.txtDfoErr1.Location = new System.Drawing.Point(249, 242);
-            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtDfoErr1.Location = new System.Drawing.Point(174, 152);
+            this.txtDfoErr1.Margin = new System.Windows.Forms.Padding(2);
+            this.txtDfoErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtDfoErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtDfoErr1.Name = "txtDfoErr1";
             this.txtDfoErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtDfoErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Hz", -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.txtDfoErr1.Size = new System.Drawing.Size(169, 22);
             this.txtDfoErr1.StyleController = this.layoutControl1;
             this.txtDfoErr1.TabIndex = 13;
             // 
             // txtEphVelErr1
             // 
-            this.txtEphVelErr1.Location = new System.Drawing.Point(249, 312);
-            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 35);
-            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 35);
+            this.txtEphVelErr1.Location = new System.Drawing.Point(174, 196);
+            this.txtEphVelErr1.Margin = new System.Windows.Forms.Padding(2);
+            this.txtEphVelErr1.MaximumSize = new System.Drawing.Size(0, 22);
+            this.txtEphVelErr1.MinimumSize = new System.Drawing.Size(0, 22);
             this.txtEphVelErr1.Name = "txtEphVelErr1";
             this.txtEphVelErr1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtEphVelErr1.Size = new System.Drawing.Size(241, 35);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "m/s", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtEphVelErr1.Size = new System.Drawing.Size(169, 22);
             this.txtEphVelErr1.StyleController = this.layoutControl1;
             this.txtEphVelErr1.TabIndex = 14;
             // 
             // txtFu1
             // 
-            this.txtFu1.Location = new System.Drawing.Point(3, 382);
+            this.txtFu1.Location = new System.Drawing.Point(2, 240);
+            this.txtFu1.Margin = new System.Windows.Forms.Padding(2);
             this.txtFu1.Name = "txtFu1";
             this.txtFu1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu1.Size = new System.Drawing.Size(240, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu1.Size = new System.Drawing.Size(168, 22);
             this.txtFu1.StyleController = this.layoutControl1;
             this.txtFu1.TabIndex = 15;
             // 
             // txtFu2
             // 
-            this.txtFu2.Location = new System.Drawing.Point(249, 382);
+            this.txtFu2.Location = new System.Drawing.Point(174, 240);
+            this.txtFu2.Margin = new System.Windows.Forms.Padding(2);
             this.txtFu2.Name = "txtFu2";
             this.txtFu2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.txtFu2.Size = new System.Drawing.Size(241, 34);
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "MHz", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtFu2.Size = new System.Drawing.Size(169, 22);
             this.txtFu2.StyleController = this.layoutControl1;
             this.txtFu2.TabIndex = 16;
             // 
@@ -326,7 +334,7 @@
             this.layoutControlItem7,
             this.layoutControlItem12});
             this.Root.Name = "Root";
-            this.Root.Size = new System.Drawing.Size(493, 875);
+            this.Root.Size = new System.Drawing.Size(345, 557);
             this.Root.TextVisible = false;
             // 
             // layoutControlItem8
@@ -335,69 +343,69 @@
             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(493, 70);
+            this.layoutControlItem8.Size = new System.Drawing.Size(345, 44);
             this.layoutControlItem8.Text = "主星星历";
             this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem8.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem9
             // 
             this.layoutControlItem9.Control = this.txtTleLeo2;
             this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem9.Location = new System.Drawing.Point(0, 70);
+            this.layoutControlItem9.Location = new System.Drawing.Point(0, 44);
             this.layoutControlItem9.Name = "layoutControlItem9";
-            this.layoutControlItem9.Size = new System.Drawing.Size(493, 70);
+            this.layoutControlItem9.Size = new System.Drawing.Size(345, 44);
             this.layoutControlItem9.Text = "邻星星历";
             this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem9.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem11
             // 
             this.layoutControlItem11.Control = this.txtCapTime;
             this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem11.Location = new System.Drawing.Point(0, 140);
+            this.layoutControlItem11.Location = new System.Drawing.Point(0, 88);
             this.layoutControlItem11.Name = "layoutControlItem11";
-            this.layoutControlItem11.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem11.Size = new System.Drawing.Size(172, 44);
             this.layoutControlItem11.Text = "采集时刻";
             this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem11.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem11.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, 280);
+            this.layoutControlItem5.Location = new System.Drawing.Point(0, 176);
             this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem5.Size = new System.Drawing.Size(172, 44);
             this.layoutControlItem5.Text = "星历位置误差";
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.btnOK;
-            this.layoutControlItem1.Location = new System.Drawing.Point(246, 419);
+            this.layoutControlItem1.Location = new System.Drawing.Point(172, 264);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 13, 3);
-            this.layoutControlItem1.Size = new System.Drawing.Size(247, 48);
+            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 2);
+            this.layoutControlItem1.Size = new System.Drawing.Size(173, 32);
             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, 467);
+            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 296);
             this.emptySpaceItem1.Name = "emptySpaceItem1";
-            this.emptySpaceItem1.Size = new System.Drawing.Size(493, 408);
+            this.emptySpaceItem1.Size = new System.Drawing.Size(345, 261);
             this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
             // 
             // emptySpaceItem2
             // 
             this.emptySpaceItem2.AllowHotTrack = false;
-            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 419);
+            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 264);
             this.emptySpaceItem2.Name = "emptySpaceItem2";
-            this.emptySpaceItem2.Size = new System.Drawing.Size(246, 48);
+            this.emptySpaceItem2.Size = new System.Drawing.Size(172, 32);
             this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
             // 
             // layoutControlItem4
@@ -405,73 +413,74 @@
             this.layoutControlItem4.Control = this.txtDtousErr1;
             this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem4.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem4.Location = new System.Drawing.Point(0, 210);
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 132);
             this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(246, 70);
+            this.layoutControlItem4.Size = new System.Drawing.Size(172, 44);
             this.layoutControlItem4.Text = "时差误差";
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem4.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txtFu1;
-            this.layoutControlItem10.Location = new System.Drawing.Point(0, 350);
+            this.layoutControlItem10.CustomizationFormText = "目标上行频点";
+            this.layoutControlItem10.Location = new System.Drawing.Point(0, 220);
             this.layoutControlItem10.Name = "layoutControlItem10";
-            this.layoutControlItem10.Size = new System.Drawing.Size(246, 69);
-            this.layoutControlItem10.Text = "主星上行频点";
+            this.layoutControlItem10.Size = new System.Drawing.Size(172, 44);
+            this.layoutControlItem10.Text = "目标上行频点";
             this.layoutControlItem10.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem10.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem10.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(246, 140);
+            this.layoutControlItem14.Location = new System.Drawing.Point(172, 88);
             this.layoutControlItem14.Name = "layoutControlItem14";
-            this.layoutControlItem14.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem14.Size = new System.Drawing.Size(173, 44);
             this.layoutControlItem14.Text = "参考站经纬度";
             this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem14.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txtDfoErr1;
-            this.layoutControlItem6.Location = new System.Drawing.Point(246, 210);
+            this.layoutControlItem6.Location = new System.Drawing.Point(172, 132);
             this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem6.Size = new System.Drawing.Size(173, 44);
             this.layoutControlItem6.Text = "频差误差";
             this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem6.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txtEphVelErr1;
-            this.layoutControlItem7.Location = new System.Drawing.Point(246, 280);
+            this.layoutControlItem7.Location = new System.Drawing.Point(172, 176);
             this.layoutControlItem7.Name = "layoutControlItem7";
-            this.layoutControlItem7.Size = new System.Drawing.Size(247, 70);
+            this.layoutControlItem7.Size = new System.Drawing.Size(173, 44);
             this.layoutControlItem7.Text = "星历速度误差";
             this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem7.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem12
             // 
             this.layoutControlItem12.Control = this.txtFu2;
-            this.layoutControlItem12.Location = new System.Drawing.Point(246, 350);
+            this.layoutControlItem12.CustomizationFormText = "参考上行频点";
+            this.layoutControlItem12.Location = new System.Drawing.Point(172, 220);
             this.layoutControlItem12.Name = "layoutControlItem12";
-            this.layoutControlItem12.Size = new System.Drawing.Size(247, 69);
-            this.layoutControlItem12.Text = "邻星上行频点";
+            this.layoutControlItem12.Size = new System.Drawing.Size(173, 44);
+            this.layoutControlItem12.Text = "参考上行频点";
             this.layoutControlItem12.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem12.TextSize = new System.Drawing.Size(108, 22);
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14);
             // 
             // XZGDOPParam
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.Controls.Add(this.layoutControl1);
-            this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
+            this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.Name = "XZGDOPParam";
-            this.Size = new System.Drawing.Size(493, 875);
-            this.Load += new System.EventHandler(this.XZGDOPParam_Load);
+            this.Size = new System.Drawing.Size(345, 557);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).EndInit();

+ 8 - 9
XzXdDw.App/UserControl/XZGDOPParam .cs

@@ -1,4 +1,5 @@
-using DevExpress.XtraEditors;
+using DevExpress.Mvvm.ModuleInjection.Native;
+using DevExpress.XtraEditors;
 using DxHelper;
 using ExtensionsDev;
 using System;
@@ -31,13 +32,10 @@ namespace XdCxRhDW.App.UserControl
             fu1 = Convert.ToDouble(txtFu1.Text) * 1e6,
             fu2 = Convert.ToDouble(txtFu2.Text) * 1e6,
         };
-        public XZGDOPParam()
-        {
-            InitializeComponent();
-        }
 
-        private void XZGDOPParam_Load(object sender, EventArgs e)
+        public XZGDOPParam(TxInfo refTx, double upfreqHz1, double upfreqHz2)
         {
+            InitializeComponent();
             txtCapTime.UseDefault();
             txtCapTime.DateTime = TestData.leoTime;
             txtTleLeo1.UseDoubleClickToSelectAll();
@@ -45,17 +43,18 @@ namespace XdCxRhDW.App.UserControl
             txtRefLocation1.UseDoubleClickToSelectAll();
 
             this.txtCapTime.DateTime = TestData.leoTime;
-            this.txtRefLocation1.Text = TestData.RefLoc;
+            this.txtRefLocation1.Text = $"{refTx.Lon},{refTx.Lat}";
             txtTleLeo1.UseDefault().SetStringData(TestData.AllTle).Text = TestData.tleleo1;
             txtTleLeo2.UseDefault().SetStringData(TestData.AllTle).Text = TestData.tleleo2;
             this.txtDtousErr1.EditValue = TestData.DtousErr;
             this.txtDfoErr1.EditValue = TestData.DfoHzErr;
             this.txtSatLocErr1.EditValue = TestData.SatLocErr;
             this.txtEphVelErr1.EditValue = TestData.EphVelErr;
-            this.txtFu1.EditValue = TestData.Freq;
-            this.txtFu2.EditValue = TestData.Freq;
+            this.txtFu1.EditValue = upfreqHz1 * 1e-6;
+            this.txtFu2.EditValue = upfreqHz2 * 1e-6;
         }
 
+
         private void btnOK_Click(object sender, EventArgs e)
         {
             PopupHelper.HidePopup(this);