Przeglądaj źródła

添加融合重新定位以及手动定位

wyq 1 rok temu
rodzic
commit
2d823b26ef

+ 699 - 0
XdCxRhDW.App/EditForms/RHDTOParamEditor.Designer.cs

@@ -0,0 +1,699 @@
+namespace XdCxRhDW.App.EditForms
+{
+    partial class RHDTOParamEditor
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            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 editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions4 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject13 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject();
+            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.ucEphXYZAdaj = new XdCxRhDW.App.UserControl.UCEphXYZ();
+            this.ucEphXYZMain = new XdCxRhDW.App.UserControl.UCEphXYZ();
+            this.txtSigTime = new DevExpress.XtraEditors.DateEdit();
+            this.txtDtoSx = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtDtoCdb = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtYbMain = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtYbAdja = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtsatStation = new DevExpress.XtraEditors.TextEdit();
+            this.txtcdbStation = new DevExpress.XtraEditors.TextEdit();
+            this.txtRefLocation = new DevExpress.XtraEditors.TextEdit();
+            this.btnDtoLine = new DevExpress.XtraEditors.SimpleButton();
+            this.btnEphCalc = new DevExpress.XtraEditors.SimpleButton();
+            this.btnPos = new DevExpress.XtraEditors.SimpleButton();
+            this.txtCxLocation = new DevExpress.XtraEditors.TextEdit();
+            this.txtcxFx = new DevExpress.XtraEditors.ButtonEdit();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.itemSigTime = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.txtPosRes = new DevExpress.XtraLayout.SimpleLabelItem();
+            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.dxErrorProvider = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
+            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
+            this.layoutControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txtSigTime.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtSigTime.Properties.CalendarTimeProperties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDtoSx.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDtoCdb.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbMain.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbAdja.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtsatStation.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtcdbStation.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRefLocation.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtCxLocation.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtcxFx.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.itemSigTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtPosRes)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // layoutControl1
+            // 
+            this.layoutControl1.Controls.Add(this.ucEphXYZAdaj);
+            this.layoutControl1.Controls.Add(this.ucEphXYZMain);
+            this.layoutControl1.Controls.Add(this.txtSigTime);
+            this.layoutControl1.Controls.Add(this.txtDtoSx);
+            this.layoutControl1.Controls.Add(this.txtDtoCdb);
+            this.layoutControl1.Controls.Add(this.txtYbMain);
+            this.layoutControl1.Controls.Add(this.txtYbAdja);
+            this.layoutControl1.Controls.Add(this.txtsatStation);
+            this.layoutControl1.Controls.Add(this.txtcdbStation);
+            this.layoutControl1.Controls.Add(this.txtRefLocation);
+            this.layoutControl1.Controls.Add(this.btnDtoLine);
+            this.layoutControl1.Controls.Add(this.btnEphCalc);
+            this.layoutControl1.Controls.Add(this.btnPos);
+            this.layoutControl1.Controls.Add(this.txtCxLocation);
+            this.layoutControl1.Controls.Add(this.txtcxFx);
+            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.layoutControl1.Location = new System.Drawing.Point(0, 0);
+            this.layoutControl1.Name = "layoutControl1";
+            this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(831, 101, 650, 400);
+            this.layoutControl1.Root = this.Root;
+            this.layoutControl1.Size = new System.Drawing.Size(685, 367);
+            this.layoutControl1.TabIndex = 0;
+            this.layoutControl1.Text = "layoutControl1";
+            // 
+            // ucEphXYZAdaj
+            // 
+            this.ucEphXYZAdaj.Location = new System.Drawing.Point(12, 244);
+            this.ucEphXYZAdaj.Name = "ucEphXYZAdaj";
+            this.ucEphXYZAdaj.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
+            this.ucEphXYZAdaj.Size = new System.Drawing.Size(661, 44);
+            this.ucEphXYZAdaj.TabIndex = 14;
+            // 
+            // ucEphXYZMain
+            // 
+            this.ucEphXYZMain.Location = new System.Drawing.Point(12, 196);
+            this.ucEphXYZMain.Name = "ucEphXYZMain";
+            this.ucEphXYZMain.Size = new System.Drawing.Size(661, 44);
+            this.ucEphXYZMain.TabIndex = 13;
+            // 
+            // txtSigTime
+            // 
+            this.txtSigTime.EditValue = null;
+            this.txtSigTime.Location = new System.Drawing.Point(12, 167);
+            this.txtSigTime.Name = "txtSigTime";
+            this.txtSigTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txtSigTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txtSigTime.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
+            this.txtSigTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtSigTime.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
+            this.txtSigTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtSigTime.Properties.MaskSettings.Set("mask", "yyyy-MM-dd HH:mm:ss");
+            this.txtSigTime.Size = new System.Drawing.Size(659, 20);
+            this.txtSigTime.StyleController = this.layoutControl1;
+            this.txtSigTime.TabIndex = 9;
+            // 
+            // txtDtoSx
+            // 
+            this.txtDtoSx.Location = new System.Drawing.Point(445, 75);
+            this.txtDtoSx.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtDtoSx.Name = "txtDtoSx";
+            this.txtDtoSx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDtoSx.Properties.NullValuePrompt = "必需";
+            this.txtDtoSx.Size = new System.Drawing.Size(228, 20);
+            this.txtDtoSx.StyleController = this.layoutControl1;
+            this.txtDtoSx.TabIndex = 6;
+            // 
+            // txtDtoCdb
+            // 
+            this.txtDtoCdb.Location = new System.Drawing.Point(12, 121);
+            this.txtDtoCdb.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtDtoCdb.Name = "txtDtoCdb";
+            this.txtDtoCdb.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.txtDtoCdb.Properties.NullValuePrompt = "必需";
+            this.txtDtoCdb.Size = new System.Drawing.Size(223, 20);
+            this.txtDtoCdb.StyleController = this.layoutControl1;
+            this.txtDtoCdb.TabIndex = 6;
+            // 
+            // txtYbMain
+            // 
+            this.txtYbMain.Location = new System.Drawing.Point(239, 121);
+            this.txtYbMain.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtYbMain.Name = "txtYbMain";
+            this.txtYbMain.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtYbMain.Size = new System.Drawing.Size(198, 20);
+            this.txtYbMain.StyleController = this.layoutControl1;
+            this.txtYbMain.TabIndex = 6;
+            // 
+            // txtYbAdja
+            // 
+            this.txtYbAdja.Location = new System.Drawing.Point(443, 121);
+            this.txtYbAdja.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtYbAdja.Name = "txtYbAdja";
+            this.txtYbAdja.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtYbAdja.Size = new System.Drawing.Size(230, 20);
+            this.txtYbAdja.StyleController = this.layoutControl1;
+            this.txtYbAdja.TabIndex = 6;
+            // 
+            // txtsatStation
+            // 
+            this.txtsatStation.EditValue = "";
+            this.txtsatStation.Location = new System.Drawing.Point(14, 29);
+            this.txtsatStation.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtsatStation.Name = "txtsatStation";
+            this.txtsatStation.Properties.AutoHeight = false;
+            this.txtsatStation.Size = new System.Drawing.Size(221, 20);
+            this.txtsatStation.StyleController = this.layoutControl1;
+            this.txtsatStation.TabIndex = 10;
+            this.txtsatStation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtcdbStation
+            // 
+            this.txtcdbStation.EditValue = "";
+            this.txtcdbStation.Location = new System.Drawing.Point(239, 29);
+            this.txtcdbStation.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtcdbStation.Name = "txtcdbStation";
+            this.txtcdbStation.Properties.AutoHeight = false;
+            this.txtcdbStation.Size = new System.Drawing.Size(200, 20);
+            this.txtcdbStation.StyleController = this.layoutControl1;
+            this.txtcdbStation.TabIndex = 10;
+            this.txtcdbStation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtRefLocation
+            // 
+            this.txtRefLocation.EditValue = "";
+            this.txtRefLocation.Location = new System.Drawing.Point(443, 29);
+            this.txtRefLocation.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtRefLocation.Name = "txtRefLocation";
+            this.txtRefLocation.Properties.AutoHeight = false;
+            this.txtRefLocation.Size = new System.Drawing.Size(228, 20);
+            this.txtRefLocation.StyleController = this.layoutControl1;
+            this.txtRefLocation.TabIndex = 10;
+            this.txtRefLocation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // btnDtoLine
+            // 
+            this.btnDtoLine.Location = new System.Drawing.Point(465, 299);
+            this.btnDtoLine.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.btnDtoLine.Name = "btnDtoLine";
+            this.btnDtoLine.Size = new System.Drawing.Size(96, 22);
+            this.btnDtoLine.StyleController = this.layoutControl1;
+            this.btnDtoLine.TabIndex = 12;
+            this.btnDtoLine.Text = "时差线";
+            this.btnDtoLine.Click += new System.EventHandler(this.btnDtoLine_Click);
+            // 
+            // btnEphCalc
+            // 
+            this.btnEphCalc.Location = new System.Drawing.Point(357, 299);
+            this.btnEphCalc.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.btnEphCalc.Name = "btnEphCalc";
+            this.btnEphCalc.Size = new System.Drawing.Size(96, 22);
+            this.btnEphCalc.StyleController = this.layoutControl1;
+            this.btnEphCalc.TabIndex = 12;
+            this.btnEphCalc.Text = "重新计算星历";
+            this.btnEphCalc.ToolTip = "根据信号时间使用匹配的双行根重新推算星历";
+            this.btnEphCalc.Click += new System.EventHandler(this.btnEphCalc_Click);
+            // 
+            // btnPos
+            // 
+            this.btnPos.Location = new System.Drawing.Point(575, 299);
+            this.btnPos.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.btnPos.Name = "btnPos";
+            this.btnPos.Size = new System.Drawing.Size(96, 22);
+            this.btnPos.StyleController = this.layoutControl1;
+            this.btnPos.TabIndex = 12;
+            this.btnPos.Text = "手动定位";
+            this.btnPos.Click += new System.EventHandler(this.btnPos_Click);
+            // 
+            // txtCxLocation
+            // 
+            this.txtCxLocation.EditValue = "";
+            this.txtCxLocation.Location = new System.Drawing.Point(12, 75);
+            this.txtCxLocation.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtCxLocation.Name = "txtCxLocation";
+            this.txtCxLocation.Properties.AutoHeight = false;
+            this.txtCxLocation.Size = new System.Drawing.Size(221, 20);
+            this.txtCxLocation.StyleController = this.layoutControl1;
+            this.txtCxLocation.TabIndex = 10;
+            this.txtCxLocation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtcxFx
+            // 
+            this.txtcxFx.Location = new System.Drawing.Point(239, 75);
+            this.txtcxFx.MaximumSize = new System.Drawing.Size(0, 20);
+            this.txtcxFx.Name = "txtcxFx";
+            this.txtcxFx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "°", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtcxFx.Size = new System.Drawing.Size(200, 20);
+            this.txtcxFx.StyleController = this.layoutControl1;
+            this.txtcxFx.TabIndex = 6;
+            // 
+            // Root
+            // 
+            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+            this.Root.GroupBordersVisible = false;
+            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+            this.emptySpaceItem3,
+            this.layoutControlItem6,
+            this.layoutControlItem14,
+            this.layoutControlItem9,
+            this.layoutControlItem10,
+            this.itemSigTime,
+            this.layoutControlItem17,
+            this.layoutControlItem4,
+            this.layoutControlItem3,
+            this.layoutControlItem5,
+            this.layoutControlItem7,
+            this.layoutControlItem1,
+            this.txtPosRes,
+            this.layoutControlItem11,
+            this.layoutControlItem12,
+            this.layoutControlItem2,
+            this.layoutControlItem8,
+            this.emptySpaceItem1});
+            this.Root.Name = "Root";
+            this.Root.Size = new System.Drawing.Size(685, 367);
+            this.Root.TextVisible = false;
+            // 
+            // emptySpaceItem3
+            // 
+            this.emptySpaceItem3.AllowHotTrack = false;
+            this.emptySpaceItem3.Location = new System.Drawing.Point(0, 280);
+            this.emptySpaceItem3.Name = "emptySpaceItem3";
+            this.emptySpaceItem3.Size = new System.Drawing.Size(345, 33);
+            this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // layoutControlItem6
+            // 
+            this.layoutControlItem6.Control = this.txtDtoCdb;
+            this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem6.CustomizationFormText = "轨道经度";
+            this.layoutControlItem6.Location = new System.Drawing.Point(0, 92);
+            this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem6.MinSize = new System.Drawing.Size(54, 46);
+            this.layoutControlItem6.Name = "layoutControlItem6";
+            this.layoutControlItem6.Size = new System.Drawing.Size(227, 46);
+            this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem6.Text = "主星超短时差";
+            this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem14
+            // 
+            this.layoutControlItem14.Control = this.txtsatStation;
+            this.layoutControlItem14.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem14.CustomizationFormText = "参考站经纬度";
+            this.layoutControlItem14.Location = new System.Drawing.Point(0, 0);
+            this.layoutControlItem14.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem14.MinSize = new System.Drawing.Size(77, 46);
+            this.layoutControlItem14.Name = "layoutControlItem14";
+            this.layoutControlItem14.Size = new System.Drawing.Size(227, 46);
+            this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem14.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 0, 0, 0);
+            this.layoutControlItem14.Text = "接收站经纬度";
+            this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem9
+            // 
+            this.layoutControlItem9.Control = this.txtcdbStation;
+            this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem9.CustomizationFormText = "参考站经纬度";
+            this.layoutControlItem9.Location = new System.Drawing.Point(227, 0);
+            this.layoutControlItem9.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem9.MinSize = new System.Drawing.Size(77, 46);
+            this.layoutControlItem9.Name = "layoutControlItem9";
+            this.layoutControlItem9.Size = new System.Drawing.Size(204, 46);
+            this.layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem9.Text = "超短波经纬度";
+            this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem10
+            // 
+            this.layoutControlItem10.Control = this.txtRefLocation;
+            this.layoutControlItem10.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem10.CustomizationFormText = "参考站经纬度";
+            this.layoutControlItem10.Location = new System.Drawing.Point(431, 0);
+            this.layoutControlItem10.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem10.MinSize = new System.Drawing.Size(77, 46);
+            this.layoutControlItem10.Name = "layoutControlItem10";
+            this.layoutControlItem10.Size = new System.Drawing.Size(234, 46);
+            this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem10.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
+            this.layoutControlItem10.Text = "参考站经纬度";
+            this.layoutControlItem10.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem10.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // itemSigTime
+            // 
+            this.itemSigTime.Control = this.txtSigTime;
+            this.itemSigTime.Location = new System.Drawing.Point(0, 138);
+            this.itemSigTime.MaxSize = new System.Drawing.Size(0, 46);
+            this.itemSigTime.MinSize = new System.Drawing.Size(76, 46);
+            this.itemSigTime.Name = "itemSigTime";
+            this.itemSigTime.Size = new System.Drawing.Size(665, 46);
+            this.itemSigTime.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.itemSigTime.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
+            this.itemSigTime.Text = "信号时间";
+            this.itemSigTime.TextLocation = DevExpress.Utils.Locations.Top;
+            this.itemSigTime.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem17
+            // 
+            this.layoutControlItem17.Control = this.btnDtoLine;
+            this.layoutControlItem17.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem17.CustomizationFormText = "layoutControlItem1";
+            this.layoutControlItem17.Location = new System.Drawing.Point(445, 280);
+            this.layoutControlItem17.MaxSize = new System.Drawing.Size(110, 0);
+            this.layoutControlItem17.MinSize = new System.Drawing.Size(110, 33);
+            this.layoutControlItem17.Name = "layoutControlItem17";
+            this.layoutControlItem17.Padding = new DevExpress.XtraLayout.Utils.Padding(10, 2, 9, 2);
+            this.layoutControlItem17.Size = new System.Drawing.Size(110, 33);
+            this.layoutControlItem17.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem17.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
+            this.layoutControlItem17.Text = "layoutControlItem1";
+            this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem17.TextVisible = false;
+            // 
+            // layoutControlItem4
+            // 
+            this.layoutControlItem4.Control = this.ucEphXYZMain;
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 184);
+            this.layoutControlItem4.MaxSize = new System.Drawing.Size(0, 48);
+            this.layoutControlItem4.MinSize = new System.Drawing.Size(166, 48);
+            this.layoutControlItem4.Name = "layoutControlItem4";
+            this.layoutControlItem4.Size = new System.Drawing.Size(665, 48);
+            this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem4.TextVisible = false;
+            // 
+            // layoutControlItem3
+            // 
+            this.layoutControlItem3.Control = this.ucEphXYZAdaj;
+            this.layoutControlItem3.Location = new System.Drawing.Point(0, 232);
+            this.layoutControlItem3.MaxSize = new System.Drawing.Size(0, 48);
+            this.layoutControlItem3.MinSize = new System.Drawing.Size(166, 48);
+            this.layoutControlItem3.Name = "layoutControlItem3";
+            this.layoutControlItem3.Size = new System.Drawing.Size(665, 48);
+            this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem3.TextVisible = false;
+            // 
+            // layoutControlItem5
+            // 
+            this.layoutControlItem5.Control = this.btnEphCalc;
+            this.layoutControlItem5.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem5.CustomizationFormText = "layoutControlItem1";
+            this.layoutControlItem5.Location = new System.Drawing.Point(345, 280);
+            this.layoutControlItem5.MaxSize = new System.Drawing.Size(100, 33);
+            this.layoutControlItem5.MinSize = new System.Drawing.Size(100, 33);
+            this.layoutControlItem5.Name = "layoutControlItem5";
+            this.layoutControlItem5.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
+            this.layoutControlItem5.Size = new System.Drawing.Size(100, 33);
+            this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem5.Text = "layoutControlItem1";
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem5.TextVisible = false;
+            // 
+            // layoutControlItem7
+            // 
+            this.layoutControlItem7.Control = this.txtYbMain;
+            this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem7.CustomizationFormText = "轨道经度";
+            this.layoutControlItem7.Location = new System.Drawing.Point(227, 92);
+            this.layoutControlItem7.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem7.MinSize = new System.Drawing.Size(54, 46);
+            this.layoutControlItem7.Name = "layoutControlItem7";
+            this.layoutControlItem7.Size = new System.Drawing.Size(204, 46);
+            this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem7.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
+            this.layoutControlItem7.Text = "样本主星时差";
+            this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem1
+            // 
+            this.layoutControlItem1.Control = this.btnPos;
+            this.layoutControlItem1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
+            this.layoutControlItem1.Location = new System.Drawing.Point(555, 280);
+            this.layoutControlItem1.MaxSize = new System.Drawing.Size(110, 33);
+            this.layoutControlItem1.MinSize = new System.Drawing.Size(110, 33);
+            this.layoutControlItem1.Name = "layoutControlItem1";
+            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(10, 2, 9, 2);
+            this.layoutControlItem1.Size = new System.Drawing.Size(110, 33);
+            this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
+            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem1.TextVisible = false;
+            // 
+            // txtPosRes
+            // 
+            this.txtPosRes.AllowHotTrack = false;
+            this.txtPosRes.Location = new System.Drawing.Point(0, 313);
+            this.txtPosRes.MaxSize = new System.Drawing.Size(0, 24);
+            this.txtPosRes.MinSize = new System.Drawing.Size(126, 24);
+            this.txtPosRes.Name = "txtPosRes";
+            this.txtPosRes.Size = new System.Drawing.Size(665, 24);
+            this.txtPosRes.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.txtPosRes.Text = " ";
+            this.txtPosRes.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem11
+            // 
+            this.layoutControlItem11.Control = this.txtCxLocation;
+            this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem11.CustomizationFormText = "参考站经纬度";
+            this.layoutControlItem11.Location = new System.Drawing.Point(0, 46);
+            this.layoutControlItem11.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem11.MinSize = new System.Drawing.Size(77, 46);
+            this.layoutControlItem11.Name = "layoutControlItem11";
+            this.layoutControlItem11.Size = new System.Drawing.Size(227, 46);
+            this.layoutControlItem11.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem11.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
+            this.layoutControlItem11.Text = "测向站经纬度";
+            this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem12
+            // 
+            this.layoutControlItem12.Control = this.txtcxFx;
+            this.layoutControlItem12.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem12.CustomizationFormText = "轨道经度";
+            this.layoutControlItem12.Location = new System.Drawing.Point(227, 46);
+            this.layoutControlItem12.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem12.MinSize = new System.Drawing.Size(54, 46);
+            this.layoutControlItem12.Name = "layoutControlItem12";
+            this.layoutControlItem12.Size = new System.Drawing.Size(204, 46);
+            this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem12.Text = "测向方向值";
+            this.layoutControlItem12.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem2
+            // 
+            this.layoutControlItem2.Control = this.txtDtoSx;
+            this.layoutControlItem2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem2.CustomizationFormText = "轨道经度";
+            this.layoutControlItem2.Location = new System.Drawing.Point(431, 46);
+            this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem2.MinSize = new System.Drawing.Size(54, 46);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.Size = new System.Drawing.Size(234, 46);
+            this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem2.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 0, 0, 0);
+            this.layoutControlItem2.Text = "双星时差";
+            this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem8
+            // 
+            this.layoutControlItem8.Control = this.txtYbAdja;
+            this.layoutControlItem8.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem8.CustomizationFormText = "轨道经度";
+            this.layoutControlItem8.Location = new System.Drawing.Point(431, 92);
+            this.layoutControlItem8.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem8.MinSize = new System.Drawing.Size(54, 46);
+            this.layoutControlItem8.Name = "layoutControlItem8";
+            this.layoutControlItem8.Size = new System.Drawing.Size(234, 46);
+            this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem8.Text = "样本邻星时差";
+            this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // dxErrorProvider
+            // 
+            this.dxErrorProvider.ContainerControl = this;
+            // 
+            // emptySpaceItem1
+            // 
+            this.emptySpaceItem1.AllowHotTrack = false;
+            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 337);
+            this.emptySpaceItem1.MaxSize = new System.Drawing.Size(0, 10);
+            this.emptySpaceItem1.MinSize = new System.Drawing.Size(10, 10);
+            this.emptySpaceItem1.Name = "emptySpaceItem1";
+            this.emptySpaceItem1.Size = new System.Drawing.Size(665, 10);
+            this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // RHDTOParamEditor
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Controls.Add(this.layoutControl1);
+            this.Name = "RHDTOParamEditor";
+            this.Size = new System.Drawing.Size(685, 367);
+            this.Load += new System.EventHandler(this.X2D1DTOParamEditor_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
+            this.layoutControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txtSigTime.Properties.CalendarTimeProperties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtSigTime.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDtoSx.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDtoCdb.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbMain.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbAdja.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtsatStation.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtcdbStation.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtRefLocation.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtCxLocation.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtcxFx.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.itemSigTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtPosRes)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private DevExpress.XtraLayout.LayoutControl layoutControl1;
+        private DevExpress.XtraLayout.LayoutControlGroup Root;
+        private DevExpress.XtraEditors.DateEdit txtSigTime;
+        private DevExpress.XtraLayout.LayoutControlItem itemSigTime;
+        private DevExpress.XtraEditors.ButtonEdit txtDtoSx;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
+        private DevExpress.XtraEditors.ButtonEdit txtDtoCdb;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
+        private DevExpress.XtraEditors.ButtonEdit txtYbMain;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
+        private DevExpress.XtraEditors.ButtonEdit txtYbAdja;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
+        private DevExpress.XtraEditors.TextEdit txtsatStation;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
+        private DevExpress.XtraEditors.TextEdit txtcdbStation;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
+        private DevExpress.XtraEditors.TextEdit txtRefLocation;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10;
+        private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
+        private DevExpress.XtraEditors.SimpleButton btnDtoLine;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17;
+        private UserControl.UCEphXYZ ucEphXYZAdaj;
+        private UserControl.UCEphXYZ ucEphXYZMain;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+        private DevExpress.XtraEditors.SimpleButton btnEphCalc;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+        private DevExpress.XtraEditors.SimpleButton btnPos;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+        private DevExpress.XtraLayout.SimpleLabelItem txtPosRes;
+        private DevExpress.XtraEditors.TextEdit txtCxLocation;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
+        private DevExpress.XtraEditors.ButtonEdit txtcxFx;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
+    }
+}

