wyq 1 rok pred
rodič
commit
e5f05f04f1

+ 567 - 0
XdCxRhDW.App/EditForms/X1D1PosParamEditor.Designer.cs

@@ -0,0 +1,567 @@
+namespace XdCxRhDW.App.EditForms
+{
+    partial class X1D1PosParamEditor
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions6 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject21 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject22 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject23 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject24 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions4 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject13 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject();
+            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            this.sigTime = new DevExpress.XtraEditors.DateEdit();
+            this.txtDtoCdb = new DevExpress.XtraEditors.ButtonEdit();
+            this.txtYbMain = 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.btnOK = new DevExpress.XtraEditors.SimpleButton();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem();
+            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.dxErrorProvider = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
+            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
+            this.layoutControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.sigTime.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.sigTime.Properties.CalendarTimeProperties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDtoCdb.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbMain.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.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // layoutControl1
+            // 
+            this.layoutControl1.Controls.Add(this.labelControl1);
+            this.layoutControl1.Controls.Add(this.sigTime);
+            this.layoutControl1.Controls.Add(this.txtDtoCdb);
+            this.layoutControl1.Controls.Add(this.txtYbMain);
+            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.btnOK);
+            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(564, 259);
+            this.layoutControl1.TabIndex = 0;
+            this.layoutControl1.Text = "layoutControl1";
+            // 
+            // sigTime
+            // 
+            this.sigTime.EditValue = null;
+            this.sigTime.Location = new System.Drawing.Point(375, 95);
+            this.sigTime.Name = "sigTime";
+            this.sigTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.sigTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.sigTime.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
+            this.sigTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.sigTime.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
+            this.sigTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.sigTime.Properties.MaskSettings.Set("mask", "yyyy-MM-dd HH:mm:ss");
+            this.sigTime.Size = new System.Drawing.Size(167, 20);
+            this.sigTime.StyleController = this.layoutControl1;
+            this.sigTime.TabIndex = 9;
+            // 
+            // txtDtoCdb
+            // 
+            this.txtDtoCdb.Location = new System.Drawing.Point(22, 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, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", 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(156, 23);
+            this.txtDtoCdb.StyleController = this.layoutControl1;
+            this.txtDtoCdb.TabIndex = 6;
+            // 
+            // txtYbMain
+            // 
+            this.txtYbMain.Location = new System.Drawing.Point(182, 95);
+            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(189, 23);
+            this.txtYbMain.StyleController = this.layoutControl1;
+            this.txtYbMain.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(156, 20);
+            this.txtsatStation.StyleController = this.layoutControl1;
+            this.txtsatStation.TabIndex = 10;
+            this.txtsatStation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtcdbStation
+            // 
+            this.txtcdbStation.EditValue = "";
+            this.txtcdbStation.Location = new System.Drawing.Point(182, 45);
+            this.txtcdbStation.Name = "txtcdbStation";
+            this.txtcdbStation.Properties.AutoHeight = false;
+            this.txtcdbStation.Properties.MaxLength = 20;
+            this.txtcdbStation.Size = new System.Drawing.Size(189, 20);
+            this.txtcdbStation.StyleController = this.layoutControl1;
+            this.txtcdbStation.TabIndex = 10;
+            this.txtcdbStation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtRefLocation
+            // 
+            this.txtRefLocation.EditValue = "";
+            this.txtRefLocation.Location = new System.Drawing.Point(375, 45);
+            this.txtRefLocation.Name = "txtRefLocation";
+            this.txtRefLocation.Properties.AutoHeight = false;
+            this.txtRefLocation.Properties.MaxLength = 20;
+            this.txtRefLocation.Size = new System.Drawing.Size(167, 20);
+            this.txtRefLocation.StyleController = this.layoutControl1;
+            this.txtRefLocation.TabIndex = 10;
+            this.txtRefLocation.ToolTip = "经度纬度之间用英文逗号隔开";
+            // 
+            // txtMainX
+            // 
+            this.txtMainX.Location = new System.Drawing.Point(22, 146);
+            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, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", 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(156, 20);
+            this.txtMainX.StyleController = this.layoutControl1;
+            this.txtMainX.TabIndex = 6;
+            // 
+            // txtMainY
+            // 
+            this.txtMainY.Location = new System.Drawing.Point(182, 146);
+            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, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", 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(189, 20);
+            this.txtMainY.StyleController = this.layoutControl1;
+            this.txtMainY.TabIndex = 6;
+            // 
+            // txtMainZ
+            // 
+            this.txtMainZ.Location = new System.Drawing.Point(375, 146);
+            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, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", 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(167, 20);
+            this.txtMainZ.StyleController = this.layoutControl1;
+            this.txtMainZ.TabIndex = 6;
+            // 
+            // btnOK
+            // 
+            this.btnOK.Location = new System.Drawing.Point(375, 177);
+            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.btnOK.Name = "btnOK";
+            this.btnOK.Size = new System.Drawing.Size(167, 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.layoutControlItem6,
+            this.layoutControlItem14,
+            this.layoutControlItem9,
+            this.layoutControlItem10,
+            this.layoutControlItem3,
+            this.layoutControlItem11,
+            this.layoutControlItem12,
+            this.layoutControlItem17,
+            this.emptySpaceItem4,
+            this.layoutControlItem7,
+            this.layoutControlItem1,
+            this.layoutControlItem2,
+            this.emptySpaceItem1});
+            this.Root.Name = "Root";
+            this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(20, 20, 20, 20);
+            this.Root.Size = new System.Drawing.Size(564, 259);
+            this.Root.TextVisible = false;
+            // 
+            // emptySpaceItem3
+            // 
+            this.emptySpaceItem3.AllowHotTrack = false;
+            this.emptySpaceItem3.Location = new System.Drawing.Point(0, 148);
+            this.emptySpaceItem3.Name = "emptySpaceItem3";
+            this.emptySpaceItem3.Size = new System.Drawing.Size(160, 33);
+            this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // layoutControlItem6
+            // 
+            this.layoutControlItem6.Control = this.txtDtoCdb;
+            this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem6.CustomizationFormText = "轨道经度";
+            this.layoutControlItem6.Location = new System.Drawing.Point(0, 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(160, 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(160, 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(160, 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(193, 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(353, 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(171, 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, 97);
+            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(160, 51);
+            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(160, 97);
+            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(193, 51);
+            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(353, 97);
+            this.layoutControlItem12.MaxSize = new System.Drawing.Size(0, 51);
+            this.layoutControlItem12.MinSize = new System.Drawing.Size(54, 51);
+            this.layoutControlItem12.Name = "layoutControlItem12";
+            this.layoutControlItem12.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2);
+            this.layoutControlItem12.Size = new System.Drawing.Size(171, 51);
+            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);
+            // 
+            // layoutControlItem17
+            // 
+            this.layoutControlItem17.Control = this.btnOK;
+            this.layoutControlItem17.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem17.CustomizationFormText = "layoutControlItem1";
+            this.layoutControlItem17.Location = new System.Drawing.Point(353, 148);
+            this.layoutControlItem17.Name = "layoutControlItem17";
+            this.layoutControlItem17.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
+            this.layoutControlItem17.Size = new System.Drawing.Size(171, 33);
+            this.layoutControlItem17.Text = "layoutControlItem1";
+            this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem17.TextVisible = false;
+            // 
+            // emptySpaceItem4
+            // 
+            this.emptySpaceItem4.AllowHotTrack = false;
+            this.emptySpaceItem4.Location = new System.Drawing.Point(160, 148);
+            this.emptySpaceItem4.Name = "emptySpaceItem4";
+            this.emptySpaceItem4.Size = new System.Drawing.Size(193, 33);
+            this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // layoutControlItem7
+            // 
+            this.layoutControlItem7.Control = this.txtYbMain;
+            this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
+            this.layoutControlItem7.CustomizationFormText = "轨道经度";
+            this.layoutControlItem7.Location = new System.Drawing.Point(160, 46);
+            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(193, 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);
+            // 
+            // layoutControlItem1
+            // 
+            this.layoutControlItem1.Control = this.sigTime;
+            this.layoutControlItem1.Location = new System.Drawing.Point(353, 46);
+            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(171, 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);
+            // 
+            // dxErrorProvider
+            // 
+            this.dxErrorProvider.ContainerControl = this;
+            // 
+            // labelControl1
+            // 
+            this.labelControl1.Location = new System.Drawing.Point(22, 203);
+            this.labelControl1.Name = "labelControl1";
+            this.labelControl1.Size = new System.Drawing.Size(70, 14);
+            this.labelControl1.StyleController = this.layoutControl1;
+            this.labelControl1.TabIndex = 13;
+            this.labelControl1.Text = "labelControl1";
+            // 
+            // layoutControlItem2
+            // 
+            this.layoutControlItem2.Control = this.labelControl1;
+            this.layoutControlItem2.Location = new System.Drawing.Point(0, 181);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.Size = new System.Drawing.Size(524, 18);
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem2.TextVisible = false;
+            // 
+            // emptySpaceItem1
+            // 
+            this.emptySpaceItem1.AllowHotTrack = false;
+            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 199);
+            this.emptySpaceItem1.Name = "emptySpaceItem1";
+            this.emptySpaceItem1.Size = new System.Drawing.Size(524, 20);
+            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
+            // 
+            // X1D1PosParamEditor
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Controls.Add(this.layoutControl1);
+            this.Name = "X1D1PosParamEditor";
+            this.Size = new System.Drawing.Size(564, 259);
+            this.Load += new System.EventHandler(this.X1D1DTOParamEditor_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
+            this.layoutControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.sigTime.Properties.CalendarTimeProperties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.sigTime.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtDtoCdb.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtYbMain.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.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private DevExpress.XtraLayout.LayoutControl layoutControl1;
+        private DevExpress.XtraLayout.LayoutControlGroup Root;
+        private DevExpress.XtraEditors.DateEdit sigTime;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+        private DevExpress.XtraEditors.ButtonEdit txtDtoCdb;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
+        private DevExpress.XtraEditors.ButtonEdit txtYbMain;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
+        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.DXErrorProvider.DXErrorProvider dxErrorProvider;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
+        private DevExpress.XtraEditors.SimpleButton btnOK;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem4;
+        private DevExpress.XtraEditors.LabelControl labelControl1;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
+    }
+}

+ 151 - 0
XdCxRhDW.App/EditForms/X1D1PosParamEditor.cs

@@ -0,0 +1,151 @@
+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.Text;
+using System.Threading.Tasks;
+using System.Windows.Documents;
+using System.Windows.Forms;
+using XdCxRhDW.Core.Api;
+using XdCxRhDW.Repostory.EFContext;
+using XdCxRhDW.Repostory.Model;
+
+namespace XdCxRhDW.App.EditForms
+{
+    public partial class X1D1PosParamEditor : DevExpress.XtraEditors.XtraUserControl
+    {
+        private MapControl mapControl1;
+        private PosRes info;
+        private CgRes cg;
+        private List<SatInfo> listSat;
+        public X1D1PosParamEditor(PosRes info, MapControl mapControl)
+        {
+            InitializeComponent();
+            this.info = info;
+            this.listSat = new List<SatInfo>();
+            this.mapControl1 = mapControl;
+            //this.StartPosition = FormStartPosition.CenterParent;
+            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 X1D1DTOParamEditor_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.txtDtoCdb.Text = $"{cg.DtoCdb.Value:f3}";
+                this.txtYbMain.Text = $"{cg.YbMainDto.Value:f3}";
+                this.sigTime.EditValue = info.SigTime;
+                this.txtMainX.Text = $"{cg.MainX.Value:f3}";
+                this.txtMainY.Text = $"{cg.MainY.Value:f3}";
+                this.txtMainZ.Text = $"{cg.MainZ.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}";
+            }
+        }
+
+        public bool CheckParam()
+        {
+            if (!txtsatStation.CheckLonLat(dxErrorProvider, "接收站"))
+            {
+                return false;
+            }
+            if (!txtcdbStation.CheckLonLat(dxErrorProvider, "超短波"))
+            {
+                return false;
+            }
+            if (!txtRefLocation.CheckLonLat(dxErrorProvider, "参考站"))
+            {
+                return false;
+            }
+            return true;
+        }
+
+        private void btnOk_Click(object sender, EventArgs e)
+        {
+            if (!CheckParam()) { return; }
+            try
+            {
+
+                var MsAnt = txtsatStation.GetLonLat();
+                var CDBAnt = txtcdbStation.GetLonLat();
+                var RefGeod = txtRefLocation.GetLonLat();
+
+                var DtoCdb = Convert.ToDouble(this.txtDtoCdb.Text);
+                var YbMainDto = Convert.ToDouble(this.txtYbMain.Text);
+
+                var MainX = Convert.ToDouble(this.txtMainX.Text);
+                var MainY = Convert.ToDouble(this.txtMainY.Text);
+                var MainZ = Convert.ToDouble(this.txtMainZ.Text);
+                double[] msEph = new double[] { MainX, MainY, MainZ, 0, 0, 0 };
+
+                //DtoLineXdOption dtoLineXd = new DtoLineXdOption();
+                //dtoLineXd.MsEph = msEph;
+                //dtoLineXd.MsAnt = MsAnt;
+                //dtoLineXd.CDBAnt = CDBAnt;
+                //dtoLineXd.RefGeod = RefGeod;
+                //dtoLineXd.xdDto = DtoCdb;
+                //dtoLineXd.RefDto = YbMainDto;
+                //dtoLineXd.PosLon = info.PosLon;
+                //dtoLineXd.PosLat = info.PosLat;
+
+                //var msat = listSat.FirstOrDefault(m => m.SatCode == cg.MainCode.Value)?.Sat;
+                //if (string.IsNullOrWhiteSpace(msat)) msat = cg.MainCode.Value.ToString();
+                //var xdDtoLine = PosApi.X1D1_Pos(dtoLineXd);
+                //mapControl1.DrawDtoPonit($"[{msat},超短{CDBAnt[0]}°]带参时差线", xdDtoLine);
+            }
+            catch (Exception ex)
+            {
+                Serilog.Log.Error(ex, $"绘制{info.PosResType.GetEnumDisplayName()}时差线失败.PosID={info.ID},SigTime={info.SigTime}");
+                DxHelper.MsgBoxHelper.ShowWarning($"绘制{info.PosResType.GetEnumDisplayName()}时差线失败");
+            }
+        }
+
+
+    }
+}

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

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

+ 29 - 3
XdCxRhDW.App/UserControl/CtrlHome.cs

@@ -125,9 +125,13 @@ namespace XdCxRhDW.App.UserControl
                    {
                        UseMirr(items.ToList());
                    });
