瀏覽代碼

Merge branch 'master' of http://139.155.15.221:3000/zoulei/XdCxRhDW

wyq 1 年之前
父節點
當前提交
ed0e7e43dd

+ 818 - 0
XdCxRhDW.App/EditForms/X2D1PosParamEditor.Designer.cs

@@ -0,0 +1,818 @@
+namespace XdCxRhDW.App.EditForms
+{
+    partial class X2D1PosParamEditor
+    {
+        /// <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 editorButtonImageOptions10 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject37 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject38 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject39 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject40 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions11 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject41 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject42 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject43 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject44 = 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();
+            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();
+            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();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject27 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject28 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions8 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject29 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject30 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject31 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject32 = new DevExpress.Utils.SerializableAppearanceObject();
+            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.lblRes = new DevExpress.XtraEditors.LabelControl();
+            this.txtSigTime = new DevExpress.XtraEditors.DateEdit();
+            this.txtDtoSx = new DevExpress.XtraEditors.ButtonEdit();
+            this.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.txtMainX = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtMainY = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtMainZ = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtAdjaX = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtAdjaY = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtAdjaZ = new DevExpress.XtraEditors.ButtonEdit();
+            this.btnOK = new DevExpress.XtraEditors.SimpleButton();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
+            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.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.dxErrorProvider = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
+            this.btnRefXl = new DevExpress.XtraEditors.SimpleButton();
+            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+            ((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.txtMainX.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainY.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainZ.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaX.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaY.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaZ.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).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.layoutControlItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // layoutControl1
+            // 
+            this.layoutControl1.Controls.Add(this.lblRes);
+            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.txtMainX);
+            this.layoutControl1.Controls.Add(this.txtMainY);
+            this.layoutControl1.Controls.Add(this.txtMainZ);
+            this.layoutControl1.Controls.Add(this.txtAdjaX);
+            this.layoutControl1.Controls.Add(this.txtAdjaY);
+            this.layoutControl1.Controls.Add(this.txtAdjaZ);
+            this.layoutControl1.Controls.Add(this.btnOK);
+            this.layoutControl1.Controls.Add(this.btnRefXl);
+            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(642, 379);
+            this.layoutControl1.TabIndex = 0;
+            this.layoutControl1.Text = "layoutControl1";
+            // 
+            // lblRes
+            // 
+            this.lblRes.Location = new System.Drawing.Point(22, 310);
+            this.lblRes.Name = "lblRes";
+            this.lblRes.Size = new System.Drawing.Size(598, 14);
+            this.lblRes.StyleController = this.layoutControl1;
+            this.lblRes.TabIndex = 13;
+            // 
+            // txtSigTime
+            // 
+            this.txtSigTime.EditValue = null;
+            this.txtSigTime.Location = new System.Drawing.Point(428, 146);
+            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(192, 20);
+            this.txtSigTime.StyleController = this.layoutControl1;
+            this.txtSigTime.TabIndex = 9;
+            // 
+            // txtDtoSx
+            // 
+            this.txtDtoSx.Location = new System.Drawing.Point(22, 95);
+            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, editorButtonImageOptions10, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject37, serializableAppearanceObject38, serializableAppearanceObject39, serializableAppearanceObject40, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDtoSx.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtDtoSx.Properties.MaskSettings.Set("mask", "f3");
+            this.txtDtoSx.Properties.MaxLength = 10;
+            this.txtDtoSx.Properties.NullValuePrompt = "必需";
+            this.txtDtoSx.Size = new System.Drawing.Size(180, 23);
+            this.txtDtoSx.StyleController = this.layoutControl1;
+            this.txtDtoSx.TabIndex = 6;
+            // 
+            // txtDtoCdb
+            // 
+            this.txtDtoCdb.Location = new System.Drawing.Point(206, 95);
+            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, editorButtonImageOptions11, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject41, serializableAppearanceObject42, serializableAppearanceObject43, serializableAppearanceObject44, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtDtoCdb.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtDtoCdb.Properties.MaskSettings.Set("mask", "f3");
+            this.txtDtoCdb.Properties.MaxLength = 10;
+            this.txtDtoCdb.Properties.NullValuePrompt = "必需";
+            this.txtDtoCdb.Size = new System.Drawing.Size(218, 23);
+            this.txtDtoCdb.StyleController = this.layoutControl1;
+            this.txtDtoCdb.TabIndex = 6;
+            // 
+            // txtYbMain
+            // 
+            this.txtYbMain.Location = new System.Drawing.Point(22, 146);
+            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, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtYbMain.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtYbMain.Properties.MaskSettings.Set("mask", "f3");
+            this.txtYbMain.Properties.MaxLength = 10;
+            this.txtYbMain.Size = new System.Drawing.Size(180, 23);
+            this.txtYbMain.StyleController = this.layoutControl1;
+            this.txtYbMain.TabIndex = 6;
+            // 
+            // txtYbAdja
+            // 
+            this.txtYbAdja.Location = new System.Drawing.Point(206, 146);
+            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, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtYbAdja.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtYbAdja.Properties.MaskSettings.Set("mask", "f3");
+            this.txtYbAdja.Properties.MaxLength = 10;
+            this.txtYbAdja.Size = new System.Drawing.Size(218, 23);
+            this.txtYbAdja.StyleController = this.layoutControl1;
+            this.txtYbAdja.TabIndex = 6;
+            // 
+            // txtsatStation
+            // 
+            this.txtsatStation.EditValue = "";
+            this.txtsatStation.Location = new System.Drawing.Point(22, 45);
+            this.txtsatStation.Name = "txtsatStation";
+            this.txtsatStation.Properties.AutoHeight = false;
+            this.txtsatStation.Properties.MaxLength = 20;
+            this.txtsatStation.Size = new System.Drawing.Size(180, 20);
+            this.txtsatStation.StyleController = this.layoutControl1;
+            this.txtsatStation.TabIndex = 10;
+            this.txtsatStation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtcdbStation
+            // 
+            this.txtcdbStation.EditValue = "";
+            this.txtcdbStation.Location = new System.Drawing.Point(206, 45);
+            this.txtcdbStation.Name = "txtcdbStation";
+            this.txtcdbStation.Properties.AutoHeight = false;
+            this.txtcdbStation.Properties.MaxLength = 20;
+            this.txtcdbStation.Size = new System.Drawing.Size(218, 20);
+            this.txtcdbStation.StyleController = this.layoutControl1;
+            this.txtcdbStation.TabIndex = 10;
+            this.txtcdbStation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtRefLocation
+            // 
+            this.txtRefLocation.EditValue = "";
+            this.txtRefLocation.Location = new System.Drawing.Point(428, 45);
+            this.txtRefLocation.Name = "txtRefLocation";
+            this.txtRefLocation.Properties.AutoHeight = false;
+            this.txtRefLocation.Properties.MaxLength = 20;
+            this.txtRefLocation.Size = new System.Drawing.Size(192, 20);
+            this.txtRefLocation.StyleController = this.layoutControl1;
+            this.txtRefLocation.TabIndex = 10;
+            this.txtRefLocation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtMainX
+            // 
+            this.txtMainX.Location = new System.Drawing.Point(22, 197);
+            this.txtMainX.Name = "txtMainX";
+            this.txtMainX.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtMainX.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtMainX.Properties.MaskSettings.Set("mask", "f3");
+            this.txtMainX.Properties.MaxLength = 10;
+            this.txtMainX.Properties.NullValuePrompt = "必需";
+            this.txtMainX.Size = new System.Drawing.Size(180, 20);
+            this.txtMainX.StyleController = this.layoutControl1;
+            this.txtMainX.TabIndex = 6;
+            // 
+            // txtMainY
+            // 
+            this.txtMainY.Location = new System.Drawing.Point(206, 197);
+            this.txtMainY.Name = "txtMainY";
+            this.txtMainY.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtMainY.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtMainY.Properties.MaskSettings.Set("mask", "f3");
+            this.txtMainY.Properties.MaxLength = 10;
+            this.txtMainY.Properties.NullValuePrompt = "必需";
+            this.txtMainY.Size = new System.Drawing.Size(218, 20);
+            this.txtMainY.StyleController = this.layoutControl1;
+            this.txtMainY.TabIndex = 6;
+            // 
+            // txtMainZ
+            // 
+            this.txtMainZ.Location = new System.Drawing.Point(428, 197);
+            this.txtMainZ.Name = "txtMainZ";
+            this.txtMainZ.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtMainZ.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtMainZ.Properties.MaskSettings.Set("mask", "f3");
+            this.txtMainZ.Properties.MaxLength = 10;
+            this.txtMainZ.Properties.NullValuePrompt = "必需";
+            this.txtMainZ.Size = new System.Drawing.Size(192, 20);
+            this.txtMainZ.StyleController = this.layoutControl1;
+            this.txtMainZ.TabIndex = 6;
+            // 
+            // txtAdjaX
+            // 
+            this.txtAdjaX.Location = new System.Drawing.Point(22, 253);
+            this.txtAdjaX.Name = "txtAdjaX";
+            this.txtAdjaX.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtAdjaX.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtAdjaX.Properties.MaskSettings.Set("mask", "f3");
+            this.txtAdjaX.Properties.MaxLength = 10;
+            this.txtAdjaX.Properties.NullValuePrompt = "必需";
+            this.txtAdjaX.Size = new System.Drawing.Size(180, 20);
+            this.txtAdjaX.StyleController = this.layoutControl1;
+            this.txtAdjaX.TabIndex = 6;
+            // 
+            // txtAdjaY
+            // 
+            this.txtAdjaY.Location = new System.Drawing.Point(206, 253);
+            this.txtAdjaY.Name = "txtAdjaY";
+            this.txtAdjaY.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions7, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject25, serializableAppearanceObject26, serializableAppearanceObject27, serializableAppearanceObject28, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtAdjaY.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtAdjaY.Properties.MaskSettings.Set("mask", "f3");
+            this.txtAdjaY.Properties.MaxLength = 10;
+            this.txtAdjaY.Properties.NullValuePrompt = "必需";
+            this.txtAdjaY.Size = new System.Drawing.Size(218, 20);
+            this.txtAdjaY.StyleController = this.layoutControl1;
+            this.txtAdjaY.TabIndex = 6;
+            // 
+            // txtAdjaZ
+            // 
+            this.txtAdjaZ.Location = new System.Drawing.Point(428, 253);
+            this.txtAdjaZ.Name = "txtAdjaZ";
+            this.txtAdjaZ.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, editorButtonImageOptions8, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject29, serializableAppearanceObject30, serializableAppearanceObject31, serializableAppearanceObject32, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            this.txtAdjaZ.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            this.txtAdjaZ.Properties.MaskSettings.Set("mask", "f3");
+            this.txtAdjaZ.Properties.MaxLength = 10;
+            this.txtAdjaZ.Properties.NullValuePrompt = "必需";
+            this.txtAdjaZ.Size = new System.Drawing.Size(192, 20);
+            this.txtAdjaZ.StyleController = this.layoutControl1;
+            this.txtAdjaZ.TabIndex = 6;
+            // 
+            // btnOK
+            // 
+            this.btnOK.Location = new System.Drawing.Point(428, 284);
+            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.btnOK.Name = "btnOK";
+            this.btnOK.Size = new System.Drawing.Size(192, 22);
+            this.btnOK.StyleController = this.layoutControl1;
+            this.btnOK.TabIndex = 12;
+            this.btnOK.Text = "确定";
+            this.btnOK.Click += new System.EventHandler(this.btnOk_Click);
+            // 
+            // Root
+            // 
+            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+            this.Root.GroupBordersVisible = false;
+            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+            this.emptySpaceItem3,
+            this.layoutControlItem2,
+            this.layoutControlItem6,
+            this.layoutControlItem14,
+            this.layoutControlItem9,
+            this.layoutControlItem10,
+            this.layoutControlItem3,
+            this.layoutControlItem11,
+            this.layoutControlItem12,
+            this.layoutControlItem15,
+            this.layoutControlItem13,
+            this.layoutControlItem16,
+            this.layoutControlItem7,
+            this.emptySpaceItem1,
+            this.layoutControlItem1,
+            this.layoutControlItem17,
+            this.layoutControlItem8,
+            this.emptySpaceItem2,
+            this.layoutControlItem4,
+            this.layoutControlItem5});
+            this.Root.Name = "Root";
+            this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(20, 20, 20, 20);
+            this.Root.Size = new System.Drawing.Size(642, 379);
+            this.Root.TextVisible = false;
+            // 
+            // emptySpaceItem3
+            // 
+            this.emptySpaceItem3.AllowHotTrack = false;
+            this.emptySpaceItem3.Location = new System.Drawing.Point(0, 255);
+            this.emptySpaceItem3.Name = "emptySpaceItem3";
+            this.emptySpaceItem3.Size = new System.Drawing.Size(184, 33);
+            this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // layoutControlItem2
+            // 
+            this.layoutControlItem2.Control = this.txtDtoSx;
+            this.layoutControlItem2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem2.CustomizationFormText = "轨道经度";
+            this.layoutControlItem2.Location = new System.Drawing.Point(0, 46);
+            this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem2.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem2.Size = new System.Drawing.Size(184, 51);
+            this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem2.Text = "双星时差";
+            this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem2.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(184, 46);
+            this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem6.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem6.Name = "layoutControlItem6";
+            this.layoutControlItem6.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem6.Size = new System.Drawing.Size(222, 51);
+            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.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 1);
+            this.layoutControlItem14.Size = new System.Drawing.Size(184, 46);
+            this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            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(184, 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.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 1);
+            this.layoutControlItem9.Size = new System.Drawing.Size(222, 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(406, 0);
+            this.layoutControlItem10.MaxSize = new System.Drawing.Size(0, 46);
+            this.layoutControlItem10.MinSize = new System.Drawing.Size(77, 46);
+            this.layoutControlItem10.Name = "layoutControlItem10";
+            this.layoutControlItem10.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 8, 1);
+            this.layoutControlItem10.Size = new System.Drawing.Size(196, 46);
+            this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem10.Text = "参考站经纬度";
+            this.layoutControlItem10.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem10.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem3
+            // 
+            this.layoutControlItem3.Control = this.txtMainX;
+            this.layoutControlItem3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem3.CustomizationFormText = "轨道经度";
+            this.layoutControlItem3.Location = new System.Drawing.Point(0, 148);
+            this.layoutControlItem3.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem3.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem3.Name = "layoutControlItem3";
+            this.layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem3.Size = new System.Drawing.Size(184, 56);
+            this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem3.Text = "主星星历X";
+            this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem3.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem11
+            // 
+            this.layoutControlItem11.Control = this.txtMainY;
+            this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem11.CustomizationFormText = "轨道经度";
+            this.layoutControlItem11.Location = new System.Drawing.Point(184, 148);
+            this.layoutControlItem11.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem11.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem11.Name = "layoutControlItem11";
+            this.layoutControlItem11.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem11.Size = new System.Drawing.Size(222, 56);
+            this.layoutControlItem11.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem11.Text = "主星星历Y";
+            this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem12
+            // 
+            this.layoutControlItem12.Control = this.txtMainZ;
+            this.layoutControlItem12.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem12.CustomizationFormText = "轨道经度";
+            this.layoutControlItem12.Location = new System.Drawing.Point(406, 148);
+            this.layoutControlItem12.MaxSize = new System.Drawing.Size(0, 56);
+            this.layoutControlItem12.MinSize = new System.Drawing.Size(76, 56);
+            this.layoutControlItem12.Name = "layoutControlItem12";
+            this.layoutControlItem12.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 4);
+            this.layoutControlItem12.Size = new System.Drawing.Size(196, 56);
+            this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem12.Text = "主星星历Z";
+            this.layoutControlItem12.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem15
+            // 
+            this.layoutControlItem15.Control = this.txtAdjaY;
+            this.layoutControlItem15.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem15.CustomizationFormText = "轨道经度";
+            this.layoutControlItem15.Location = new System.Drawing.Point(184, 204);
+            this.layoutControlItem15.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem15.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem15.Name = "layoutControlItem15";
+            this.layoutControlItem15.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem15.Size = new System.Drawing.Size(222, 51);
+            this.layoutControlItem15.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem15.Text = "邻星星历Y";
+            this.layoutControlItem15.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem15.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem13
+            // 
+            this.layoutControlItem13.Control = this.txtAdjaX;
+            this.layoutControlItem13.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem13.CustomizationFormText = "轨道经度";
+            this.layoutControlItem13.Location = new System.Drawing.Point(0, 204);
+            this.layoutControlItem13.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem13.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem13.Name = "layoutControlItem13";
+            this.layoutControlItem13.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem13.Size = new System.Drawing.Size(184, 51);
+            this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem13.Text = "邻星星历X";
+            this.layoutControlItem13.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem16
+            // 
+            this.layoutControlItem16.Control = this.txtAdjaZ;
+            this.layoutControlItem16.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem16.CustomizationFormText = "轨道经度";
+            this.layoutControlItem16.Location = new System.Drawing.Point(406, 204);
+            this.layoutControlItem16.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem16.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem16.Name = "layoutControlItem16";
+            this.layoutControlItem16.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem16.Size = new System.Drawing.Size(196, 51);
+            this.layoutControlItem16.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem16.Text = "邻星星历Z";
+            this.layoutControlItem16.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem16.TextSize = new System.Drawing.Size(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(0, 97);
+            this.layoutControlItem7.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem7.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem7.Name = "layoutControlItem7";
+            this.layoutControlItem7.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem7.Size = new System.Drawing.Size(184, 51);
+            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);
+            // 
+            // emptySpaceItem1
+            // 
+            this.emptySpaceItem1.AllowHotTrack = false;
+            this.emptySpaceItem1.Location = new System.Drawing.Point(406, 46);
+            this.emptySpaceItem1.Name = "emptySpaceItem1";
+            this.emptySpaceItem1.Size = new System.Drawing.Size(196, 51);
+            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // layoutControlItem1
+            // 
+            this.layoutControlItem1.Control = this.txtSigTime;
+            this.layoutControlItem1.Location = new System.Drawing.Point(406, 97);
+            this.layoutControlItem1.MaxSize = new System.Drawing.Size(0, 54);
+            this.layoutControlItem1.MinSize = new System.Drawing.Size(76, 51);
+            this.layoutControlItem1.Name = "layoutControlItem1";
+            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem1.Size = new System.Drawing.Size(196, 51);
+            this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem1.Text = "信号时间";
+            this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top;
+            this.layoutControlItem1.TextSize = new System.Drawing.Size(72, 14);
+            // 
+            // layoutControlItem17
+            // 
+            this.layoutControlItem17.Control = this.btnOK;
+            this.layoutControlItem17.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem17.CustomizationFormText = "layoutControlItem1";
+            this.layoutControlItem17.Location = new System.Drawing.Point(406, 255);
+            this.layoutControlItem17.Name = "layoutControlItem17";
+            this.layoutControlItem17.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
+            this.layoutControlItem17.Size = new System.Drawing.Size(196, 33);
+            this.layoutControlItem17.Text = "layoutControlItem1";
+            this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem17.TextVisible = false;
+            // 
+            // layoutControlItem8
+            // 
+            this.layoutControlItem8.Control = this.txtYbAdja;
+            this.layoutControlItem8.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem8.CustomizationFormText = "轨道经度";
+            this.layoutControlItem8.Location = new System.Drawing.Point(184, 97);
+            this.layoutControlItem8.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem8.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem8.Name = "layoutControlItem8";
+            this.layoutControlItem8.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem8.Size = new System.Drawing.Size(222, 51);
+            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);
+            // 
+            // emptySpaceItem2
+            // 
+            this.emptySpaceItem2.AllowHotTrack = false;
+            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 306);
+            this.emptySpaceItem2.Name = "emptySpaceItem2";
+            this.emptySpaceItem2.Size = new System.Drawing.Size(602, 33);
+            this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // layoutControlItem4
+            // 
+            this.layoutControlItem4.Control = this.lblRes;
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 288);
+            this.layoutControlItem4.Name = "layoutControlItem4";
+            this.layoutControlItem4.Size = new System.Drawing.Size(602, 18);
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem4.TextVisible = false;
+            // 
+            // dxErrorProvider
+            // 
+            this.dxErrorProvider.ContainerControl = this;
+            // 
+            // btnRefXl
+            // 
+            this.btnRefXl.Location = new System.Drawing.Point(206, 284);
+            this.btnRefXl.Name = "btnRefXl";
+            this.btnRefXl.Size = new System.Drawing.Size(218, 22);
+            this.btnRefXl.StyleController = this.layoutControl1;
+            this.btnRefXl.TabIndex = 14;
+            this.btnRefXl.Text = "重新推算星厉";
+            this.btnRefXl.Click += new System.EventHandler(this.btnRefXl_Click);
+            // 
+            // layoutControlItem5
+            // 
+            this.layoutControlItem5.Control = this.btnRefXl;
+            this.layoutControlItem5.Location = new System.Drawing.Point(184, 255);
+            this.layoutControlItem5.Name = "layoutControlItem5";
+            this.layoutControlItem5.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
+            this.layoutControlItem5.Size = new System.Drawing.Size(222, 33);
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem5.TextVisible = false;
+            // 
+            // X2D1PosParamEditor
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Controls.Add(this.layoutControl1);
+            this.Name = "X2D1PosParamEditor";
+            this.Size = new System.Drawing.Size(642, 379);
+            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.txtMainX.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainY.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtMainZ.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaX.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaY.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtAdjaZ.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).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.layoutControlItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private DevExpress.XtraLayout.LayoutControl layoutControl1;
+        private DevExpress.XtraLayout.LayoutControlGroup Root;
+        private DevExpress.XtraEditors.DateEdit txtSigTime;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+        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.ButtonEdit txtMainX;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+        private DevExpress.XtraEditors.ButtonEdit txtMainY;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
+        private DevExpress.XtraEditors.ButtonEdit txtMainZ;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
+        private DevExpress.XtraEditors.ButtonEdit txtAdjaX;
+        private DevExpress.XtraEditors.ButtonEdit txtAdjaY;
+        private DevExpress.XtraEditors.ButtonEdit txtAdjaZ;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem15;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16;
+        private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
+        private DevExpress.XtraEditors.SimpleButton btnOK;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17;
+        private DevExpress.XtraEditors.LabelControl lblRes;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
+        private DevExpress.XtraEditors.SimpleButton btnRefXl;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+    }
+}