+ 288 - 0
XdCxRhDW.App/EditForms/RHDTOParamEditor.cs

@@ -0,0 +1,288 @@
+using DevExpress.XtraMap;
+using DxHelper;
+using ExtensionsDev;
+using System;
+using System.CodeDom;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Data.Entity;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using XdCxRhDW.Api;
+using XdCxRhDW.Dto;
+using XdCxRhDW.Entity;
+using XdCxRhDW.Repostory;
+
+namespace XdCxRhDW.App.EditForms
+{
+    public partial class RHDTOParamEditor : DevExpress.XtraEditors.XtraUserControl
+    {
+        private MapControl mapControl1;
+        private PosRes info;
+        private CgRes cg;
+        private List<SatInfo> listSat;
+        public RHDTOParamEditor(PosRes info, MapControl mapControl)
+        {
+            InitializeComponent();
+            this.info = info;
+            itemSigTime.Text = $"{itemSigTime.Text}({SysConfig.Config.TimeZoneUTC})";
+            this.layoutControl1.UseDefault();
+            txtSigTime.UseDefault();
+            this.Text = $"{info.PosResType.GetEnumDisplayName()}时差参数";
+            this.listSat = new List<SatInfo>();
+            this.mapControl1 = mapControl;
+            txtsatStation.EditValueChanged += TxtsatStation_EditValueChanged;
+            txtcdbStation.EditValueChanged += TxtcdbStation_EditValueChanged;
+            txtRefLocation.EditValueChanged += TxtRefLocation_EditValueChanged;
+            txtCxLocation.EditValueChanged += TxtCxLocation_EditValueChanged;
+        }
+
+        private void TxtCxLocation_EditValueChanged(object sender, EventArgs e)
+        {
+            txtCxLocation.CheckLonLat(dxErrorProvider, "侧向站");
+        }
+
+        private void TxtRefLocation_EditValueChanged(object sender, EventArgs e)
+        {
+            txtRefLocation.CheckLonLat(dxErrorProvider, "参考站");
+
+        }
+
+        private void TxtcdbStation_EditValueChanged(object sender, EventArgs e)
+        {
+            txtcdbStation.CheckLonLat(dxErrorProvider, "超短波");
+        }
+
+        private void TxtsatStation_EditValueChanged(object sender, EventArgs e)
+        {
+            txtsatStation.CheckLonLat(dxErrorProvider, "接收站");
+        }
+
+        private async void X2D1DTOParamEditor_Load(object sender, EventArgs e)
+        {
+
+            StationRes station = null;
+            CxRes cx = null;
+            using (RHDWContext db = new RHDWContext())
+            {
+                listSat = await db.SatInfos.ToListAsync();
+            }
+            using (RHDWPartContext db = RHDWPartContext.GetContext(info.SigTime))
+            {
+                cg = await db?.CgRes.Where(m => m.ID == info.CgResID).FirstOrDefaultAsync();
+                cx = await db?.CxRes.Where(m => m.ID == info.CxResID).FirstOrDefaultAsync();
+                station = await db?.StationRes.Where(m => m.ID == info.StationResID).FirstOrDefaultAsync();
+            }
+            if (cg != null)
+            {
+                this.txtDtoSx.Text = $"{cg.Dto1.Value}";
+                this.txtDtoCdb.Text = $"{cg.DtoCdb.Value}";
+                this.txtYbMain.Text = $"{cg.YbMainDto.Value}";
+                this.txtYbAdja.Text = $"{cg.YbAdja1Dto.Value}";
+
+                this.txtSigTime.EditValue = info.SigTime;
+                ucEphXYZMain.SetXYZ("主星", cg.MainCode, (cg.MainX, cg.MainY, cg.MainZ), Color.Black);
+                ucEphXYZAdaj.SetXYZ("邻星", cg.Adja1Code, (cg.Adja1X, cg.Adja1Y, cg.Adja1Z), Color.Black);
+            }
+            if (cx != null)
+            {
+                this.txtcxFx.Text = $"{cx.Fx}";
+            }
+            if (station != null)
+            {
+                this.txtsatStation.Text = $"{station.SatTxLon},{station.SatTxLat}";
+                this.txtcdbStation.Text = $"{station.CdbTxLon},{station.CdbTxLat}";
+                this.txtRefLocation.Text = $"{station.RefLon},{station.RefLat}";
+                this.txtCxLocation.Text = $"{station.CxLon},{station.CxLat}";
+            }
+
+        }
+
+        public bool CheckParam()
+        {
+            if (!txtsatStation.CheckLonLat(dxErrorProvider, "接收站"))
+            {
+                return false;
+            }
+            if (!txtcdbStation.CheckLonLat(dxErrorProvider, "超短波"))
+            {
+                return false;
+            }
+            if (!txtRefLocation.CheckLonLat(dxErrorProvider, "参考站"))
+            {
+                return false;
+            }
+            return true;
+        }
+
+        private void btnDtoLine_Click(object sender, EventArgs e)
+        {
+            if (!CheckParam()) { return; }
+            try
+            {
+
+                var MsAnt = txtsatStation.GetLonLat();
+                var CDBAnt = txtcdbStation.GetLonLat();
+                var RefGeod = txtRefLocation.GetLonLat();
+
+                var DtoSx = Convert.ToDouble(this.txtDtoSx.Text);
+                var DtoCdb = Convert.ToDouble(this.txtDtoCdb.Text);
+                var YbMainDto = Convert.ToDouble(this.txtYbMain.Text);
+                var YbAdja1Dto = Convert.ToDouble(this.txtYbAdja.Text);
+
+
+                double[] msEph = ucEphXYZMain.EphXYZ();
+                double[] NsEph = ucEphXYZAdaj.EphXYZ();
+
+                DtoLineXdOption dtoLineXd = new DtoLineXdOption();
+                dtoLineXd.MsEph = msEph;
+                dtoLineXd.MsAnt = MsAnt;
+                dtoLineXd.CDBAnt = CDBAnt;
+                dtoLineXd.RefGeod = RefGeod;
+                dtoLineXd.xdDto = DtoCdb;
+                dtoLineXd.RefDto = YbMainDto;
+                dtoLineXd.PosLon = info.PosLon;
+                dtoLineXd.PosLat = info.PosLat;
+
+                DtoLineTwoStartOption twoStartOption = new DtoLineTwoStartOption();
+                twoStartOption.MsEph = msEph;
+                twoStartOption.NsEph = NsEph;
+                twoStartOption.MsAnt = MsAnt;
+                twoStartOption.NsAnt = MsAnt;
+                twoStartOption.RefGeod = RefGeod;
+                twoStartOption.TargetDto = DtoSx;
+                twoStartOption.RefDto = YbMainDto - YbAdja1Dto;
+                twoStartOption.PosLon = info.PosLon;
+                twoStartOption.PosLat = info.PosLat;
+                var msat = listSat.FirstOrDefault(m => m.SatCode == cg.MainCode.Value)?.Sat;
+                if (string.IsNullOrWhiteSpace(msat)) msat = cg.MainCode.Value.ToString();
+                var nsat = listSat.FirstOrDefault(m => m.SatCode == cg.Adja1Code.Value)?.Sat;
+                if (string.IsNullOrWhiteSpace(nsat)) nsat = cg.Adja1Code.Value.ToString();
+
+                var xdDtoLine = DrawDtoLineHelper.DtoLineXd(dtoLineXd);
+                mapControl1.DrawDtoLine($"[{msat},超短{CDBAnt[0]}°]时差线", xdDtoLine);
+
+                var tsDtoLine = DrawDtoLineHelper.DtoLine2XStart(twoStartOption);
+                mapControl1.DrawDtoLine($"[{msat},{nsat}]时差线", tsDtoLine);
+
+
+            }
+            catch (Exception ex)
+            {
+                Serilog.Log.Error(ex, $"绘制{info.PosResType.GetEnumDisplayName()}时差线失败.PosID={info.ID},SigTime={info.SigTime}");
+                DxHelper.MsgBoxHelper.ShowWarning($"绘制{info.PosResType.GetEnumDisplayName()}时差线失败,{ex.Message}");
+            }
+        }
+
+        private async void btnEphCalc_Click(object sender, EventArgs e)
+        {
+            if (this.txtSigTime.DateTime == DateTime.MinValue)
+            {
+                DxHelper.MsgBoxHelper.ShowWarning("信号时间不能为空!");
+                return;
+            }
+            var sigTime = this.txtSigTime.DateTime;
+            try
+            {
+
+                var mainxlInfo = await XlRepository.GetLatestAsync(cg.MainCode.Value, sigTime);
+                if (mainxlInfo == null)
+                {
+                    DxHelper.MsgBoxHelper.ShowWarning($"卫星:{cg.MainCode.Value}未找到对应的星历信息,请导入星历");
+                    return;
+                }
+                var maineph = EphHelper.Calc(mainxlInfo.TwoLine, sigTime.ToUtc());
+
+                ucEphXYZMain.SetXYZ("主星", cg.MainCode.Value, (maineph.X, maineph.Y, maineph.Z), Color.Red);
+
+                var adjaxlInfo = await XlRepository.GetLatestAsync(cg.Adja1Code.Value, sigTime);
+                if (adjaxlInfo == null)
+                {
+                    DxHelper.MsgBoxHelper.ShowWarning($"卫星:{cg.Adja1Code.Value}未找到对应的星历信息,请导入星历");
+                    return;
+                }
+                var adjaeph = EphHelper.Calc(adjaxlInfo.TwoLine, sigTime.ToUtc());
+
+                ucEphXYZAdaj.SetXYZ("邻星", cg.Adja1Code.Value, (adjaeph.X, adjaeph.Y, adjaeph.Z), Color.Red);
+            }
+            catch (Exception ex)
+            {
+                Serilog.Log.Error(ex, $"手动推算{info.PosResType.GetEnumDisplayName()}星历失败,SigTime={sigTime}");
+                DxHelper.MsgBoxHelper.ShowError($"手动推算{info.PosResType.GetEnumDisplayName()}星历失败,{ex.Message}");
+            }
+
+
+        }
+
+        private void btnPos_Click(object sender, EventArgs e)
+        {
+            if (!CheckParam()) { return; }
+            txtPosRes.Text = " ";
+            try
+            {
+
+                var MsAnt = txtsatStation.GetLonLat();
+                var CDBAnt = txtcdbStation.GetLonLat();
+                var RefGeod = txtRefLocation.GetLonLat();
+                var cxStation = txtCxLocation.GetLonLat();
+
+                var DtoSx = Convert.ToDouble(this.txtDtoSx.Text);
+                var DtoCdb = Convert.ToDouble(this.txtDtoCdb.Text);
+                var YbMainDto = Convert.ToDouble(this.txtYbMain.Text);
+                var YbAdja1Dto = Convert.ToDouble(this.txtYbAdja.Text);
+
+                var cxFx = Convert.ToDouble(this.txtcxFx.Text);
+
+                double[] msEph = ucEphXYZMain.EphXYZ();
+                double[] nsEph = ucEphXYZAdaj.EphXYZ();
+
+                var sigTime = txtSigTime.DateTime;
+                var StationRes = new StationRes()
+                {
+                    SatTxLon = MsAnt[0],
+                    SatTxLat = MsAnt[1],
+                    CdbTxLon = CDBAnt[0],
+                    CdbTxLat = CDBAnt[1],
+                    CxLon = cxStation[0],
+                    CxLat = cxStation[1],
+                    RefLon = RefGeod[0],
+                    RefLat = RefGeod[1],
+                };
+
+
+                var cgRes = new CgRes()
+                {
+                    SigTime = sigTime,
+                    Dto1 = DtoSx,
+                    DtoCdb = DtoCdb,
+                    YbMainDto = YbMainDto,
+                    YbAdja1Dto = YbAdja1Dto,
+                    MainCode = cg.MainCode.Value,
+                    Adja1Code = cg.Adja1Code.Value,
+                    MainX = msEph[0],
+                    MainY = msEph[1],
+                    MainZ = msEph[2],
+                    Adja1X = nsEph[0],
+                    Adja1Y = nsEph[1],
+                    Adja1Z = nsEph[2],
+                };
+                var rhcxRes = new CxRes()
+                {
+                    SigTime = sigTime,
+                    Fx = cxFx,
+                };
+                var res = PosApi.RH_Pos(cgRes, StationRes, rhcxRes, false);
+                this.txtPosRes.Text = $"{info.PosResType.GetEnumDisplayName()}定位点:[{res[0]:f4},{res[1]:f4}] 镜像点:[{res[3]:f4},{res[4]:f4}]";
+
+            }
+            catch (Exception ex)
+            {
+                Serilog.Log.Error(ex, $"{info.PosResType.GetEnumDisplayName()}手动定位失败.PosID={info.ID},SigTime={info.SigTime}");
+                DxHelper.MsgBoxHelper.ShowWarning($"{info.PosResType.GetEnumDisplayName()}手动定位失败,{ex.Message}");
+            }
+        }
+    }
+}

