fb4b8642cfbd157ae0635b182b4f578bf337dbef..833c76cfe3e33a8225051405623711ffceccff2e
2026-01-19 C3204
合并冲突
833c76 对比 | 目录
2026-01-19 C3204
完善运动控制参数存储以及加载
046835 对比 | 目录
已修改6个文件
已添加1个文件
1213 ■■■■■ 文件已修改
LB_SmartVision/Forms/Pages/CommunicatorPage/CommunicatorsEditPage.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs 883 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.cs 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.resx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_SmartVision/Forms/Pages/MotionControlPage/RecordMotionControlData.cs 93 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_SmartVision/GlobalVar.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_SmartVision/VisionForm.cs 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_SmartVision/Forms/Pages/CommunicatorPage/CommunicatorsEditPage.cs
@@ -206,6 +206,16 @@
                if (GlobalVar.dicCommunicators.ContainsKey(oldName))
                    GlobalVar.dicCommunicators.TryRename(oldName, newName);
                foreach (var item in GlobalVar.dicMotionControlData.Keys)
                {
                    foreach (var item1 in GlobalVar.dicMotionControlData[item].Keys)
                    {
                        if (GlobalVar.dicMotionControlData[item][item1].CommunicatorsName.Contains(oldName))
                        {
                            GlobalVar.dicMotionControlData[item][item1].CommunicatorsName = newName;
                        }
                    }
                }
                flow.Refresh();
            }
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs
@@ -30,6 +30,7 @@
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MotionControlForm));
            uiGroupBoxMotionControl = new GroupBox();
            panel1 = new Panel();
            tableLayoutPanel3 = new TableLayoutPanel();
            tableLayoutPanel6 = new TableLayoutPanel();
            uiButtonCloseSoftGrab = new Button();
@@ -45,6 +46,12 @@
            textBoxAngSpeed = new TextBox();
            labelAngSpeed = new Label();
            textBoxPointSpeed = new TextBox();
            groupBoxPulseMotionSpeedAddress = new GroupBox();
            textBoxPulseMotionSpeedAddress = new TextBox();
            groupBoxAngularVelocityAddress = new GroupBox();
            textBoxAngularVelocityAddress = new TextBox();
            groupBoxCom = new GroupBox();
            cmbCom = new Sunny.UI.UIComboBox();
            tableLayoutPanel2 = new TableLayoutPanel();
            uiButtonIncreasePitchAngle = new Button();
            groupBoxPitchAnglePosition = new GroupBox();
@@ -62,6 +69,30 @@
            uiButtonDecreaseX = new Button();
            groupBoxXPosition = new GroupBox();
            textBoxXPosition = new TextBox();
            groupBoxYVarAddress = new GroupBox();
            textBoxYVarAddress = new TextBox();
            groupBoxXVarAddress = new GroupBox();
            textBoxXVarAddress = new TextBox();
            groupBoxZVarAddress = new GroupBox();
            textBoxZVarAddress = new TextBox();
            groupBoxWVarAddress = new GroupBox();
            textBoxWVarAddress = new TextBox();
            groupBoxYDetectLocation = new GroupBox();
            textBoxYDetectLocation = new TextBox();
            groupBoxZDetectLocation = new GroupBox();
            textBoxZDetectLocation = new TextBox();
            groupBoxWDetectLocation = new GroupBox();
            textBoxWDetectLocation = new TextBox();
            groupBoxXDetectLocation = new GroupBox();
            textBoxXDetectLocation = new TextBox();
            groupBoxXOriginalLocation = new GroupBox();
            textBoxXOriginalLocation = new TextBox();
            groupBoxYOriginalLocation = new GroupBox();
            textBoxYOriginalLocation = new TextBox();
            groupBoxZOriginalLocation = new GroupBox();
            textBoxZOriginalLocation = new TextBox();
            groupBoxWOriginalLocation = new GroupBox();
            textBoxWOriginalLocation = new TextBox();
            tableLayoutPanel1 = new TableLayoutPanel();
            textBoxSN = new TextBox();
            uiMarkLabelSN = new Label();
@@ -72,45 +103,32 @@
            uiSplitContainer1 = new SplitContainer();
            themeForm1 = new ReaLTaiizor.Forms.ThemeForm();
            controlBox1 = new ReaLTaiizor.Controls.ControlBox();
            panel1 = new Panel();
            groupBoxXVarAddress = new GroupBox();
            textBoxXVarAddress = new TextBox();
            groupBoxYVarAddress = new GroupBox();
            textBoxYVarAddress = new TextBox();
            groupBoxZVarAddress = new GroupBox();
            textBoxZVarAddress = new TextBox();
            groupBoxWVarAddress = new GroupBox();
            textBoxWVarAddress = new TextBox();
            groupBoxXDetectLocation = new GroupBox();
            textBoxXDetectLocation = new TextBox();
            groupBoxYDetectLocation = new GroupBox();
            textBoxYDetectLocation = new TextBox();
            groupBoxZDetectLocation = new GroupBox();
            textBoxZDetectLocation = new TextBox();
            groupBoxWDetectLocation = new GroupBox();
            textBoxWDetectLocation = new TextBox();
            groupBoxXOriginalLocation = new GroupBox();
            textBoxXOriginalLocation = new TextBox();
            groupBoxYOriginalLocation = new GroupBox();
            textBoxYOriginalLocation = new TextBox();
            groupBoxZOriginalLocation = new GroupBox();
            textBoxZOriginalLocation = new TextBox();
            groupBoxWOriginalLocation = new GroupBox();
            textBoxWOriginalLocation = new TextBox();
            groupBoxPulseMotionSpeedAddress = new GroupBox();
            textBoxPulseMotionSpeedAddress = new TextBox();
            groupBoxAngularVelocityAddress = new GroupBox();
            textBoxAngularVelocityAddress = new TextBox();
            uiGroupBoxMotionControl.SuspendLayout();
            panel1.SuspendLayout();
            tableLayoutPanel3.SuspendLayout();
            tableLayoutPanel6.SuspendLayout();
            tableLayoutPanel5.SuspendLayout();
            tableLayoutPanel4.SuspendLayout();
            groupBoxPulseMotionSpeedAddress.SuspendLayout();
            groupBoxAngularVelocityAddress.SuspendLayout();
            groupBoxCom.SuspendLayout();
            tableLayoutPanel2.SuspendLayout();
            groupBoxPitchAnglePosition.SuspendLayout();
            groupBoxZPosition.SuspendLayout();
            groupBoxYPosition.SuspendLayout();
            groupBoxXPosition.SuspendLayout();
            groupBoxYVarAddress.SuspendLayout();
            groupBoxXVarAddress.SuspendLayout();
            groupBoxZVarAddress.SuspendLayout();
            groupBoxWVarAddress.SuspendLayout();
            groupBoxYDetectLocation.SuspendLayout();
            groupBoxZDetectLocation.SuspendLayout();
            groupBoxWDetectLocation.SuspendLayout();
            groupBoxXDetectLocation.SuspendLayout();
            groupBoxXOriginalLocation.SuspendLayout();
            groupBoxYOriginalLocation.SuspendLayout();
            groupBoxZOriginalLocation.SuspendLayout();
            groupBoxWOriginalLocation.SuspendLayout();
            tableLayoutPanel1.SuspendLayout();
            tableLayoutPanel7.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)uiSplitContainer1).BeginInit();
@@ -118,21 +136,6 @@
            uiSplitContainer1.Panel2.SuspendLayout();
            uiSplitContainer1.SuspendLayout();
            themeForm1.SuspendLayout();
            panel1.SuspendLayout();
            groupBoxXVarAddress.SuspendLayout();
            groupBoxYVarAddress.SuspendLayout();
            groupBoxZVarAddress.SuspendLayout();
            groupBoxWVarAddress.SuspendLayout();
            groupBoxXDetectLocation.SuspendLayout();
            groupBoxYDetectLocation.SuspendLayout();
            groupBoxZDetectLocation.SuspendLayout();
            groupBoxWDetectLocation.SuspendLayout();
            groupBoxXOriginalLocation.SuspendLayout();
            groupBoxYOriginalLocation.SuspendLayout();
            groupBoxZOriginalLocation.SuspendLayout();
            groupBoxWOriginalLocation.SuspendLayout();
            groupBoxPulseMotionSpeedAddress.SuspendLayout();
            groupBoxAngularVelocityAddress.SuspendLayout();
            SuspendLayout();
            // 
            // uiGroupBoxMotionControl
@@ -150,6 +153,16 @@
            uiGroupBoxMotionControl.TabIndex = 18;
            uiGroupBoxMotionControl.TabStop = false;
            uiGroupBoxMotionControl.Text = "运动控制参数";
            //
            // panel1
            //
            panel1.Controls.Add(tableLayoutPanel3);
            panel1.Dock = DockStyle.Fill;
            panel1.Location = new Point(0, 23);
            panel1.Name = "panel1";
            panel1.Padding = new Padding(0, 3, 0, 0);
            panel1.Size = new Size(580, 661);
            panel1.TabIndex = 1;
            // 
            // tableLayoutPanel3
            // 