+ 238 - 0
XdCxRhDW.App/EditForms/X2D1PosParamEditor.cs

@@ -0,0 +1,238 @@
+using DevExpress.Mvvm.ModuleInjection.Native;
+using DevExpress.XtraEditors;
+using DevExpress.XtraEditors.DXErrorProvider;
+using DevExpress.XtraLayout;
+using DevExpress.XtraMap;
+using DevExpress.XtraTreeList.Data;
+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.Data.Entity.Migrations;
+using System.Drawing;
+using System.Linq;
+using System.Security.Policy;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Documents;
+using System.Windows.Forms;
+using XdCxRhDw.Dto;
+using XdCxRhDW.App.App.Properties;
+using XdCxRhDW.Core;
+using XdCxRhDW.Core.Api;
+using XdCxRhDW.Repostory.EFContext;
+using XdCxRhDW.Repostory.Model;
+
+namespace XdCxRhDW.App.EditForms
+{
+    public partial class X2D1PosParamEditor : DevExpress.XtraEditors.XtraUserControl
+    {
+
+        private List<SatInfo> listSat;
+        private PosRes info;
+        private CgRes cg;
+        public X2D1PosParamEditor(PosRes info)
+        {
+            InitializeComponent();
+            this.Text = $"{info.PosResType.GetEnumDisplayName()}手动定位";
+            this.info = info;
+            this.listSat = new List<SatInfo>();
+            txtsatStation.EditValueChanged += TxtsatStation_EditValueChanged;
+            txtcdbStation.EditValueChanged += TxtcdbStation_EditValueChanged;
+            txtRefLocation.EditValueChanged += TxtRefLocation_EditValueChanged;
+        }
+
+        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;
+            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();
+                station = await db.StationRes.Where(m => m.ID == info.StationResID).FirstOrDefaultAsync();
+            }
+            if (cg != null)
+            {
+                this.txtDtoSx.Text = $"{cg.Dto1.Value:f3}";
+                this.txtDtoCdb.Text = $"{cg.DtoCdb.Value:f3}";
+                if (info.PosResType == EnumPosResType.X2D1)
+                {
+                    this.txtYbMain.Text = $"{cg.YbMainDto.Value:f3}";
+                    this.txtYbAdja.Text = $"{cg.YbAdja1Dto.Value:f3}";
+                }
+                this.txtSigTime.EditValue = info.SigTime;
+                this.txtMainX.Text = $"{cg.MainX.Value:f3}";
+                this.txtMainY.Text = $"{cg.MainY.Value:f3}";
+                this.txtMainZ.Text = $"{cg.MainZ.Value:f3}";
+                this.txtAdjaX.Text = $"{cg.Adja1X.Value:f3}";
+                this.txtAdjaY.Text = $"{cg.Adja1Y.Value:f3}";
+                this.txtAdjaZ.Text = $"{cg.Adja1Z.Value:f3}";
+            }
+            if (station != null)
+            {
+                this.txtsatStation.Text = $"{station.SatTxLon:f3},{station.SatTxLat:f3}";
+                this.txtcdbStation.Text = $"{station.CdbTxLon:f3},{station.CdbTxLat:f3}";
+                this.txtRefLocation.Text = $"{station.RefLon:f3},{station.RefLat:f3}";
+            }
+            if (info.PosResType == EnumPosResType.X2D1NoRef)
+            {
+                txtYbMain.Properties.ReadOnly = true;
+                txtYbAdja.Properties.ReadOnly = true;
+                txtRefLocation.Properties.ReadOnly = true;
+                this.txtRefLocation.Text = $"{0},{0}";
+            }
+
+        }
+
+        public bool CheckParam()
+        {
+            if (!txtsatStation.CheckLonLat(dxErrorProvider, "接收站"))
+            {
+                return false;
+            }
+            if (!txtcdbStation.CheckLonLat(dxErrorProvider, "超短波"))
+            {
+                return false;
+            }
+            if (info.PosResType == EnumPosResType.X2D1 && !txtRefLocation.CheckLonLat(dxErrorProvider, "参考站"))
+            {
+                return false;
+            }
+            return true;
+        }
+
+        private async void btnOk_Click(object sender, EventArgs e)
+        {
+            if (!CheckParam()) { return; }
+            lblRes.Text = string.Empty;
+            try
+            {
+
+                var MsAnt = txtsatStation.GetLonLat();
+                var CDBAnt = txtcdbStation.GetLonLat();
+                var RefGeod = info.PosResType == EnumPosResType.X2D1 ? txtRefLocation.GetLonLat() : new double[3] { 0, 0, 0 };
+
+                var DtoSx = Convert.ToDouble(this.txtDtoSx.Text);
+                var DtoCdb = Convert.ToDouble(this.txtDtoCdb.Text);
+                var YbMainDto = info.PosResType == EnumPosResType.X2D1 ? Convert.ToDouble(this.txtYbMain.Text) : 0;
+                var YbAdja1Dto = info.PosResType == EnumPosResType.X2D1 ? Convert.ToDouble(this.txtYbAdja.Text) : 0;
+
+                var MainX = Convert.ToDouble(this.txtMainX.Text);
+                var MainY = Convert.ToDouble(this.txtMainY.Text);
+                var MainZ = Convert.ToDouble(this.txtMainZ.Text);
+                var AdjaX = Convert.ToDouble(this.txtAdjaX.Text);
+                var AdjaY = Convert.ToDouble(this.txtAdjaY.Text);
+                var AdjaZ = Convert.ToDouble(this.txtAdjaZ.Text);
+                double[] msEph = new double[] { MainX, MainY, MainZ, 0, 0, 0 };
+                double[] NsEph = new double[] { AdjaX, AdjaY, AdjaZ, 0, 0, 0 };
+                var sigTime = txtSigTime.DateTime;
+
+                var 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 settings = new SysSetings();
+                using (RHDWContext db = new RHDWContext())
+                {
+                    settings = await db.SysSetings.FirstOrDefaultAsync();
+                }
+                string url = string.Format("http://{0}:{1}/Api/Pos/", IpHelper.GetLocalIp(), settings.HttpPort);
+                if (info.PosResType == EnumPosResType.X2D1NoRef)
+                {
+                    url += "PosX2D1NoParAsync";
+                    X2D1NoParPosDto X2D1PosDto = new X2D1NoParPosDto()
+                    {
+                        SigTime = sigTime,
+                        MainCode = Convert.ToInt32(msat),
+                        AdjaCode = Convert.ToInt32(nsat),
+                        SxDto = DtoSx * 1e6,
+                        XdDto = DtoCdb * 1e6,
+                        MainX = MainX,
+                        MainY = MainY,
+                        MainZ = MainZ,
+                        AdjaX = AdjaX,
+                        AdjaY = AdjaY,
+                        AdjaZ = AdjaZ,
+                        SatTxLon = MsAnt[0],
+                        SatTxLat = MsAnt[1],
+                        CdbTxLon = CDBAnt[0],
+                        CdbTxLat = CDBAnt[1],
+                    };
+                    var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2D1PosDto);
+                    if (result.code == 200)
+                    {
+                        lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
+                    }
+                }
+                else
+                {
+                    url += "PosX2D1Async";
+                    X2D1PosDto X2D1PosDto = new X2D1PosDto()
+                    {
+                        SigTime = sigTime,
+                        MainCode = Convert.ToInt32(msat),
+                        AdjaCode = Convert.ToInt32(nsat),
+                        SxDto = DtoSx * 1e6,
+                        XdDto = DtoCdb * 1e6,
+                        MainYbDto = YbMainDto * 1e6,
+                        AdjaYbDto = YbAdja1Dto * 1e6,
+                        MainX = MainX,
+                        MainY = MainY,
+                        MainZ = MainZ,
+                        AdjaX = AdjaX,
+                        AdjaY = AdjaY,
+                        AdjaZ = AdjaZ,
+                        SatTxLon = MsAnt[0],
+                        SatTxLat = MsAnt[1],
+                        CdbTxLon = CDBAnt[0],
+                        CdbTxLat = CDBAnt[1],
+                        RefLon = RefGeod[0],
+                        RefLat = RefGeod[1],
+                    };
+                    var result = await HttpHelper.PostRequestAsync<PosResDto>(url, X2D1PosDto);
+                    if (result.code == 200)
+                    {
+                        lblRes.Text = $"定位结果{result.data.PosLon},{result.data.PosLat}";
+                    }
+                }
+
+
+            }
+            catch (Exception ex)
+            {
+                Serilog.Log.Error(ex, $"定位{info.PosResType.GetEnumDisplayName()}失败.PosID={info.ID},SigTime={info.SigTime}");
+                DxHelper.MsgBoxHelper.ShowWarning($"定位{info.PosResType.GetEnumDisplayName()}失败");
+            }
+        }
+
+        private void btnRefXl_Click(object sender, EventArgs e)
+        {
+
+        }
+    }
+}