+ 123 - 0
XdCxRhDW.App/EditForms/RHDTOParamEditor.resx

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

+ 54 - 57
XdCxRhDW.App/EditForms/X1D1DTOParamEditor.Designer.cs

@@ -59,20 +59,20 @@
             this.txtcxFx = new DevExpress.XtraEditors.ButtonEdit();
             this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
             this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
-            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.itemSigTime = new DevExpress.XtraLayout.LayoutControlItem();
             this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
             this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             this.txtPosRes = new DevExpress.XtraLayout.SimpleLabelItem();
             this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.itemSigTime = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
             this.dxErrorProvider = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
             this.layoutControl1.SuspendLayout();
@@ -87,20 +87,20 @@
             ((System.ComponentModel.ISupportInitialize)(this.txtcxFx.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.itemSigTime)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtPosRes)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.itemSigTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).BeginInit();
             this.SuspendLayout();
             // 
@@ -171,7 +171,6 @@
             this.txtYbMain.Name = "txtYbMain";
             this.txtYbMain.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "us", -1, false, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-          
             this.txtYbMain.Size = new System.Drawing.Size(169, 20);
             this.txtYbMain.StyleController = this.layoutControl1;
             this.txtYbMain.TabIndex = 6;
@@ -265,9 +264,7 @@
             this.txtcxFx.Name = "txtcxFx";
             this.txtcxFx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "°", -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.txtcxFx.Size = new System.Drawing.Size(168, 20);