@@ -245,7 +258,6 @@
            tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 160F));
            tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 120F));
            tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 120F));
            tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F));
            tableLayoutPanel4.Controls.Add(labelPointSpeed, 0, 0);
            tableLayoutPanel4.Controls.Add(textBoxAngleNow, 1, 3);
            tableLayoutPanel4.Controls.Add(labelAngleNow, 0, 3);
@@ -256,14 +268,16 @@
            tableLayoutPanel4.Controls.Add(textBoxPointSpeed, 1, 0);
            tableLayoutPanel4.Controls.Add(groupBoxPulseMotionSpeedAddress, 2, 0);
            tableLayoutPanel4.Controls.Add(groupBoxAngularVelocityAddress, 2, 1);
            tableLayoutPanel4.Controls.Add(groupBoxCom, 0, 4);
            tableLayoutPanel4.Dock = DockStyle.Fill;
            tableLayoutPanel4.Location = new Point(3, 371);
            tableLayoutPanel4.Name = "tableLayoutPanel4";
            tableLayoutPanel4.RowCount = 5;
            tableLayoutPanel4.RowCount = 6;
            tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
            tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
            tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
            tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
            tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 60F));
            tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
            tableLayoutPanel4.Size = new Size(574, 284);
            tableLayoutPanel4.TabIndex = 2;
@@ -361,6 +375,88 @@
            textBoxPointSpeed.TextChanged += textBoxPointSpeed_TextChanged;
            textBoxPointSpeed.KeyDown += textBoxXPosition_KeyDown;
            textBoxPointSpeed.KeyPress += textBoxXPosition_KeyPress;
            //
            // groupBoxPulseMotionSpeedAddress
            //
            groupBoxPulseMotionSpeedAddress.Controls.Add(textBoxPulseMotionSpeedAddress);
            groupBoxPulseMotionSpeedAddress.Dock = DockStyle.Fill;
            groupBoxPulseMotionSpeedAddress.Font = new Font("宋体", 8F);
            groupBoxPulseMotionSpeedAddress.ForeColor = Color.White;
            groupBoxPulseMotionSpeedAddress.Location = new Point(323, 3);
            groupBoxPulseMotionSpeedAddress.Name = "groupBoxPulseMotionSpeedAddress";
            groupBoxPulseMotionSpeedAddress.Size = new Size(114, 39);
            groupBoxPulseMotionSpeedAddress.TabIndex = 30;
            groupBoxPulseMotionSpeedAddress.TabStop = false;
            groupBoxPulseMotionSpeedAddress.Text = "点速度地址";
            //
            // textBoxPulseMotionSpeedAddress
            //
            textBoxPulseMotionSpeedAddress.Dock = DockStyle.Bottom;
            textBoxPulseMotionSpeedAddress.Font = new Font("宋体", 10F);
            textBoxPulseMotionSpeedAddress.Location = new Point(3, 16);
            textBoxPulseMotionSpeedAddress.Multiline = true;
            textBoxPulseMotionSpeedAddress.Name = "textBoxPulseMotionSpeedAddress";
            textBoxPulseMotionSpeedAddress.Size = new Size(108, 20);
            textBoxPulseMotionSpeedAddress.TabIndex = 12;
            textBoxPulseMotionSpeedAddress.Text = "1";
            //
            // groupBoxAngularVelocityAddress
            //
            groupBoxAngularVelocityAddress.Controls.Add(textBoxAngularVelocityAddress);
            groupBoxAngularVelocityAddress.Dock = DockStyle.Fill;
            groupBoxAngularVelocityAddress.Font = new Font("宋体", 8F);
            groupBoxAngularVelocityAddress.ForeColor = Color.White;
            groupBoxAngularVelocityAddress.Location = new Point(323, 48);
            groupBoxAngularVelocityAddress.Name = "groupBoxAngularVelocityAddress";
            groupBoxAngularVelocityAddress.Size = new Size(114, 39);
            groupBoxAngularVelocityAddress.TabIndex = 30;
            groupBoxAngularVelocityAddress.TabStop = false;
            groupBoxAngularVelocityAddress.Text = "角速度地址";
            //
            // textBoxAngularVelocityAddress
            //
            textBoxAngularVelocityAddress.Dock = DockStyle.Bottom;
            textBoxAngularVelocityAddress.Font = new Font("宋体", 10F);
            textBoxAngularVelocityAddress.Location = new Point(3, 16);
            textBoxAngularVelocityAddress.Multiline = true;
            textBoxAngularVelocityAddress.Name = "textBoxAngularVelocityAddress";
            textBoxAngularVelocityAddress.Size = new Size(108, 20);
            textBoxAngularVelocityAddress.TabIndex = 12;
            textBoxAngularVelocityAddress.Text = "1";
            //
            // groupBoxCom
            //
            groupBoxCom.Controls.Add(cmbCom);
            groupBoxCom.Dock = DockStyle.Fill;
            groupBoxCom.Font = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
            groupBoxCom.ForeColor = Color.White;
            groupBoxCom.Location = new Point(3, 183);
            groupBoxCom.Name = "groupBoxCom";
            groupBoxCom.Size = new Size(154, 54);
            groupBoxCom.TabIndex = 31;
            groupBoxCom.TabStop = false;
            groupBoxCom.Text = "通讯";
            //
            // cmbCom
            //
            cmbCom.DataSource = null;
            cmbCom.Dock = DockStyle.Fill;
            cmbCom.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
            cmbCom.FillColor = Color.White;
            cmbCom.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            cmbCom.ItemHoverColor = Color.FromArgb(155, 200, 255);
            cmbCom.ItemSelectForeColor = Color.FromArgb(235, 243, 255);
            cmbCom.Location = new Point(3, 21);
            cmbCom.Margin = new Padding(4, 5, 4, 5);
            cmbCom.MinimumSize = new Size(63, 0);
            cmbCom.Name = "cmbCom";
            cmbCom.Padding = new Padding(0, 0, 30, 2);
            cmbCom.Size = new Size(148, 30);
            cmbCom.SymbolSize = 24;
            cmbCom.TabIndex = 0;
            cmbCom.TextAlignment = ContentAlignment.MiddleLeft;
            cmbCom.Watermark = "";
            cmbCom.SelectedIndexChanged += cmbCom_SelectedIndexChanged;
            // 
            // tableLayoutPanel2
            // 