+ 3 - 0
XdCxRhDW.App/UserControl/X2D1PosParam.resx → XdCxRhDW.App/EditForms/X2D1PosParamEditor.resx

@@ -117,4 +117,7 @@
   <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>

+ 0 - 454
XdCxRhDW.App/UserControl/X2D1PosParam.Designer.cs

@@ -1,454 +0,0 @@
-namespace XdCxRhDW.App.UserControl
-{
-    partial class X2D1PosParam
-    {
-        /// <summary> 
-        /// Required designer variable.
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary> 
-        /// Clean up any resources being used.
-        /// </summary>
-        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Component Designer generated code
-
-        /// <summary> 
-        /// Required method for Designer support - do not modify 
-        /// the contents of this method with the code editor.
-        /// </summary>
-        private void InitializeComponent()
-        {
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
-            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
-            this.btnOK = new DevExpress.XtraEditors.SimpleButton();
-            this.txtCapTime = new DevExpress.XtraEditors.DateEdit();
-            this.txtStationLocation1 = new DevExpress.XtraEditors.TextEdit();
-            this.txtRefLocation1 = new DevExpress.XtraEditors.TextEdit();
-            this.txtTleMain = new DevExpress.XtraEditors.SearchLookUpEdit();
-            this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
-            this.txtTleAdja = new DevExpress.XtraEditors.SearchLookUpEdit();
-            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
-            this.txtDtousErr1 = new DevExpress.XtraEditors.ButtonEdit();
-            this.txtSatLocErr1 = new DevExpress.XtraEditors.ButtonEdit();
-            this.btnClose = new DevExpress.XtraEditors.SimpleButton();
-            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
-            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
-            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
-            this.layoutControl1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtStationLocation1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtRefLocation1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleMain.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleAdja.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtDtousErr1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtSatLocErr1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // layoutControl1
-            // 
-            this.layoutControl1.Controls.Add(this.btnOK);
-            this.layoutControl1.Controls.Add(this.txtCapTime);
-            this.layoutControl1.Controls.Add(this.txtStationLocation1);
-            this.layoutControl1.Controls.Add(this.txtRefLocation1);
-            this.layoutControl1.Controls.Add(this.txtTleMain);
-            this.layoutControl1.Controls.Add(this.txtTleAdja);
-            this.layoutControl1.Controls.Add(this.txtDtousErr1);
-            this.layoutControl1.Controls.Add(this.txtSatLocErr1);
-            this.layoutControl1.Controls.Add(this.btnClose);
-            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.layoutControl1.Location = new System.Drawing.Point(0, 0);
-            this.layoutControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.layoutControl1.Name = "layoutControl1";
-            this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(993, 379, 650, 400);
-            this.layoutControl1.Root = this.Root;
-            this.layoutControl1.Size = new System.Drawing.Size(345, 390);
-            this.layoutControl1.TabIndex = 0;
-            this.layoutControl1.Text = "layoutControl1";
-            // 
-            // btnOK
-            // 
-            this.btnOK.Location = new System.Drawing.Point(174, 317);
-            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.btnOK.Name = "btnOK";
-            this.btnOK.Size = new System.Drawing.Size(169, 22);
-            this.btnOK.StyleController = this.layoutControl1;
-            this.btnOK.TabIndex = 12;
-            this.btnOK.Text = "确定";
-            this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
-            // 
-            // txtCapTime
-            // 
-            this.txtCapTime.EditValue = null;
-            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(341, 22);
-            this.txtCapTime.StyleController = this.layoutControl1;
-            this.txtCapTime.TabIndex = 8;
-            // 
-            // txtStationLocation1
-            // 
-            this.txtStationLocation1.EditValue = "";
-            this.txtStationLocation1.Location = new System.Drawing.Point(2, 152);
-            this.txtStationLocation1.Margin = new System.Windows.Forms.Padding(2);
-            this.txtStationLocation1.MaximumSize = new System.Drawing.Size(0, 22);
-            this.txtStationLocation1.MinimumSize = new System.Drawing.Size(0, 22);
-            this.txtStationLocation1.Name = "txtStationLocation1";
-            this.txtStationLocation1.Properties.AutoHeight = false;
-            this.txtStationLocation1.Size = new System.Drawing.Size(341, 22);
-            this.txtStationLocation1.StyleController = this.layoutControl1;
-            this.txtStationLocation1.TabIndex = 11;
-            this.txtStationLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
-            // 
-            // txtRefLocation1
-            // 
-            this.txtRefLocation1.EditValue = "";
-            this.txtRefLocation1.Location = new System.Drawing.Point(2, 196);
-            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(341, 22);
-            this.txtRefLocation1.StyleController = this.layoutControl1;
-            this.txtRefLocation1.TabIndex = 10;
-            this.txtRefLocation1.ToolTip = "经度纬度之间用英文逗号隔开";
-            // 
-            // txtTleMain
-            // 
-            this.txtTleMain.EditValue = "";
-            this.txtTleMain.Location = new System.Drawing.Point(2, 20);
-            this.txtTleMain.Margin = new System.Windows.Forms.Padding(2);
-            this.txtTleMain.MaximumSize = new System.Drawing.Size(0, 22);
-            this.txtTleMain.MinimumSize = new System.Drawing.Size(0, 22);
-            this.txtTleMain.Name = "txtTleMain";
-            this.txtTleMain.Properties.AutoHeight = false;
-            this.txtTleMain.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txtTleMain.Properties.NullText = "";
-            this.txtTleMain.Properties.PopupSizeable = false;
-            this.txtTleMain.Properties.PopupView = this.searchLookUpEdit1View;
-            this.txtTleMain.Size = new System.Drawing.Size(341, 22);
-            this.txtTleMain.StyleController = this.layoutControl1;
-            this.txtTleMain.TabIndex = 4;
-            this.txtTleMain.ToolTip = "填写卫星的双行根数";
-            // 
-            // searchLookUpEdit1View
-            // 
-            this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
-            this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
-            this.searchLookUpEdit1View.OptionsEditForm.PopupEditFormWidth = 430;
-            this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
-            this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
-            // 
-            // txtTleAdja
-            // 
-            this.txtTleAdja.EditValue = "";
-            this.txtTleAdja.Location = new System.Drawing.Point(2, 64);
-            this.txtTleAdja.Margin = new System.Windows.Forms.Padding(2);
-            this.txtTleAdja.MaximumSize = new System.Drawing.Size(0, 22);
-            this.txtTleAdja.MinimumSize = new System.Drawing.Size(0, 22);
-            this.txtTleAdja.Name = "txtTleAdja";
-            this.txtTleAdja.Properties.AutoHeight = false;
-            this.txtTleAdja.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txtTleAdja.Properties.NullText = "";
-            this.txtTleAdja.Properties.PopupSizeable = false;
-            this.txtTleAdja.Properties.PopupView = this.gridView1;
-            this.txtTleAdja.Size = new System.Drawing.Size(341, 22);
-            this.txtTleAdja.StyleController = this.layoutControl1;
-            this.txtTleAdja.TabIndex = 5;
-            this.txtTleAdja.ToolTip = "填写卫星的双行根数";
-            // 
-            // gridView1
-            // 
-            this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
-            this.gridView1.Name = "gridView1";
-            this.gridView1.OptionsEditForm.PopupEditFormWidth = 430;
-            this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
-            this.gridView1.OptionsView.ShowGroupPanel = false;
-            // 
-            // txtDtousErr1
-            // 
-            this.txtDtousErr1.EditValue = "";
-            this.txtDtousErr1.Location = new System.Drawing.Point(2, 240);
-            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.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
-            this.txtDtousErr1.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
-            this.txtDtousErr1.Properties.MaskSettings.Set("mask", "f");
-            this.txtDtousErr1.Size = new System.Drawing.Size(341, 22);
-            this.txtDtousErr1.StyleController = this.layoutControl1;
-            this.txtDtousErr1.TabIndex = 6;
-            this.txtDtousErr1.ToolTip = "时差误差";
-            // 
-            // txtSatLocErr1
-            // 
-            this.txtSatLocErr1.EditValue = "";
-            this.txtSatLocErr1.Location = new System.Drawing.Point(2, 284);
-            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.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
-            this.txtSatLocErr1.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
-            this.txtSatLocErr1.Properties.MaskSettings.Set("mask", "f");
-            this.txtSatLocErr1.Size = new System.Drawing.Size(341, 22);
-            this.txtSatLocErr1.StyleController = this.layoutControl1;
-            this.txtSatLocErr1.TabIndex = 6;
-            this.txtSatLocErr1.ToolTip = "星历位置误差";
-            // 
-            // btnClose
-            // 
-            this.btnClose.Location = new System.Drawing.Point(2, 317);
-            this.btnClose.Margin = new System.Windows.Forms.Padding(2);
-            this.btnClose.Name = "btnClose";
-            this.btnClose.Size = new System.Drawing.Size(168, 22);
-            this.btnClose.StyleController = this.layoutControl1;
-            this.btnClose.TabIndex = 13;
-            this.btnClose.Text = "关闭";
-            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
-            // 
-            // Root
-            // 
-            this.Root.GroupBordersVisible = false;
-            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
-            this.layoutControlItem8,
-            this.layoutControlItem9,
-            this.layoutControlItem11,
-            this.layoutControlItem14,
-            this.layoutControlItem13,
-            this.layoutControlItem4,
-            this.layoutControlItem5,
-            this.layoutControlItem1,
-            this.emptySpaceItem1,
-            this.layoutControlItem2});
-            this.Root.Name = "Root";
-            this.Root.Size = new System.Drawing.Size(345, 390);
-            this.Root.TextVisible = false;
-            // 
-            // layoutControlItem8
-            // 
-            this.layoutControlItem8.Control = this.txtTleMain;
-            this.layoutControlItem8.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
-            this.layoutControlItem8.Name = "layoutControlItem8";
-            this.layoutControlItem8.Size = new System.Drawing.Size(345, 44);
-            this.layoutControlItem8.Text = "主星星历";
-            this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top;
-            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, 44);
-            this.layoutControlItem9.Name = "layoutControlItem9";
-            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(72, 14);
-            // 
-            // layoutControlItem11
-            // 
-            this.layoutControlItem11.Control = this.txtCapTime;
-            this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem11.Location = new System.Drawing.Point(0, 88);
-            this.layoutControlItem11.Name = "layoutControlItem11";
-            this.layoutControlItem11.Size = new System.Drawing.Size(345, 44);
-            this.layoutControlItem11.Text = "采集时刻";
-            this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 14);
-            // 
-            // layoutControlItem14
-            // 
-            this.layoutControlItem14.Control = this.txtRefLocation1;
-            this.layoutControlItem14.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem14.Location = new System.Drawing.Point(0, 176);
-            this.layoutControlItem14.Name = "layoutControlItem14";
-            this.layoutControlItem14.Size = new System.Drawing.Size(345, 44);
-            this.layoutControlItem14.Text = "参考站经纬度";
-            this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
-            // 
-            // layoutControlItem13
-            // 
-            this.layoutControlItem13.Control = this.txtStationLocation1;
-            this.layoutControlItem13.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem13.Location = new System.Drawing.Point(0, 132);
-            this.layoutControlItem13.Name = "layoutControlItem13";
-            this.layoutControlItem13.Size = new System.Drawing.Size(345, 44);
-            this.layoutControlItem13.Text = "超短站经纬度";
-            this.layoutControlItem13.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 14);
-            // 
-            // layoutControlItem4
-            // 
-            this.layoutControlItem4.Control = this.txtDtousErr1;
-            this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem4.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem4.Location = new System.Drawing.Point(0, 220);
-            this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(345, 44);
-            this.layoutControlItem4.Text = "时差误差";
-            this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
-            // 
-            // layoutControlItem5
-            // 
-            this.layoutControlItem5.Control = this.txtSatLocErr1;
-            this.layoutControlItem5.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
-            this.layoutControlItem5.CustomizationFormText = "低轨卫星X";
-            this.layoutControlItem5.Location = new System.Drawing.Point(0, 264);
-            this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(345, 44);
-            this.layoutControlItem5.Text = "星历位置误差";
-            this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top;
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
-            // 
-            // layoutControlItem1
-            // 
-            this.layoutControlItem1.Control = this.btnOK;
-            this.layoutControlItem1.Location = new System.Drawing.Point(172, 308);
-            this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
-            this.layoutControlItem1.Size = new System.Drawing.Size(173, 33);
-            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem1.TextVisible = false;
-            // 
-            // emptySpaceItem1
-            // 
-            this.emptySpaceItem1.AllowHotTrack = false;
-            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 341);
-            this.emptySpaceItem1.Name = "emptySpaceItem1";
-            this.emptySpaceItem1.Size = new System.Drawing.Size(345, 49);
-            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
-            // 
-            // layoutControlItem2
-            // 
-            this.layoutControlItem2.Control = this.btnClose;
-            this.layoutControlItem2.Location = new System.Drawing.Point(0, 308);
-            this.layoutControlItem2.Name = "layoutControlItem2";
-            this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
-            this.layoutControlItem2.Size = new System.Drawing.Size(172, 33);
-            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem2.TextVisible = false;
-            // 
-            // X2D1GDOPParam
-            // 
-            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(4, 3, 4, 3);
-            this.Name = "X2D1GDOPParam";
-            this.Size = new System.Drawing.Size(345, 390);
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
-            this.layoutControl1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties.CalendarTimeProperties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtCapTime.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtStationLocation1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtRefLocation1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleMain.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtTleAdja.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtDtousErr1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txtSatLocErr1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-        private DevExpress.XtraLayout.LayoutControl layoutControl1;
-        private DevExpress.XtraEditors.DateEdit txtCapTime;
-        private DevExpress.XtraEditors.TextEdit txtStationLocation1;
-        private DevExpress.XtraEditors.TextEdit txtRefLocation1;
-        private DevExpress.XtraEditors.SearchLookUpEdit txtTleMain;
-        private DevExpress.XtraGrid.Views.Grid.GridView searchLookUpEdit1View;
-        private DevExpress.XtraEditors.SearchLookUpEdit txtTleAdja;
-        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
-        private DevExpress.XtraEditors.ButtonEdit txtDtousErr1;
-        private DevExpress.XtraEditors.ButtonEdit txtSatLocErr1;
-        private DevExpress.XtraLayout.LayoutControlGroup Root;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
-        private DevExpress.XtraEditors.SimpleButton btnOK;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
-        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
-        private DevExpress.XtraEditors.SimpleButton btnClose;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
-    }
-}