-            this.txtcxFx.StyleController = this.layoutControl1;
             this.txtcxFx.TabIndex = 6;
             // 
             // Root
@@ -302,22 +299,6 @@
             this.emptySpaceItem3.Size = new System.Drawing.Size(198, 33);
             this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
             // 
-            // layoutControlItem6
-            // 
-            this.layoutControlItem6.Control = this.txtDtoCdb;
-            this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem6.CustomizationFormText = "轨道经度";
-            this.layoutControlItem6.Location = new System.Drawing.Point(0, 92);
-            this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 46);
-            this.layoutControlItem6.MinSize = new System.Drawing.Size(54, 46);
-            this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(259, 46);
-            this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem6.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 0, 0, 0);
-            this.layoutControlItem6.Text = "主星超短时差";
-            this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
-            // 
             // layoutControlItem14
             // 
             this.layoutControlItem14.Control = this.txtsatStation;
@@ -381,35 +362,6 @@
             this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem17.TextVisible = false;
             // 
-            // layoutControlItem7
-            // 
-            this.layoutControlItem7.Control = this.txtYbMain;
-            this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem7.CustomizationFormText = "轨道经度";
-            this.layoutControlItem7.Location = new System.Drawing.Point(345, 46);
-            this.layoutControlItem7.MaxSize = new System.Drawing.Size(0, 51);
-            this.layoutControlItem7.MinSize = new System.Drawing.Size(54, 46);
-            this.layoutControlItem7.Name = "layoutControlItem7";
-            this.layoutControlItem7.Size = new System.Drawing.Size(173, 46);
-            this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem7.Text = "样本主星时差";
-            this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
-            // 
-            // itemSigTime
-            // 
-            this.itemSigTime.Control = this.sigTime;
-            this.itemSigTime.Location = new System.Drawing.Point(259, 92);
-            this.itemSigTime.MaxSize = new System.Drawing.Size(0, 46);
-            this.itemSigTime.MinSize = new System.Drawing.Size(76, 46);
-            this.itemSigTime.Name = "itemSigTime";
-            this.itemSigTime.Size = new System.Drawing.Size(259, 46);
-            this.itemSigTime.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.itemSigTime.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
-            this.itemSigTime.Text = "信号时间";
-            this.itemSigTime.TextLocation = DevExpress.Utils.Locations.Top;
-            this.itemSigTime.TextSize = new System.Drawing.Size(72, 14);
-            // 
             // emptySpaceItem2
             // 
             this.emptySpaceItem2.AllowHotTrack = false;