@@ -614,6 +710,294 @@
            textBoxXPosition.KeyDown += textBoxXPosition_KeyDown;
            textBoxXPosition.KeyPress += textBoxXPosition_KeyPress;
            // 
            // groupBoxYVarAddress
            //
            groupBoxYVarAddress.Controls.Add(textBoxYVarAddress);
            groupBoxYVarAddress.Dock = DockStyle.Fill;
            groupBoxYVarAddress.Font = new Font("宋体", 8F);
            groupBoxYVarAddress.ForeColor = Color.White;
            groupBoxYVarAddress.Location = new Point(193, 48);
            groupBoxYVarAddress.Name = "groupBoxYVarAddress";
            groupBoxYVarAddress.Size = new Size(122, 39);
            groupBoxYVarAddress.TabIndex = 29;
            groupBoxYVarAddress.TabStop = false;
            groupBoxYVarAddress.Text = "Y轴变量地址";
            //
            // textBoxYVarAddress
            //
            textBoxYVarAddress.Dock = DockStyle.Bottom;
            textBoxYVarAddress.Font = new Font("宋体", 10F);
            textBoxYVarAddress.Location = new Point(3, 16);
            textBoxYVarAddress.Multiline = true;
            textBoxYVarAddress.Name = "textBoxYVarAddress";
            textBoxYVarAddress.Size = new Size(116, 20);
            textBoxYVarAddress.TabIndex = 12;
            textBoxYVarAddress.Text = "1";
            //
            // groupBoxXVarAddress
            //
            groupBoxXVarAddress.Controls.Add(textBoxXVarAddress);
            groupBoxXVarAddress.Dock = DockStyle.Fill;
            groupBoxXVarAddress.Font = new Font("宋体", 8F);
            groupBoxXVarAddress.ForeColor = Color.White;
            groupBoxXVarAddress.Location = new Point(193, 3);
            groupBoxXVarAddress.Name = "groupBoxXVarAddress";
            groupBoxXVarAddress.Size = new Size(122, 39);
            groupBoxXVarAddress.TabIndex = 28;
            groupBoxXVarAddress.TabStop = false;
            groupBoxXVarAddress.Text = "X轴变量地址";
            //
            // textBoxXVarAddress
            //
            textBoxXVarAddress.Dock = DockStyle.Bottom;
            textBoxXVarAddress.Font = new Font("宋体", 10F);
            textBoxXVarAddress.Location = new Point(3, 16);
            textBoxXVarAddress.Multiline = true;
            textBoxXVarAddress.Name = "textBoxXVarAddress";
            textBoxXVarAddress.Size = new Size(116, 20);
            textBoxXVarAddress.TabIndex = 12;
            textBoxXVarAddress.Text = "1";
            //
            // groupBoxZVarAddress
            //
            groupBoxZVarAddress.Controls.Add(textBoxZVarAddress);
            groupBoxZVarAddress.Dock = DockStyle.Fill;
            groupBoxZVarAddress.Font = new Font("宋体", 8F);
            groupBoxZVarAddress.ForeColor = Color.White;
            groupBoxZVarAddress.Location = new Point(193, 93);
            groupBoxZVarAddress.Name = "groupBoxZVarAddress";
            groupBoxZVarAddress.Size = new Size(122, 39);
            groupBoxZVarAddress.TabIndex = 29;
            groupBoxZVarAddress.TabStop = false;
            groupBoxZVarAddress.Text = "Z轴变量地址";
            //
            // textBoxZVarAddress
            //
            textBoxZVarAddress.Dock = DockStyle.Bottom;
            textBoxZVarAddress.Font = new Font("宋体", 10F);
            textBoxZVarAddress.Location = new Point(3, 16);
            textBoxZVarAddress.Multiline = true;
            textBoxZVarAddress.Name = "textBoxZVarAddress";
            textBoxZVarAddress.Size = new Size(116, 20);
            textBoxZVarAddress.TabIndex = 12;
            textBoxZVarAddress.Text = "1";
            //
            // groupBoxWVarAddress
            //
            groupBoxWVarAddress.Controls.Add(textBoxWVarAddress);
            groupBoxWVarAddress.Dock = DockStyle.Fill;
            groupBoxWVarAddress.Font = new Font("宋体", 8F);
            groupBoxWVarAddress.ForeColor = Color.White;
            groupBoxWVarAddress.Location = new Point(193, 138);
            groupBoxWVarAddress.Name = "groupBoxWVarAddress";
            groupBoxWVarAddress.Size = new Size(122, 41);
            groupBoxWVarAddress.TabIndex = 29;
            groupBoxWVarAddress.TabStop = false;
            groupBoxWVarAddress.Text = "W轴变量地址";
            //
            // textBoxWVarAddress
            //
            textBoxWVarAddress.Dock = DockStyle.Bottom;
            textBoxWVarAddress.Font = new Font("宋体", 10F);
            textBoxWVarAddress.Location = new Point(3, 18);
            textBoxWVarAddress.Multiline = true;
            textBoxWVarAddress.Name = "textBoxWVarAddress";
            textBoxWVarAddress.Size = new Size(116, 20);
            textBoxWVarAddress.TabIndex = 12;
            textBoxWVarAddress.Text = "1";
            //
            // groupBoxYDetectLocation
            //
            groupBoxYDetectLocation.Controls.Add(textBoxYDetectLocation);
            groupBoxYDetectLocation.Dock = DockStyle.Fill;
            groupBoxYDetectLocation.Font = new Font("宋体", 8F);
            groupBoxYDetectLocation.ForeColor = Color.White;
            groupBoxYDetectLocation.Location = new Point(321, 48);
            groupBoxYDetectLocation.Name = "groupBoxYDetectLocation";
            groupBoxYDetectLocation.Size = new Size(122, 39);
            groupBoxYDetectLocation.TabIndex = 30;
            groupBoxYDetectLocation.TabStop = false;
            groupBoxYDetectLocation.Text = "Y轴检测位置";
            //
            // textBoxYDetectLocation
            //
            textBoxYDetectLocation.Dock = DockStyle.Bottom;
            textBoxYDetectLocation.Font = new Font("宋体", 10F);
            textBoxYDetectLocation.Location = new Point(3, 16);
            textBoxYDetectLocation.Multiline = true;
            textBoxYDetectLocation.Name = "textBoxYDetectLocation";
            textBoxYDetectLocation.Size = new Size(116, 20);
            textBoxYDetectLocation.TabIndex = 12;
            textBoxYDetectLocation.Text = "1";
            //
            // groupBoxZDetectLocation
            //
            groupBoxZDetectLocation.Controls.Add(textBoxZDetectLocation);
            groupBoxZDetectLocation.Dock = DockStyle.Fill;
            groupBoxZDetectLocation.Font = new Font("宋体", 8F);
            groupBoxZDetectLocation.ForeColor = Color.White;
            groupBoxZDetectLocation.Location = new Point(321, 93);
            groupBoxZDetectLocation.Name = "groupBoxZDetectLocation";
            groupBoxZDetectLocation.Size = new Size(122, 39);
            groupBoxZDetectLocation.TabIndex = 30;
            groupBoxZDetectLocation.TabStop = false;
            groupBoxZDetectLocation.Text = "Z轴检测位置";
            //
            // textBoxZDetectLocation
            //
            textBoxZDetectLocation.Dock = DockStyle.Bottom;
            textBoxZDetectLocation.Font = new Font("宋体", 10F);
            textBoxZDetectLocation.Location = new Point(3, 16);
            textBoxZDetectLocation.Multiline = true;
            textBoxZDetectLocation.Name = "textBoxZDetectLocation";
            textBoxZDetectLocation.Size = new Size(116, 20);
            textBoxZDetectLocation.TabIndex = 12;
            textBoxZDetectLocation.Text = "1";
            //
            // groupBoxWDetectLocation
            //
            groupBoxWDetectLocation.Controls.Add(textBoxWDetectLocation);
            groupBoxWDetectLocation.Dock = DockStyle.Fill;
            groupBoxWDetectLocation.Font = new Font("宋体", 8F);
            groupBoxWDetectLocation.ForeColor = Color.White;
            groupBoxWDetectLocation.Location = new Point(321, 138);
            groupBoxWDetectLocation.Name = "groupBoxWDetectLocation";
            groupBoxWDetectLocation.Size = new Size(122, 41);
            groupBoxWDetectLocation.TabIndex = 30;
            groupBoxWDetectLocation.TabStop = false;
            groupBoxWDetectLocation.Text = "W轴检测位置";
            //
            // textBoxWDetectLocation
            //
            textBoxWDetectLocation.Dock = DockStyle.Bottom;
            textBoxWDetectLocation.Font = new Font("宋体", 10F);
            textBoxWDetectLocation.Location = new Point(3, 18);
            textBoxWDetectLocation.Multiline = true;
            textBoxWDetectLocation.Name = "textBoxWDetectLocation";
            textBoxWDetectLocation.Size = new Size(116, 20);
            textBoxWDetectLocation.TabIndex = 12;
            textBoxWDetectLocation.Text = "1";
            //
            // groupBoxXDetectLocation
            //
            groupBoxXDetectLocation.Controls.Add(textBoxXDetectLocation);
            groupBoxXDetectLocation.Dock = DockStyle.Fill;
            groupBoxXDetectLocation.Font = new Font("宋体", 8F);
            groupBoxXDetectLocation.ForeColor = Color.White;
            groupBoxXDetectLocation.Location = new Point(321, 3);
            groupBoxXDetectLocation.Name = "groupBoxXDetectLocation";
            groupBoxXDetectLocation.Size = new Size(122, 39);
            groupBoxXDetectLocation.TabIndex = 30;
            groupBoxXDetectLocation.TabStop = false;
            groupBoxXDetectLocation.Text = "X轴检测位置";
            //
            // textBoxXDetectLocation
            //
            textBoxXDetectLocation.Dock = DockStyle.Bottom;
            textBoxXDetectLocation.Font = new Font("宋体", 10F);
            textBoxXDetectLocation.Location = new Point(3, 16);
            textBoxXDetectLocation.Multiline = true;
            textBoxXDetectLocation.Name = "textBoxXDetectLocation";
            textBoxXDetectLocation.Size = new Size(116, 20);
            textBoxXDetectLocation.TabIndex = 12;
            textBoxXDetectLocation.Text = "1";
            //
            // groupBoxXOriginalLocation
            //
            groupBoxXOriginalLocation.Controls.Add(textBoxXOriginalLocation);
            groupBoxXOriginalLocation.Dock = DockStyle.Fill;
            groupBoxXOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxXOriginalLocation.ForeColor = Color.White;
            groupBoxXOriginalLocation.Location = new Point(449, 3);
            groupBoxXOriginalLocation.Name = "groupBoxXOriginalLocation";
            groupBoxXOriginalLocation.Size = new Size(122, 39);
            groupBoxXOriginalLocation.TabIndex = 30;
            groupBoxXOriginalLocation.TabStop = false;
            groupBoxXOriginalLocation.Text = "X轴原点位置";
            //
            // textBoxXOriginalLocation
            //
            textBoxXOriginalLocation.Dock = DockStyle.Bottom;
            textBoxXOriginalLocation.Font = new Font("宋体", 10F);
            textBoxXOriginalLocation.Location = new Point(3, 16);
            textBoxXOriginalLocation.Multiline = true;
            textBoxXOriginalLocation.Name = "textBoxXOriginalLocation";
            textBoxXOriginalLocation.Size = new Size(116, 20);
            textBoxXOriginalLocation.TabIndex = 12;
            textBoxXOriginalLocation.Text = "1";
            //
            // groupBoxYOriginalLocation
            //
            groupBoxYOriginalLocation.Controls.Add(textBoxYOriginalLocation);
            groupBoxYOriginalLocation.Dock = DockStyle.Fill;
            groupBoxYOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxYOriginalLocation.ForeColor = Color.White;
            groupBoxYOriginalLocation.Location = new Point(449, 48);
            groupBoxYOriginalLocation.Name = "groupBoxYOriginalLocation";
            groupBoxYOriginalLocation.Size = new Size(122, 39);
            groupBoxYOriginalLocation.TabIndex = 30;
            groupBoxYOriginalLocation.TabStop = false;
            groupBoxYOriginalLocation.Text = "Y轴原点位置";
            //
            // textBoxYOriginalLocation
            //
            textBoxYOriginalLocation.Dock = DockStyle.Bottom;
            textBoxYOriginalLocation.Font = new Font("宋体", 10F);
            textBoxYOriginalLocation.Location = new Point(3, 16);
            textBoxYOriginalLocation.Multiline = true;
            textBoxYOriginalLocation.Name = "textBoxYOriginalLocation";
            textBoxYOriginalLocation.Size = new Size(116, 20);
            textBoxYOriginalLocation.TabIndex = 12;
            textBoxYOriginalLocation.Text = "1";
            //
            // groupBoxZOriginalLocation
            //
            groupBoxZOriginalLocation.Controls.Add(textBoxZOriginalLocation);
            groupBoxZOriginalLocation.Dock = DockStyle.Fill;
            groupBoxZOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxZOriginalLocation.ForeColor = Color.White;
            groupBoxZOriginalLocation.Location = new Point(449, 93);
            groupBoxZOriginalLocation.Name = "groupBoxZOriginalLocation";
            groupBoxZOriginalLocation.Size = new Size(122, 39);
            groupBoxZOriginalLocation.TabIndex = 30;
            groupBoxZOriginalLocation.TabStop = false;
            groupBoxZOriginalLocation.Text = "Z轴原点位置";
            //
            // textBoxZOriginalLocation
            //
            textBoxZOriginalLocation.Dock = DockStyle.Bottom;
            textBoxZOriginalLocation.Font = new Font("宋体", 10F);
            textBoxZOriginalLocation.Location = new Point(3, 16);
            textBoxZOriginalLocation.Multiline = true;
            textBoxZOriginalLocation.Name = "textBoxZOriginalLocation";
            textBoxZOriginalLocation.Size = new Size(116, 20);
            textBoxZOriginalLocation.TabIndex = 12;
            textBoxZOriginalLocation.Text = "1";
            //
            // groupBoxWOriginalLocation
            //
            groupBoxWOriginalLocation.Controls.Add(textBoxWOriginalLocation);
            groupBoxWOriginalLocation.Dock = DockStyle.Fill;
            groupBoxWOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxWOriginalLocation.ForeColor = Color.White;
            groupBoxWOriginalLocation.Location = new Point(449, 138);
            groupBoxWOriginalLocation.Name = "groupBoxWOriginalLocation";
            groupBoxWOriginalLocation.Size = new Size(122, 41);
            groupBoxWOriginalLocation.TabIndex = 30;
            groupBoxWOriginalLocation.TabStop = false;
            groupBoxWOriginalLocation.Text = "W轴原点位置";
            //
            // textBoxWOriginalLocation
            //
            textBoxWOriginalLocation.Dock = DockStyle.Bottom;
            textBoxWOriginalLocation.Font = new Font("宋体", 10F);
            textBoxWOriginalLocation.Location = new Point(3, 18);
            textBoxWOriginalLocation.Multiline = true;
            textBoxWOriginalLocation.Name = "textBoxWOriginalLocation";
            textBoxWOriginalLocation.Size = new Size(116, 20);
            textBoxWOriginalLocation.TabIndex = 12;
            textBoxWOriginalLocation.Text = "1";
            //
            // tableLayoutPanel1
            // 
            tableLayoutPanel1.ColumnCount = 2;