+ 0 - 149
XdCxRhDW.App/UserControl/X2D1PosParam.cs

@@ -1,149 +0,0 @@
-using DevExpress.XtraMap;
-using ExtensionsDev;
-using System;
-using System.Data;
-using System.Linq;
-using System.Collections.Generic;
-using XdCxRhDW.Repostory.Model;
-using XdCxRhDW.Repostory.EFContext;
-using XdCxRhDW.Core.Api;
-using DxHelper;
-using XdCxRhDW.Repostory;
-namespace XdCxRhDW.App.UserControl
-{
-    public partial class X2D1PosParam : DevExpress.XtraEditors.XtraUserControl
-    {
-        public MapControl mapControl1;
-       
-
-        private EnumPosResType PosResType;
-        public X2D1PosParam(PosRes item)
-        {
-            InitializeComponent();
-            this.layoutControl1.UseDefault();
-            txtCapTime.UseDefault();
-            txtTleMain.UseDoubleClickToSelectAll();
-            txtTleAdja.UseDoubleClickToSelectAll();
-            txtStationLocation1.UseDoubleClickToSelectAll();
-            txtRefLocation1.UseDoubleClickToSelectAll();
-            this.txtCapTime.DateTime = item.SigTime;
-            this.txtDtousErr1.EditValue = 1;
-            this.txtSatLocErr1.EditValue = 10000;
-            List<string> xlall = new List<string>();
-            string mainTle = string.Empty;
-            string adjaTle = string.Empty;
-
-            PosResType = item.PosResType;
-            if (PosResType == EnumPosResType.X2D1NoRef)
-            {
-                layoutControlItem14.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
-            }
-            List<SatInfo> sats = null;
-            using (RHDWContext db = new RHDWContext())
-            {
-                sats = db.SatInfos.ToList();
-            }
-            using (RHDWPartContext db = RHDWPartContext.GetContext(item.SigTime))
-            {
-
-                var cg = db.CgRes.Where(m => m.ID == item.CgResID).FirstOrDefault();
-                var station = db.StationRes.Where(m => m.ID == item.StationResID).FirstOrDefault();
-                if (station != null)
-                {
-                    this.txtStationLocation1.Text = $"{station.CdbTxLon},{station.CdbTxLat}";
-                    this.txtRefLocation1.Text = $"{station.RefLon},{station.RefLat}";
-                }
-                var xlList = XlCache.GetAllAsync().Result;
-                xlall.AddRange(xlList.Select(m => m.TwoLine));
-                if (xlall.Count == 0) return;
-                if (cg.MainCode.HasValue && xlList.Any(m => m.SatCode == cg.MainCode.Value))
-                {
-                    mainTle = xlList.First(m => m.SatCode == cg.MainCode.Value).TwoLine;
-                }
-                else
-                {
-                    mainTle = xlList.First().TwoLine;
-                }
-
-                if (cg.Adja1Code.HasValue && xlList.Any(m => m.SatCode == cg.Adja1Code.Value))
-                {
-                    adjaTle = xlList.First(m => m.SatCode == cg.Adja1Code.Value).TwoLine;
-                }
-                else
-                {
-                    adjaTle = xlList.First().TwoLine;
-                }
-            }
-
-            txtTleMain.UseDefault().SetStringData(xlall).Text = mainTle;
-            txtTleAdja.UseDefault().SetStringData(xlall).Text = adjaTle;
-        }
-
-
-        private (bool, string) ParamValidate()
-        {
-            if (string.IsNullOrWhiteSpace(txtTleMain.Text.Trim()))
-            {
-                return (false, "主星星历不能为空!");
-            }
-            if (string.IsNullOrWhiteSpace(txtTleAdja.Text.Trim()))
-            {
-                return (false, "主星星历不能为空!");
-            }
-            if (txtTleMain.Text.Trim() == txtTleAdja.Text.Trim())
-            {
-                return (false, "主邻星历不能相同!");
-            }
-            if (txtCapTime.DateTime == DateTime.MinValue)
-            {
-                return (false, "采集时刻不能为空!");
-            }
-            var txtstat = txtStationLocation1.CheckLonLat("超短波");
-            if (!txtstat.Item1)
-            {
-                return txtstat;
-            }
-
-            var refsta = txtRefLocation1.CheckLonLat("参考站");
-            if (PosResType == EnumPosResType.X2D1 && !refsta.Item1)
-            {
-                return refsta;
-            }
-            return (true, "");
-        }
-        private void btnOK_Click(object sender, EventArgs e)
-        {
-            //var pv = ParamValidate();
-            //if (!pv.Item1)
-            //{
-            //    DxHelper.MsgBoxHelper.ShowWarning($"{pv.Item2}");
-            //    return;
-            //}
-            //try
-            //{
-
-            //    mapControl1.ClearMap();
-
-            //    var cdb = new double[] { Model.StationLon, Model.StationLat, 0 };
-            //    var refstation = new double[] { Model.RefLon, Model.RefLat, 0 };
-
-            //    var (listSat, data) = GdopHelper.Gdop2Sat1D(Model.TleMain, Model.TleAdja, Model.CapTime, cdb
-            //             , Model.DtousErr, Model.SatLocErr, PosResType == EnumPosResType.X2D1NoRef ? null : refstation);
-            //    foreach (var errLins in data)//画GDOP
-            //    {
-            //        var mapDots = errLins.MapDots.Select(p => p).Select(p => (p.Lon, p.Lat));
-            //        mapControl1.DrawGdopLineTwo(errLins.ErrDistanceKm, mapDots, 1);
-            //    }
-            //}
-            //catch (Exception ex)
-            //{
-            //    DxHelper.MsgBoxHelper.ShowError($"绘制{PosResType.GetEnumDisplayName()}GDOP失败,{ex.Message}");
-            //}
-        }
-        private void btnClose_Click(object sender, EventArgs e)
-        {
-            DxHelper.PopupHelper.HidePopup(this);
-        }
-    }
- 
-}

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