@@ -489,6 +441,36 @@
             this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
             // 
+            // itemSigTime
+            // 
+            this.itemSigTime.Control = this.sigTime;
+            this.itemSigTime.Location = new System.Drawing.Point(259, 92);
+            this.itemSigTime.MaxSize = new System.Drawing.Size(0, 46);
+            this.itemSigTime.MinSize = new System.Drawing.Size(76, 46);
+            this.itemSigTime.Name = "itemSigTime";
+            this.itemSigTime.Size = new System.Drawing.Size(259, 46);
+            this.itemSigTime.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.itemSigTime.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
+            this.itemSigTime.Text = "信号时间";
+            this.itemSigTime.TextLocation = DevExpress.Utils.Locations.Top;
+            this.itemSigTime.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem6
+            // 
+            this.layoutControlItem6.Control = this.txtDtoCdb;
+            this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem6.CustomizationFormText = "轨道经度";
+            this.layoutControlItem6.Location = new System.Drawing.Point(0, 92);
+            this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem6.MinSize = new System.Drawing.Size(54, 46);
+            this.layoutControlItem6.Name = "layoutControlItem6";
+            this.layoutControlItem6.Size = new System.Drawing.Size(259, 46);
+            this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem6.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 0, 0, 0);
+            this.layoutControlItem6.Text = "主星超短时差";
+            this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
+            // 
             // layoutControlItem5
             // 
             this.layoutControlItem5.Control = this.txtcxFx;