@@ -760,352 +1144,6 @@
            controlBox1.TabIndex = 21;
            controlBox1.Text = "controlBox1";
            // 
            // panel1
            //
            panel1.Controls.Add(tableLayoutPanel3);
            panel1.Dock = DockStyle.Fill;
            panel1.Location = new Point(0, 23);
            panel1.Name = "panel1";
            panel1.Padding = new Padding(0, 3, 0, 0);
            panel1.Size = new Size(580, 661);
            panel1.TabIndex = 1;
            //
            // groupBoxXVarAddress
            //
            groupBoxXVarAddress.Controls.Add(textBoxXVarAddress);
            groupBoxXVarAddress.Dock = DockStyle.Fill;
            groupBoxXVarAddress.Font = new Font("宋体", 8F);
            groupBoxXVarAddress.ForeColor = Color.White;
            groupBoxXVarAddress.Location = new Point(193, 3);
            groupBoxXVarAddress.Name = "groupBoxXVarAddress";
            groupBoxXVarAddress.Size = new Size(122, 39);
            groupBoxXVarAddress.TabIndex = 28;
            groupBoxXVarAddress.TabStop = false;
            groupBoxXVarAddress.Text = "X轴变量地址";
            //
            // textBoxXVarAddress
            //
            textBoxXVarAddress.Dock = DockStyle.Bottom;
            textBoxXVarAddress.Font = new Font("宋体", 10F);
            textBoxXVarAddress.Location = new Point(3, 16);
            textBoxXVarAddress.Multiline = true;
            textBoxXVarAddress.Name = "textBoxXVarAddress";
            textBoxXVarAddress.Size = new Size(116, 20);
            textBoxXVarAddress.TabIndex = 12;
            textBoxXVarAddress.Text = "1";
            //
            // groupBoxYVarAddress
            //
            groupBoxYVarAddress.Controls.Add(textBoxYVarAddress);
            groupBoxYVarAddress.Dock = DockStyle.Fill;
            groupBoxYVarAddress.Font = new Font("宋体", 8F);
            groupBoxYVarAddress.ForeColor = Color.White;
            groupBoxYVarAddress.Location = new Point(193, 48);
            groupBoxYVarAddress.Name = "groupBoxYVarAddress";
            groupBoxYVarAddress.Size = new Size(122, 39);
            groupBoxYVarAddress.TabIndex = 29;
            groupBoxYVarAddress.TabStop = false;
            groupBoxYVarAddress.Text = "Y轴变量地址";
            //
            // textBoxYVarAddress
            //
            textBoxYVarAddress.Dock = DockStyle.Bottom;
            textBoxYVarAddress.Font = new Font("宋体", 10F);
            textBoxYVarAddress.Location = new Point(3, 16);
            textBoxYVarAddress.Multiline = true;
            textBoxYVarAddress.Name = "textBoxYVarAddress";
            textBoxYVarAddress.Size = new Size(116, 20);
            textBoxYVarAddress.TabIndex = 12;
            textBoxYVarAddress.Text = "1";
            //
            // groupBoxZVarAddress
            //
            groupBoxZVarAddress.Controls.Add(textBoxZVarAddress);
            groupBoxZVarAddress.Dock = DockStyle.Fill;
            groupBoxZVarAddress.Font = new Font("宋体", 8F);
            groupBoxZVarAddress.ForeColor = Color.White;
            groupBoxZVarAddress.Location = new Point(193, 93);
            groupBoxZVarAddress.Name = "groupBoxZVarAddress";
            groupBoxZVarAddress.Size = new Size(122, 39);
            groupBoxZVarAddress.TabIndex = 29;
            groupBoxZVarAddress.TabStop = false;
            groupBoxZVarAddress.Text = "Z轴变量地址";
            //
            // textBoxZVarAddress
            //
            textBoxZVarAddress.Dock = DockStyle.Bottom;
            textBoxZVarAddress.Font = new Font("宋体", 10F);
            textBoxZVarAddress.Location = new Point(3, 16);
            textBoxZVarAddress.Multiline = true;
            textBoxZVarAddress.Name = "textBoxZVarAddress";
            textBoxZVarAddress.Size = new Size(116, 20);
            textBoxZVarAddress.TabIndex = 12;
            textBoxZVarAddress.Text = "1";
            //
            // groupBoxWVarAddress
            //
            groupBoxWVarAddress.Controls.Add(textBoxWVarAddress);
            groupBoxWVarAddress.Dock = DockStyle.Fill;
            groupBoxWVarAddress.Font = new Font("宋体", 8F);
            groupBoxWVarAddress.ForeColor = Color.White;
            groupBoxWVarAddress.Location = new Point(193, 138);
            groupBoxWVarAddress.Name = "groupBoxWVarAddress";
            groupBoxWVarAddress.Size = new Size(122, 41);
            groupBoxWVarAddress.TabIndex = 29;
            groupBoxWVarAddress.TabStop = false;
            groupBoxWVarAddress.Text = "W轴变量地址";
            //
            // textBoxWVarAddress
            //
            textBoxWVarAddress.Dock = DockStyle.Bottom;
            textBoxWVarAddress.Font = new Font("宋体", 10F);
            textBoxWVarAddress.Location = new Point(3, 18);
            textBoxWVarAddress.Multiline = true;
            textBoxWVarAddress.Name = "textBoxWVarAddress";
            textBoxWVarAddress.Size = new Size(116, 20);
            textBoxWVarAddress.TabIndex = 12;
            textBoxWVarAddress.Text = "1";
            //
            // groupBoxXDetectLocation
            //
            groupBoxXDetectLocation.Controls.Add(textBoxXDetectLocation);
            groupBoxXDetectLocation.Dock = DockStyle.Fill;
            groupBoxXDetectLocation.Font = new Font("宋体", 8F);
            groupBoxXDetectLocation.ForeColor = Color.White;
            groupBoxXDetectLocation.Location = new Point(321, 3);
            groupBoxXDetectLocation.Name = "groupBoxXDetectLocation";
            groupBoxXDetectLocation.Size = new Size(122, 39);
            groupBoxXDetectLocation.TabIndex = 30;
            groupBoxXDetectLocation.TabStop = false;
            groupBoxXDetectLocation.Text = "X轴检测位置";
            //
            // textBoxXDetectLocation
            //
            textBoxXDetectLocation.Dock = DockStyle.Bottom;
            textBoxXDetectLocation.Font = new Font("宋体", 10F);
            textBoxXDetectLocation.Location = new Point(3, 16);
            textBoxXDetectLocation.Multiline = true;
            textBoxXDetectLocation.Name = "textBoxXDetectLocation";
            textBoxXDetectLocation.Size = new Size(116, 20);
            textBoxXDetectLocation.TabIndex = 12;
            textBoxXDetectLocation.Text = "1";
            //
            // groupBoxYDetectLocation
            //
            groupBoxYDetectLocation.Controls.Add(textBoxYDetectLocation);
            groupBoxYDetectLocation.Dock = DockStyle.Fill;
            groupBoxYDetectLocation.Font = new Font("宋体", 8F);
            groupBoxYDetectLocation.ForeColor = Color.White;
            groupBoxYDetectLocation.Location = new Point(321, 48);
            groupBoxYDetectLocation.Name = "groupBoxYDetectLocation";
            groupBoxYDetectLocation.Size = new Size(122, 39);
            groupBoxYDetectLocation.TabIndex = 30;
            groupBoxYDetectLocation.TabStop = false;
            groupBoxYDetectLocation.Text = "Y轴检测位置";
            //
            // textBoxYDetectLocation
            //
            textBoxYDetectLocation.Dock = DockStyle.Bottom;
            textBoxYDetectLocation.Font = new Font("宋体", 10F);
            textBoxYDetectLocation.Location = new Point(3, 16);
            textBoxYDetectLocation.Multiline = true;
            textBoxYDetectLocation.Name = "textBoxYDetectLocation";
            textBoxYDetectLocation.Size = new Size(116, 20);
            textBoxYDetectLocation.TabIndex = 12;
            textBoxYDetectLocation.Text = "1";
            //
            // groupBoxZDetectLocation
            //
            groupBoxZDetectLocation.Controls.Add(textBoxZDetectLocation);
            groupBoxZDetectLocation.Dock = DockStyle.Fill;
            groupBoxZDetectLocation.Font = new Font("宋体", 8F);
            groupBoxZDetectLocation.ForeColor = Color.White;
            groupBoxZDetectLocation.Location = new Point(321, 93);
            groupBoxZDetectLocation.Name = "groupBoxZDetectLocation";
            groupBoxZDetectLocation.Size = new Size(122, 39);
            groupBoxZDetectLocation.TabIndex = 30;
            groupBoxZDetectLocation.TabStop = false;
            groupBoxZDetectLocation.Text = "Z轴检测位置";
            //
            // textBoxZDetectLocation
            //
            textBoxZDetectLocation.Dock = DockStyle.Bottom;
            textBoxZDetectLocation.Font = new Font("宋体", 10F);
            textBoxZDetectLocation.Location = new Point(3, 16);
            textBoxZDetectLocation.Multiline = true;
            textBoxZDetectLocation.Name = "textBoxZDetectLocation";
            textBoxZDetectLocation.Size = new Size(116, 20);
            textBoxZDetectLocation.TabIndex = 12;
            textBoxZDetectLocation.Text = "1";
            //
            // groupBoxWDetectLocation
            //
            groupBoxWDetectLocation.Controls.Add(textBoxWDetectLocation);
            groupBoxWDetectLocation.Dock = DockStyle.Fill;
            groupBoxWDetectLocation.Font = new Font("宋体", 8F);
            groupBoxWDetectLocation.ForeColor = Color.White;
            groupBoxWDetectLocation.Location = new Point(321, 138);
            groupBoxWDetectLocation.Name = "groupBoxWDetectLocation";
            groupBoxWDetectLocation.Size = new Size(122, 41);
            groupBoxWDetectLocation.TabIndex = 30;
            groupBoxWDetectLocation.TabStop = false;
            groupBoxWDetectLocation.Text = "W轴检测位置";
            //
            // textBoxWDetectLocation
            //
            textBoxWDetectLocation.Dock = DockStyle.Bottom;
            textBoxWDetectLocation.Font = new Font("宋体", 10F);
            textBoxWDetectLocation.Location = new Point(3, 18);
            textBoxWDetectLocation.Multiline = true;
            textBoxWDetectLocation.Name = "textBoxWDetectLocation";
            textBoxWDetectLocation.Size = new Size(116, 20);
            textBoxWDetectLocation.TabIndex = 12;
            textBoxWDetectLocation.Text = "1";
            //
            // groupBoxXOriginalLocation
            //
            groupBoxXOriginalLocation.Controls.Add(textBoxXOriginalLocation);
            groupBoxXOriginalLocation.Dock = DockStyle.Fill;
            groupBoxXOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxXOriginalLocation.ForeColor = Color.White;
            groupBoxXOriginalLocation.Location = new Point(449, 3);
            groupBoxXOriginalLocation.Name = "groupBoxXOriginalLocation";
            groupBoxXOriginalLocation.Size = new Size(122, 39);
            groupBoxXOriginalLocation.TabIndex = 30;
            groupBoxXOriginalLocation.TabStop = false;
            groupBoxXOriginalLocation.Text = "X轴原点位置";
            //
            // textBoxXOriginalLocation
            //
            textBoxXOriginalLocation.Dock = DockStyle.Bottom;
            textBoxXOriginalLocation.Font = new Font("宋体", 10F);
            textBoxXOriginalLocation.Location = new Point(3, 16);
            textBoxXOriginalLocation.Multiline = true;
            textBoxXOriginalLocation.Name = "textBoxXOriginalLocation";
            textBoxXOriginalLocation.Size = new Size(116, 20);
            textBoxXOriginalLocation.TabIndex = 12;
            textBoxXOriginalLocation.Text = "1";
            //
            // groupBoxYOriginalLocation
            //
            groupBoxYOriginalLocation.Controls.Add(textBoxYOriginalLocation);
            groupBoxYOriginalLocation.Dock = DockStyle.Fill;
            groupBoxYOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxYOriginalLocation.ForeColor = Color.White;
            groupBoxYOriginalLocation.Location = new Point(449, 48);
            groupBoxYOriginalLocation.Name = "groupBoxYOriginalLocation";
            groupBoxYOriginalLocation.Size = new Size(122, 39);
            groupBoxYOriginalLocation.TabIndex = 30;
            groupBoxYOriginalLocation.TabStop = false;
            groupBoxYOriginalLocation.Text = "Y轴原点位置";
            //
            // textBoxYOriginalLocation
            //
            textBoxYOriginalLocation.Dock = DockStyle.Bottom;
            textBoxYOriginalLocation.Font = new Font("宋体", 10F);
            textBoxYOriginalLocation.Location = new Point(3, 16);
            textBoxYOriginalLocation.Multiline = true;
            textBoxYOriginalLocation.Name = "textBoxYOriginalLocation";
            textBoxYOriginalLocation.Size = new Size(116, 20);
            textBoxYOriginalLocation.TabIndex = 12;
            textBoxYOriginalLocation.Text = "1";
            //
            // groupBoxZOriginalLocation
            //
            groupBoxZOriginalLocation.Controls.Add(textBoxZOriginalLocation);
            groupBoxZOriginalLocation.Dock = DockStyle.Fill;
            groupBoxZOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxZOriginalLocation.ForeColor = Color.White;
            groupBoxZOriginalLocation.Location = new Point(449, 93);
            groupBoxZOriginalLocation.Name = "groupBoxZOriginalLocation";
            groupBoxZOriginalLocation.Size = new Size(122, 39);
            groupBoxZOriginalLocation.TabIndex = 30;
            groupBoxZOriginalLocation.TabStop = false;
            groupBoxZOriginalLocation.Text = "Z轴原点位置";
            //
            // textBoxZOriginalLocation
            //
            textBoxZOriginalLocation.Dock = DockStyle.Bottom;
            textBoxZOriginalLocation.Font = new Font("宋体", 10F);
            textBoxZOriginalLocation.Location = new Point(3, 16);
            textBoxZOriginalLocation.Multiline = true;
            textBoxZOriginalLocation.Name = "textBoxZOriginalLocation";
            textBoxZOriginalLocation.Size = new Size(116, 20);
            textBoxZOriginalLocation.TabIndex = 12;
            textBoxZOriginalLocation.Text = "1";
            //
            // groupBoxWOriginalLocation
            //
            groupBoxWOriginalLocation.Controls.Add(textBoxWOriginalLocation);
            groupBoxWOriginalLocation.Dock = DockStyle.Fill;
            groupBoxWOriginalLocation.Font = new Font("宋体", 8F);
            groupBoxWOriginalLocation.ForeColor = Color.White;
            groupBoxWOriginalLocation.Location = new Point(449, 138);
            groupBoxWOriginalLocation.Name = "groupBoxWOriginalLocation";
            groupBoxWOriginalLocation.Size = new Size(122, 41);
            groupBoxWOriginalLocation.TabIndex = 30;
            groupBoxWOriginalLocation.TabStop = false;
            groupBoxWOriginalLocation.Text = "W轴原点位置";
            //
            // textBoxWOriginalLocation
            //
            textBoxWOriginalLocation.Dock = DockStyle.Bottom;
            textBoxWOriginalLocation.Font = new Font("宋体", 10F);
            textBoxWOriginalLocation.Location = new Point(3, 18);
            textBoxWOriginalLocation.Multiline = true;
            textBoxWOriginalLocation.Name = "textBoxWOriginalLocation";
            textBoxWOriginalLocation.Size = new Size(116, 20);
            textBoxWOriginalLocation.TabIndex = 12;
            textBoxWOriginalLocation.Text = "1";
            //
            // groupBoxPulseMotionSpeedAddress
            //
            groupBoxPulseMotionSpeedAddress.Controls.Add(textBoxPulseMotionSpeedAddress);
            groupBoxPulseMotionSpeedAddress.Dock = DockStyle.Fill;
            groupBoxPulseMotionSpeedAddress.Font = new Font("宋体", 8F);
            groupBoxPulseMotionSpeedAddress.ForeColor = Color.White;
            groupBoxPulseMotionSpeedAddress.Location = new Point(323, 3);
            groupBoxPulseMotionSpeedAddress.Name = "groupBoxPulseMotionSpeedAddress";
            groupBoxPulseMotionSpeedAddress.Size = new Size(114, 39);
            groupBoxPulseMotionSpeedAddress.TabIndex = 30;
            groupBoxPulseMotionSpeedAddress.TabStop = false;
            groupBoxPulseMotionSpeedAddress.Text = "点速度地址";
            //
            // textBoxPulseMotionSpeedAddress
            //
            textBoxPulseMotionSpeedAddress.Dock = DockStyle.Bottom;
            textBoxPulseMotionSpeedAddress.Font = new Font("宋体", 10F);
            textBoxPulseMotionSpeedAddress.Location = new Point(3, 16);
            textBoxPulseMotionSpeedAddress.Multiline = true;
            textBoxPulseMotionSpeedAddress.Name = "textBoxPulseMotionSpeedAddress";
            textBoxPulseMotionSpeedAddress.Size = new Size(108, 20);
            textBoxPulseMotionSpeedAddress.TabIndex = 12;
            textBoxPulseMotionSpeedAddress.Text = "1";
            //
            // groupBoxAngularVelocityAddress
            //
            groupBoxAngularVelocityAddress.Controls.Add(textBoxAngularVelocityAddress);
            groupBoxAngularVelocityAddress.Dock = DockStyle.Fill;
            groupBoxAngularVelocityAddress.Font = new Font("宋体", 8F);
            groupBoxAngularVelocityAddress.ForeColor = Color.White;
            groupBoxAngularVelocityAddress.Location = new Point(323, 48);
            groupBoxAngularVelocityAddress.Name = "groupBoxAngularVelocityAddress";
            groupBoxAngularVelocityAddress.Size = new Size(114, 39);
            groupBoxAngularVelocityAddress.TabIndex = 30;
            groupBoxAngularVelocityAddress.TabStop = false;
            groupBoxAngularVelocityAddress.Text = "角速度地址";
            //
            // textBoxAngularVelocityAddress
            //
            textBoxAngularVelocityAddress.Dock = DockStyle.Bottom;
            textBoxAngularVelocityAddress.Font = new Font("宋体", 10F);
            textBoxAngularVelocityAddress.Location = new Point(3, 16);
            textBoxAngularVelocityAddress.Multiline = true;
            textBoxAngularVelocityAddress.Name = "textBoxAngularVelocityAddress";
            textBoxAngularVelocityAddress.Size = new Size(108, 20);
            textBoxAngularVelocityAddress.TabIndex = 12;
            textBoxAngularVelocityAddress.Text = "1";
            //
            // MotionControlForm
            // 
            AutoScaleDimensions = new SizeF(120F, 120F);