-                mapControl1.AddRectMenu<PosRes>("编辑目标", SvgHelper.LoadFromFile("Image\\Edit.svg"), items =>
+                mapControl1.AddRectMenu<PosRes>("使用镜像点", SvgHelper.LoadFromFile("Image\\Pos.svg"), items =>
+                {
+                    UseMirr(items.ToList());
+                });
+                mapControl1.AddPosMenu<PosRes>("手动定位", SvgHelper.LoadFromFile("Image\\Pos.svg"), item =>
                 {
-                    EditTarget(items.ToList());
+                    Pos(item);
                 });
                 mapControl1.AddRectMenu<PosRes>("转到列表", SvgHelper.LoadFromFile("Image\\To.svg"), items =>
                 {
@@ -937,7 +941,7 @@ namespace XdCxRhDW.App.UserControl
                 case EnumPosResType.X2D1:
                 case EnumPosResType.X2D1NoRef:
                     X2D1DTOParamEditor X2D1frm = new X2D1DTOParamEditor(item, mapControl1);
-                    DxHelper.PopupHelper.ShowPopup(X2D1frm, layoutControl1, 500); 
+                    DxHelper.PopupHelper.ShowPopup(X2D1frm, layoutControl1, 500);
                     break;
                 case EnumPosResType.X3:
                 case EnumPosResType.X3NoRef:
@@ -966,6 +970,28 @@ namespace XdCxRhDW.App.UserControl
                     break;
             }
 
+        }
+        private void Pos(PosRes item)
+        {
+            switch (item.PosResType)
+            {
+                case EnumPosResType.X1D1CX:
+                    X1D1PosParamEditor frm = new X1D1PosParamEditor(item, mapControl1);
+                    DxHelper.PopupHelper.ShowPopup(frm, layoutControl1, 500);
+                    break;
+                case EnumPosResType.X2D1:
+                case EnumPosResType.X2D1NoRef:
+
+                    break;
+                case EnumPosResType.X3:
+                case EnumPosResType.X3NoRef:
+                    break;
+                case EnumPosResType.X2Dfo:
+                    break;
+                default:
+                    break;
+            }
+
         }
         private async void DrawX3DfoLine(PosRes item)
         {

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

@@ -311,6 +311,12 @@
     <Compile Include="EditForms\TaskEditor.Designer.cs">
       <DependentUpon>TaskEditor.cs</DependentUpon>
     </Compile>
+    <Compile Include="EditForms\X1D1PosParamEditor.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="EditForms\X1D1PosParamEditor.Designer.cs">
+      <DependentUpon>X1D1PosParamEditor.cs</DependentUpon>
+    </Compile>
     <Compile Include="EditForms\X1D1DTOParamEditor.cs">
       <SubType>UserControl</SubType>
     </Compile>
@@ -475,6 +481,9 @@
     <EmbeddedResource Include="EditForms\TaskEditor.resx">
       <DependentUpon>TaskEditor.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="EditForms\X1D1PosParamEditor.resx">
+      <DependentUpon>X1D1PosParamEditor.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="EditForms\X1D1DTOParamEditor.resx">
       <DependentUpon>X1D1DTOParamEditor.cs</DependentUpon>
     </EmbeddedResource>