@@ -504,6 +486,21 @@
             this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
             this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
             // 
+            // layoutControlItem7
+            // 
+            this.layoutControlItem7.Control = this.txtYbMain;
+            this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem7.CustomizationFormText = "轨道经度";
+            this.layoutControlItem7.Location = new System.Drawing.Point(345, 46);
+            this.layoutControlItem7.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem7.MinSize = new System.Drawing.Size(54, 46);
+            this.layoutControlItem7.Name = "layoutControlItem7";
+            this.layoutControlItem7.Size = new System.Drawing.Size(173, 46);
+            this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem7.Text = "样本主星时差";
+            this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
+            // 
             // dxErrorProvider
             // 
             this.dxErrorProvider.ContainerControl = this;
@@ -529,20 +526,20 @@
             ((System.ComponentModel.ISupportInitialize)(this.txtcxFx.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.itemSigTime)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txtPosRes)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.itemSigTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).EndInit();
             this.ResumeLayout(false);
 

+ 39 - 2
XdCxRhDW.App/UserControl/CtrlHome.cs

@@ -27,7 +27,6 @@ using XdCxRhDW.App.PopupControl;
 using XdCxRhDW.Dto;
 using XdCxRhDW.Entity;
 using XdCxRhDW.Repostory;
-using XdCxRhDW.WebApi;
 
 namespace XdCxRhDW.App.UserControl
 {
@@ -78,7 +77,7 @@ namespace XdCxRhDW.App.UserControl
             gridHomeTask.UseDefault(list, showScrollH: true).UseEmptyText("点击+创建任务");
             gridView1.BestFitColumns();
             gridHomePosRes.UseDefault(new List<ModelPosRes>()).UseMultiSelect().UseRowNumber().UseNullValueText()
-                .AddRowMenu<ModelPosRes>("绘制时差线", SvgHelper.CreateDtoLine(), DrawDtoLine, item => item.PosResType != EnumPosResType.RH)
+                .AddRowMenu<ModelPosRes>("绘制时差线", SvgHelper.CreateDtoLine(), DrawDtoLine)
                 .AddRowMenuAsync<ModelPosRes>("绘制频差线", SvgHelper.CreateDfoLine(), DrawDfoLine, item => item.PosResType != EnumPosResType.RH)
                 .AddRowMenuAsync<ModelPosRes>("绘制测向线", SvgHelper.CreateDfoLine(), DrawCxLine, item => item.PosResType == EnumPosResType.X1D1CX || item.PosResType == EnumPosResType.RH)
                 .AddRowMenu<ModelPosRes>("GDOP分析", SvgHelper.CreateGDOP(), DrawGdopLine, item => item.PosResType != EnumPosResType.RH)
@@ -862,6 +861,10 @@ namespace XdCxRhDW.App.UserControl
                     X2DTOParamEditor X2Dfofrm = new X2DTOParamEditor(item, mapControl1);
                     DxHelper.PopupHelper.ShowPopup(X2Dfofrm, layoutControl1, 600);
                     break;
+                case EnumPosResType.RH:
+                    RHDTOParamEditor Rhfrm = new RHDTOParamEditor(item, mapControl1);
+                    DxHelper.PopupHelper.ShowPopup(Rhfrm, layoutControl1, 600);
+                    break;
                 default:
                     break;
             }