@@ -1119,11 +1157,17 @@
            Text = "运动控制设置";
            TransparencyKey = Color.Fuchsia;
            uiGroupBoxMotionControl.ResumeLayout(false);
            panel1.ResumeLayout(false);
            tableLayoutPanel3.ResumeLayout(false);
            tableLayoutPanel6.ResumeLayout(false);
            tableLayoutPanel5.ResumeLayout(false);
            tableLayoutPanel4.ResumeLayout(false);
            tableLayoutPanel4.PerformLayout();
            groupBoxPulseMotionSpeedAddress.ResumeLayout(false);
            groupBoxPulseMotionSpeedAddress.PerformLayout();
            groupBoxAngularVelocityAddress.ResumeLayout(false);
            groupBoxAngularVelocityAddress.PerformLayout();
            groupBoxCom.ResumeLayout(false);
            tableLayoutPanel2.ResumeLayout(false);
            groupBoxPitchAnglePosition.ResumeLayout(false);
            groupBoxPitchAnglePosition.PerformLayout();
@@ -1133,6 +1177,30 @@
            groupBoxYPosition.PerformLayout();
            groupBoxXPosition.ResumeLayout(false);
            groupBoxXPosition.PerformLayout();
            groupBoxYVarAddress.ResumeLayout(false);
            groupBoxYVarAddress.PerformLayout();
            groupBoxXVarAddress.ResumeLayout(false);
            groupBoxXVarAddress.PerformLayout();
            groupBoxZVarAddress.ResumeLayout(false);
            groupBoxZVarAddress.PerformLayout();
            groupBoxWVarAddress.ResumeLayout(false);
            groupBoxWVarAddress.PerformLayout();
            groupBoxYDetectLocation.ResumeLayout(false);
            groupBoxYDetectLocation.PerformLayout();
            groupBoxZDetectLocation.ResumeLayout(false);
            groupBoxZDetectLocation.PerformLayout();
            groupBoxWDetectLocation.ResumeLayout(false);
            groupBoxWDetectLocation.PerformLayout();
            groupBoxXDetectLocation.ResumeLayout(false);
            groupBoxXDetectLocation.PerformLayout();
            groupBoxXOriginalLocation.ResumeLayout(false);
            groupBoxXOriginalLocation.PerformLayout();
            groupBoxYOriginalLocation.ResumeLayout(false);
            groupBoxYOriginalLocation.PerformLayout();
            groupBoxZOriginalLocation.ResumeLayout(false);
            groupBoxZOriginalLocation.PerformLayout();
            groupBoxWOriginalLocation.ResumeLayout(false);
            groupBoxWOriginalLocation.PerformLayout();
            tableLayoutPanel1.ResumeLayout(false);
            tableLayoutPanel1.PerformLayout();
            tableLayoutPanel7.ResumeLayout(false);