@@ -323,6 +323,12 @@
     <Compile Include="EditForms\X1D1DTOParamEditor.Designer.cs">
       <DependentUpon>X1D1DTOParamEditor.cs</DependentUpon>
     </Compile>
+    <Compile Include="EditForms\X2D1PosParamEditor.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="EditForms\X2D1PosParamEditor.Designer.cs">
+      <DependentUpon>X2D1PosParamEditor.cs</DependentUpon>
+    </Compile>
     <Compile Include="EditForms\X2DTOParamEditor.cs">
       <SubType>UserControl</SubType>
     </Compile>
@@ -430,12 +436,6 @@
     <Compile Include="UserControl\X1D1GDOPParam.Designer.cs">
       <DependentUpon>X1D1GDOPParam.cs</DependentUpon>
     </Compile>
-    <Compile Include="UserControl\X2D1PosParam.cs">
-      <SubType>UserControl</SubType>
-    </Compile>
-    <Compile Include="UserControl\X2D1PosParam.Designer.cs">
-      <DependentUpon>X2D1PosParam.cs</DependentUpon>
-    </Compile>
     <Compile Include="UserControl\X2DFGDOPParam.cs">
       <SubType>UserControl</SubType>
     </Compile>
@@ -493,6 +493,9 @@
     <EmbeddedResource Include="EditForms\X1D1DTOParamEditor.resx">
       <DependentUpon>X1D1DTOParamEditor.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="EditForms\X2D1PosParamEditor.resx">
+      <DependentUpon>X2D1PosParamEditor.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="EditForms\X2DTOParamEditor.resx">
       <DependentUpon>X2DTOParamEditor.cs</DependentUpon>
     </EmbeddedResource>
@@ -592,9 +595,6 @@
     <EmbeddedResource Include="UserControl\X1D1GDOPParam.resx">
       <DependentUpon>X1D1GDOPParam.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="UserControl\X2D1PosParam.resx">
-      <DependentUpon>X2D1PosParam.cs</DependentUpon>
-    </EmbeddedResource>
     <EmbeddedResource Include="UserControl\X2DFGDOPParam.resx">
       <DependentUpon>X2DFGDOPParam.cs</DependentUpon>
     </EmbeddedResource>