@@ -1294,6 +1297,40 @@ namespace XdCxRhDW.App.UserControl
                             item.MirrLon = res[3];
                             item.MirrLat = res[4];
                             break;
+                        case EnumPosResType.RH:
+
+                            var rhInfo = await XlRepository.GetLatestAsync(item.CgRes.Adja1Code.Value, item.SigTime);
+                            if (rhInfo == null)
+                            {
+                                Serilog.Log.Error($"重新定位异常:卫星:{item.CgRes.Adja1Code.Value}未找到对应的星历信息,请导入星历");
+                                continue;
+                            }
+                            var rheph = EphHelper.Calc(rhInfo.TwoLine, item.SigTime.ToUtc());
+                            CgRes.Dto1 = item.CgRes.Dto1;
+                            CgRes.Dfo1 = item.CgRes.Dfo1;
+                            CgRes.Snr1 = item.CgRes.Snr1;
+                            CgRes.DtoCdb = item.CgRes.DtoCdb;
+                            CgRes.DfoCdb = item.CgRes.DfoCdb;
+                            CgRes.SnrCdb = item.CgRes.SnrCdb;
+                            CgRes.YbMainDto = item.CgRes.YbMainDto;
+                            CgRes.YbAdja1Dto = item.CgRes.YbAdja1Dto;
+                            CgRes.MainCode = item.CgRes.MainCode;
+                            CgRes.Adja1Code = item.CgRes.Adja1Code;
+                            CgRes.Adja1X = rheph.X;
+                            CgRes.Adja1Y = rheph.Y;
+                            CgRes.Adja1Z = rheph.Z;
+
+                            var rhcxRes = new CxRes()
+                            {
+                                SigTime = item.SigTime,
+                                Fx = item.CxRes.Fx,
+                            };
+                            res = PosApi.RH_Pos(CgRes, StationRes, rhcxRes, false);
+                            item.PosLon = res[0];
+                            item.PosLat = res[1];
+                            item.MirrLon = res[3];
+                            item.MirrLat = res[4];
+                            break;
                         default:
                             break;
                     }

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