@@ -1142,35 +1210,6 @@
            ((System.ComponentModel.ISupportInitialize)uiSplitContainer1).EndInit();
            uiSplitContainer1.ResumeLayout(false);
            themeForm1.ResumeLayout(false);
            panel1.ResumeLayout(false);
            groupBoxXVarAddress.ResumeLayout(false);
            groupBoxXVarAddress.PerformLayout();
            groupBoxYVarAddress.ResumeLayout(false);
            groupBoxYVarAddress.PerformLayout();
            groupBoxZVarAddress.ResumeLayout(false);
            groupBoxZVarAddress.PerformLayout();
            groupBoxWVarAddress.ResumeLayout(false);
            groupBoxWVarAddress.PerformLayout();
            groupBoxXDetectLocation.ResumeLayout(false);
            groupBoxXDetectLocation.PerformLayout();
            groupBoxYDetectLocation.ResumeLayout(false);
            groupBoxYDetectLocation.PerformLayout();
            groupBoxZDetectLocation.ResumeLayout(false);
            groupBoxZDetectLocation.PerformLayout();
            groupBoxWDetectLocation.ResumeLayout(false);
            groupBoxWDetectLocation.PerformLayout();
            groupBoxXOriginalLocation.ResumeLayout(false);
            groupBoxXOriginalLocation.PerformLayout();
            groupBoxYOriginalLocation.ResumeLayout(false);
            groupBoxYOriginalLocation.PerformLayout();
            groupBoxZOriginalLocation.ResumeLayout(false);
            groupBoxZOriginalLocation.PerformLayout();
            groupBoxWOriginalLocation.ResumeLayout(false);
            groupBoxWOriginalLocation.PerformLayout();
            groupBoxPulseMotionSpeedAddress.ResumeLayout(false);
            groupBoxPulseMotionSpeedAddress.PerformLayout();
            groupBoxAngularVelocityAddress.ResumeLayout(false);
            groupBoxAngularVelocityAddress.PerformLayout();
            ResumeLayout(false);
        }
@@ -1250,5 +1289,7 @@
        private TextBox textBoxPulseMotionSpeedAddress;
        private GroupBox groupBoxAngularVelocityAddress;
        private TextBox textBoxAngularVelocityAddress;
        private GroupBox groupBoxCom;
        private Sunny.UI.UIComboBox cmbCom;
    }
}
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.cs
@@ -1,6 +1,8 @@
using LB_VisionControl;
using LB_SmartVisionCommon;
using LB_VisionControl;
using LB_VisionProcesses.Cameras;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -12,6 +14,7 @@
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Media.Media3D;
using static ZXing.QrCode.Internal.Mode;
namespace LB_SmartVision.Forms.Pages.MotionControlPage
@@ -20,10 +23,12 @@
    {
        BaseCamera camera { get; set; }
        UserPictureBox onlinePictureBox { get; set; }
        string communicatorsName { get; set; }
        public MotionControlForm()
        {
            InitializeComponent();
        }
        string cameraSN = string.Empty;
        public MotionControlForm(BaseCamera camera)
        {
@@ -35,7 +40,7 @@
            this.camera = camera;
            this.Text = camera.SN;
            textBoxSN.Text = camera.SN;
            cameraSN = camera.SN;
            onlinePictureBox = new UserPictureBox(uiGroupBoxImage);
            this.uiGroupBoxImage.Controls.Clear();
            this.uiGroupBoxImage.Controls.Add(onlinePictureBox);
@@ -43,8 +48,12 @@
            //加载回调函数
            Subscribe();
            foreach (var name in GlobalVar.dicCommunicators.Items.Keys)
            {
                cmbCom.Items.Add(name);
            }
        }
        ConcurrentDictionary<string, RecordMotionControlData> concurrentDictionary = new ConcurrentDictionary<string, RecordMotionControlData>();
        private void CameraForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (camera == null)
@@ -53,7 +62,141 @@
            camera.StopGrabbing();
            camera.StartGrabbing();
            if (GlobalVar.dicMotionControlData.Keys.Contains(GlobalVar.strProductName))
            {
                concurrentDictionary = GlobalVar.dicMotionControlData[GlobalVar.strProductName];
                double xAxisDetectLocationValue, xAxisOriginalLocationValue, yAxisDetectLocationValue, yAxisOriginalLocationValue, zAxisDetectLocationValue, zAxisOriginalLocationValue, wAxisDetectLocationValue, wAxisOriginalLocationValue, pulseMotionSpeedValue, angularVelocityValue;
                xAxisDetectLocationValue = double.Parse(this.textBoxXDetectLocation.Text);
                xAxisOriginalLocationValue = double.Parse(this.textBoxXOriginalLocation.Text);
                yAxisDetectLocationValue = double.Parse(this.textBoxYDetectLocation.Text);
                yAxisOriginalLocationValue = double.Parse(this.textBoxYOriginalLocation.Text);
                zAxisDetectLocationValue = double.Parse(this.textBoxZDetectLocation.Text);
                zAxisOriginalLocationValue = double.Parse(this.textBoxZOriginalLocation.Text);
                wAxisDetectLocationValue = double.Parse(this.textBoxWDetectLocation.Text);
                wAxisOriginalLocationValue = double.Parse(this.textBoxWOriginalLocation.Text);
                pulseMotionSpeedValue = double.Parse(this.textBoxPointSpeed.Text);
                angularVelocityValue = double.Parse(this.textBoxPointSpeed.Text);
                if (concurrentDictionary.Keys.Contains(cameraSN))
                {
                    RecordMotionControlData recordMotionControlData = new RecordMotionControlData
                    {
                        ProductName = GlobalVar.strProductName,
                        CommunicatorsName = communicatorsName,
                        CameraSN = cameraSN,
                        XAxisAddress = this.textBoxXVarAddress.Text,
                        XAxisDetectLocationValue = xAxisDetectLocationValue,
                        XAxisOriginalLocationValue = xAxisOriginalLocationValue,
                        YAxisAddress = this.textBoxYVarAddress.Text,
                        YAxisDetectLocationValue = yAxisDetectLocationValue,
                        YAxisOriginalLocationValue = yAxisOriginalLocationValue,
                        ZAxisAddress = this.textBoxZVarAddress.Text,
                        ZAxisDetectLocationValue = zAxisDetectLocationValue,
                        ZAxisOriginalLocationValue = zAxisOriginalLocationValue,
                        WAxisAddress = this.textBoxWVarAddress.Text,
                        WAxisDetectLocationValue = wAxisDetectLocationValue,
                        WAxisOriginalLocationValue = wAxisOriginalLocationValue,
                        PulseMotionSpeedAddress = this.textBoxPulseMotionSpeedAddress.Text,
                        PulseMotionSpeedValue = pulseMotionSpeedValue,
                        AngularVelocityAddress = this.textBoxAngularVelocityAddress.Text,
                        AngularVelocityValue = angularVelocityValue
                    };
                    concurrentDictionary.TryAdd(cameraSN, recordMotionControlData);
                }
                else
                {
                    RecordMotionControlData recordMotionControlData = new RecordMotionControlData
                    {
                        ProductName = GlobalVar.strProductName,
                        CommunicatorsName = communicatorsName,
                        CameraSN = cameraSN,
                        XAxisAddress = this.textBoxXVarAddress.Text,
                        XAxisDetectLocationValue = xAxisDetectLocationValue,
                        XAxisOriginalLocationValue = xAxisOriginalLocationValue,
                        YAxisAddress = this.textBoxYVarAddress.Text,
                        YAxisDetectLocationValue = yAxisDetectLocationValue,
                        YAxisOriginalLocationValue = yAxisOriginalLocationValue,
                        ZAxisAddress = this.textBoxZVarAddress.Text,
                        ZAxisDetectLocationValue = zAxisDetectLocationValue,
                        ZAxisOriginalLocationValue = zAxisOriginalLocationValue,
                        WAxisAddress = this.textBoxWVarAddress.Text,
                        WAxisDetectLocationValue = wAxisDetectLocationValue,
                        WAxisOriginalLocationValue = wAxisOriginalLocationValue,
                        PulseMotionSpeedAddress = this.textBoxPulseMotionSpeedAddress.Text,
                        PulseMotionSpeedValue = pulseMotionSpeedValue,
                        AngularVelocityAddress = this.textBoxAngularVelocityAddress.Text,
                        AngularVelocityValue = angularVelocityValue
                    };
                    concurrentDictionary.TryAdd(cameraSN, recordMotionControlData);
                }
            }
            else
            {
                double xAxisDetectLocationValue, xAxisOriginalLocationValue, yAxisDetectLocationValue, yAxisOriginalLocationValue, zAxisDetectLocationValue, zAxisOriginalLocationValue, wAxisDetectLocationValue, wAxisOriginalLocationValue, pulseMotionSpeedValue, angularVelocityValue;
                xAxisDetectLocationValue = double.Parse(this.textBoxXDetectLocation.Text);
                xAxisOriginalLocationValue = double.Parse(this.textBoxXOriginalLocation.Text);
                yAxisDetectLocationValue = double.Parse(this.textBoxYDetectLocation.Text);
                yAxisOriginalLocationValue = double.Parse(this.textBoxYOriginalLocation.Text);
                zAxisDetectLocationValue = double.Parse(this.textBoxZDetectLocation.Text);
                zAxisOriginalLocationValue = double.Parse(this.textBoxZOriginalLocation.Text);
                wAxisDetectLocationValue = double.Parse(this.textBoxWDetectLocation.Text);
                wAxisOriginalLocationValue = double.Parse(this.textBoxWOriginalLocation.Text);
                pulseMotionSpeedValue = double.Parse(this.textBoxPointSpeed.Text);
                angularVelocityValue = double.Parse(this.textBoxPointSpeed.Text);
                if (concurrentDictionary.Keys.Contains(cameraSN))
                {
                    RecordMotionControlData recordMotionControlData = new RecordMotionControlData
                    {
                        ProductName = GlobalVar.strProductName,
                        CommunicatorsName = communicatorsName,
                        CameraSN = cameraSN,
                        XAxisAddress = this.textBoxXVarAddress.Text,
                        XAxisDetectLocationValue = xAxisDetectLocationValue,
                        XAxisOriginalLocationValue = xAxisOriginalLocationValue,
                        YAxisAddress = this.textBoxYVarAddress.Text,
                        YAxisDetectLocationValue = yAxisDetectLocationValue,
                        YAxisOriginalLocationValue = yAxisOriginalLocationValue,
                        ZAxisAddress = this.textBoxZVarAddress.Text,
                        ZAxisDetectLocationValue = zAxisDetectLocationValue,
                        ZAxisOriginalLocationValue = zAxisOriginalLocationValue,
                        WAxisAddress = this.textBoxWVarAddress.Text,
                        WAxisDetectLocationValue = wAxisDetectLocationValue,
                        WAxisOriginalLocationValue = wAxisOriginalLocationValue,
                        PulseMotionSpeedAddress = this.textBoxPulseMotionSpeedAddress.Text,
                        PulseMotionSpeedValue = pulseMotionSpeedValue,
                        AngularVelocityAddress = this.textBoxAngularVelocityAddress.Text,
                        AngularVelocityValue = angularVelocityValue
                    };
                    concurrentDictionary.TryAdd(cameraSN, recordMotionControlData);
                }
                else
                {
                    RecordMotionControlData recordMotionControlData = new RecordMotionControlData
                    {
                        ProductName = GlobalVar.strProductName,
                        CommunicatorsName = communicatorsName,
                        CameraSN = cameraSN,
                        XAxisAddress = this.textBoxXVarAddress.Text,
                        XAxisDetectLocationValue = xAxisDetectLocationValue,
                        XAxisOriginalLocationValue = xAxisOriginalLocationValue,
                        YAxisAddress = this.textBoxYVarAddress.Text,
                        YAxisDetectLocationValue = yAxisDetectLocationValue,
                        YAxisOriginalLocationValue = yAxisOriginalLocationValue,
                        ZAxisAddress = this.textBoxZVarAddress.Text,
                        ZAxisDetectLocationValue = zAxisDetectLocationValue,
                        ZAxisOriginalLocationValue = zAxisOriginalLocationValue,
                        WAxisAddress = this.textBoxWVarAddress.Text,
                        WAxisDetectLocationValue = wAxisDetectLocationValue,
                        WAxisOriginalLocationValue = wAxisOriginalLocationValue,
                        PulseMotionSpeedAddress = this.textBoxPulseMotionSpeedAddress.Text,
                        PulseMotionSpeedValue = pulseMotionSpeedValue,
                        AngularVelocityAddress = this.textBoxAngularVelocityAddress.Text,
                        AngularVelocityValue = angularVelocityValue
                    };
                    concurrentDictionary.TryAdd(cameraSN, recordMotionControlData);
                }
            }
            GlobalVar.dicMotionControlData.TryAdd(GlobalVar.strProductName, concurrentDictionary);
            ConfigManager<ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>>.SaveConfig<ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>>(GlobalVar.dicMotionControlData, GlobalVar.allMotionControlDataPath);
            Unsubscribe();
        }