@@ -257,6 +257,12 @@
     <Compile Include="EditForms\X1D1DTOParamEditor.Designer.cs">
       <DependentUpon>X1D1DTOParamEditor.cs</DependentUpon>
     </Compile>
+    <Compile Include="EditForms\RHDTOParamEditor.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="EditForms\RHDTOParamEditor.Designer.cs">
+      <DependentUpon>RHDTOParamEditor.cs</DependentUpon>
+    </Compile>
     <Compile Include="EditForms\X2D1PosParamEditor.cs">
       <SubType>UserControl</SubType>
     </Compile>
@@ -494,6 +500,9 @@
     <EmbeddedResource Include="EditForms\X1D1DTOParamEditor.resx">
       <DependentUpon>X1D1DTOParamEditor.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="EditForms\RHDTOParamEditor.resx">
+      <DependentUpon>RHDTOParamEditor.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="EditForms\X2D1PosParamEditor.resx">
       <DependentUpon>X2D1PosParamEditor.cs</DependentUpon>
     </EmbeddedResource>
@@ -535,6 +544,7 @@
     <EmbeddedResource Include="PopupControl\ShowCxCtrl.resx">
       <DependentUpon>ShowCxCtrl.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="Properties\licenses.licx" />
     <EmbeddedResource Include="Properties\Resources.resx">
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>