@@ -370,5 +513,10 @@
        {
        }
        private void cmbCom_SelectedIndexChanged(object sender, EventArgs e)
        {
            communicatorsName = cmbCom.Text;
        }
    }
}
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.resx
@@ -121,7 +121,7 @@
  <data name="themeForm1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
        wQAADsEBuJFr7QAAA+JJREFUWEftVkuIHGUQbt34iMEoq2S2q3p3yTJsuqpnJ+L6WBRdwaigohfFgEou
        vwAADr8BOAVTJAAAA+JJREFUWEftVkuIHGUQbt34iMEoq2S2q3p3yTJsuqpnJ+L6WBRdwaigohfFgEou
        BkVBUPCBCEG8BXNQ48GLeImCehIJxMsqhsSZruod46K4HtSIGjU+4iOr0c1I9fSsM3/PLNtCPO0H36m/
        evz/X11VnreKVRTAHPOZumkY6lFwqURws3BwZ8ywTQnuiCP/+iTCzY1qaUPzdm/Atf3PaHre6XPsjyQM
        2xLGV4XwIyX4QRj+UMK/lPFvJTyhBMeV8IgQvmRJuH4Ko+l5p9UjGBbCJ5RxTgj+VMZmXxKcSAjekHE/
LB_SmartVision/Forms/Pages/MotionControlPage/RecordMotionControlData.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,93 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LB_SmartVision.Forms.Pages.MotionControlPage
{
    /// <summary>
    /// è®°å½•运动控制相关参数
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    public class RecordMotionControlData
    {
        /// <summary>
        /// äº§å“åç§°
        /// </summary>
        public required string ProductName { get; set; }
        /// <summary>
        /// é€šè®¯åç§°
        /// </summary>
        public required string CommunicatorsName { get; set; }
        /// <summary>
        /// ç›¸æœºåºåˆ—号
        /// </summary>
        public required string CameraSN { get; set; }
        /// <summary>
        /// Xè½´PLC地址
        /// </summary>
        public required string XAxisAddress { get; set; }
        /// <summary>
        /// Xè½´PLC检测位置值
        /// </summary>
        public required double XAxisDetectLocationValue { get; set; }
        /// <summary>
        /// Xè½´PLC原点位置值
        /// </summary>
        public required double XAxisOriginalLocationValue { get; set; }
        /// <summary>
        /// Yè½´PLC地址
        /// </summary>
        public required string YAxisAddress { get; set; }
        /// <summary>
        /// Yè½´PLC检测位置值
        /// </summary>
        public required double YAxisDetectLocationValue { get; set; }
        /// <summary>
        /// Yè½´PLC原点位置值
        /// </summary>
        public required double YAxisOriginalLocationValue { get; set; }
        /// <summary>
        /// Zè½´PLC地址
        /// </summary>
        public required string ZAxisAddress { get; set; }
        /// <summary>
        /// Zè½´PLC检测位置值
        /// </summary>
        public required double ZAxisDetectLocationValue { get; set; }
        /// <summary>
        /// Zè½´PLC原点位置值
        /// </summary>
        public required double ZAxisOriginalLocationValue { get; set; }
        /// <summary>
        /// Wè½´PLC地址
        /// </summary>
        public required string WAxisAddress { get; set; }
        /// <summary>
        /// Wè½´PLC检测位置值
        /// </summary>
        public required double WAxisDetectLocationValue { get; set; }
        /// <summary>
        /// Wè½´PLC原点位置值
        /// </summary>
        public required double WAxisOriginalLocationValue { get; set; }
        /// <summary>
        /// ç‚¹åŠ¨é€Ÿåº¦åœ°å€
        /// </summary>
        public required string PulseMotionSpeedAddress { get; set; }
        /// <summary>
        /// ç‚¹åŠ¨é€Ÿåº¦å€¼
        /// </summary>
        public required double PulseMotionSpeedValue { get; set; }
        /// <summary>
        /// è§’速度地址
        /// </summary>
        public required string AngularVelocityAddress { get; set; }
        /// <summary>
        /// è§’速度值
        /// </summary>
        public required double AngularVelocityValue { get; set; }
    }
}
LB_SmartVision/GlobalVar.cs
@@ -1,4 +1,5 @@
using LB_SmartVision.Forms.Pages.SettingPage;
using LB_SmartVision.Forms.Pages.MotionControlPage;
using LB_SmartVision.Forms.Pages.SettingPage;
using LB_SmartVision.ProcessRun;
using LB_SmartVision.Tool;
using LB_VisionProcesses.Cameras;
@@ -48,6 +49,14 @@
        public static ConcurrentDictionary<int, ConcurrentDictionary<string, string>> dicProcessSetting { get; set; } = new ConcurrentDictionary<int, ConcurrentDictionary<string, string>>();
        /// <summary>
        /// è¿åŠ¨æŽ§æ•°æ®åˆ¶é›†åˆ Key:产品名称,Value: SN,RecordMotionControlData
        /// </summary>
        public static ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>> dicMotionControlData { get; set; } = new ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>();
        public static string allMotionControlDataPath
            => GlobalVar.strApplicationPath + "\\所有产品\\" + GlobalVar.strProductName + "\\A_MotionControlDatas.json";
        /// <summary>
        /// å¸ƒå±€é›†åˆ
        /// </summary>
        public static ConcurrentDictionary<int, Layout> dicLayout { get; set; } = new ConcurrentDictionary<int, Layout>();
LB_SmartVision/VisionForm.cs
@@ -634,7 +634,15 @@
            {
                LogInfo("全局变量加载失败", LogInfoType.ERROR);
            }
            GlobalVar.dicMotionControlData.Clear();
            if (LoadMotionControlDatas(GlobalVar.allMotionControlDataPath))
            {
                LogInfo("运动控制参数加载成功", LogInfoType.PASS);
            }
            else
            {
                LogInfo("运动控制参数加载失败", LogInfoType.ERROR);
            }
            //加载流程
            GlobalVar.dicProcesses.Clear();
            if (LoadAllProcess(GlobalVar.allProcessConnectionStringPath))
@@ -700,6 +708,54 @@
            SaveAllProcessSetting();
            SaveAllLayout();
            SaveAllCsv();
            SaveMotionControlDatas();
        }
        public bool LoadMotionControlDatas(string alMotionControlDataPath)
        {
            try
            {
                GlobalVar.dicMotionControlData = ConfigManager<ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>>.LoadConfig<ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>>(alMotionControlDataPath);
            }
            catch
            {
                return false;
            }
            return true;
        }
        public bool SaveMotionControlDatas()
        {
            try
            {
                ConcurrentDictionary<string, List<string>> removeCameraSN = new ConcurrentDictionary<string, List<string>>();
                foreach (var item in GlobalVar.dicMotionControlData.Keys)
                {
                    List<string> list = new List<string>();
                    foreach (var itemSN in GlobalVar.dicMotionControlData[item].Keys)
                    {
                        if (!GlobalVar.dicCameras.Keys.Contains(itemSN))
                        {
                            list.Add(itemSN);
                        }
                    }
                    if (list.Count > 0)
                    {
                        removeCameraSN.TryAdd(item, list);
                    }
                }
                foreach (var item in removeCameraSN.Keys)
                {
                    foreach (var itemSN in removeCameraSN[item])
                    {
                        GlobalVar.dicMotionControlData[item].Keys.Remove(itemSN);
                    }
                }
                ConfigManager<ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>>.SaveConfig<ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>>(GlobalVar.dicMotionControlData, GlobalVar.allMotionControlDataPath);
            }
            catch
            {
                return false;
            }
            return true;
        }
        public bool LoadAllCameras(string allCamerasConnectionStringPath)