From 0abfbb5e458b2a2e14631dbf907f4ec96f1a60d4 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周五, 06 12月 2024 16:13:10 +0800
Subject: [PATCH] 22

---
 CC/iWareCC_ASRS/FormCC.Designer.cs | 5387 -----------------------------------------
 CC/iWareCC_ASRS/FormCC.resx        |  261 --
 CC/iWareCC_ASRS/FormCC.cs          | 2125 ----------------
 3 files changed, 62 insertions(+), 7,711 deletions(-)

diff --git a/CC/iWareCC_ASRS/FormCC.Designer.cs b/CC/iWareCC_ASRS/FormCC.Designer.cs
index 4ce7f6d..3ef7ef6 100644
--- a/CC/iWareCC_ASRS/FormCC.Designer.cs
+++ b/CC/iWareCC_ASRS/FormCC.Designer.cs
@@ -28,191 +28,12 @@
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCC));
-            this.tPTransAsrs = new System.Windows.Forms.TabPage();
-            this.btn_1019 = new System.Windows.Forms.Button();
-            this.lbl_RgvCoordinate = new System.Windows.Forms.Label();
-            this.lbl_W_1007_ScanFailACK = new System.Windows.Forms.Label();
-            this.lbl_W_1006_ScanFailACK = new System.Windows.Forms.Label();
-            this.lbl_W_1004_ScanFailACK = new System.Windows.Forms.Label();
-            this.lbl_W_1002_ScanFailACK = new System.Windows.Forms.Label();
-            this.lbl_W_RGV_FinishACK = new System.Windows.Forms.Label();
-            this.lbl_R_RGV_Finish = new System.Windows.Forms.Label();
-            this.button16 = new System.Windows.Forms.Button();
-            this.lbl_RGV_1008_HasCategory_COUNT = new System.Windows.Forms.Label();
-            this.lbl_RGV_1005_HasCategory_COUNT = new System.Windows.Forms.Label();
-            this.lbl_RGV_1003_HasCategory_COUNT = new System.Windows.Forms.Label();
-            this.lbl_RGV_1001_HasCategory_COUNT = new System.Windows.Forms.Label();
-            this.lbl_RGV_1011_HasCategory_COUNT = new System.Windows.Forms.Label();
-            this.lbl_RGV_1020_NoHasCategory_COUNT = new System.Windows.Forms.Label();
-            this.lbl_R_1009_High1 = new System.Windows.Forms.Label();
-            this.lbl_R_1009_High2 = new System.Windows.Forms.Label();
-            this.lbl_R_1009_High3 = new System.Windows.Forms.Label();
-            this.lbl_RGV_1012_HasCategory_COUNT = new System.Windows.Forms.Label();
-            this.tb_Rgv_Alter = new System.Windows.Forms.TextBox();
-            this.label12 = new System.Windows.Forms.Label();
-            this.btn_1040 = new System.Windows.Forms.Button();
-            this.button13 = new System.Windows.Forms.Button();
-            this.button14 = new System.Windows.Forms.Button();
-            this.button15 = new System.Windows.Forms.Button();
-            this.button10 = new System.Windows.Forms.Button();
-            this.button11 = new System.Windows.Forms.Button();
-            this.button12 = new System.Windows.Forms.Button();
-            this.button9 = new System.Windows.Forms.Button();
-            this.button8 = new System.Windows.Forms.Button();
-            this.button6 = new System.Windows.Forms.Button();
-            this.button4 = new System.Windows.Forms.Button();
-            this.button2 = new System.Windows.Forms.Button();
-            this.button1 = new System.Windows.Forms.Button();
-            this.label25 = new System.Windows.Forms.Label();
-            this.label26 = new System.Windows.Forms.Label();
-            this.label29 = new System.Windows.Forms.Label();
-            this.label7 = new System.Windows.Forms.Label();
-            this.label9 = new System.Windows.Forms.Label();
-            this.label11 = new System.Windows.Forms.Label();
-            this.label4 = new System.Windows.Forms.Label();
-            this.label5 = new System.Windows.Forms.Label();
-            this.label6 = new System.Windows.Forms.Label();
-            this.label1 = new System.Windows.Forms.Label();
-            this.btn_1013 = new System.Windows.Forms.Button();
-            this.btn_1009 = new System.Windows.Forms.Button();
-            this.btn_1010 = new System.Windows.Forms.Button();
-            this.btn_1011 = new System.Windows.Forms.Button();
-            this.btn_1012 = new System.Windows.Forms.Button();
-            this.btn_1014 = new System.Windows.Forms.Button();
-            this.btn_1001 = new System.Windows.Forms.Button();
-            this.btn_1002 = new System.Windows.Forms.Button();
-            this.btn_1003 = new System.Windows.Forms.Button();
-            this.btn_1004 = new System.Windows.Forms.Button();
-            this.btn_1005 = new System.Windows.Forms.Button();
-            this.btn_1006 = new System.Windows.Forms.Button();
-            this.btn_1007 = new System.Windows.Forms.Button();
-            this.lbl_SrmConveyorAlarm_2 = new System.Windows.Forms.Label();
-            this.btn_1008 = new System.Windows.Forms.Button();
-            this.btn_1015 = new System.Windows.Forms.Button();
-            this.btn_1030 = new System.Windows.Forms.Button();
-            this.btn_1020 = new System.Windows.Forms.Button();
-            this.label70 = new System.Windows.Forms.Label();
-            this.label57 = new System.Windows.Forms.Label();
-            this.panel14 = new System.Windows.Forms.Panel();
-            this.panel15 = new System.Windows.Forms.Panel();
-            this.lblR_1019_CargoNoScan = new System.Windows.Forms.Label();
-            this.lbl_R_1019_Scan = new System.Windows.Forms.Label();
-            this.lbl_R_1007_Scan = new System.Windows.Forms.Label();
-            this.lbl_R_1006_Scan = new System.Windows.Forms.Label();
-            this.lbl_R_1004_Scan = new System.Windows.Forms.Label();
-            this.lbl_R_1002_Scan = new System.Windows.Forms.Label();
-            this.lbl_R_1015_Scan = new System.Windows.Forms.Label();
-            this.lbl_Rgv_WriteToPlace = new System.Windows.Forms.Label();
-            this.lbl_Rgv_WriteTaskNo = new System.Windows.Forms.Label();
-            this.lbl_Rgv_STP = new System.Windows.Forms.Label();
-            this.lbl_TaskID = new System.Windows.Forms.Label();
-            this.lbl_Shape = new System.Windows.Forms.Label();
-            this.lbl_Destination = new System.Windows.Forms.Label();
-            this.lbl_AlarmCode = new System.Windows.Forms.Label();
-            this.panel16 = new System.Windows.Forms.Panel();
-            this.button21 = new System.Windows.Forms.Button();
-            this.btn_RgvConfirmFinishTask = new System.Windows.Forms.Button();
-            this.button3 = new System.Windows.Forms.Button();
-            this.btn_ResetSTP = new System.Windows.Forms.Button();
-            this.tBSrmTransToPlace = new System.Windows.Forms.TextBox();
-            this.tBSrmTransSouce = new System.Windows.Forms.TextBox();
-            this.lbSrmTransToPlace = new System.Windows.Forms.Label();
-            this.lbSrmTransSoucePlace = new System.Windows.Forms.Label();
-            this.btnSrmTransSend = new System.Windows.Forms.Button();
-            this.tBSrmTransTskId = new System.Windows.Forms.TextBox();
-            this.label58 = new System.Windows.Forms.Label();
-            this.label59 = new System.Windows.Forms.Label();
-            this.lbl_State = new System.Windows.Forms.Label();
-            this.lbl_Model = new System.Windows.Forms.Label();
-            this.lbl_ACK = new System.Windows.Forms.Label();
-            this.lbl_PH_2 = new System.Windows.Forms.Label();
-            this.lbl_PH_1 = new System.Windows.Forms.Label();
-            this.lbl_StationCode = new System.Windows.Forms.Label();
-            this.lbSrmTransState = new System.Windows.Forms.Label();
-            this.tP_Srm = new System.Windows.Forms.TabPage();
-            this.panel_Srm2 = new System.Windows.Forms.Panel();
-            this.btnSMQZYZTG2 = new System.Windows.Forms.Button();
-            this.lbl_R_PickReqForInStore_2 = new System.Windows.Forms.Label();
-            this.lblSrmAlarm2 = new System.Windows.Forms.Label();
-            this.label21 = new System.Windows.Forms.Label();
-            this.lblSrmTaskNo2 = new System.Windows.Forms.Label();
-            this.lbSrmToPlace2 = new System.Windows.Forms.Label();
-            this.lbSrmSourcePlace2 = new System.Windows.Forms.Label();
-            this.lblSrmWorkState2 = new System.Windows.Forms.Label();
-            this.label41 = new System.Windows.Forms.Label();
-            this.btnSrm2Delete = new System.Windows.Forms.Button();
-            this.btnSrm2RlsAlert = new System.Windows.Forms.Button();
-            this.lblSrmWorkMode2 = new System.Windows.Forms.Label();
-            this.label42 = new System.Windows.Forms.Label();
-            this.panel6 = new System.Windows.Forms.Panel();
-            this.panel13 = new System.Windows.Forms.Panel();
-            this.btn_Change2 = new System.Windows.Forms.Button();
-            this.btnSrm2Confirm = new System.Windows.Forms.Button();
-            this.tbSrm2TaskId = new System.Windows.Forms.TextBox();
-            this.label48 = new System.Windows.Forms.Label();
-            this.btnSrm2Move = new System.Windows.Forms.Button();
-            this.btnSrm2Send = new System.Windows.Forms.Button();
-            this.tB_Srm2ToPlace = new System.Windows.Forms.TextBox();
-            this.tB_Srm2SourcePlace = new System.Windows.Forms.TextBox();
-            this.label43 = new System.Windows.Forms.Label();
-            this.btnSrm2EStop = new System.Windows.Forms.Button();
-            this.label44 = new System.Windows.Forms.Label();
-            this.label45 = new System.Windows.Forms.Label();
-            this.lblSrmPosY2 = new System.Windows.Forms.Label();
-            this.lblSrmPosX2 = new System.Windows.Forms.Label();
-            this.label46 = new System.Windows.Forms.Label();
-            this.lbSrm2State = new System.Windows.Forms.Label();
-            this.panel_Srm1 = new System.Windows.Forms.Panel();
-            this.btnSMQZYZTG1 = new System.Windows.Forms.Button();
-            this.lbl_R_PickReqForInStore_1 = new System.Windows.Forms.Label();
-            this.lblSrmAlarm1 = new System.Windows.Forms.Label();
-            this.lb45 = new System.Windows.Forms.Label();
-            this.lblSrmTaskNo1 = new System.Windows.Forms.Label();
-            this.lbSrmToPlace1 = new System.Windows.Forms.Label();
-            this.lbSrmSourcePlace1 = new System.Windows.Forms.Label();
-            this.lblSrmWorkState1 = new System.Windows.Forms.Label();
-            this.label15 = new System.Windows.Forms.Label();
-            this.btnSrm1Delete = new System.Windows.Forms.Button();
-            this.btnSrm1RlsAlert = new System.Windows.Forms.Button();
-            this.lblSrmWorkMode1 = new System.Windows.Forms.Label();
-            this.lbWork = new System.Windows.Forms.Label();
-            this.panel3 = new System.Windows.Forms.Panel();
-            this.panel5 = new System.Windows.Forms.Panel();
-            this.btn_Change1 = new System.Windows.Forms.Button();
-            this.btnSrm1Confirm = new System.Windows.Forms.Button();
-            this.tbSrm1TaskId = new System.Windows.Forms.TextBox();
-            this.label47 = new System.Windows.Forms.Label();
-            this.btnSrm1Move = new System.Windows.Forms.Button();
-            this.btnSrm1Send = new System.Windows.Forms.Button();
-            this.tB_Srm1ToPlace = new System.Windows.Forms.TextBox();
-            this.tB_Srm1SourcePlace = new System.Windows.Forms.TextBox();
-            this.lbToPlaceOrder = new System.Windows.Forms.Label();
-            this.btnSrm1EStop = new System.Windows.Forms.Button();
-            this.lbSourcePlaceOrder = new System.Windows.Forms.Label();
-            this.lbOrderSet = new System.Windows.Forms.Label();
-            this.lblSrmPosY1 = new System.Windows.Forms.Label();
-            this.lblSrmPosX1 = new System.Windows.Forms.Label();
-            this.lbLocation = new System.Windows.Forms.Label();
-            this.lbSrm1State = new System.Windows.Forms.Label();
             this.tabControl1 = new System.Windows.Forms.TabControl();
             this.tPModeChoice = new System.Windows.Forms.TabPage();
             this.panel_Model = new System.Windows.Forms.Panel();
             this.lbl_currHandlerPackageCodeForIssueOutboundTask = new System.Windows.Forms.Label();
             this.lbl_RobotMode = new System.Windows.Forms.Label();
-            this.rBOnlyIn = new System.Windows.Forms.RadioButton();
             this.lbl_IsSimulationPLC = new System.Windows.Forms.Label();
             this.lbl_WCFMsg = new System.Windows.Forms.Label();
             this.rbHand = new System.Windows.Forms.RadioButton();
@@ -252,191 +73,18 @@
             this.ckDeleteData = new System.Windows.Forms.CheckBox();
             this.lbl_Alert_DataProcess_BZ12_IssueTask = new System.Windows.Forms.Label();
             this.ck_DataProcess_BZ12_IssueTask = new System.Windows.Forms.CheckBox();
-            this.lbl_Alert_Srm4ReleaseFinish = new System.Windows.Forms.Label();
-            this.lbl_Alert_Srm4Release = new System.Windows.Forms.Label();
-            this.ckBSrm4Release = new System.Windows.Forms.CheckBox();
-            this.ckBSrm4FinishedHandle = new System.Windows.Forms.CheckBox();
             this.lbl_Alert_DataProcess_BZ21_FinishTask = new System.Windows.Forms.Label();
             this.lbl_Alert_DataProcess_BZ12 = new System.Windows.Forms.Label();
             this.ckBDataProcess_BZ12 = new System.Windows.Forms.CheckBox();
             this.ckBDataProcess_BZ21_FinishTask = new System.Windows.Forms.CheckBox();
             this.lbl_Alert_PushPaperCutToMes = new System.Windows.Forms.Label();
             this.lbl_Alert_DataProcess_BZ12_FinishTask = new System.Windows.Forms.Label();
-            this.lbl_Alter_Srm1ReleaseFinish = new System.Windows.Forms.Label();
-            this.lbl_Alert_RgvRelease = new System.Windows.Forms.Label();
             this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound = new System.Windows.Forms.Label();
             this.lbl_Alert_DataProcess_BZ39_IssueInboundTask = new System.Windows.Forms.Label();
             this.ckB_DataProcess_BZ39_IssueInboundTask = new System.Windows.Forms.CheckBox();
             this.ckB_PushPaperCutToMes = new System.Windows.Forms.CheckBox();
-            this.ckBSrm1FinishedHandle = new System.Windows.Forms.CheckBox();
-            this.ckBRgvRelease = new System.Windows.Forms.CheckBox();
             this.ckBDataProcess_RobotBuffer_ForceOutbound = new System.Windows.Forms.CheckBox();
             this.ckBDataProcess_BZ12_FinishTask = new System.Windows.Forms.CheckBox();
-            this.tabPage1 = new System.Windows.Forms.TabPage();
-            this.panel_Srm4 = new System.Windows.Forms.Panel();
-            this.btnSMQZYZTG4 = new System.Windows.Forms.Button();
-            this.lbl_R_PickReqForInStore_4 = new System.Windows.Forms.Label();
-            this.lblSrmAlarm4 = new System.Windows.Forms.Label();
-            this.label2 = new System.Windows.Forms.Label();
-            this.lblSrmTaskNo4 = new System.Windows.Forms.Label();
-            this.lbSrmToPlace4 = new System.Windows.Forms.Label();
-            this.lbSrmSourcePlace4 = new System.Windows.Forms.Label();
-            this.lblSrmWorkState4 = new System.Windows.Forms.Label();
-            this.label8 = new System.Windows.Forms.Label();
-            this.btnSrm4Delete = new System.Windows.Forms.Button();
-            this.btnSrm4RlsAlert = new System.Windows.Forms.Button();
-            this.lblSrmWorkMode4 = new System.Windows.Forms.Label();
-            this.label10 = new System.Windows.Forms.Label();
-            this.panel10 = new System.Windows.Forms.Panel();
-            this.panel11 = new System.Windows.Forms.Panel();
-            this.btn_Change4 = new System.Windows.Forms.Button();
-            this.btnSrm4Confirm = new System.Windows.Forms.Button();
-            this.tbSrm4TaskId = new System.Windows.Forms.TextBox();
-            this.label13 = new System.Windows.Forms.Label();
-            this.btnSrm4Move = new System.Windows.Forms.Button();
-            this.btnSrm4Send = new System.Windows.Forms.Button();
-            this.tB_Srm4ToPlace = new System.Windows.Forms.TextBox();
-            this.tB_Srm4SourcePlace = new System.Windows.Forms.TextBox();
-            this.label14 = new System.Windows.Forms.Label();
-            this.btn_Srm4EStop = new System.Windows.Forms.Button();
-            this.label17 = new System.Windows.Forms.Label();
-            this.label19 = new System.Windows.Forms.Label();
-            this.lblSrmPosY4 = new System.Windows.Forms.Label();
-            this.lblSrmPosX4 = new System.Windows.Forms.Label();
-            this.label27 = new System.Windows.Forms.Label();
-            this.label28 = new System.Windows.Forms.Label();
-            this.panel_Srm3 = new System.Windows.Forms.Panel();
-            this.btnSMQZYZTG3 = new System.Windows.Forms.Button();
-            this.lbl_R_PickReqForInStore_3 = new System.Windows.Forms.Label();
-            this.lblSrmAlarm3 = new System.Windows.Forms.Label();
-            this.label32 = new System.Windows.Forms.Label();
-            this.lblSrmTaskNo3 = new System.Windows.Forms.Label();
-            this.lbSrmToPlace3 = new System.Windows.Forms.Label();
-            this.lbSrmSourcePlace3 = new System.Windows.Forms.Label();
-            this.lblSrmWorkState3 = new System.Windows.Forms.Label();
-            this.label37 = new System.Windows.Forms.Label();
-            this.btnSrm3Delete = new System.Windows.Forms.Button();
-            this.btnSrm3RlsAlert = new System.Windows.Forms.Button();
-            this.lblSrmWorkMode3 = new System.Windows.Forms.Label();
-            this.label39 = new System.Windows.Forms.Label();
-            this.panel17 = new System.Windows.Forms.Panel();
-            this.panel18 = new System.Windows.Forms.Panel();
-            this.btn_Change3 = new System.Windows.Forms.Button();
-            this.btnSrm3Confirm = new System.Windows.Forms.Button();
-            this.tbSrm3TaskId = new System.Windows.Forms.TextBox();
-            this.label40 = new System.Windows.Forms.Label();
-            this.btnSrm3Move = new System.Windows.Forms.Button();
-            this.btnSrm3Send = new System.Windows.Forms.Button();
-            this.tB_Srm3ToPlace = new System.Windows.Forms.TextBox();
-            this.tB_Srm3SourcePlace = new System.Windows.Forms.TextBox();
-            this.label49 = new System.Windows.Forms.Label();
-            this.btn_Srm3EStop = new System.Windows.Forms.Button();
-            this.label51 = new System.Windows.Forms.Label();
-            this.label53 = new System.Windows.Forms.Label();
-            this.lblSrmPosY3 = new System.Windows.Forms.Label();
-            this.lblSrmPosX3 = new System.Windows.Forms.Label();
-            this.label60 = new System.Windows.Forms.Label();
-            this.label61 = new System.Windows.Forms.Label();
-            this.tp_DeviceTask = new System.Windows.Forms.TabPage();
-            this.panel_DeviceTaskList = new System.Windows.Forms.Panel();
-            this.btnDeleteTask = new System.Windows.Forms.Button();
-            this.btnFind = new System.Windows.Forms.Button();
-            this.dgvPartTask = new System.Windows.Forms.DataGridView();
-            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.taskno = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.eqname = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.nexthandel = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ishandled = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.taskcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.sourceplace = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.toplace = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.containername = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.filereason = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.isreleased = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.isfinished = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.iscurrent = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.maintaskid = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.label3 = new System.Windows.Forms.Label();
-            this.btnFinish = new System.Windows.Forms.Button();
-            this.btnDelete = new System.Windows.Forms.Button();
-            this.tb_AllowSimulateExecute_Rmark = new System.Windows.Forms.TextBox();
-            this.btnReset = new System.Windows.Forms.Button();
-            this.tabPage4 = new System.Windows.Forms.TabPage();
-            this.panel_DeviceTaskList_dgvPartTask_Finished = new System.Windows.Forms.Panel();
-            this.tb_query_Salver = new System.Windows.Forms.TextBox();
-            this.label20 = new System.Windows.Forms.Label();
-            this.tb_Query_PlcTaskNo = new System.Windows.Forms.TextBox();
-            this.label18 = new System.Windows.Forms.Label();
-            this.button17 = new System.Windows.Forms.Button();
-            this.dgvPartTask_Finished = new System.Windows.Forms.DataGridView();
-            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.tab_OutTaskList = new System.Windows.Forms.TabPage();
-            this.panel_dataGridView__OutTaskList = new System.Windows.Forms.Panel();
-            this.dataGridView__OutTaskList = new System.Windows.Forms.DataGridView();
-            this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn36 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.button18 = new System.Windows.Forms.Button();
-            this.tab_WaitPlanDetail = new System.Windows.Forms.TabPage();
-            this.panel_WaitPlanDetail = new System.Windows.Forms.Panel();
-            this.btn_WaitPlanDetail = new System.Windows.Forms.Button();
-            this.dataGridView_WaitPlanDetail = new System.Windows.Forms.DataGridView();
-            this.dataGridViewTextBoxColumn35 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn48 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn49 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn51 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.panel_DeviceTaskList_dataGridView_RgvStore = new System.Windows.Forms.TabPage();
-            this.button7 = new System.Windows.Forms.Button();
-            this.dataGridView_RgvStore = new System.Windows.Forms.DataGridView();
-            this.RgvStationCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Qty = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.InStoreTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.tabPage3 = new System.Windows.Forms.TabPage();
             this.button25 = new System.Windows.Forms.Button();
             this.button24 = new System.Windows.Forms.Button();
@@ -454,2336 +102,21 @@
             this.dateTimePicker_Start = new System.Windows.Forms.DateTimePicker();
             this.btn_TongJi = new System.Windows.Forms.Button();
             this.button5 = new System.Windows.Forms.Button();
-            this.tabPage_OutTaskRetryToMes = new System.Windows.Forms.TabPage();
-            this.panel_dg_OutTaskRetryToMes = new System.Windows.Forms.Panel();
-            this.button19 = new System.Windows.Forms.Button();
-            this.dg_OutTaskRetryToMes = new System.Windows.Forms.DataGridView();
-            this.MesId = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn52 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn53 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn54 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn55 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn56 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn57 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn58 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn59 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn60 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn61 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn62 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dataGridViewTextBoxColumn63 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.btn_Find_OutTaskRetryToMes = new System.Windows.Forms.Button();
-            this.tPTransAsrs.SuspendLayout();
-            this.panel14.SuspendLayout();
-            this.panel15.SuspendLayout();
-            this.panel16.SuspendLayout();
-            this.tP_Srm.SuspendLayout();
-            this.panel_Srm2.SuspendLayout();
-            this.panel6.SuspendLayout();
-            this.panel13.SuspendLayout();
-            this.panel_Srm1.SuspendLayout();
-            this.panel3.SuspendLayout();
-            this.panel5.SuspendLayout();
             this.tabControl1.SuspendLayout();
             this.tPModeChoice.SuspendLayout();
             this.panel_Model.SuspendLayout();
             this.tp_Thread.SuspendLayout();
             this.gBoxThread.SuspendLayout();
             this.groupBox1.SuspendLayout();
-            this.tabPage1.SuspendLayout();
-            this.panel_Srm4.SuspendLayout();
-            this.panel10.SuspendLayout();
-            this.panel11.SuspendLayout();
-            this.panel_Srm3.SuspendLayout();
-            this.panel17.SuspendLayout();
-            this.panel18.SuspendLayout();
-            this.tp_DeviceTask.SuspendLayout();
-            this.panel_DeviceTaskList.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPartTask)).BeginInit();
-            this.tabPage4.SuspendLayout();
-            this.panel_DeviceTaskList_dgvPartTask_Finished.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPartTask_Finished)).BeginInit();
-            this.tab_OutTaskList.SuspendLayout();
-            this.panel_dataGridView__OutTaskList.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView__OutTaskList)).BeginInit();
-            this.tab_WaitPlanDetail.SuspendLayout();
-            this.panel_WaitPlanDetail.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_WaitPlanDetail)).BeginInit();
-            this.panel_DeviceTaskList_dataGridView_RgvStore.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_RgvStore)).BeginInit();
             this.tabPage3.SuspendLayout();
-            this.tabPage_OutTaskRetryToMes.SuspendLayout();
-            this.panel_dg_OutTaskRetryToMes.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dg_OutTaskRetryToMes)).BeginInit();
             this.SuspendLayout();
-            // 
-            // tPTransAsrs
-            // 
-            this.tPTransAsrs.Controls.Add(this.btn_1019);
-            this.tPTransAsrs.Controls.Add(this.lbl_RgvCoordinate);
-            this.tPTransAsrs.Controls.Add(this.lbl_W_1007_ScanFailACK);
-            this.tPTransAsrs.Controls.Add(this.lbl_W_1006_ScanFailACK);
-            this.tPTransAsrs.Controls.Add(this.lbl_W_1004_ScanFailACK);
-            this.tPTransAsrs.Controls.Add(this.lbl_W_1002_ScanFailACK);
-            this.tPTransAsrs.Controls.Add(this.lbl_W_RGV_FinishACK);
-            this.tPTransAsrs.Controls.Add(this.lbl_R_RGV_Finish);
-            this.tPTransAsrs.Controls.Add(this.button16);
-            this.tPTransAsrs.Controls.Add(this.lbl_RGV_1008_HasCategory_COUNT);
-            this.tPTransAsrs.Controls.Add(this.lbl_RGV_1005_HasCategory_COUNT);
-            this.tPTransAsrs.Controls.Add(this.lbl_RGV_1003_HasCategory_COUNT);
-            this.tPTransAsrs.Controls.Add(this.lbl_RGV_1001_HasCategory_COUNT);
-            this.tPTransAsrs.Controls.Add(this.lbl_RGV_1011_HasCategory_COUNT);
-            this.tPTransAsrs.Controls.Add(this.lbl_RGV_1020_NoHasCategory_COUNT);
-            this.tPTransAsrs.Controls.Add(this.lbl_R_1009_High1);
-            this.tPTransAsrs.Controls.Add(this.lbl_R_1009_High2);
-            this.tPTransAsrs.Controls.Add(this.lbl_R_1009_High3);
-            this.tPTransAsrs.Controls.Add(this.lbl_RGV_1012_HasCategory_COUNT);
-            this.tPTransAsrs.Controls.Add(this.tb_Rgv_Alter);
-            this.tPTransAsrs.Controls.Add(this.label12);
-            this.tPTransAsrs.Controls.Add(this.btn_1040);
-            this.tPTransAsrs.Controls.Add(this.button13);
-            this.tPTransAsrs.Controls.Add(this.button14);
-            this.tPTransAsrs.Controls.Add(this.button15);
-            this.tPTransAsrs.Controls.Add(this.button10);
-            this.tPTransAsrs.Controls.Add(this.button11);
-            this.tPTransAsrs.Controls.Add(this.button12);
-            this.tPTransAsrs.Controls.Add(this.button9);
-            this.tPTransAsrs.Controls.Add(this.button8);
-            this.tPTransAsrs.Controls.Add(this.button6);
-            this.tPTransAsrs.Controls.Add(this.button4);
-            this.tPTransAsrs.Controls.Add(this.button2);
-            this.tPTransAsrs.Controls.Add(this.button1);
-            this.tPTransAsrs.Controls.Add(this.label25);
-            this.tPTransAsrs.Controls.Add(this.label26);
-            this.tPTransAsrs.Controls.Add(this.label29);
-            this.tPTransAsrs.Controls.Add(this.label7);
-            this.tPTransAsrs.Controls.Add(this.label9);
-            this.tPTransAsrs.Controls.Add(this.label11);
-            this.tPTransAsrs.Controls.Add(this.label4);
-            this.tPTransAsrs.Controls.Add(this.label5);
-            this.tPTransAsrs.Controls.Add(this.label6);
-            this.tPTransAsrs.Controls.Add(this.label1);
-            this.tPTransAsrs.Controls.Add(this.btn_1013);
-            this.tPTransAsrs.Controls.Add(this.btn_1009);
-            this.tPTransAsrs.Controls.Add(this.btn_1010);
-            this.tPTransAsrs.Controls.Add(this.btn_1011);
-            this.tPTransAsrs.Controls.Add(this.btn_1012);
-            this.tPTransAsrs.Controls.Add(this.btn_1014);
-            this.tPTransAsrs.Controls.Add(this.btn_1001);
-            this.tPTransAsrs.Controls.Add(this.btn_1002);
-            this.tPTransAsrs.Controls.Add(this.btn_1003);
-            this.tPTransAsrs.Controls.Add(this.btn_1004);
-            this.tPTransAsrs.Controls.Add(this.btn_1005);
-            this.tPTransAsrs.Controls.Add(this.btn_1006);
-            this.tPTransAsrs.Controls.Add(this.btn_1007);
-            this.tPTransAsrs.Controls.Add(this.lbl_SrmConveyorAlarm_2);
-            this.tPTransAsrs.Controls.Add(this.btn_1008);
-            this.tPTransAsrs.Controls.Add(this.btn_1015);
-            this.tPTransAsrs.Controls.Add(this.btn_1030);
-            this.tPTransAsrs.Controls.Add(this.btn_1020);
-            this.tPTransAsrs.Controls.Add(this.label70);
-            this.tPTransAsrs.Controls.Add(this.label57);
-            this.tPTransAsrs.Controls.Add(this.panel14);
-            this.tPTransAsrs.Location = new System.Drawing.Point(4, 28);
-            this.tPTransAsrs.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tPTransAsrs.Name = "tPTransAsrs";
-            this.tPTransAsrs.Size = new System.Drawing.Size(1539, 898);
-            this.tPTransAsrs.TabIndex = 3;
-            this.tPTransAsrs.Text = "Rgv&输送线";
-            this.tPTransAsrs.UseVisualStyleBackColor = true;
-            this.tPTransAsrs.Click += new System.EventHandler(this.tPTransAsrs_Click);
-            // 
-            // btn_1019
-            // 
-            this.btn_1019.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1019.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1019.ForeColor = System.Drawing.Color.White;
-            this.btn_1019.Location = new System.Drawing.Point(732, 649);
-            this.btn_1019.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1019.Name = "btn_1019";
-            this.btn_1019.Size = new System.Drawing.Size(109, 54);
-            this.btn_1019.TabIndex = 155;
-            this.btn_1019.Text = "1019";
-            this.btn_1019.UseVisualStyleBackColor = false;
-            this.btn_1019.Click += new System.EventHandler(this.btn_1019_Click);
-            // 
-            // lbl_RgvCoordinate
-            // 
-            this.lbl_RgvCoordinate.AutoSize = true;
-            this.lbl_RgvCoordinate.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RgvCoordinate.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RgvCoordinate.Location = new System.Drawing.Point(467, 114);
-            this.lbl_RgvCoordinate.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RgvCoordinate.Name = "lbl_RgvCoordinate";
-            this.lbl_RgvCoordinate.Size = new System.Drawing.Size(123, 24);
-            this.lbl_RgvCoordinate.TabIndex = 154;
-            this.lbl_RgvCoordinate.Text = "RGV实时坐标:";
-            this.lbl_RgvCoordinate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_W_1007_ScanFailACK
-            // 
-            this.lbl_W_1007_ScanFailACK.AutoSize = true;
-            this.lbl_W_1007_ScanFailACK.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_W_1007_ScanFailACK.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_W_1007_ScanFailACK.Location = new System.Drawing.Point(904, 682);
-            this.lbl_W_1007_ScanFailACK.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_W_1007_ScanFailACK.Name = "lbl_W_1007_ScanFailACK";
-            this.lbl_W_1007_ScanFailACK.Size = new System.Drawing.Size(130, 24);
-            this.lbl_W_1007_ScanFailACK.TabIndex = 153;
-            this.lbl_W_1007_ScanFailACK.Text = "1007扫描验证:";
-            this.lbl_W_1007_ScanFailACK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_W_1006_ScanFailACK
-            // 
-            this.lbl_W_1006_ScanFailACK.AutoSize = true;
-            this.lbl_W_1006_ScanFailACK.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_W_1006_ScanFailACK.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_W_1006_ScanFailACK.Location = new System.Drawing.Point(904, 650);
-            this.lbl_W_1006_ScanFailACK.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_W_1006_ScanFailACK.Name = "lbl_W_1006_ScanFailACK";
-            this.lbl_W_1006_ScanFailACK.Size = new System.Drawing.Size(130, 24);
-            this.lbl_W_1006_ScanFailACK.TabIndex = 152;
-            this.lbl_W_1006_ScanFailACK.Text = "1006扫描验证:";
-            this.lbl_W_1006_ScanFailACK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_W_1004_ScanFailACK
-            // 
-            this.lbl_W_1004_ScanFailACK.AutoSize = true;
-            this.lbl_W_1004_ScanFailACK.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_W_1004_ScanFailACK.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_W_1004_ScanFailACK.Location = new System.Drawing.Point(905, 620);
-            this.lbl_W_1004_ScanFailACK.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_W_1004_ScanFailACK.Name = "lbl_W_1004_ScanFailACK";
-            this.lbl_W_1004_ScanFailACK.Size = new System.Drawing.Size(130, 24);
-            this.lbl_W_1004_ScanFailACK.TabIndex = 151;
-            this.lbl_W_1004_ScanFailACK.Text = "1004扫描验证:";
-            this.lbl_W_1004_ScanFailACK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_W_1002_ScanFailACK
-            // 
-            this.lbl_W_1002_ScanFailACK.AutoSize = true;
-            this.lbl_W_1002_ScanFailACK.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_W_1002_ScanFailACK.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_W_1002_ScanFailACK.Location = new System.Drawing.Point(905, 590);
-            this.lbl_W_1002_ScanFailACK.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_W_1002_ScanFailACK.Name = "lbl_W_1002_ScanFailACK";
-            this.lbl_W_1002_ScanFailACK.Size = new System.Drawing.Size(130, 24);
-            this.lbl_W_1002_ScanFailACK.TabIndex = 150;
-            this.lbl_W_1002_ScanFailACK.Text = "1002扫描验证:";
-            this.lbl_W_1002_ScanFailACK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_W_RGV_FinishACK
-            // 
-            this.lbl_W_RGV_FinishACK.AutoSize = true;
-            this.lbl_W_RGV_FinishACK.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_W_RGV_FinishACK.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_W_RGV_FinishACK.Location = new System.Drawing.Point(883, 242);
-            this.lbl_W_RGV_FinishACK.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_W_RGV_FinishACK.Name = "lbl_W_RGV_FinishACK";
-            this.lbl_W_RGV_FinishACK.Size = new System.Drawing.Size(159, 24);
-            this.lbl_W_RGV_FinishACK.TabIndex = 149;
-            this.lbl_W_RGV_FinishACK.Text = "RGV任务完成确认:";
-            this.lbl_W_RGV_FinishACK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_RGV_Finish
-            // 
-            this.lbl_R_RGV_Finish.AutoSize = true;
-            this.lbl_R_RGV_Finish.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_RGV_Finish.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_R_RGV_Finish.Location = new System.Drawing.Point(883, 211);
-            this.lbl_R_RGV_Finish.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_RGV_Finish.Name = "lbl_R_RGV_Finish";
-            this.lbl_R_RGV_Finish.Size = new System.Drawing.Size(123, 24);
-            this.lbl_R_RGV_Finish.TabIndex = 148;
-            this.lbl_R_RGV_Finish.Text = "RGV任务完成:";
-            this.lbl_R_RGV_Finish.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // button16
-            // 
-            this.button16.BackColor = System.Drawing.Color.DarkOrange;
-            this.button16.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button16.ForeColor = System.Drawing.Color.White;
-            this.button16.Location = new System.Drawing.Point(736, 272);
-            this.button16.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button16.Name = "button16";
-            this.button16.Size = new System.Drawing.Size(403, 12);
-            this.button16.TabIndex = 147;
-            this.button16.UseVisualStyleBackColor = false;
-            // 
-            // lbl_RGV_1008_HasCategory_COUNT
-            // 
-            this.lbl_RGV_1008_HasCategory_COUNT.AutoSize = true;
-            this.lbl_RGV_1008_HasCategory_COUNT.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RGV_1008_HasCategory_COUNT.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RGV_1008_HasCategory_COUNT.Location = new System.Drawing.Point(905, 526);
-            this.lbl_RGV_1008_HasCategory_COUNT.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RGV_1008_HasCategory_COUNT.Name = "lbl_RGV_1008_HasCategory_COUNT";
-            this.lbl_RGV_1008_HasCategory_COUNT.Size = new System.Drawing.Size(202, 24);
-            this.lbl_RGV_1008_HasCategory_COUNT.TabIndex = 146;
-            this.lbl_RGV_1008_HasCategory_COUNT.Text = "1008站点持续有货时间:";
-            this.lbl_RGV_1008_HasCategory_COUNT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_RGV_1005_HasCategory_COUNT
-            // 
-            this.lbl_RGV_1005_HasCategory_COUNT.AutoSize = true;
-            this.lbl_RGV_1005_HasCategory_COUNT.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RGV_1005_HasCategory_COUNT.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RGV_1005_HasCategory_COUNT.Location = new System.Drawing.Point(905, 500);
-            this.lbl_RGV_1005_HasCategory_COUNT.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RGV_1005_HasCategory_COUNT.Name = "lbl_RGV_1005_HasCategory_COUNT";
-            this.lbl_RGV_1005_HasCategory_COUNT.Size = new System.Drawing.Size(202, 24);
-            this.lbl_RGV_1005_HasCategory_COUNT.TabIndex = 145;
-            this.lbl_RGV_1005_HasCategory_COUNT.Text = "1005站点持续有货时间:";
-            this.lbl_RGV_1005_HasCategory_COUNT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_RGV_1003_HasCategory_COUNT
-            // 
-            this.lbl_RGV_1003_HasCategory_COUNT.AutoSize = true;
-            this.lbl_RGV_1003_HasCategory_COUNT.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RGV_1003_HasCategory_COUNT.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RGV_1003_HasCategory_COUNT.Location = new System.Drawing.Point(905, 472);
-            this.lbl_RGV_1003_HasCategory_COUNT.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RGV_1003_HasCategory_COUNT.Name = "lbl_RGV_1003_HasCategory_COUNT";
-            this.lbl_RGV_1003_HasCategory_COUNT.Size = new System.Drawing.Size(202, 24);
-            this.lbl_RGV_1003_HasCategory_COUNT.TabIndex = 144;
-            this.lbl_RGV_1003_HasCategory_COUNT.Text = "1003站点持续有货时间:";
-            this.lbl_RGV_1003_HasCategory_COUNT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_RGV_1001_HasCategory_COUNT
-            // 
-            this.lbl_RGV_1001_HasCategory_COUNT.AutoSize = true;
-            this.lbl_RGV_1001_HasCategory_COUNT.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RGV_1001_HasCategory_COUNT.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RGV_1001_HasCategory_COUNT.Location = new System.Drawing.Point(905, 446);
-            this.lbl_RGV_1001_HasCategory_COUNT.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RGV_1001_HasCategory_COUNT.Name = "lbl_RGV_1001_HasCategory_COUNT";
-            this.lbl_RGV_1001_HasCategory_COUNT.Size = new System.Drawing.Size(202, 24);
-            this.lbl_RGV_1001_HasCategory_COUNT.TabIndex = 143;
-            this.lbl_RGV_1001_HasCategory_COUNT.Text = "1001站点持续有货时间:";
-            this.lbl_RGV_1001_HasCategory_COUNT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_RGV_1011_HasCategory_COUNT
-            // 
-            this.lbl_RGV_1011_HasCategory_COUNT.AutoSize = true;
-            this.lbl_RGV_1011_HasCategory_COUNT.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RGV_1011_HasCategory_COUNT.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RGV_1011_HasCategory_COUNT.Location = new System.Drawing.Point(905, 418);
-            this.lbl_RGV_1011_HasCategory_COUNT.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RGV_1011_HasCategory_COUNT.Name = "lbl_RGV_1011_HasCategory_COUNT";
-            this.lbl_RGV_1011_HasCategory_COUNT.Size = new System.Drawing.Size(202, 24);
-            this.lbl_RGV_1011_HasCategory_COUNT.TabIndex = 142;
-            this.lbl_RGV_1011_HasCategory_COUNT.Text = "1011站点持续有货时间:";
-            this.lbl_RGV_1011_HasCategory_COUNT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_RGV_1020_NoHasCategory_COUNT
-            // 
-            this.lbl_RGV_1020_NoHasCategory_COUNT.AutoSize = true;
-            this.lbl_RGV_1020_NoHasCategory_COUNT.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RGV_1020_NoHasCategory_COUNT.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RGV_1020_NoHasCategory_COUNT.Location = new System.Drawing.Point(905, 390);
-            this.lbl_RGV_1020_NoHasCategory_COUNT.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RGV_1020_NoHasCategory_COUNT.Name = "lbl_RGV_1020_NoHasCategory_COUNT";
-            this.lbl_RGV_1020_NoHasCategory_COUNT.Size = new System.Drawing.Size(202, 24);
-            this.lbl_RGV_1020_NoHasCategory_COUNT.TabIndex = 141;
-            this.lbl_RGV_1020_NoHasCategory_COUNT.Text = "1020站点持续无货时间:";
-            this.lbl_RGV_1020_NoHasCategory_COUNT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1009_High1
-            // 
-            this.lbl_R_1009_High1.AutoSize = true;
-            this.lbl_R_1009_High1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1009_High1.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_R_1009_High1.Location = new System.Drawing.Point(467, 70);
-            this.lbl_R_1009_High1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1009_High1.Name = "lbl_R_1009_High1";
-            this.lbl_R_1009_High1.Size = new System.Drawing.Size(159, 24);
-            this.lbl_R_1009_High1.TabIndex = 140;
-            this.lbl_R_1009_High1.Text = "1009站点1层光电:";
-            this.lbl_R_1009_High1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1009_High2
-            // 
-            this.lbl_R_1009_High2.AutoSize = true;
-            this.lbl_R_1009_High2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1009_High2.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_R_1009_High2.Location = new System.Drawing.Point(467, 38);
-            this.lbl_R_1009_High2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1009_High2.Name = "lbl_R_1009_High2";
-            this.lbl_R_1009_High2.Size = new System.Drawing.Size(159, 24);
-            this.lbl_R_1009_High2.TabIndex = 139;
-            this.lbl_R_1009_High2.Text = "1009站点2层光电:";
-            this.lbl_R_1009_High2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1009_High3
-            // 
-            this.lbl_R_1009_High3.AutoSize = true;
-            this.lbl_R_1009_High3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1009_High3.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_R_1009_High3.Location = new System.Drawing.Point(467, 8);
-            this.lbl_R_1009_High3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1009_High3.Name = "lbl_R_1009_High3";
-            this.lbl_R_1009_High3.Size = new System.Drawing.Size(159, 24);
-            this.lbl_R_1009_High3.TabIndex = 138;
-            this.lbl_R_1009_High3.Text = "1009站点3层光电:";
-            this.lbl_R_1009_High3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_RGV_1012_HasCategory_COUNT
-            // 
-            this.lbl_RGV_1012_HasCategory_COUNT.AutoSize = true;
-            this.lbl_RGV_1012_HasCategory_COUNT.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_RGV_1012_HasCategory_COUNT.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lbl_RGV_1012_HasCategory_COUNT.Location = new System.Drawing.Point(905, 362);
-            this.lbl_RGV_1012_HasCategory_COUNT.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_RGV_1012_HasCategory_COUNT.Name = "lbl_RGV_1012_HasCategory_COUNT";
-            this.lbl_RGV_1012_HasCategory_COUNT.Size = new System.Drawing.Size(202, 24);
-            this.lbl_RGV_1012_HasCategory_COUNT.TabIndex = 137;
-            this.lbl_RGV_1012_HasCategory_COUNT.Text = "1012站点持续有货时间:";
-            this.lbl_RGV_1012_HasCategory_COUNT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // tb_Rgv_Alter
-            // 
-            this.tb_Rgv_Alter.ForeColor = System.Drawing.Color.Red;
-            this.tb_Rgv_Alter.Location = new System.Drawing.Point(876, 40);
-            this.tb_Rgv_Alter.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tb_Rgv_Alter.Multiline = true;
-            this.tb_Rgv_Alter.Name = "tb_Rgv_Alter";
-            this.tb_Rgv_Alter.Size = new System.Drawing.Size(231, 146);
-            this.tb_Rgv_Alter.TabIndex = 136;
-            // 
-            // label12
-            // 
-            this.label12.AutoSize = true;
-            this.label12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label12.ForeColor = System.Drawing.Color.SkyBlue;
-            this.label12.Location = new System.Drawing.Point(872, 12);
-            this.label12.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.label12.Name = "label12";
-            this.label12.Size = new System.Drawing.Size(123, 24);
-            this.label12.TabIndex = 134;
-            this.label12.Text = "RGV故障信息:";
-            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btn_1040
-            // 
-            this.btn_1040.BackColor = System.Drawing.Color.Gold;
-            this.btn_1040.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1040.ForeColor = System.Drawing.Color.White;
-            this.btn_1040.Location = new System.Drawing.Point(603, 528);
-            this.btn_1040.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1040.Name = "btn_1040";
-            this.btn_1040.Size = new System.Drawing.Size(121, 78);
-            this.btn_1040.TabIndex = 133;
-            this.btn_1040.Text = "RGV1040";
-            this.btn_1040.UseVisualStyleBackColor = false;
-            this.btn_1040.Click += new System.EventHandler(this.btn_RGV_Click);
-            // 
-            // button13
-            // 
-            this.button13.BackColor = System.Drawing.Color.DarkOrange;
-            this.button13.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button13.ForeColor = System.Drawing.Color.White;
-            this.button13.Location = new System.Drawing.Point(636, 162);
-            this.button13.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button13.Name = "button13";
-            this.button13.Size = new System.Drawing.Size(53, 10);
-            this.button13.TabIndex = 132;
-            this.button13.UseVisualStyleBackColor = false;
-            // 
-            // button14
-            // 
-            this.button14.BackColor = System.Drawing.Color.DarkOrange;
-            this.button14.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button14.ForeColor = System.Drawing.Color.White;
-            this.button14.Location = new System.Drawing.Point(636, 232);
-            this.button14.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button14.Name = "button14";
-            this.button14.Size = new System.Drawing.Size(53, 12);
-            this.button14.TabIndex = 131;
-            this.button14.UseVisualStyleBackColor = false;
-            // 
-            // button15
-            // 
-            this.button15.BackColor = System.Drawing.Color.DarkOrange;
-            this.button15.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button15.ForeColor = System.Drawing.Color.White;
-            this.button15.Location = new System.Drawing.Point(635, 284);
-            this.button15.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button15.Name = "button15";
-            this.button15.Size = new System.Drawing.Size(53, 10);
-            this.button15.TabIndex = 130;
-            this.button15.UseVisualStyleBackColor = false;
-            // 
-            // button10
-            // 
-            this.button10.BackColor = System.Drawing.Color.DarkOrange;
-            this.button10.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button10.ForeColor = System.Drawing.Color.White;
-            this.button10.Location = new System.Drawing.Point(636, 338);
-            this.button10.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button10.Name = "button10";
-            this.button10.Size = new System.Drawing.Size(53, 10);
-            this.button10.TabIndex = 129;
-            this.button10.UseVisualStyleBackColor = false;
-            // 
-            // button11
-            // 
-            this.button11.BackColor = System.Drawing.Color.DarkOrange;
-            this.button11.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button11.ForeColor = System.Drawing.Color.White;
-            this.button11.Location = new System.Drawing.Point(636, 408);
-            this.button11.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button11.Name = "button11";
-            this.button11.Size = new System.Drawing.Size(53, 12);
-            this.button11.TabIndex = 128;
-            this.button11.UseVisualStyleBackColor = false;
-            // 
-            // button12
-            // 
-            this.button12.BackColor = System.Drawing.Color.DarkOrange;
-            this.button12.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button12.ForeColor = System.Drawing.Color.White;
-            this.button12.Location = new System.Drawing.Point(635, 459);
-            this.button12.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button12.Name = "button12";
-            this.button12.Size = new System.Drawing.Size(53, 10);
-            this.button12.TabIndex = 127;
-            this.button12.UseVisualStyleBackColor = false;
-            // 
-            // button9
-            // 
-            this.button9.BackColor = System.Drawing.Color.DarkOrange;
-            this.button9.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button9.ForeColor = System.Drawing.Color.White;
-            this.button9.Location = new System.Drawing.Point(636, 518);
-            this.button9.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button9.Name = "button9";
-            this.button9.Size = new System.Drawing.Size(53, 10);
-            this.button9.TabIndex = 126;
-            this.button9.UseVisualStyleBackColor = false;
-            // 
-            // button8
-            // 
-            this.button8.BackColor = System.Drawing.Color.DarkOrange;
-            this.button8.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button8.ForeColor = System.Drawing.Color.White;
-            this.button8.Location = new System.Drawing.Point(636, 588);
-            this.button8.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button8.Name = "button8";
-            this.button8.Size = new System.Drawing.Size(53, 12);
-            this.button8.TabIndex = 125;
-            this.button8.UseVisualStyleBackColor = false;
-            // 
-            // button6
-            // 
-            this.button6.BackColor = System.Drawing.Color.DarkOrange;
-            this.button6.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button6.ForeColor = System.Drawing.Color.White;
-            this.button6.Location = new System.Drawing.Point(635, 638);
-            this.button6.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button6.Name = "button6";
-            this.button6.Size = new System.Drawing.Size(53, 10);
-            this.button6.TabIndex = 124;
-            this.button6.UseVisualStyleBackColor = false;
-            // 
-            // button4
-            // 
-            this.button4.BackColor = System.Drawing.Color.DarkOrange;
-            this.button4.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button4.ForeColor = System.Drawing.Color.White;
-            this.button4.Location = new System.Drawing.Point(636, 691);
-            this.button4.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button4.Name = "button4";
-            this.button4.Size = new System.Drawing.Size(53, 12);
-            this.button4.TabIndex = 123;
-            this.button4.UseVisualStyleBackColor = false;
-            // 
-            // button2
-            // 
-            this.button2.BackColor = System.Drawing.Color.DarkOrange;
-            this.button2.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button2.ForeColor = System.Drawing.Color.White;
-            this.button2.Location = new System.Drawing.Point(635, 160);
-            this.button2.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button2.Name = "button2";
-            this.button2.Size = new System.Drawing.Size(12, 544);
-            this.button2.TabIndex = 122;
-            this.button2.UseVisualStyleBackColor = false;
-            // 
-            // button1
-            // 
-            this.button1.BackColor = System.Drawing.Color.DarkOrange;
-            this.button1.Font = new System.Drawing.Font("微软雅黑", 5.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button1.ForeColor = System.Drawing.Color.White;
-            this.button1.Location = new System.Drawing.Point(677, 160);
-            this.button1.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(12, 544);
-            this.button1.TabIndex = 121;
-            this.button1.UseVisualStyleBackColor = false;
-            // 
-            // label25
-            // 
-            this.label25.BackColor = System.Drawing.Color.Silver;
-            this.label25.Location = new System.Drawing.Point(548, 266);
-            this.label25.Name = "label25";
-            this.label25.Size = new System.Drawing.Size(48, 10);
-            this.label25.TabIndex = 120;
-            this.label25.Text = " ";
-            // 
-            // label26
-            // 
-            this.label26.BackColor = System.Drawing.Color.Silver;
-            this.label26.Location = new System.Drawing.Point(585, 196);
-            this.label26.Name = "label26";
-            this.label26.Size = new System.Drawing.Size(11, 70);
-            this.label26.TabIndex = 119;
-            this.label26.Text = " ";
-            // 
-            // label29
-            // 
-            this.label29.BackColor = System.Drawing.Color.Silver;
-            this.label29.Location = new System.Drawing.Point(548, 186);
-            this.label29.Name = "label29";
-            this.label29.Size = new System.Drawing.Size(48, 10);
-            this.label29.TabIndex = 118;
-            this.label29.Text = " ";
-            // 
-            // label7
-            // 
-            this.label7.BackColor = System.Drawing.Color.Silver;
-            this.label7.Location = new System.Drawing.Point(548, 404);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(48, 10);
-            this.label7.TabIndex = 117;
-            this.label7.Text = " ";
-            // 
-            // label9
-            // 
-            this.label9.BackColor = System.Drawing.Color.Silver;
-            this.label9.Location = new System.Drawing.Point(585, 334);
-            this.label9.Name = "label9";
-            this.label9.Size = new System.Drawing.Size(11, 70);
-            this.label9.TabIndex = 116;
-            this.label9.Text = " ";
-            // 
-            // label11
-            // 
-            this.label11.BackColor = System.Drawing.Color.Silver;
-            this.label11.Location = new System.Drawing.Point(548, 324);
-            this.label11.Name = "label11";
-            this.label11.Size = new System.Drawing.Size(48, 10);
-            this.label11.TabIndex = 115;
-            this.label11.Text = " ";
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.Silver;
-            this.label4.Location = new System.Drawing.Point(548, 540);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(48, 10);
-            this.label4.TabIndex = 114;
-            this.label4.Text = " ";
-            // 
-            // label5
-            // 
-            this.label5.BackColor = System.Drawing.Color.Silver;
-            this.label5.Location = new System.Drawing.Point(585, 470);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(11, 70);
-            this.label5.TabIndex = 113;
-            this.label5.Text = " ";
-            // 
-            // label6
-            // 
-            this.label6.BackColor = System.Drawing.Color.Silver;
-            this.label6.Location = new System.Drawing.Point(548, 460);
-            this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(48, 10);
-            this.label6.TabIndex = 112;
-            this.label6.Text = " ";
-            // 
-            // label1
-            // 
-            this.label1.BackColor = System.Drawing.Color.Silver;
-            this.label1.Location = new System.Drawing.Point(547, 676);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(48, 10);
-            this.label1.TabIndex = 111;
-            this.label1.Text = " ";
-            // 
-            // btn_1013
-            // 
-            this.btn_1013.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1013.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1013.ForeColor = System.Drawing.Color.White;
-            this.btn_1013.Location = new System.Drawing.Point(887, 298);
-            this.btn_1013.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1013.Name = "btn_1013";
-            this.btn_1013.Size = new System.Drawing.Size(109, 54);
-            this.btn_1013.TabIndex = 110;
-            this.btn_1013.Text = "1013";
-            this.btn_1013.UseVisualStyleBackColor = false;
-            this.btn_1013.Click += new System.EventHandler(this.btn_1013_Click);
-            // 
-            // btn_1009
-            // 
-            this.btn_1009.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1009.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1009.ForeColor = System.Drawing.Color.White;
-            this.btn_1009.Location = new System.Drawing.Point(736, 44);
-            this.btn_1009.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1009.Name = "btn_1009";
-            this.btn_1009.Size = new System.Drawing.Size(105, 54);
-            this.btn_1009.TabIndex = 109;
-            this.btn_1009.Text = "1009";
-            this.btn_1009.UseVisualStyleBackColor = false;
-            this.btn_1009.Click += new System.EventHandler(this.btn_1009_Click);
-            // 
-            // btn_1010
-            // 
-            this.btn_1010.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1010.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1010.ForeColor = System.Drawing.Color.White;
-            this.btn_1010.Location = new System.Drawing.Point(736, 116);
-            this.btn_1010.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1010.Name = "btn_1010";
-            this.btn_1010.Size = new System.Drawing.Size(105, 54);
-            this.btn_1010.TabIndex = 108;
-            this.btn_1010.Text = "1010";
-            this.btn_1010.UseVisualStyleBackColor = false;
-            this.btn_1010.Click += new System.EventHandler(this.btn_1010_Click);
-            // 
-            // btn_1011
-            // 
-            this.btn_1011.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1011.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1011.ForeColor = System.Drawing.Color.White;
-            this.btn_1011.Location = new System.Drawing.Point(736, 196);
-            this.btn_1011.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1011.Name = "btn_1011";
-            this.btn_1011.Size = new System.Drawing.Size(105, 54);
-            this.btn_1011.TabIndex = 107;
-            this.btn_1011.Text = "1011";
-            this.btn_1011.UseVisualStyleBackColor = false;
-            this.btn_1011.Click += new System.EventHandler(this.btn_1011_Click);
-            // 
-            // btn_1012
-            // 
-            this.btn_1012.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1012.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1012.ForeColor = System.Drawing.Color.White;
-            this.btn_1012.Location = new System.Drawing.Point(736, 298);
-            this.btn_1012.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1012.Name = "btn_1012";
-            this.btn_1012.Size = new System.Drawing.Size(109, 54);
-            this.btn_1012.TabIndex = 106;
-            this.btn_1012.Text = "1012";
-            this.btn_1012.UseVisualStyleBackColor = false;
-            this.btn_1012.Click += new System.EventHandler(this.btn_1012_Click);
-            // 
-            // btn_1014
-            // 
-            this.btn_1014.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1014.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1014.ForeColor = System.Drawing.Color.White;
-            this.btn_1014.Location = new System.Drawing.Point(732, 450);
-            this.btn_1014.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1014.Name = "btn_1014";
-            this.btn_1014.Size = new System.Drawing.Size(109, 54);
-            this.btn_1014.TabIndex = 105;
-            this.btn_1014.Text = "1014";
-            this.btn_1014.UseVisualStyleBackColor = false;
-            this.btn_1014.Click += new System.EventHandler(this.btn_1014_Click);
-            // 
-            // btn_1001
-            // 
-            this.btn_1001.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1001.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1001.ForeColor = System.Drawing.Color.White;
-            this.btn_1001.Location = new System.Drawing.Point(448, 162);
-            this.btn_1001.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1001.Name = "btn_1001";
-            this.btn_1001.Size = new System.Drawing.Size(105, 54);
-            this.btn_1001.TabIndex = 103;
-            this.btn_1001.Text = "1001";
-            this.btn_1001.UseVisualStyleBackColor = false;
-            this.btn_1001.Click += new System.EventHandler(this.btn_1001_Click);
-            // 
-            // btn_1002
-            // 
-            this.btn_1002.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1002.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1002.ForeColor = System.Drawing.Color.White;
-            this.btn_1002.Location = new System.Drawing.Point(448, 249);
-            this.btn_1002.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1002.Name = "btn_1002";
-            this.btn_1002.Size = new System.Drawing.Size(105, 54);
-            this.btn_1002.TabIndex = 102;
-            this.btn_1002.Text = "1002";
-            this.btn_1002.UseVisualStyleBackColor = false;
-            this.btn_1002.Click += new System.EventHandler(this.btn_1002_Click);
-            // 
-            // btn_1003
-            // 
-            this.btn_1003.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1003.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1003.ForeColor = System.Drawing.Color.White;
-            this.btn_1003.Location = new System.Drawing.Point(448, 298);
-            this.btn_1003.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1003.Name = "btn_1003";
-            this.btn_1003.Size = new System.Drawing.Size(105, 54);
-            this.btn_1003.TabIndex = 101;
-            this.btn_1003.Text = "1003";
-            this.btn_1003.UseVisualStyleBackColor = false;
-            this.btn_1003.Click += new System.EventHandler(this.btn_1003_Click);
-            // 
-            // btn_1004
-            // 
-            this.btn_1004.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1004.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1004.ForeColor = System.Drawing.Color.White;
-            this.btn_1004.Location = new System.Drawing.Point(448, 390);
-            this.btn_1004.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1004.Name = "btn_1004";
-            this.btn_1004.Size = new System.Drawing.Size(105, 54);
-            this.btn_1004.TabIndex = 100;
-            this.btn_1004.Text = "1004";
-            this.btn_1004.UseVisualStyleBackColor = false;
-            this.btn_1004.Click += new System.EventHandler(this.btn_1004_Click);
-            // 
-            // btn_1005
-            // 
-            this.btn_1005.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1005.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1005.ForeColor = System.Drawing.Color.White;
-            this.btn_1005.Location = new System.Drawing.Point(448, 438);
-            this.btn_1005.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1005.Name = "btn_1005";
-            this.btn_1005.Size = new System.Drawing.Size(105, 54);
-            this.btn_1005.TabIndex = 99;
-            this.btn_1005.Text = "1005";
-            this.btn_1005.UseVisualStyleBackColor = false;
-            this.btn_1005.Click += new System.EventHandler(this.btn_1005_Click);
-            // 
-            // btn_1006
-            // 
-            this.btn_1006.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1006.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1006.ForeColor = System.Drawing.Color.White;
-            this.btn_1006.Location = new System.Drawing.Point(448, 518);
-            this.btn_1006.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1006.Name = "btn_1006";
-            this.btn_1006.Size = new System.Drawing.Size(105, 54);
-            this.btn_1006.TabIndex = 98;
-            this.btn_1006.Text = "1006";
-            this.btn_1006.UseVisualStyleBackColor = false;
-            this.btn_1006.Click += new System.EventHandler(this.btn_1006_Click);
-            // 
-            // btn_1007
-            // 
-            this.btn_1007.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1007.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1007.ForeColor = System.Drawing.Color.White;
-            this.btn_1007.Location = new System.Drawing.Point(448, 564);
-            this.btn_1007.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1007.Name = "btn_1007";
-            this.btn_1007.Size = new System.Drawing.Size(105, 54);
-            this.btn_1007.TabIndex = 97;
-            this.btn_1007.Text = "1007";
-            this.btn_1007.UseVisualStyleBackColor = false;
-            this.btn_1007.Click += new System.EventHandler(this.btn_1007_Click);
-            // 
-            // lbl_SrmConveyorAlarm_2
-            // 
-            this.lbl_SrmConveyorAlarm_2.AutoSize = true;
-            this.lbl_SrmConveyorAlarm_2.Location = new System.Drawing.Point(571, 106);
-            this.lbl_SrmConveyorAlarm_2.Name = "lbl_SrmConveyorAlarm_2";
-            this.lbl_SrmConveyorAlarm_2.Size = new System.Drawing.Size(0, 15);
-            this.lbl_SrmConveyorAlarm_2.TabIndex = 90;
-            // 
-            // btn_1008
-            // 
-            this.btn_1008.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1008.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1008.ForeColor = System.Drawing.Color.White;
-            this.btn_1008.Location = new System.Drawing.Point(448, 652);
-            this.btn_1008.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1008.Name = "btn_1008";
-            this.btn_1008.Size = new System.Drawing.Size(105, 54);
-            this.btn_1008.TabIndex = 86;
-            this.btn_1008.Text = "1008";
-            this.btn_1008.UseVisualStyleBackColor = false;
-            this.btn_1008.Click += new System.EventHandler(this.btn_1008_Click);
-            // 
-            // btn_1015
-            // 
-            this.btn_1015.BackColor = System.Drawing.Color.SeaGreen;
-            this.btn_1015.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1015.ForeColor = System.Drawing.Color.White;
-            this.btn_1015.Location = new System.Drawing.Point(732, 566);
-            this.btn_1015.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1015.Name = "btn_1015";
-            this.btn_1015.Size = new System.Drawing.Size(109, 54);
-            this.btn_1015.TabIndex = 84;
-            this.btn_1015.Text = "1015";
-            this.btn_1015.UseVisualStyleBackColor = false;
-            this.btn_1015.Click += new System.EventHandler(this.btn_1015_Click);
-            // 
-            // btn_1030
-            // 
-            this.btn_1030.BackColor = System.Drawing.Color.SteelBlue;
-            this.btn_1030.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1030.ForeColor = System.Drawing.Color.White;
-            this.btn_1030.Location = new System.Drawing.Point(1003, 298);
-            this.btn_1030.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1030.Name = "btn_1030";
-            this.btn_1030.Size = new System.Drawing.Size(136, 54);
-            this.btn_1030.TabIndex = 80;
-            this.btn_1030.Text = "提升机1030";
-            this.btn_1030.UseVisualStyleBackColor = false;
-            this.btn_1030.Click += new System.EventHandler(this.btn_1030_Click);
-            // 
-            // btn_1020
-            // 
-            this.btn_1020.BackColor = System.Drawing.Color.DodgerBlue;
-            this.btn_1020.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_1020.ForeColor = System.Drawing.Color.White;
-            this.btn_1020.Location = new System.Drawing.Point(732, 508);
-            this.btn_1020.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_1020.Name = "btn_1020";
-            this.btn_1020.Size = new System.Drawing.Size(165, 54);
-            this.btn_1020.TabIndex = 74;
-            this.btn_1020.Text = "拆盘机1020";
-            this.btn_1020.UseVisualStyleBackColor = false;
-            this.btn_1020.Click += new System.EventHandler(this.btn_1020_Click);
-            // 
-            // label70
-            // 
-            this.label70.BackColor = System.Drawing.Color.Silver;
-            this.label70.Location = new System.Drawing.Point(585, 606);
-            this.label70.Name = "label70";
-            this.label70.Size = new System.Drawing.Size(11, 70);
-            this.label70.TabIndex = 68;
-            this.label70.Text = " ";
-            // 
-            // label57
-            // 
-            this.label57.BackColor = System.Drawing.Color.Silver;
-            this.label57.Location = new System.Drawing.Point(548, 596);
-            this.label57.Name = "label57";
-            this.label57.Size = new System.Drawing.Size(48, 10);
-            this.label57.TabIndex = 65;
-            this.label57.Text = " ";
-            // 
-            // panel14
-            // 
-            this.panel14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel14.Controls.Add(this.panel15);
-            this.panel14.Controls.Add(this.lbSrmTransState);
-            this.panel14.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel14.Location = new System.Drawing.Point(0, 0);
-            this.panel14.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel14.Name = "panel14";
-            this.panel14.Size = new System.Drawing.Size(440, 898);
-            this.panel14.TabIndex = 3;
-            // 
-            // panel15
-            // 
-            this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel15.Controls.Add(this.lblR_1019_CargoNoScan);
-            this.panel15.Controls.Add(this.lbl_R_1019_Scan);
-            this.panel15.Controls.Add(this.lbl_R_1007_Scan);
-            this.panel15.Controls.Add(this.lbl_R_1006_Scan);
-            this.panel15.Controls.Add(this.lbl_R_1004_Scan);
-            this.panel15.Controls.Add(this.lbl_R_1002_Scan);
-            this.panel15.Controls.Add(this.lbl_R_1015_Scan);
-            this.panel15.Controls.Add(this.lbl_Rgv_WriteToPlace);
-            this.panel15.Controls.Add(this.lbl_Rgv_WriteTaskNo);
-            this.panel15.Controls.Add(this.lbl_Rgv_STP);
-            this.panel15.Controls.Add(this.lbl_TaskID);
-            this.panel15.Controls.Add(this.lbl_Shape);
-            this.panel15.Controls.Add(this.lbl_Destination);
-            this.panel15.Controls.Add(this.lbl_AlarmCode);
-            this.panel15.Controls.Add(this.panel16);
-            this.panel15.Controls.Add(this.lbl_State);
-            this.panel15.Controls.Add(this.lbl_Model);
-            this.panel15.Controls.Add(this.lbl_ACK);
-            this.panel15.Controls.Add(this.lbl_PH_2);
-            this.panel15.Controls.Add(this.lbl_PH_1);
-            this.panel15.Controls.Add(this.lbl_StationCode);
-            this.panel15.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel15.Location = new System.Drawing.Point(0, 41);
-            this.panel15.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel15.Name = "panel15";
-            this.panel15.Size = new System.Drawing.Size(434, 855);
-            this.panel15.TabIndex = 34;
-            this.panel15.Paint += new System.Windows.Forms.PaintEventHandler(this.panel15_Paint);
-            // 
-            // lblR_1019_CargoNoScan
-            // 
-            this.lblR_1019_CargoNoScan.AutoSize = true;
-            this.lblR_1019_CargoNoScan.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblR_1019_CargoNoScan.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblR_1019_CargoNoScan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblR_1019_CargoNoScan.Location = new System.Drawing.Point(0, 456);
-            this.lblR_1019_CargoNoScan.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblR_1019_CargoNoScan.Name = "lblR_1019_CargoNoScan";
-            this.lblR_1019_CargoNoScan.Size = new System.Drawing.Size(166, 24);
-            this.lblR_1019_CargoNoScan.TabIndex = 55;
-            this.lblR_1019_CargoNoScan.Text = "1019发动机的扫码:";
-            this.lblR_1019_CargoNoScan.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1019_Scan
-            // 
-            this.lbl_R_1019_Scan.AutoSize = true;
-            this.lbl_R_1019_Scan.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_1019_Scan.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1019_Scan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_1019_Scan.Location = new System.Drawing.Point(0, 432);
-            this.lbl_R_1019_Scan.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1019_Scan.Name = "lbl_R_1019_Scan";
-            this.lbl_R_1019_Scan.Size = new System.Drawing.Size(112, 24);
-            this.lbl_R_1019_Scan.TabIndex = 54;
-            this.lbl_R_1019_Scan.Text = "1019扫码值:";
-            this.lbl_R_1019_Scan.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1007_Scan
-            // 
-            this.lbl_R_1007_Scan.AutoSize = true;
-            this.lbl_R_1007_Scan.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_1007_Scan.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1007_Scan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_1007_Scan.Location = new System.Drawing.Point(0, 408);
-            this.lbl_R_1007_Scan.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1007_Scan.Name = "lbl_R_1007_Scan";
-            this.lbl_R_1007_Scan.Size = new System.Drawing.Size(112, 24);
-            this.lbl_R_1007_Scan.TabIndex = 53;
-            this.lbl_R_1007_Scan.Text = "1007扫码值:";
-            this.lbl_R_1007_Scan.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1006_Scan
-            // 
-            this.lbl_R_1006_Scan.AutoSize = true;
-            this.lbl_R_1006_Scan.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_1006_Scan.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1006_Scan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_1006_Scan.Location = new System.Drawing.Point(0, 384);
-            this.lbl_R_1006_Scan.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1006_Scan.Name = "lbl_R_1006_Scan";
-            this.lbl_R_1006_Scan.Size = new System.Drawing.Size(112, 24);
-            this.lbl_R_1006_Scan.TabIndex = 52;
-            this.lbl_R_1006_Scan.Text = "1006扫码值:";
-            this.lbl_R_1006_Scan.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1004_Scan
-            // 
-            this.lbl_R_1004_Scan.AutoSize = true;
-            this.lbl_R_1004_Scan.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_1004_Scan.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1004_Scan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_1004_Scan.Location = new System.Drawing.Point(0, 360);
-            this.lbl_R_1004_Scan.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1004_Scan.Name = "lbl_R_1004_Scan";
-            this.lbl_R_1004_Scan.Size = new System.Drawing.Size(112, 24);
-            this.lbl_R_1004_Scan.TabIndex = 51;
-            this.lbl_R_1004_Scan.Text = "1004扫码值:";
-            this.lbl_R_1004_Scan.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1002_Scan
-            // 
-            this.lbl_R_1002_Scan.AutoSize = true;
-            this.lbl_R_1002_Scan.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_1002_Scan.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1002_Scan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_1002_Scan.Location = new System.Drawing.Point(0, 336);
-            this.lbl_R_1002_Scan.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1002_Scan.Name = "lbl_R_1002_Scan";
-            this.lbl_R_1002_Scan.Size = new System.Drawing.Size(112, 24);
-            this.lbl_R_1002_Scan.TabIndex = 50;
-            this.lbl_R_1002_Scan.Text = "1002扫码值:";
-            this.lbl_R_1002_Scan.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_R_1015_Scan
-            // 
-            this.lbl_R_1015_Scan.AutoSize = true;
-            this.lbl_R_1015_Scan.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_1015_Scan.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_1015_Scan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_1015_Scan.Location = new System.Drawing.Point(0, 312);
-            this.lbl_R_1015_Scan.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_1015_Scan.Name = "lbl_R_1015_Scan";
-            this.lbl_R_1015_Scan.Size = new System.Drawing.Size(112, 24);
-            this.lbl_R_1015_Scan.TabIndex = 49;
-            this.lbl_R_1015_Scan.Text = "1015扫码值:";
-            this.lbl_R_1015_Scan.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_Rgv_WriteToPlace
-            // 
-            this.lbl_Rgv_WriteToPlace.AutoSize = true;
-            this.lbl_Rgv_WriteToPlace.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_Rgv_WriteToPlace.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_Rgv_WriteToPlace.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_Rgv_WriteToPlace.Location = new System.Drawing.Point(0, 288);
-            this.lbl_Rgv_WriteToPlace.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_Rgv_WriteToPlace.Name = "lbl_Rgv_WriteToPlace";
-            this.lbl_Rgv_WriteToPlace.Size = new System.Drawing.Size(122, 24);
-            this.lbl_Rgv_WriteToPlace.TabIndex = 48;
-            this.lbl_Rgv_WriteToPlace.Text = "写入目标地址:";
-            this.lbl_Rgv_WriteToPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_Rgv_WriteTaskNo
-            // 
-            this.lbl_Rgv_WriteTaskNo.AutoSize = true;
-            this.lbl_Rgv_WriteTaskNo.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_Rgv_WriteTaskNo.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_Rgv_WriteTaskNo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_Rgv_WriteTaskNo.Location = new System.Drawing.Point(0, 264);
-            this.lbl_Rgv_WriteTaskNo.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_Rgv_WriteTaskNo.Name = "lbl_Rgv_WriteTaskNo";
-            this.lbl_Rgv_WriteTaskNo.Size = new System.Drawing.Size(104, 24);
-            this.lbl_Rgv_WriteTaskNo.TabIndex = 47;
-            this.lbl_Rgv_WriteTaskNo.Text = "写入任务号:";
-            this.lbl_Rgv_WriteTaskNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_Rgv_STP
-            // 
-            this.lbl_Rgv_STP.AutoSize = true;
-            this.lbl_Rgv_STP.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_Rgv_STP.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_Rgv_STP.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_Rgv_STP.Location = new System.Drawing.Point(0, 240);
-            this.lbl_Rgv_STP.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_Rgv_STP.Name = "lbl_Rgv_STP";
-            this.lbl_Rgv_STP.Size = new System.Drawing.Size(81, 24);
-            this.lbl_Rgv_STP.TabIndex = 46;
-            this.lbl_Rgv_STP.Text = "当前STP:";
-            this.lbl_Rgv_STP.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_TaskID
-            // 
-            this.lbl_TaskID.AutoSize = true;
-            this.lbl_TaskID.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_TaskID.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_TaskID.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_TaskID.Location = new System.Drawing.Point(0, 216);
-            this.lbl_TaskID.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_TaskID.Name = "lbl_TaskID";
-            this.lbl_TaskID.Size = new System.Drawing.Size(104, 24);
-            this.lbl_TaskID.TabIndex = 45;
-            this.lbl_TaskID.Text = "当前任务号:";
-            this.lbl_TaskID.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_Shape
-            // 
-            this.lbl_Shape.AutoSize = true;
-            this.lbl_Shape.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_Shape.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_Shape.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_Shape.Location = new System.Drawing.Point(0, 192);
-            this.lbl_Shape.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_Shape.Name = "lbl_Shape";
-            this.lbl_Shape.Size = new System.Drawing.Size(86, 24);
-            this.lbl_Shape.TabIndex = 44;
-            this.lbl_Shape.Text = "外形检测:";
-            this.lbl_Shape.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_Destination
-            // 
-            this.lbl_Destination.AutoSize = true;
-            this.lbl_Destination.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_Destination.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_Destination.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_Destination.Location = new System.Drawing.Point(0, 168);
-            this.lbl_Destination.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_Destination.Name = "lbl_Destination";
-            this.lbl_Destination.Size = new System.Drawing.Size(122, 24);
-            this.lbl_Destination.TabIndex = 43;
-            this.lbl_Destination.Text = "当前目标地址:";
-            this.lbl_Destination.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_AlarmCode
-            // 
-            this.lbl_AlarmCode.AutoSize = true;
-            this.lbl_AlarmCode.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_AlarmCode.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_AlarmCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_AlarmCode.Location = new System.Drawing.Point(0, 144);
-            this.lbl_AlarmCode.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_AlarmCode.Name = "lbl_AlarmCode";
-            this.lbl_AlarmCode.Size = new System.Drawing.Size(86, 24);
-            this.lbl_AlarmCode.TabIndex = 42;
-            this.lbl_AlarmCode.Text = "报警代码:";
-            this.lbl_AlarmCode.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel16
-            // 
-            this.panel16.Controls.Add(this.button21);
-            this.panel16.Controls.Add(this.btn_RgvConfirmFinishTask);
-            this.panel16.Controls.Add(this.button3);
-            this.panel16.Controls.Add(this.btn_ResetSTP);
-            this.panel16.Controls.Add(this.tBSrmTransToPlace);
-            this.panel16.Controls.Add(this.tBSrmTransSouce);
-            this.panel16.Controls.Add(this.lbSrmTransToPlace);
-            this.panel16.Controls.Add(this.lbSrmTransSoucePlace);
-            this.panel16.Controls.Add(this.btnSrmTransSend);
-            this.panel16.Controls.Add(this.tBSrmTransTskId);
-            this.panel16.Controls.Add(this.label58);
-            this.panel16.Controls.Add(this.label59);
-            this.panel16.Location = new System.Drawing.Point(2, 494);
-            this.panel16.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel16.Name = "panel16";
-            this.panel16.Size = new System.Drawing.Size(379, 320);
-            this.panel16.TabIndex = 39;
-            this.panel16.Paint += new System.Windows.Forms.PaintEventHandler(this.panel16_Paint);
-            // 
-            // button21
-            // 
-            this.button21.BackColor = System.Drawing.Color.White;
-            this.button21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.button21.Location = new System.Drawing.Point(13, 267);
-            this.button21.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button21.Name = "button21";
-            this.button21.Size = new System.Drawing.Size(273, 44);
-            this.button21.TabIndex = 55;
-            this.button21.Text = "关闭重新扫码1019";
-            this.button21.UseVisualStyleBackColor = false;
-            this.button21.Click += new System.EventHandler(this.button21_Click);
-            // 
-            // btn_RgvConfirmFinishTask
-            // 
-            this.btn_RgvConfirmFinishTask.BackColor = System.Drawing.Color.White;
-            this.btn_RgvConfirmFinishTask.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_RgvConfirmFinishTask.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btn_RgvConfirmFinishTask.Location = new System.Drawing.Point(12, 179);
-            this.btn_RgvConfirmFinishTask.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_RgvConfirmFinishTask.Name = "btn_RgvConfirmFinishTask";
-            this.btn_RgvConfirmFinishTask.Size = new System.Drawing.Size(273, 36);
-            this.btn_RgvConfirmFinishTask.TabIndex = 54;
-            this.btn_RgvConfirmFinishTask.Text = "任务完成确认";
-            this.btn_RgvConfirmFinishTask.UseVisualStyleBackColor = false;
-            this.btn_RgvConfirmFinishTask.Click += new System.EventHandler(this.btn_RgvConfirmFinishTask_Click);
-            // 
-            // button3
-            // 
-            this.button3.BackColor = System.Drawing.Color.White;
-            this.button3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.button3.Location = new System.Drawing.Point(12, 219);
-            this.button3.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.button3.Name = "button3";
-            this.button3.Size = new System.Drawing.Size(273, 44);
-            this.button3.TabIndex = 53;
-            this.button3.Text = "关闭重新扫码1015";
-            this.button3.UseVisualStyleBackColor = false;
-            this.button3.Click += new System.EventHandler(this.button3_Click);
-            // 
-            // btn_ResetSTP
-            // 
-            this.btn_ResetSTP.BackColor = System.Drawing.Color.White;
-            this.btn_ResetSTP.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_ResetSTP.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btn_ResetSTP.Location = new System.Drawing.Point(189, 122);
-            this.btn_ResetSTP.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_ResetSTP.Name = "btn_ResetSTP";
-            this.btn_ResetSTP.Size = new System.Drawing.Size(96, 36);
-            this.btn_ResetSTP.TabIndex = 52;
-            this.btn_ResetSTP.Text = "重置STP";
-            this.btn_ResetSTP.UseVisualStyleBackColor = false;
-            this.btn_ResetSTP.Click += new System.EventHandler(this.btn_ResetSTP_Click);
-            // 
-            // tBSrmTransToPlace
-            // 
-            this.tBSrmTransToPlace.Location = new System.Drawing.Point(81, 109);
-            this.tBSrmTransToPlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tBSrmTransToPlace.Name = "tBSrmTransToPlace";
-            this.tBSrmTransToPlace.Size = new System.Drawing.Size(100, 25);
-            this.tBSrmTransToPlace.TabIndex = 51;
-            // 
-            // tBSrmTransSouce
-            // 
-            this.tBSrmTransSouce.Location = new System.Drawing.Point(81, 69);
-            this.tBSrmTransSouce.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tBSrmTransSouce.Name = "tBSrmTransSouce";
-            this.tBSrmTransSouce.Size = new System.Drawing.Size(100, 25);
-            this.tBSrmTransSouce.TabIndex = 50;
-            // 
-            // lbSrmTransToPlace
-            // 
-            this.lbSrmTransToPlace.AutoSize = true;
-            this.lbSrmTransToPlace.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmTransToPlace.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmTransToPlace.Location = new System.Drawing.Point(9, 109);
-            this.lbSrmTransToPlace.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbSrmTransToPlace.Name = "lbSrmTransToPlace";
-            this.lbSrmTransToPlace.Size = new System.Drawing.Size(71, 18);
-            this.lbSrmTransToPlace.TabIndex = 45;
-            this.lbSrmTransToPlace.Text = "目标位:";
-            // 
-            // lbSrmTransSoucePlace
-            // 
-            this.lbSrmTransSoucePlace.AutoSize = true;
-            this.lbSrmTransSoucePlace.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmTransSoucePlace.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmTransSoucePlace.Location = new System.Drawing.Point(9, 72);
-            this.lbSrmTransSoucePlace.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbSrmTransSoucePlace.Name = "lbSrmTransSoucePlace";
-            this.lbSrmTransSoucePlace.Size = new System.Drawing.Size(71, 18);
-            this.lbSrmTransSoucePlace.TabIndex = 43;
-            this.lbSrmTransSoucePlace.Text = "起始位:";
-            // 
-            // btnSrmTransSend
-            // 
-            this.btnSrmTransSend.BackColor = System.Drawing.Color.White;
-            this.btnSrmTransSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrmTransSend.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrmTransSend.Location = new System.Drawing.Point(189, 72);
-            this.btnSrmTransSend.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrmTransSend.Name = "btnSrmTransSend";
-            this.btnSrmTransSend.Size = new System.Drawing.Size(96, 36);
-            this.btnSrmTransSend.TabIndex = 39;
-            this.btnSrmTransSend.Text = "下发";
-            this.btnSrmTransSend.UseVisualStyleBackColor = false;
-            this.btnSrmTransSend.Click += new System.EventHandler(this.btnSrmTransSend_Click);
-            // 
-            // tBSrmTransTskId
-            // 
-            this.tBSrmTransTskId.Location = new System.Drawing.Point(81, 149);
-            this.tBSrmTransTskId.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tBSrmTransTskId.Name = "tBSrmTransTskId";
-            this.tBSrmTransTskId.Size = new System.Drawing.Size(100, 25);
-            this.tBSrmTransTskId.TabIndex = 37;
-            // 
-            // label58
-            // 
-            this.label58.AutoSize = true;
-            this.label58.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label58.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label58.Location = new System.Drawing.Point(9, 153);
-            this.label58.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label58.Name = "label58";
-            this.label58.Size = new System.Drawing.Size(71, 18);
-            this.label58.TabIndex = 35;
-            this.label58.Text = "任务号:";
-            // 
-            // label59
-            // 
-            this.label59.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label59.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label59.ForeColor = System.Drawing.Color.Maroon;
-            this.label59.Location = new System.Drawing.Point(3, 30);
-            this.label59.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label59.Name = "label59";
-            this.label59.Size = new System.Drawing.Size(283, 30);
-            this.label59.TabIndex = 34;
-            this.label59.Text = "手动指令下发";
-            this.label59.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_State
-            // 
-            this.lbl_State.AutoSize = true;
-            this.lbl_State.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_State.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_State.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_State.Location = new System.Drawing.Point(0, 120);
-            this.lbl_State.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_State.Name = "lbl_State";
-            this.lbl_State.Size = new System.Drawing.Size(86, 24);
-            this.lbl_State.TabIndex = 37;
-            this.lbl_State.Text = "运行状态:";
-            this.lbl_State.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_Model
-            // 
-            this.lbl_Model.AutoSize = true;
-            this.lbl_Model.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_Model.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_Model.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_Model.Location = new System.Drawing.Point(0, 96);
-            this.lbl_Model.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_Model.Name = "lbl_Model";
-            this.lbl_Model.Size = new System.Drawing.Size(50, 24);
-            this.lbl_Model.TabIndex = 36;
-            this.lbl_Model.Text = "模式:";
-            this.lbl_Model.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_ACK
-            // 
-            this.lbl_ACK.AutoSize = true;
-            this.lbl_ACK.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_ACK.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_ACK.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_ACK.Location = new System.Drawing.Point(0, 72);
-            this.lbl_ACK.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_ACK.Name = "lbl_ACK";
-            this.lbl_ACK.Size = new System.Drawing.Size(50, 24);
-            this.lbl_ACK.TabIndex = 35;
-            this.lbl_ACK.Text = "ACK:";
-            this.lbl_ACK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_PH_2
-            // 
-            this.lbl_PH_2.AutoSize = true;
-            this.lbl_PH_2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_PH_2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_PH_2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_PH_2.Location = new System.Drawing.Point(0, 48);
-            this.lbl_PH_2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_PH_2.Name = "lbl_PH_2";
-            this.lbl_PH_2.Size = new System.Drawing.Size(102, 24);
-            this.lbl_PH_2.TabIndex = 34;
-            this.lbl_PH_2.Text = "光电2状态: ";
-            this.lbl_PH_2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_PH_1
-            // 
-            this.lbl_PH_1.AutoSize = true;
-            this.lbl_PH_1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_PH_1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_PH_1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_PH_1.Location = new System.Drawing.Point(0, 24);
-            this.lbl_PH_1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_PH_1.Name = "lbl_PH_1";
-            this.lbl_PH_1.Size = new System.Drawing.Size(97, 24);
-            this.lbl_PH_1.TabIndex = 41;
-            this.lbl_PH_1.Text = "光电1状态:";
-            this.lbl_PH_1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbl_StationCode
-            // 
-            this.lbl_StationCode.AutoSize = true;
-            this.lbl_StationCode.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_StationCode.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_StationCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_StationCode.Location = new System.Drawing.Point(0, 0);
-            this.lbl_StationCode.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_StationCode.Name = "lbl_StationCode";
-            this.lbl_StationCode.Size = new System.Drawing.Size(109, 24);
-            this.lbl_StationCode.TabIndex = 40;
-            this.lbl_StationCode.Text = "当前位置号: ";
-            this.lbl_StationCode.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmTransState
-            // 
-            this.lbSrmTransState.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.lbSrmTransState.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmTransState.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmTransState.ForeColor = System.Drawing.Color.Maroon;
-            this.lbSrmTransState.Location = new System.Drawing.Point(0, 0);
-            this.lbSrmTransState.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbSrmTransState.Name = "lbSrmTransState";
-            this.lbSrmTransState.Size = new System.Drawing.Size(438, 41);
-            this.lbSrmTransState.TabIndex = 33;
-            this.lbSrmTransState.Text = "RGV&输送线";
-            this.lbSrmTransState.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // tP_Srm
-            // 
-            this.tP_Srm.Controls.Add(this.panel_Srm2);
-            this.tP_Srm.Controls.Add(this.panel_Srm1);
-            this.tP_Srm.Location = new System.Drawing.Point(4, 28);
-            this.tP_Srm.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tP_Srm.Name = "tP_Srm";
-            this.tP_Srm.Padding = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tP_Srm.Size = new System.Drawing.Size(1539, 898);
-            this.tP_Srm.TabIndex = 0;
-            this.tP_Srm.Text = "堆垛机1,2";
-            this.tP_Srm.UseVisualStyleBackColor = true;
-            // 
-            // panel_Srm2
-            // 
-            this.panel_Srm2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel_Srm2.Controls.Add(this.btnSMQZYZTG2);
-            this.panel_Srm2.Controls.Add(this.lbl_R_PickReqForInStore_2);
-            this.panel_Srm2.Controls.Add(this.lblSrmAlarm2);
-            this.panel_Srm2.Controls.Add(this.label21);
-            this.panel_Srm2.Controls.Add(this.lblSrmTaskNo2);
-            this.panel_Srm2.Controls.Add(this.lbSrmToPlace2);
-            this.panel_Srm2.Controls.Add(this.lbSrmSourcePlace2);
-            this.panel_Srm2.Controls.Add(this.lblSrmWorkState2);
-            this.panel_Srm2.Controls.Add(this.label41);
-            this.panel_Srm2.Controls.Add(this.btnSrm2Delete);
-            this.panel_Srm2.Controls.Add(this.btnSrm2RlsAlert);
-            this.panel_Srm2.Controls.Add(this.lblSrmWorkMode2);
-            this.panel_Srm2.Controls.Add(this.label42);
-            this.panel_Srm2.Controls.Add(this.panel6);
-            this.panel_Srm2.Controls.Add(this.lbSrm2State);
-            this.panel_Srm2.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel_Srm2.Location = new System.Drawing.Point(731, 2);
-            this.panel_Srm2.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel_Srm2.Name = "panel_Srm2";
-            this.panel_Srm2.Size = new System.Drawing.Size(804, 894);
-            this.panel_Srm2.TabIndex = 3;
-            // 
-            // btnSMQZYZTG2
-            // 
-            this.btnSMQZYZTG2.BackColor = System.Drawing.Color.White;
-            this.btnSMQZYZTG2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSMQZYZTG2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSMQZYZTG2.Location = new System.Drawing.Point(199, 484);
-            this.btnSMQZYZTG2.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSMQZYZTG2.Name = "btnSMQZYZTG2";
-            this.btnSMQZYZTG2.Size = new System.Drawing.Size(269, 79);
-            this.btnSMQZYZTG2.TabIndex = 64;
-            this.btnSMQZYZTG2.Text = "入库口扫码强制验证通过";
-            this.btnSMQZYZTG2.UseVisualStyleBackColor = false;
-            this.btnSMQZYZTG2.Click += new System.EventHandler(this.btnSMQZYZTG2_Click);
-            // 
-            // lbl_R_PickReqForInStore_2
-            // 
-            this.lbl_R_PickReqForInStore_2.AutoSize = true;
-            this.lbl_R_PickReqForInStore_2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_PickReqForInStore_2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_PickReqForInStore_2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_PickReqForInStore_2.Location = new System.Drawing.Point(191, 240);
-            this.lbl_R_PickReqForInStore_2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_PickReqForInStore_2.Name = "lbl_R_PickReqForInStore_2";
-            this.lbl_R_PickReqForInStore_2.Size = new System.Drawing.Size(91, 24);
-            this.lbl_R_PickReqForInStore_2.TabIndex = 63;
-            this.lbl_R_PickReqForInStore_2.Text = "取货请求: ";
-            this.lbl_R_PickReqForInStore_2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmAlarm2
-            // 
-            this.lblSrmAlarm2.AutoSize = true;
-            this.lblSrmAlarm2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmAlarm2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmAlarm2.ForeColor = System.Drawing.Color.Red;
-            this.lblSrmAlarm2.Location = new System.Drawing.Point(191, 216);
-            this.lblSrmAlarm2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmAlarm2.Name = "lblSrmAlarm2";
-            this.lblSrmAlarm2.Size = new System.Drawing.Size(50, 24);
-            this.lblSrmAlarm2.TabIndex = 40;
-            this.lblSrmAlarm2.Text = "        ";
-            this.lblSrmAlarm2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label21
-            // 
-            this.label21.AutoSize = true;
-            this.label21.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label21.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label21.ForeColor = System.Drawing.Color.SkyBlue;
-            this.label21.Location = new System.Drawing.Point(191, 192);
-            this.label21.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.label21.Name = "label21";
-            this.label21.Size = new System.Drawing.Size(140, 24);
-            this.label21.TabIndex = 60;
-            this.label21.Text = "堆垛机故障信息:";
-            this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmTaskNo2
-            // 
-            this.lblSrmTaskNo2.AutoSize = true;
-            this.lblSrmTaskNo2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmTaskNo2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmTaskNo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmTaskNo2.Location = new System.Drawing.Point(191, 168);
-            this.lblSrmTaskNo2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmTaskNo2.Name = "lblSrmTaskNo2";
-            this.lblSrmTaskNo2.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmTaskNo2.TabIndex = 61;
-            this.lblSrmTaskNo2.Text = "任务号: ";
-            this.lblSrmTaskNo2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmToPlace2
-            // 
-            this.lbSrmToPlace2.AutoSize = true;
-            this.lbSrmToPlace2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmToPlace2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmToPlace2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmToPlace2.Location = new System.Drawing.Point(191, 144);
-            this.lbSrmToPlace2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmToPlace2.Name = "lbSrmToPlace2";
-            this.lbSrmToPlace2.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmToPlace2.TabIndex = 58;
-            this.lbSrmToPlace2.Text = "目标位: ";
-            this.lbSrmToPlace2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmSourcePlace2
-            // 
-            this.lbSrmSourcePlace2.AutoSize = true;
-            this.lbSrmSourcePlace2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmSourcePlace2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmSourcePlace2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmSourcePlace2.Location = new System.Drawing.Point(191, 120);
-            this.lbSrmSourcePlace2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmSourcePlace2.Name = "lbSrmSourcePlace2";
-            this.lbSrmSourcePlace2.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmSourcePlace2.TabIndex = 57;
-            this.lbSrmSourcePlace2.Text = "起始位: ";
-            this.lbSrmSourcePlace2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmWorkState2
-            // 
-            this.lblSrmWorkState2.AutoSize = true;
-            this.lblSrmWorkState2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkState2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkState2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkState2.Location = new System.Drawing.Point(191, 96);
-            this.lblSrmWorkState2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkState2.Name = "lblSrmWorkState2";
-            this.lblSrmWorkState2.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkState2.TabIndex = 59;
-            this.lblSrmWorkState2.Text = "工作状态: ";
-            this.lblSrmWorkState2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label41
-            // 
-            this.label41.AutoSize = true;
-            this.label41.Location = new System.Drawing.Point(233, 215);
-            this.label41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label41.Name = "label41";
-            this.label41.Size = new System.Drawing.Size(0, 15);
-            this.label41.TabIndex = 46;
-            this.label41.Tag = "小车故障信息";
-            // 
-            // btnSrm2Delete
-            // 
-            this.btnSrm2Delete.BackColor = System.Drawing.Color.Maroon;
-            this.btnSrm2Delete.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm2Delete.ForeColor = System.Drawing.Color.White;
-            this.btnSrm2Delete.Location = new System.Drawing.Point(309, 368);
-            this.btnSrm2Delete.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm2Delete.Name = "btnSrm2Delete";
-            this.btnSrm2Delete.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm2Delete.TabIndex = 45;
-            this.btnSrm2Delete.Text = "删堆垛机任务";
-            this.btnSrm2Delete.UseVisualStyleBackColor = false;
-            this.btnSrm2Delete.Click += new System.EventHandler(this.btnSrm2Delete_Click);
-            // 
-            // btnSrm2RlsAlert
-            // 
-            this.btnSrm2RlsAlert.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
-            this.btnSrm2RlsAlert.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm2RlsAlert.ForeColor = System.Drawing.Color.White;
-            this.btnSrm2RlsAlert.Location = new System.Drawing.Point(203, 368);
-            this.btnSrm2RlsAlert.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm2RlsAlert.Name = "btnSrm2RlsAlert";
-            this.btnSrm2RlsAlert.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm2RlsAlert.TabIndex = 43;
-            this.btnSrm2RlsAlert.Text = "堆垛机解警";
-            this.btnSrm2RlsAlert.UseVisualStyleBackColor = false;
-            this.btnSrm2RlsAlert.Click += new System.EventHandler(this.btnSrm2RlsAlert_Click);
-            // 
-            // lblSrmWorkMode2
-            // 
-            this.lblSrmWorkMode2.AutoSize = true;
-            this.lblSrmWorkMode2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkMode2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkMode2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkMode2.Location = new System.Drawing.Point(191, 72);
-            this.lblSrmWorkMode2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkMode2.Name = "lblSrmWorkMode2";
-            this.lblSrmWorkMode2.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkMode2.TabIndex = 36;
-            this.lblSrmWorkMode2.Text = "设备模式: ";
-            this.lblSrmWorkMode2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label42
-            // 
-            this.label42.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label42.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label42.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label42.ForeColor = System.Drawing.Color.Maroon;
-            this.label42.Location = new System.Drawing.Point(191, 40);
-            this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label42.Name = "label42";
-            this.label42.Size = new System.Drawing.Size(611, 32);
-            this.label42.TabIndex = 35;
-            this.label42.Text = "工作状态";
-            this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel6
-            // 
-            this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel6.Controls.Add(this.panel13);
-            this.panel6.Controls.Add(this.lblSrmPosY2);
-            this.panel6.Controls.Add(this.lblSrmPosX2);
-            this.panel6.Controls.Add(this.label46);
-            this.panel6.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel6.Location = new System.Drawing.Point(0, 40);
-            this.panel6.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel6.Name = "panel6";
-            this.panel6.Size = new System.Drawing.Size(191, 852);
-            this.panel6.TabIndex = 34;
-            // 
-            // panel13
-            // 
-            this.panel13.Controls.Add(this.btn_Change2);
-            this.panel13.Controls.Add(this.btnSrm2Confirm);
-            this.panel13.Controls.Add(this.tbSrm2TaskId);
-            this.panel13.Controls.Add(this.label48);
-            this.panel13.Controls.Add(this.btnSrm2Move);
-            this.panel13.Controls.Add(this.btnSrm2Send);
-            this.panel13.Controls.Add(this.tB_Srm2ToPlace);
-            this.panel13.Controls.Add(this.tB_Srm2SourcePlace);
-            this.panel13.Controls.Add(this.label43);
-            this.panel13.Controls.Add(this.btnSrm2EStop);
-            this.panel13.Controls.Add(this.label44);
-            this.panel13.Controls.Add(this.label45);
-            this.panel13.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel13.Location = new System.Drawing.Point(0, 80);
-            this.panel13.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel13.Name = "panel13";
-            this.panel13.Size = new System.Drawing.Size(189, 770);
-            this.panel13.TabIndex = 39;
-            // 
-            // btn_Change2
-            // 
-            this.btn_Change2.BackColor = System.Drawing.Color.White;
-            this.btn_Change2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_Change2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btn_Change2.Location = new System.Drawing.Point(4, 330);
-            this.btn_Change2.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_Change2.Name = "btn_Change2";
-            this.btn_Change2.Size = new System.Drawing.Size(176, 48);
-            this.btn_Change2.TabIndex = 47;
-            this.btn_Change2.Text = "起始/目标互换";
-            this.btn_Change2.UseVisualStyleBackColor = false;
-            this.btn_Change2.Click += new System.EventHandler(this.btn_Change2_Click);
-            // 
-            // btnSrm2Confirm
-            // 
-            this.btnSrm2Confirm.BackColor = System.Drawing.Color.White;
-            this.btnSrm2Confirm.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm2Confirm.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm2Confirm.Location = new System.Drawing.Point(8, 208);
-            this.btnSrm2Confirm.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm2Confirm.Name = "btnSrm2Confirm";
-            this.btnSrm2Confirm.Size = new System.Drawing.Size(173, 48);
-            this.btnSrm2Confirm.TabIndex = 46;
-            this.btnSrm2Confirm.Text = "任务完成确认";
-            this.btnSrm2Confirm.UseVisualStyleBackColor = false;
-            this.btnSrm2Confirm.Click += new System.EventHandler(this.btnSrm2Confirm_Click);
-            // 
-            // tbSrm2TaskId
-            // 
-            this.tbSrm2TaskId.Location = new System.Drawing.Point(83, 108);
-            this.tbSrm2TaskId.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tbSrm2TaskId.Name = "tbSrm2TaskId";
-            this.tbSrm2TaskId.Size = new System.Drawing.Size(87, 25);
-            this.tbSrm2TaskId.TabIndex = 44;
-            // 
-            // label48
-            // 
-            this.label48.AutoSize = true;
-            this.label48.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label48.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label48.Location = new System.Drawing.Point(11, 108);
-            this.label48.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label48.Name = "label48";
-            this.label48.Size = new System.Drawing.Size(71, 18);
-            this.label48.TabIndex = 43;
-            this.label48.Text = "任务号:";
-            // 
-            // btnSrm2Move
-            // 
-            this.btnSrm2Move.BackColor = System.Drawing.Color.White;
-            this.btnSrm2Move.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm2Move.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm2Move.Location = new System.Drawing.Point(100, 152);
-            this.btnSrm2Move.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm2Move.Name = "btnSrm2Move";
-            this.btnSrm2Move.Size = new System.Drawing.Size(80, 48);
-            this.btnSrm2Move.TabIndex = 41;
-            this.btnSrm2Move.Text = "移动";
-            this.btnSrm2Move.UseVisualStyleBackColor = false;
-            this.btnSrm2Move.Click += new System.EventHandler(this.btnSrm2Move_Click);
-            // 
-            // btnSrm2Send
-            // 
-            this.btnSrm2Send.BackColor = System.Drawing.Color.White;
-            this.btnSrm2Send.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm2Send.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm2Send.Location = new System.Drawing.Point(8, 152);
-            this.btnSrm2Send.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm2Send.Name = "btnSrm2Send";
-            this.btnSrm2Send.Size = new System.Drawing.Size(83, 48);
-            this.btnSrm2Send.TabIndex = 39;
-            this.btnSrm2Send.Text = "下发";
-            this.btnSrm2Send.UseVisualStyleBackColor = false;
-            this.btnSrm2Send.Click += new System.EventHandler(this.btnSrm2Send_Click);
-            // 
-            // tB_Srm2ToPlace
-            // 
-            this.tB_Srm2ToPlace.Location = new System.Drawing.Point(83, 70);
-            this.tB_Srm2ToPlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm2ToPlace.Name = "tB_Srm2ToPlace";
-            this.tB_Srm2ToPlace.Size = new System.Drawing.Size(87, 25);
-            this.tB_Srm2ToPlace.TabIndex = 38;
-            // 
-            // tB_Srm2SourcePlace
-            // 
-            this.tB_Srm2SourcePlace.Location = new System.Drawing.Point(83, 35);
-            this.tB_Srm2SourcePlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm2SourcePlace.Name = "tB_Srm2SourcePlace";
-            this.tB_Srm2SourcePlace.Size = new System.Drawing.Size(87, 25);
-            this.tB_Srm2SourcePlace.TabIndex = 37;
-            // 
-            // label43
-            // 
-            this.label43.AutoSize = true;
-            this.label43.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label43.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label43.Location = new System.Drawing.Point(11, 72);
-            this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label43.Name = "label43";
-            this.label43.Size = new System.Drawing.Size(71, 18);
-            this.label43.TabIndex = 36;
-            this.label43.Text = "目标位:";
-            // 
-            // btnSrm2EStop
-            // 
-            this.btnSrm2EStop.BackColor = System.Drawing.Color.Red;
-            this.btnSrm2EStop.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm2EStop.ForeColor = System.Drawing.Color.White;
-            this.btnSrm2EStop.Location = new System.Drawing.Point(5, 258);
-            this.btnSrm2EStop.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm2EStop.Name = "btnSrm2EStop";
-            this.btnSrm2EStop.Size = new System.Drawing.Size(179, 52);
-            this.btnSrm2EStop.TabIndex = 42;
-            this.btnSrm2EStop.Text = "急停";
-            this.btnSrm2EStop.UseVisualStyleBackColor = false;
-            this.btnSrm2EStop.Click += new System.EventHandler(this.btnSrm2EStop_Click);
-            // 
-            // label44
-            // 
-            this.label44.AutoSize = true;
-            this.label44.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label44.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label44.Location = new System.Drawing.Point(11, 38);
-            this.label44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label44.Name = "label44";
-            this.label44.Size = new System.Drawing.Size(71, 18);
-            this.label44.TabIndex = 35;
-            this.label44.Text = "起始位:";
-            // 
-            // label45
-            // 
-            this.label45.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label45.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label45.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label45.ForeColor = System.Drawing.Color.Maroon;
-            this.label45.Location = new System.Drawing.Point(0, 0);
-            this.label45.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label45.Name = "label45";
-            this.label45.Size = new System.Drawing.Size(189, 32);
-            this.label45.TabIndex = 34;
-            this.label45.Text = "手动指令下发";
-            this.label45.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosY2
-            // 
-            this.lblSrmPosY2.AutoSize = true;
-            this.lblSrmPosY2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosY2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosY2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosY2.Location = new System.Drawing.Point(0, 56);
-            this.lblSrmPosY2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosY2.Name = "lblSrmPosY2";
-            this.lblSrmPosY2.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosY2.TabIndex = 35;
-            this.lblSrmPosY2.Text = "当前层: ";
-            this.lblSrmPosY2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosX2
-            // 
-            this.lblSrmPosX2.AutoSize = true;
-            this.lblSrmPosX2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosX2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosX2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosX2.Location = new System.Drawing.Point(0, 32);
-            this.lblSrmPosX2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosX2.Name = "lblSrmPosX2";
-            this.lblSrmPosX2.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosX2.TabIndex = 34;
-            this.lblSrmPosX2.Text = "当前列: ";
-            this.lblSrmPosX2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label46
-            // 
-            this.label46.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label46.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label46.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label46.ForeColor = System.Drawing.Color.Maroon;
-            this.label46.Location = new System.Drawing.Point(0, 0);
-            this.label46.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label46.Name = "label46";
-            this.label46.Size = new System.Drawing.Size(189, 32);
-            this.label46.TabIndex = 33;
-            this.label46.Text = "位置信息";
-            this.label46.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrm2State
-            // 
-            this.lbSrm2State.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.lbSrm2State.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrm2State.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrm2State.ForeColor = System.Drawing.Color.Maroon;
-            this.lbSrm2State.Location = new System.Drawing.Point(0, 0);
-            this.lbSrm2State.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbSrm2State.Name = "lbSrm2State";
-            this.lbSrm2State.Size = new System.Drawing.Size(802, 40);
-            this.lbSrm2State.TabIndex = 33;
-            this.lbSrm2State.Text = "2号堆垛机当前信息";
-            this.lbSrm2State.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel_Srm1
-            // 
-            this.panel_Srm1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel_Srm1.Controls.Add(this.btnSMQZYZTG1);
-            this.panel_Srm1.Controls.Add(this.lbl_R_PickReqForInStore_1);
-            this.panel_Srm1.Controls.Add(this.lblSrmAlarm1);
-            this.panel_Srm1.Controls.Add(this.lb45);
-            this.panel_Srm1.Controls.Add(this.lblSrmTaskNo1);
-            this.panel_Srm1.Controls.Add(this.lbSrmToPlace1);
-            this.panel_Srm1.Controls.Add(this.lbSrmSourcePlace1);
-            this.panel_Srm1.Controls.Add(this.lblSrmWorkState1);
-            this.panel_Srm1.Controls.Add(this.label15);
-            this.panel_Srm1.Controls.Add(this.btnSrm1Delete);
-            this.panel_Srm1.Controls.Add(this.btnSrm1RlsAlert);
-            this.panel_Srm1.Controls.Add(this.lblSrmWorkMode1);
-            this.panel_Srm1.Controls.Add(this.lbWork);
-            this.panel_Srm1.Controls.Add(this.panel3);
-            this.panel_Srm1.Controls.Add(this.lbSrm1State);
-            this.panel_Srm1.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel_Srm1.Location = new System.Drawing.Point(4, 2);
-            this.panel_Srm1.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel_Srm1.Name = "panel_Srm1";
-            this.panel_Srm1.Size = new System.Drawing.Size(727, 894);
-            this.panel_Srm1.TabIndex = 2;
-            // 
-            // btnSMQZYZTG1
-            // 
-            this.btnSMQZYZTG1.BackColor = System.Drawing.Color.White;
-            this.btnSMQZYZTG1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSMQZYZTG1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSMQZYZTG1.Location = new System.Drawing.Point(227, 484);
-            this.btnSMQZYZTG1.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSMQZYZTG1.Name = "btnSMQZYZTG1";
-            this.btnSMQZYZTG1.Size = new System.Drawing.Size(269, 79);
-            this.btnSMQZYZTG1.TabIndex = 47;
-            this.btnSMQZYZTG1.Text = "入库口扫码强制验证通过";
-            this.btnSMQZYZTG1.UseVisualStyleBackColor = false;
-            this.btnSMQZYZTG1.Click += new System.EventHandler(this.btnSMQZYZTG1_Click);
-            // 
-            // lbl_R_PickReqForInStore_1
-            // 
-            this.lbl_R_PickReqForInStore_1.AutoSize = true;
-            this.lbl_R_PickReqForInStore_1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_PickReqForInStore_1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_PickReqForInStore_1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_PickReqForInStore_1.Location = new System.Drawing.Point(214, 240);
-            this.lbl_R_PickReqForInStore_1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_PickReqForInStore_1.Name = "lbl_R_PickReqForInStore_1";
-            this.lbl_R_PickReqForInStore_1.Size = new System.Drawing.Size(91, 24);
-            this.lbl_R_PickReqForInStore_1.TabIndex = 62;
-            this.lbl_R_PickReqForInStore_1.Text = "取货请求: ";
-            this.lbl_R_PickReqForInStore_1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmAlarm1
-            // 
-            this.lblSrmAlarm1.AutoSize = true;
-            this.lblSrmAlarm1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmAlarm1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmAlarm1.ForeColor = System.Drawing.Color.Red;
-            this.lblSrmAlarm1.Location = new System.Drawing.Point(214, 216);
-            this.lblSrmAlarm1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmAlarm1.Name = "lblSrmAlarm1";
-            this.lblSrmAlarm1.Size = new System.Drawing.Size(50, 24);
-            this.lblSrmAlarm1.TabIndex = 40;
-            this.lblSrmAlarm1.Text = "        ";
-            this.lblSrmAlarm1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lb45
-            // 
-            this.lb45.AutoSize = true;
-            this.lb45.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lb45.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lb45.ForeColor = System.Drawing.Color.SkyBlue;
-            this.lb45.Location = new System.Drawing.Point(214, 192);
-            this.lb45.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lb45.Name = "lb45";
-            this.lb45.Size = new System.Drawing.Size(140, 24);
-            this.lb45.TabIndex = 60;
-            this.lb45.Text = "堆垛机故障信息:";
-            this.lb45.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmTaskNo1
-            // 
-            this.lblSrmTaskNo1.AutoSize = true;
-            this.lblSrmTaskNo1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmTaskNo1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmTaskNo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmTaskNo1.Location = new System.Drawing.Point(214, 168);
-            this.lblSrmTaskNo1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmTaskNo1.Name = "lblSrmTaskNo1";
-            this.lblSrmTaskNo1.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmTaskNo1.TabIndex = 61;
-            this.lblSrmTaskNo1.Text = "任务号: ";
-            this.lblSrmTaskNo1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmToPlace1
-            // 
-            this.lbSrmToPlace1.AutoSize = true;
-            this.lbSrmToPlace1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmToPlace1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmToPlace1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmToPlace1.Location = new System.Drawing.Point(214, 144);
-            this.lbSrmToPlace1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmToPlace1.Name = "lbSrmToPlace1";
-            this.lbSrmToPlace1.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmToPlace1.TabIndex = 58;
-            this.lbSrmToPlace1.Text = "目标位: ";
-            this.lbSrmToPlace1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmSourcePlace1
-            // 
-            this.lbSrmSourcePlace1.AutoSize = true;
-            this.lbSrmSourcePlace1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmSourcePlace1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmSourcePlace1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmSourcePlace1.Location = new System.Drawing.Point(214, 120);
-            this.lbSrmSourcePlace1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmSourcePlace1.Name = "lbSrmSourcePlace1";
-            this.lbSrmSourcePlace1.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmSourcePlace1.TabIndex = 57;
-            this.lbSrmSourcePlace1.Text = "起始位: ";
-            this.lbSrmSourcePlace1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmWorkState1
-            // 
-            this.lblSrmWorkState1.AutoSize = true;
-            this.lblSrmWorkState1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkState1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkState1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkState1.Location = new System.Drawing.Point(214, 96);
-            this.lblSrmWorkState1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkState1.Name = "lblSrmWorkState1";
-            this.lblSrmWorkState1.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkState1.TabIndex = 59;
-            this.lblSrmWorkState1.Text = "工作状态: ";
-            this.lblSrmWorkState1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label15
-            // 
-            this.label15.AutoSize = true;
-            this.label15.Location = new System.Drawing.Point(259, 218);
-            this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label15.Name = "label15";
-            this.label15.Size = new System.Drawing.Size(0, 15);
-            this.label15.TabIndex = 46;
-            this.label15.Tag = "小车故障信息";
-            // 
-            // btnSrm1Delete
-            // 
-            this.btnSrm1Delete.BackColor = System.Drawing.Color.Maroon;
-            this.btnSrm1Delete.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm1Delete.ForeColor = System.Drawing.Color.White;
-            this.btnSrm1Delete.Location = new System.Drawing.Point(329, 368);
-            this.btnSrm1Delete.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm1Delete.Name = "btnSrm1Delete";
-            this.btnSrm1Delete.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm1Delete.TabIndex = 45;
-            this.btnSrm1Delete.Text = "删堆垛机任务";
-            this.btnSrm1Delete.UseVisualStyleBackColor = false;
-            this.btnSrm1Delete.Click += new System.EventHandler(this.btnSrm1Delete_Click);
-            // 
-            // btnSrm1RlsAlert
-            // 
-            this.btnSrm1RlsAlert.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
-            this.btnSrm1RlsAlert.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm1RlsAlert.ForeColor = System.Drawing.Color.White;
-            this.btnSrm1RlsAlert.Location = new System.Drawing.Point(227, 368);
-            this.btnSrm1RlsAlert.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm1RlsAlert.Name = "btnSrm1RlsAlert";
-            this.btnSrm1RlsAlert.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm1RlsAlert.TabIndex = 43;
-            this.btnSrm1RlsAlert.Text = "堆垛机解警";
-            this.btnSrm1RlsAlert.UseVisualStyleBackColor = false;
-            this.btnSrm1RlsAlert.Click += new System.EventHandler(this.btnSrm1RlsAlert_Click);
-            // 
-            // lblSrmWorkMode1
-            // 
-            this.lblSrmWorkMode1.AutoSize = true;
-            this.lblSrmWorkMode1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkMode1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkMode1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkMode1.Location = new System.Drawing.Point(214, 72);
-            this.lblSrmWorkMode1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkMode1.Name = "lblSrmWorkMode1";
-            this.lblSrmWorkMode1.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkMode1.TabIndex = 36;
-            this.lblSrmWorkMode1.Text = "设备模式: ";
-            this.lblSrmWorkMode1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbWork
-            // 
-            this.lbWork.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.lbWork.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbWork.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbWork.ForeColor = System.Drawing.Color.Maroon;
-            this.lbWork.Location = new System.Drawing.Point(214, 40);
-            this.lbWork.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbWork.Name = "lbWork";
-            this.lbWork.Size = new System.Drawing.Size(511, 32);
-            this.lbWork.TabIndex = 35;
-            this.lbWork.Text = "工作状态";
-            this.lbWork.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel3
-            // 
-            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel3.Controls.Add(this.panel5);
-            this.panel3.Controls.Add(this.lblSrmPosY1);
-            this.panel3.Controls.Add(this.lblSrmPosX1);
-            this.panel3.Controls.Add(this.lbLocation);
-            this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel3.Location = new System.Drawing.Point(0, 40);
-            this.panel3.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel3.Name = "panel3";
-            this.panel3.Size = new System.Drawing.Size(214, 852);
-            this.panel3.TabIndex = 34;
-            // 
-            // panel5
-            // 
-            this.panel5.Controls.Add(this.btn_Change1);
-            this.panel5.Controls.Add(this.btnSrm1Confirm);
-            this.panel5.Controls.Add(this.tbSrm1TaskId);
-            this.panel5.Controls.Add(this.label47);
-            this.panel5.Controls.Add(this.btnSrm1Move);
-            this.panel5.Controls.Add(this.btnSrm1Send);
-            this.panel5.Controls.Add(this.tB_Srm1ToPlace);
-            this.panel5.Controls.Add(this.tB_Srm1SourcePlace);
-            this.panel5.Controls.Add(this.lbToPlaceOrder);
-            this.panel5.Controls.Add(this.btnSrm1EStop);
-            this.panel5.Controls.Add(this.lbSourcePlaceOrder);
-            this.panel5.Controls.Add(this.lbOrderSet);
-            this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel5.Location = new System.Drawing.Point(0, 80);
-            this.panel5.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel5.Name = "panel5";
-            this.panel5.Size = new System.Drawing.Size(212, 770);
-            this.panel5.TabIndex = 39;
-            // 
-            // btn_Change1
-            // 
-            this.btn_Change1.BackColor = System.Drawing.Color.White;
-            this.btn_Change1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_Change1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btn_Change1.Location = new System.Drawing.Point(8, 330);
-            this.btn_Change1.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_Change1.Name = "btn_Change1";
-            this.btn_Change1.Size = new System.Drawing.Size(173, 48);
-            this.btn_Change1.TabIndex = 46;
-            this.btn_Change1.Text = "起始/目标互换";
-            this.btn_Change1.UseVisualStyleBackColor = false;
-            this.btn_Change1.Click += new System.EventHandler(this.btn_Change1_Click);
-            // 
-            // btnSrm1Confirm
-            // 
-            this.btnSrm1Confirm.BackColor = System.Drawing.Color.White;
-            this.btnSrm1Confirm.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm1Confirm.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm1Confirm.Location = new System.Drawing.Point(13, 208);
-            this.btnSrm1Confirm.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm1Confirm.Name = "btnSrm1Confirm";
-            this.btnSrm1Confirm.Size = new System.Drawing.Size(167, 48);
-            this.btnSrm1Confirm.TabIndex = 45;
-            this.btnSrm1Confirm.Text = "任务完成确认";
-            this.btnSrm1Confirm.UseVisualStyleBackColor = false;
-            this.btnSrm1Confirm.Click += new System.EventHandler(this.btnSrm1Confirm_Click);
-            // 
-            // tbSrm1TaskId
-            // 
-            this.tbSrm1TaskId.Location = new System.Drawing.Point(80, 102);
-            this.tbSrm1TaskId.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tbSrm1TaskId.Name = "tbSrm1TaskId";
-            this.tbSrm1TaskId.Size = new System.Drawing.Size(100, 25);
-            this.tbSrm1TaskId.TabIndex = 44;
-            // 
-            // label47
-            // 
-            this.label47.AutoSize = true;
-            this.label47.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label47.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label47.Location = new System.Drawing.Point(9, 108);
-            this.label47.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label47.Name = "label47";
-            this.label47.Size = new System.Drawing.Size(71, 18);
-            this.label47.TabIndex = 43;
-            this.label47.Text = "任务号:";
-            // 
-            // btnSrm1Move
-            // 
-            this.btnSrm1Move.BackColor = System.Drawing.Color.White;
-            this.btnSrm1Move.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm1Move.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm1Move.Location = new System.Drawing.Point(103, 152);
-            this.btnSrm1Move.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm1Move.Name = "btnSrm1Move";
-            this.btnSrm1Move.Size = new System.Drawing.Size(80, 48);
-            this.btnSrm1Move.TabIndex = 41;
-            this.btnSrm1Move.Text = "移动";
-            this.btnSrm1Move.UseVisualStyleBackColor = false;
-            this.btnSrm1Move.Click += new System.EventHandler(this.btnSrm1Move_Click);
-            // 
-            // btnSrm1Send
-            // 
-            this.btnSrm1Send.BackColor = System.Drawing.Color.White;
-            this.btnSrm1Send.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm1Send.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm1Send.Location = new System.Drawing.Point(13, 152);
-            this.btnSrm1Send.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm1Send.Name = "btnSrm1Send";
-            this.btnSrm1Send.Size = new System.Drawing.Size(83, 48);
-            this.btnSrm1Send.TabIndex = 39;
-            this.btnSrm1Send.Text = "下发";
-            this.btnSrm1Send.UseVisualStyleBackColor = false;
-            this.btnSrm1Send.Click += new System.EventHandler(this.btnSrm1Send_Click);
-            // 
-            // tB_Srm1ToPlace
-            // 
-            this.tB_Srm1ToPlace.Location = new System.Drawing.Point(80, 70);
-            this.tB_Srm1ToPlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm1ToPlace.Name = "tB_Srm1ToPlace";
-            this.tB_Srm1ToPlace.Size = new System.Drawing.Size(100, 25);
-            this.tB_Srm1ToPlace.TabIndex = 38;
-            // 
-            // tB_Srm1SourcePlace
-            // 
-            this.tB_Srm1SourcePlace.Location = new System.Drawing.Point(80, 38);
-            this.tB_Srm1SourcePlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm1SourcePlace.Name = "tB_Srm1SourcePlace";
-            this.tB_Srm1SourcePlace.Size = new System.Drawing.Size(100, 25);
-            this.tB_Srm1SourcePlace.TabIndex = 37;
-            // 
-            // lbToPlaceOrder
-            // 
-            this.lbToPlaceOrder.AutoSize = true;
-            this.lbToPlaceOrder.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbToPlaceOrder.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbToPlaceOrder.Location = new System.Drawing.Point(9, 72);
-            this.lbToPlaceOrder.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbToPlaceOrder.Name = "lbToPlaceOrder";
-            this.lbToPlaceOrder.Size = new System.Drawing.Size(71, 18);
-            this.lbToPlaceOrder.TabIndex = 36;
-            this.lbToPlaceOrder.Text = "目标位:";
-            // 
-            // btnSrm1EStop
-            // 
-            this.btnSrm1EStop.BackColor = System.Drawing.Color.Red;
-            this.btnSrm1EStop.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm1EStop.ForeColor = System.Drawing.Color.White;
-            this.btnSrm1EStop.Location = new System.Drawing.Point(8, 258);
-            this.btnSrm1EStop.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm1EStop.Name = "btnSrm1EStop";
-            this.btnSrm1EStop.Size = new System.Drawing.Size(173, 52);
-            this.btnSrm1EStop.TabIndex = 42;
-            this.btnSrm1EStop.Text = "急停";
-            this.btnSrm1EStop.UseVisualStyleBackColor = false;
-            this.btnSrm1EStop.Click += new System.EventHandler(this.btnSrm1EStop_Click);
-            // 
-            // lbSourcePlaceOrder
-            // 
-            this.lbSourcePlaceOrder.AutoSize = true;
-            this.lbSourcePlaceOrder.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSourcePlaceOrder.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSourcePlaceOrder.Location = new System.Drawing.Point(9, 42);
-            this.lbSourcePlaceOrder.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbSourcePlaceOrder.Name = "lbSourcePlaceOrder";
-            this.lbSourcePlaceOrder.Size = new System.Drawing.Size(71, 18);
-            this.lbSourcePlaceOrder.TabIndex = 35;
-            this.lbSourcePlaceOrder.Text = "起始位:";
-            // 
-            // lbOrderSet
-            // 
-            this.lbOrderSet.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.lbOrderSet.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbOrderSet.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbOrderSet.ForeColor = System.Drawing.Color.Maroon;
-            this.lbOrderSet.Location = new System.Drawing.Point(0, 0);
-            this.lbOrderSet.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbOrderSet.Name = "lbOrderSet";
-            this.lbOrderSet.Size = new System.Drawing.Size(212, 32);
-            this.lbOrderSet.TabIndex = 34;
-            this.lbOrderSet.Text = "手动指令下发";
-            this.lbOrderSet.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosY1
-            // 
-            this.lblSrmPosY1.AutoSize = true;
-            this.lblSrmPosY1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosY1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosY1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosY1.Location = new System.Drawing.Point(0, 56);
-            this.lblSrmPosY1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosY1.Name = "lblSrmPosY1";
-            this.lblSrmPosY1.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosY1.TabIndex = 35;
-            this.lblSrmPosY1.Text = "当前层: ";
-            this.lblSrmPosY1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosX1
-            // 
-            this.lblSrmPosX1.AutoSize = true;
-            this.lblSrmPosX1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosX1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosX1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosX1.Location = new System.Drawing.Point(0, 32);
-            this.lblSrmPosX1.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosX1.Name = "lblSrmPosX1";
-            this.lblSrmPosX1.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosX1.TabIndex = 34;
-            this.lblSrmPosX1.Text = "当前列: ";
-            this.lblSrmPosX1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbLocation
-            // 
-            this.lbLocation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.lbLocation.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbLocation.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbLocation.ForeColor = System.Drawing.Color.Maroon;
-            this.lbLocation.Location = new System.Drawing.Point(0, 0);
-            this.lbLocation.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbLocation.Name = "lbLocation";
-            this.lbLocation.Size = new System.Drawing.Size(212, 32);
-            this.lbLocation.TabIndex = 33;
-            this.lbLocation.Text = "位置信息";
-            this.lbLocation.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrm1State
-            // 
-            this.lbSrm1State.BackColor = System.Drawing.SystemColors.Control;
-            this.lbSrm1State.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.lbSrm1State.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrm1State.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrm1State.ForeColor = System.Drawing.Color.Maroon;
-            this.lbSrm1State.Location = new System.Drawing.Point(0, 0);
-            this.lbSrm1State.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lbSrm1State.Name = "lbSrm1State";
-            this.lbSrm1State.Size = new System.Drawing.Size(725, 40);
-            this.lbSrm1State.TabIndex = 33;
-            this.lbSrm1State.Text = "1号堆垛机当前信息";
-            this.lbSrm1State.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // tabControl1
             // 
             this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
             this.tabControl1.Controls.Add(this.tPModeChoice);
             this.tabControl1.Controls.Add(this.tp_Thread);
-            this.tabControl1.Controls.Add(this.tP_Srm);
-            this.tabControl1.Controls.Add(this.tabPage1);
-            this.tabControl1.Controls.Add(this.tPTransAsrs);
-            this.tabControl1.Controls.Add(this.tp_DeviceTask);
-            this.tabControl1.Controls.Add(this.tabPage4);
-            this.tabControl1.Controls.Add(this.tab_OutTaskList);
-            this.tabControl1.Controls.Add(this.tab_WaitPlanDetail);
-            this.tabControl1.Controls.Add(this.panel_DeviceTaskList_dataGridView_RgvStore);
             this.tabControl1.Controls.Add(this.tabPage3);
-            this.tabControl1.Controls.Add(this.tabPage_OutTaskRetryToMes);
             this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.tabControl1.Location = new System.Drawing.Point(0, 0);
             this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
@@ -2808,7 +141,6 @@
             // 
             this.panel_Model.Controls.Add(this.lbl_currHandlerPackageCodeForIssueOutboundTask);
             this.panel_Model.Controls.Add(this.lbl_RobotMode);
-            this.panel_Model.Controls.Add(this.rBOnlyIn);
             this.panel_Model.Controls.Add(this.lbl_IsSimulationPLC);
             this.panel_Model.Controls.Add(this.lbl_WCFMsg);
             this.panel_Model.Controls.Add(this.rbHand);
@@ -2844,21 +176,6 @@
             this.lbl_RobotMode.Size = new System.Drawing.Size(127, 15);
             this.lbl_RobotMode.TabIndex = 12;
             this.lbl_RobotMode.Text = "缓存岛机器人模式";
-            // 
-            // rBOnlyIn
-            // 
-            this.rBOnlyIn.Appearance = System.Windows.Forms.Appearance.Button;
-            this.rBOnlyIn.AutoSize = true;
-            this.rBOnlyIn.Font = new System.Drawing.Font("微软雅黑", 36F, System.Drawing.FontStyle.Bold);
-            this.rBOnlyIn.ForeColor = System.Drawing.Color.Maroon;
-            this.rBOnlyIn.Location = new System.Drawing.Point(483, 192);
-            this.rBOnlyIn.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.rBOnlyIn.Name = "rBOnlyIn";
-            this.rBOnlyIn.Size = new System.Drawing.Size(410, 90);
-            this.rBOnlyIn.TabIndex = 11;
-            this.rBOnlyIn.Text = "    入库模式   ";
-            this.rBOnlyIn.UseVisualStyleBackColor = true;
-            this.rBOnlyIn.CheckedChanged += new System.EventHandler(this.rBOnlyIn_CheckedChanged);
             // 
             // lbl_IsSimulationPLC
             // 
@@ -2943,7 +260,7 @@
             this.rBDebug.AutoSize = true;
             this.rBDebug.Font = new System.Drawing.Font("微软雅黑", 36F, System.Drawing.FontStyle.Bold);
             this.rBDebug.ForeColor = System.Drawing.Color.Maroon;
-            this.rBDebug.Location = new System.Drawing.Point(483, 314);
+            this.rBDebug.Location = new System.Drawing.Point(483, 216);
             this.rBDebug.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
             this.rBDebug.Name = "rBDebug";
             this.rBDebug.Size = new System.Drawing.Size(410, 90);
@@ -3025,24 +342,16 @@
             this.groupBox1.Controls.Add(this.ckDeleteData);
             this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_BZ12_IssueTask);
             this.groupBox1.Controls.Add(this.ck_DataProcess_BZ12_IssueTask);
-            this.groupBox1.Controls.Add(this.lbl_Alert_Srm4ReleaseFinish);
-            this.groupBox1.Controls.Add(this.lbl_Alert_Srm4Release);
-            this.groupBox1.Controls.Add(this.ckBSrm4Release);
-            this.groupBox1.Controls.Add(this.ckBSrm4FinishedHandle);
             this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_BZ21_FinishTask);
             this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_BZ12);
             this.groupBox1.Controls.Add(this.ckBDataProcess_BZ12);
             this.groupBox1.Controls.Add(this.ckBDataProcess_BZ21_FinishTask);
             this.groupBox1.Controls.Add(this.lbl_Alert_PushPaperCutToMes);
             this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_BZ12_FinishTask);
-            this.groupBox1.Controls.Add(this.lbl_Alter_Srm1ReleaseFinish);
-            this.groupBox1.Controls.Add(this.lbl_Alert_RgvRelease);
             this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound);
             this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_BZ39_IssueInboundTask);
             this.groupBox1.Controls.Add(this.ckB_DataProcess_BZ39_IssueInboundTask);
             this.groupBox1.Controls.Add(this.ckB_PushPaperCutToMes);
-            this.groupBox1.Controls.Add(this.ckBSrm1FinishedHandle);
-            this.groupBox1.Controls.Add(this.ckBRgvRelease);
             this.groupBox1.Controls.Add(this.ckBDataProcess_RobotBuffer_ForceOutbound);
             this.groupBox1.Controls.Add(this.ckBDataProcess_BZ12_FinishTask);
             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -3061,7 +370,7 @@
             this.lbl_alert_DataProcess_269.AutoSize = true;
             this.lbl_alert_DataProcess_269.BackColor = System.Drawing.Color.White;
             this.lbl_alert_DataProcess_269.ForeColor = System.Drawing.Color.Red;
-            this.lbl_alert_DataProcess_269.Location = new System.Drawing.Point(210, 845);
+            this.lbl_alert_DataProcess_269.Location = new System.Drawing.Point(211, 22);
             this.lbl_alert_DataProcess_269.Name = "lbl_alert_DataProcess_269";
             this.lbl_alert_DataProcess_269.Size = new System.Drawing.Size(70, 15);
             this.lbl_alert_DataProcess_269.TabIndex = 57;
@@ -3070,12 +379,12 @@
             // ck_DataProcess_269
             // 
             this.ck_DataProcess_269.AutoSize = true;
-            this.ck_DataProcess_269.Location = new System.Drawing.Point(4, 845);
+            this.ck_DataProcess_269.Location = new System.Drawing.Point(5, 22);
             this.ck_DataProcess_269.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_269.Name = "ck_DataProcess_269";
-            this.ck_DataProcess_269.Size = new System.Drawing.Size(120, 19);
+            this.ck_DataProcess_269.Size = new System.Drawing.Size(184, 19);
             this.ck_DataProcess_269.TabIndex = 56;
-            this.ck_DataProcess_269.Text = "269工位线程";
+            this.ck_DataProcess_269.Text = "269首次扫码工位线程";
             this.ck_DataProcess_269.UseVisualStyleBackColor = true;
             this.ck_DataProcess_269.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
             // 
@@ -3084,7 +393,7 @@
             this.lbl_alert_DataProcess_BZ01.AutoSize = true;
             this.lbl_alert_DataProcess_BZ01.BackColor = System.Drawing.Color.White;
             this.lbl_alert_DataProcess_BZ01.ForeColor = System.Drawing.Color.Red;
-            this.lbl_alert_DataProcess_BZ01.Location = new System.Drawing.Point(212, 810);
+            this.lbl_alert_DataProcess_BZ01.Location = new System.Drawing.Point(243, 57);
             this.lbl_alert_DataProcess_BZ01.Name = "lbl_alert_DataProcess_BZ01";
             this.lbl_alert_DataProcess_BZ01.Size = new System.Drawing.Size(70, 15);
             this.lbl_alert_DataProcess_BZ01.TabIndex = 55;
@@ -3093,12 +402,12 @@
             // ck_AutoIssueInStoreTask
             // 
             this.ck_AutoIssueInStoreTask.AutoSize = true;
-            this.ck_AutoIssueInStoreTask.Location = new System.Drawing.Point(6, 810);
+            this.ck_AutoIssueInStoreTask.Location = new System.Drawing.Point(3, 57);
             this.ck_AutoIssueInStoreTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_AutoIssueInStoreTask.Name = "ck_AutoIssueInStoreTask";
-            this.ck_AutoIssueInStoreTask.Size = new System.Drawing.Size(129, 19);
+            this.ck_AutoIssueInStoreTask.Size = new System.Drawing.Size(227, 19);
             this.ck_AutoIssueInStoreTask.TabIndex = 54;
-            this.ck_AutoIssueInStoreTask.Text = "BZ01工位线程";
+            this.ck_AutoIssueInStoreTask.Text = "BZ01(清洗后工位)工位线程";
             this.ck_AutoIssueInStoreTask.UseVisualStyleBackColor = true;
             this.ck_AutoIssueInStoreTask.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
             // 
@@ -3107,7 +416,7 @@
             this.lbl_alert_DataProcess_BZ39.AutoSize = true;
             this.lbl_alert_DataProcess_BZ39.BackColor = System.Drawing.Color.White;
             this.lbl_alert_DataProcess_BZ39.ForeColor = System.Drawing.Color.Red;
-            this.lbl_alert_DataProcess_BZ39.Location = new System.Drawing.Point(209, 772);
+            this.lbl_alert_DataProcess_BZ39.Location = new System.Drawing.Point(241, 93);
             this.lbl_alert_DataProcess_BZ39.Name = "lbl_alert_DataProcess_BZ39";
             this.lbl_alert_DataProcess_BZ39.Size = new System.Drawing.Size(70, 15);
             this.lbl_alert_DataProcess_BZ39.TabIndex = 53;
@@ -3116,12 +425,12 @@
             // ck_DataProcess_BZ39
             // 
             this.ck_DataProcess_BZ39.AutoSize = true;
-            this.ck_DataProcess_BZ39.Location = new System.Drawing.Point(5, 772);
+            this.ck_DataProcess_BZ39.Location = new System.Drawing.Point(3, 93);
             this.ck_DataProcess_BZ39.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_BZ39.Name = "ck_DataProcess_BZ39";
-            this.ck_DataProcess_BZ39.Size = new System.Drawing.Size(129, 19);
+            this.ck_DataProcess_BZ39.Size = new System.Drawing.Size(227, 19);
             this.ck_DataProcess_BZ39.TabIndex = 52;
-            this.ck_DataProcess_BZ39.Text = "BZ39工位线程";
+            this.ck_DataProcess_BZ39.Text = "BZ39(补板后工位)工位线程";
             this.ck_DataProcess_BZ39.UseVisualStyleBackColor = true;
             this.ck_DataProcess_BZ39.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
             // 
@@ -3130,7 +439,7 @@
             this.lbl_Alert_PushPackageCodeToMes.AutoSize = true;
             this.lbl_Alert_PushPackageCodeToMes.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_PushPackageCodeToMes.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_PushPackageCodeToMes.Location = new System.Drawing.Point(236, 221);
+            this.lbl_Alert_PushPackageCodeToMes.Location = new System.Drawing.Point(233, 623);
             this.lbl_Alert_PushPackageCodeToMes.Name = "lbl_Alert_PushPackageCodeToMes";
             this.lbl_Alert_PushPackageCodeToMes.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_PushPackageCodeToMes.TabIndex = 51;
@@ -3139,7 +448,7 @@
             // ck_PushPackageCodeToMes
             // 
             this.ck_PushPackageCodeToMes.AutoSize = true;
-            this.ck_PushPackageCodeToMes.Location = new System.Drawing.Point(3, 221);
+            this.ck_PushPackageCodeToMes.Location = new System.Drawing.Point(0, 623);
             this.ck_PushPackageCodeToMes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_PushPackageCodeToMes.Name = "ck_PushPackageCodeToMes";
             this.ck_PushPackageCodeToMes.Size = new System.Drawing.Size(216, 19);
@@ -3153,7 +462,7 @@
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.AutoSize = true;
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.Location = new System.Drawing.Point(307, 738);
+            this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.Location = new System.Drawing.Point(307, 160);
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.Name = "lbl_Alert_DataProcess_RobotBuffer_FinishTask";
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTask.TabIndex = 49;
@@ -3162,7 +471,7 @@
             // ck_DataProcess_RobotBuffer_FinishTask
             // 
             this.ck_DataProcess_RobotBuffer_FinishTask.AutoSize = true;
-            this.ck_DataProcess_RobotBuffer_FinishTask.Location = new System.Drawing.Point(4, 738);
+            this.ck_DataProcess_RobotBuffer_FinishTask.Location = new System.Drawing.Point(4, 160);
             this.ck_DataProcess_RobotBuffer_FinishTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_RobotBuffer_FinishTask.Name = "ck_DataProcess_RobotBuffer_FinishTask";
             this.ck_DataProcess_RobotBuffer_FinishTask.Size = new System.Drawing.Size(285, 19);
@@ -3176,7 +485,7 @@
             this.lbl_Alter_DataProcess_BZ21.AutoSize = true;
             this.lbl_Alter_DataProcess_BZ21.BackColor = System.Drawing.Color.White;
             this.lbl_Alter_DataProcess_BZ21.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alter_DataProcess_BZ21.Location = new System.Drawing.Point(217, 607);
+            this.lbl_Alter_DataProcess_BZ21.Location = new System.Drawing.Point(214, 481);
             this.lbl_Alter_DataProcess_BZ21.Name = "lbl_Alter_DataProcess_BZ21";
             this.lbl_Alter_DataProcess_BZ21.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alter_DataProcess_BZ21.TabIndex = 47;
@@ -3185,7 +494,7 @@
             // checkBox_DataProcess_BZ21
             // 
             this.checkBox_DataProcess_BZ21.AutoSize = true;
-            this.checkBox_DataProcess_BZ21.Location = new System.Drawing.Point(4, 607);
+            this.checkBox_DataProcess_BZ21.Location = new System.Drawing.Point(1, 481);
             this.checkBox_DataProcess_BZ21.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.checkBox_DataProcess_BZ21.Name = "checkBox_DataProcess_BZ21";
             this.checkBox_DataProcess_BZ21.Size = new System.Drawing.Size(161, 19);
@@ -3199,7 +508,7 @@
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.AutoSize = true;
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.Location = new System.Drawing.Point(324, 450);
+            this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.Location = new System.Drawing.Point(322, 345);
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.Name = "lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound";
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound.TabIndex = 45;
@@ -3208,7 +517,7 @@
             // checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound
             // 
             this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound.AutoSize = true;
-            this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound.Location = new System.Drawing.Point(3, 446);
+            this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound.Location = new System.Drawing.Point(1, 341);
             this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound.Name = "checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound";
             this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound.Size = new System.Drawing.Size(285, 19);
@@ -3222,7 +531,7 @@
             this.lbl_DataProcess_RobotBuffer_ModeChange.AutoSize = true;
             this.lbl_DataProcess_RobotBuffer_ModeChange.BackColor = System.Drawing.Color.White;
             this.lbl_DataProcess_RobotBuffer_ModeChange.ForeColor = System.Drawing.Color.Red;
-            this.lbl_DataProcess_RobotBuffer_ModeChange.Location = new System.Drawing.Point(213, 254);
+            this.lbl_DataProcess_RobotBuffer_ModeChange.Location = new System.Drawing.Point(214, 233);
             this.lbl_DataProcess_RobotBuffer_ModeChange.Name = "lbl_DataProcess_RobotBuffer_ModeChange";
             this.lbl_DataProcess_RobotBuffer_ModeChange.Size = new System.Drawing.Size(70, 15);
             this.lbl_DataProcess_RobotBuffer_ModeChange.TabIndex = 43;
@@ -3231,7 +540,7 @@
             // ck_DataProcess_RobotBuffer_ModeChange
             // 
             this.ck_DataProcess_RobotBuffer_ModeChange.AutoSize = true;
-            this.ck_DataProcess_RobotBuffer_ModeChange.Location = new System.Drawing.Point(3, 254);
+            this.ck_DataProcess_RobotBuffer_ModeChange.Location = new System.Drawing.Point(4, 233);
             this.ck_DataProcess_RobotBuffer_ModeChange.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_RobotBuffer_ModeChange.Name = "ck_DataProcess_RobotBuffer_ModeChange";
             this.ck_DataProcess_RobotBuffer_ModeChange.Size = new System.Drawing.Size(166, 19);
@@ -3245,7 +554,7 @@
             this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.AutoSize = true;
             this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Location = new System.Drawing.Point(289, 411);
+            this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Location = new System.Drawing.Point(288, 269);
             this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Name = "lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound";
             this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.TabIndex = 41;
@@ -3254,7 +563,7 @@
             // ckDataProcess_RobotBuffer_AutoQiTaoOutbound
             // 
             this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.AutoSize = true;
-            this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Location = new System.Drawing.Point(3, 411);
+            this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Location = new System.Drawing.Point(2, 269);
             this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Name = "ckDataProcess_RobotBuffer_AutoQiTaoOutbound";
             this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Size = new System.Drawing.Size(271, 19);
@@ -3268,7 +577,7 @@
             this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.AutoSize = true;
             this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.Location = new System.Drawing.Point(345, 331);
+            this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.Location = new System.Drawing.Point(343, 308);
             this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.Name = "lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask";
             this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask.TabIndex = 39;
@@ -3278,7 +587,7 @@
             // ck_DataProcess_RobotBuffer_IssueOutboundTask
             // 
             this.ck_DataProcess_RobotBuffer_IssueOutboundTask.AutoSize = true;
-            this.ck_DataProcess_RobotBuffer_IssueOutboundTask.Location = new System.Drawing.Point(4, 330);
+            this.ck_DataProcess_RobotBuffer_IssueOutboundTask.Location = new System.Drawing.Point(2, 307);
             this.ck_DataProcess_RobotBuffer_IssueOutboundTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_RobotBuffer_IssueOutboundTask.Name = "ck_DataProcess_RobotBuffer_IssueOutboundTask";
             this.ck_DataProcess_RobotBuffer_IssueOutboundTask.Size = new System.Drawing.Size(335, 19);
@@ -3292,7 +601,7 @@
             this.lbl_DataProcess_ValidateQiTao.AutoSize = true;
             this.lbl_DataProcess_ValidateQiTao.BackColor = System.Drawing.Color.White;
             this.lbl_DataProcess_ValidateQiTao.ForeColor = System.Drawing.Color.Red;
-            this.lbl_DataProcess_ValidateQiTao.Location = new System.Drawing.Point(215, 294);
+            this.lbl_DataProcess_ValidateQiTao.Location = new System.Drawing.Point(211, 661);
             this.lbl_DataProcess_ValidateQiTao.Name = "lbl_DataProcess_ValidateQiTao";
             this.lbl_DataProcess_ValidateQiTao.Size = new System.Drawing.Size(70, 15);
             this.lbl_DataProcess_ValidateQiTao.TabIndex = 37;
@@ -3301,7 +610,7 @@
             // ck_DataProcess_ValidateQiTao
             // 
             this.ck_DataProcess_ValidateQiTao.AutoSize = true;
-            this.ck_DataProcess_ValidateQiTao.Location = new System.Drawing.Point(4, 294);
+            this.ck_DataProcess_ValidateQiTao.Location = new System.Drawing.Point(0, 661);
             this.ck_DataProcess_ValidateQiTao.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_ValidateQiTao.Name = "ck_DataProcess_ValidateQiTao";
             this.ck_DataProcess_ValidateQiTao.Size = new System.Drawing.Size(161, 19);
@@ -3315,7 +624,7 @@
             this.lbl_DataProcess_BZ21_IssueTask.AutoSize = true;
             this.lbl_DataProcess_BZ21_IssueTask.BackColor = System.Drawing.Color.White;
             this.lbl_DataProcess_BZ21_IssueTask.ForeColor = System.Drawing.Color.Red;
-            this.lbl_DataProcess_BZ21_IssueTask.Location = new System.Drawing.Point(214, 637);
+            this.lbl_DataProcess_BZ21_IssueTask.Location = new System.Drawing.Point(211, 511);
             this.lbl_DataProcess_BZ21_IssueTask.Name = "lbl_DataProcess_BZ21_IssueTask";
             this.lbl_DataProcess_BZ21_IssueTask.Size = new System.Drawing.Size(70, 15);
             this.lbl_DataProcess_BZ21_IssueTask.TabIndex = 35;
@@ -3324,7 +633,7 @@
             // ck_DataProcess_BZ21_IssueTask
             // 
             this.ck_DataProcess_BZ21_IssueTask.AutoSize = true;
-            this.ck_DataProcess_BZ21_IssueTask.Location = new System.Drawing.Point(3, 637);
+            this.ck_DataProcess_BZ21_IssueTask.Location = new System.Drawing.Point(0, 511);
             this.ck_DataProcess_BZ21_IssueTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_BZ21_IssueTask.Name = "ck_DataProcess_BZ21_IssueTask";
             this.ck_DataProcess_BZ21_IssueTask.Size = new System.Drawing.Size(161, 19);
@@ -3338,7 +647,7 @@
             this.lbl_Alert_DeleteData.AutoSize = true;
             this.lbl_Alert_DeleteData.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DeleteData.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DeleteData.Location = new System.Drawing.Point(215, 368);
+            this.lbl_Alert_DeleteData.Location = new System.Drawing.Point(213, 699);
             this.lbl_Alert_DeleteData.Name = "lbl_Alert_DeleteData";
             this.lbl_Alert_DeleteData.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DeleteData.TabIndex = 33;
@@ -3347,7 +656,7 @@
             // ckDeleteData
             // 
             this.ckDeleteData.AutoSize = true;
-            this.ckDeleteData.Location = new System.Drawing.Point(3, 368);
+            this.ckDeleteData.Location = new System.Drawing.Point(1, 699);
             this.ckDeleteData.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckDeleteData.Name = "ckDeleteData";
             this.ckDeleteData.Size = new System.Drawing.Size(125, 19);
@@ -3361,7 +670,7 @@
             this.lbl_Alert_DataProcess_BZ12_IssueTask.AutoSize = true;
             this.lbl_Alert_DataProcess_BZ12_IssueTask.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_BZ12_IssueTask.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_BZ12_IssueTask.Location = new System.Drawing.Point(219, 531);
+            this.lbl_Alert_DataProcess_BZ12_IssueTask.Location = new System.Drawing.Point(214, 411);
             this.lbl_Alert_DataProcess_BZ12_IssueTask.Name = "lbl_Alert_DataProcess_BZ12_IssueTask";
             this.lbl_Alert_DataProcess_BZ12_IssueTask.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_BZ12_IssueTask.TabIndex = 31;
@@ -3370,7 +679,7 @@
             // ck_DataProcess_BZ12_IssueTask
             // 
             this.ck_DataProcess_BZ12_IssueTask.AutoSize = true;
-            this.ck_DataProcess_BZ12_IssueTask.Location = new System.Drawing.Point(8, 531);
+            this.ck_DataProcess_BZ12_IssueTask.Location = new System.Drawing.Point(3, 411);
             this.ck_DataProcess_BZ12_IssueTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ck_DataProcess_BZ12_IssueTask.Name = "ck_DataProcess_BZ12_IssueTask";
             this.ck_DataProcess_BZ12_IssueTask.Size = new System.Drawing.Size(161, 19);
@@ -3379,58 +688,12 @@
             this.ck_DataProcess_BZ12_IssueTask.UseVisualStyleBackColor = true;
             this.ck_DataProcess_BZ12_IssueTask.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
             // 
-            // lbl_Alert_Srm4ReleaseFinish
-            // 
-            this.lbl_Alert_Srm4ReleaseFinish.AutoSize = true;
-            this.lbl_Alert_Srm4ReleaseFinish.BackColor = System.Drawing.Color.White;
-            this.lbl_Alert_Srm4ReleaseFinish.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_Srm4ReleaseFinish.Location = new System.Drawing.Point(936, 238);
-            this.lbl_Alert_Srm4ReleaseFinish.Name = "lbl_Alert_Srm4ReleaseFinish";
-            this.lbl_Alert_Srm4ReleaseFinish.Size = new System.Drawing.Size(70, 15);
-            this.lbl_Alert_Srm4ReleaseFinish.TabIndex = 29;
-            this.lbl_Alert_Srm4ReleaseFinish.Text = "label11";
-            // 
-            // lbl_Alert_Srm4Release
-            // 
-            this.lbl_Alert_Srm4Release.AutoSize = true;
-            this.lbl_Alert_Srm4Release.BackColor = System.Drawing.Color.White;
-            this.lbl_Alert_Srm4Release.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_Srm4Release.Location = new System.Drawing.Point(936, 206);
-            this.lbl_Alert_Srm4Release.Name = "lbl_Alert_Srm4Release";
-            this.lbl_Alert_Srm4Release.Size = new System.Drawing.Size(70, 15);
-            this.lbl_Alert_Srm4Release.TabIndex = 28;
-            this.lbl_Alert_Srm4Release.Text = "label11";
-            // 
-            // ckBSrm4Release
-            // 
-            this.ckBSrm4Release.AutoSize = true;
-            this.ckBSrm4Release.Location = new System.Drawing.Point(728, 206);
-            this.ckBSrm4Release.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.ckBSrm4Release.Name = "ckBSrm4Release";
-            this.ckBSrm4Release.Size = new System.Drawing.Size(150, 19);
-            this.ckBSrm4Release.TabIndex = 26;
-            this.ckBSrm4Release.Text = "堆垛机4任务下发";
-            this.ckBSrm4Release.UseVisualStyleBackColor = true;
-            this.ckBSrm4Release.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
-            // 
-            // ckBSrm4FinishedHandle
-            // 
-            this.ckBSrm4FinishedHandle.AutoSize = true;
-            this.ckBSrm4FinishedHandle.Location = new System.Drawing.Point(728, 234);
-            this.ckBSrm4FinishedHandle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.ckBSrm4FinishedHandle.Name = "ckBSrm4FinishedHandle";
-            this.ckBSrm4FinishedHandle.Size = new System.Drawing.Size(182, 19);
-            this.ckBSrm4FinishedHandle.TabIndex = 27;
-            this.ckBSrm4FinishedHandle.Text = "堆垛机4任务完成处理";
-            this.ckBSrm4FinishedHandle.UseVisualStyleBackColor = true;
-            this.ckBSrm4FinishedHandle.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
-            // 
             // lbl_Alert_DataProcess_BZ21_FinishTask
             // 
             this.lbl_Alert_DataProcess_BZ21_FinishTask.AutoSize = true;
             this.lbl_Alert_DataProcess_BZ21_FinishTask.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_BZ21_FinishTask.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_BZ21_FinishTask.Location = new System.Drawing.Point(213, 674);
+            this.lbl_Alert_DataProcess_BZ21_FinishTask.Location = new System.Drawing.Point(210, 548);
             this.lbl_Alert_DataProcess_BZ21_FinishTask.Name = "lbl_Alert_DataProcess_BZ21_FinishTask";
             this.lbl_Alert_DataProcess_BZ21_FinishTask.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_BZ21_FinishTask.TabIndex = 25;
@@ -3441,7 +704,7 @@
             this.lbl_Alert_DataProcess_BZ12.AutoSize = true;
             this.lbl_Alert_DataProcess_BZ12.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_BZ12.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_BZ12.Location = new System.Drawing.Point(214, 504);
+            this.lbl_Alert_DataProcess_BZ12.Location = new System.Drawing.Point(211, 379);
             this.lbl_Alert_DataProcess_BZ12.Name = "lbl_Alert_DataProcess_BZ12";
             this.lbl_Alert_DataProcess_BZ12.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_BZ12.TabIndex = 24;
@@ -3450,7 +713,7 @@
             // ckBDataProcess_BZ12
             // 
             this.ckBDataProcess_BZ12.AutoSize = true;
-            this.ckBDataProcess_BZ12.Location = new System.Drawing.Point(6, 504);
+            this.ckBDataProcess_BZ12.Location = new System.Drawing.Point(3, 379);
             this.ckBDataProcess_BZ12.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckBDataProcess_BZ12.Name = "ckBDataProcess_BZ12";
             this.ckBDataProcess_BZ12.Size = new System.Drawing.Size(193, 19);
@@ -3462,7 +725,7 @@
             // ckBDataProcess_BZ21_FinishTask
             // 
             this.ckBDataProcess_BZ21_FinishTask.AutoSize = true;
-            this.ckBDataProcess_BZ21_FinishTask.Location = new System.Drawing.Point(5, 670);
+            this.ckBDataProcess_BZ21_FinishTask.Location = new System.Drawing.Point(2, 544);
             this.ckBDataProcess_BZ21_FinishTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckBDataProcess_BZ21_FinishTask.Name = "ckBDataProcess_BZ21_FinishTask";
             this.ckBDataProcess_BZ21_FinishTask.Size = new System.Drawing.Size(193, 19);
@@ -3476,7 +739,7 @@
             this.lbl_Alert_PushPaperCutToMes.AutoSize = true;
             this.lbl_Alert_PushPaperCutToMes.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_PushPaperCutToMes.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_PushPaperCutToMes.Location = new System.Drawing.Point(212, 186);
+            this.lbl_Alert_PushPaperCutToMes.Location = new System.Drawing.Point(209, 588);
             this.lbl_Alert_PushPaperCutToMes.Name = "lbl_Alert_PushPaperCutToMes";
             this.lbl_Alert_PushPaperCutToMes.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_PushPaperCutToMes.TabIndex = 21;
@@ -3487,40 +750,18 @@
             this.lbl_Alert_DataProcess_BZ12_FinishTask.AutoSize = true;
             this.lbl_Alert_DataProcess_BZ12_FinishTask.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_BZ12_FinishTask.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_BZ12_FinishTask.Location = new System.Drawing.Point(213, 558);
+            this.lbl_Alert_DataProcess_BZ12_FinishTask.Location = new System.Drawing.Point(211, 446);
             this.lbl_Alert_DataProcess_BZ12_FinishTask.Name = "lbl_Alert_DataProcess_BZ12_FinishTask";
             this.lbl_Alert_DataProcess_BZ12_FinishTask.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_BZ12_FinishTask.TabIndex = 17;
             this.lbl_Alert_DataProcess_BZ12_FinishTask.Text = "label11";
-            // 
-            // lbl_Alter_Srm1ReleaseFinish
-            // 
-            this.lbl_Alter_Srm1ReleaseFinish.AutoSize = true;
-            this.lbl_Alter_Srm1ReleaseFinish.BackColor = System.Drawing.Color.White;
-            this.lbl_Alter_Srm1ReleaseFinish.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alter_Srm1ReleaseFinish.Location = new System.Drawing.Point(936, 54);
-            this.lbl_Alter_Srm1ReleaseFinish.Name = "lbl_Alter_Srm1ReleaseFinish";
-            this.lbl_Alter_Srm1ReleaseFinish.Size = new System.Drawing.Size(70, 15);
-            this.lbl_Alter_Srm1ReleaseFinish.TabIndex = 16;
-            this.lbl_Alter_Srm1ReleaseFinish.Text = "label11";
-            // 
-            // lbl_Alert_RgvRelease
-            // 
-            this.lbl_Alert_RgvRelease.AutoSize = true;
-            this.lbl_Alert_RgvRelease.BackColor = System.Drawing.Color.White;
-            this.lbl_Alert_RgvRelease.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_RgvRelease.Location = new System.Drawing.Point(935, 270);
-            this.lbl_Alert_RgvRelease.Name = "lbl_Alert_RgvRelease";
-            this.lbl_Alert_RgvRelease.Size = new System.Drawing.Size(70, 15);
-            this.lbl_Alert_RgvRelease.TabIndex = 15;
-            this.lbl_Alert_RgvRelease.Text = "label11";
             // 
             // lbl_Alert_DataProcess_RobotBuffer_ForceOutbound
             // 
             this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.AutoSize = true;
             this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.Location = new System.Drawing.Point(252, 134);
+            this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.Location = new System.Drawing.Point(251, 194);
             this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.Name = "lbl_Alert_DataProcess_RobotBuffer_ForceOutbound";
             this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.TabIndex = 13;
@@ -3531,7 +772,7 @@
             this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.AutoSize = true;
             this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.BackColor = System.Drawing.Color.White;
             this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.ForeColor = System.Drawing.Color.Red;
-            this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.Location = new System.Drawing.Point(214, 706);
+            this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.Location = new System.Drawing.Point(214, 128);
             this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.Name = "lbl_Alert_DataProcess_BZ39_IssueInboundTask";
             this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.Size = new System.Drawing.Size(70, 15);
             this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.TabIndex = 12;
@@ -3540,7 +781,7 @@
             // ckB_DataProcess_BZ39_IssueInboundTask
             // 
             this.ckB_DataProcess_BZ39_IssueInboundTask.AutoSize = true;
-            this.ckB_DataProcess_BZ39_IssueInboundTask.Location = new System.Drawing.Point(3, 706);
+            this.ckB_DataProcess_BZ39_IssueInboundTask.Location = new System.Drawing.Point(3, 128);
             this.ckB_DataProcess_BZ39_IssueInboundTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckB_DataProcess_BZ39_IssueInboundTask.Name = "ckB_DataProcess_BZ39_IssueInboundTask";
             this.ckB_DataProcess_BZ39_IssueInboundTask.Size = new System.Drawing.Size(173, 19);
@@ -3552,7 +793,7 @@
             // ckB_PushPaperCutToMes
             // 
             this.ckB_PushPaperCutToMes.AutoSize = true;
-            this.ckB_PushPaperCutToMes.Location = new System.Drawing.Point(4, 182);
+            this.ckB_PushPaperCutToMes.Location = new System.Drawing.Point(1, 584);
             this.ckB_PushPaperCutToMes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckB_PushPaperCutToMes.Name = "ckB_PushPaperCutToMes";
             this.ckB_PushPaperCutToMes.Size = new System.Drawing.Size(168, 19);
@@ -3561,34 +802,10 @@
             this.ckB_PushPaperCutToMes.UseVisualStyleBackColor = true;
             this.ckB_PushPaperCutToMes.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
             // 
-            // ckBSrm1FinishedHandle
-            // 
-            this.ckBSrm1FinishedHandle.AutoSize = true;
-            this.ckBSrm1FinishedHandle.Location = new System.Drawing.Point(728, 50);
-            this.ckBSrm1FinishedHandle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.ckBSrm1FinishedHandle.Name = "ckBSrm1FinishedHandle";
-            this.ckBSrm1FinishedHandle.Size = new System.Drawing.Size(182, 19);
-            this.ckBSrm1FinishedHandle.TabIndex = 1;
-            this.ckBSrm1FinishedHandle.Text = "堆垛机1任务完成处理";
-            this.ckBSrm1FinishedHandle.UseVisualStyleBackColor = true;
-            this.ckBSrm1FinishedHandle.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
-            // 
-            // ckBRgvRelease
-            // 
-            this.ckBRgvRelease.AutoSize = true;
-            this.ckBRgvRelease.Location = new System.Drawing.Point(727, 270);
-            this.ckBRgvRelease.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.ckBRgvRelease.Name = "ckBRgvRelease";
-            this.ckBRgvRelease.Size = new System.Drawing.Size(120, 19);
-            this.ckBRgvRelease.TabIndex = 10;
-            this.ckBRgvRelease.Text = "RGV任务下发";
-            this.ckBRgvRelease.UseVisualStyleBackColor = true;
-            this.ckBRgvRelease.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
-            // 
             // ckBDataProcess_RobotBuffer_ForceOutbound
             // 
             this.ckBDataProcess_RobotBuffer_ForceOutbound.AutoSize = true;
-            this.ckBDataProcess_RobotBuffer_ForceOutbound.Location = new System.Drawing.Point(5, 134);
+            this.ckBDataProcess_RobotBuffer_ForceOutbound.Location = new System.Drawing.Point(4, 194);
             this.ckBDataProcess_RobotBuffer_ForceOutbound.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckBDataProcess_RobotBuffer_ForceOutbound.Name = "ckBDataProcess_RobotBuffer_ForceOutbound";
             this.ckBDataProcess_RobotBuffer_ForceOutbound.Size = new System.Drawing.Size(246, 19);
@@ -3600,7 +817,7 @@
             // ckBDataProcess_BZ12_FinishTask
             // 
             this.ckBDataProcess_BZ12_FinishTask.AutoSize = true;
-            this.ckBDataProcess_BZ12_FinishTask.Location = new System.Drawing.Point(5, 554);
+            this.ckBDataProcess_BZ12_FinishTask.Location = new System.Drawing.Point(3, 442);
             this.ckBDataProcess_BZ12_FinishTask.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.ckBDataProcess_BZ12_FinishTask.Name = "ckBDataProcess_BZ12_FinishTask";
             this.ckBDataProcess_BZ12_FinishTask.Size = new System.Drawing.Size(193, 19);
@@ -3608,1895 +825,6 @@
             this.ckBDataProcess_BZ12_FinishTask.Text = "BZ12码板任务完成处理";
             this.ckBDataProcess_BZ12_FinishTask.UseVisualStyleBackColor = true;
             this.ckBDataProcess_BZ12_FinishTask.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged);
-            // 
-            // tabPage1
-            // 
-            this.tabPage1.Controls.Add(this.panel_Srm4);
-            this.tabPage1.Controls.Add(this.panel_Srm3);
-            this.tabPage1.Location = new System.Drawing.Point(4, 28);
-            this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
-            this.tabPage1.Name = "tabPage1";
-            this.tabPage1.Size = new System.Drawing.Size(1539, 898);
-            this.tabPage1.TabIndex = 7;
-            this.tabPage1.Text = "堆垛机3,4";
-            this.tabPage1.UseVisualStyleBackColor = true;
-            // 
-            // panel_Srm4
-            // 
-            this.panel_Srm4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel_Srm4.Controls.Add(this.btnSMQZYZTG4);
-            this.panel_Srm4.Controls.Add(this.lbl_R_PickReqForInStore_4);
-            this.panel_Srm4.Controls.Add(this.lblSrmAlarm4);
-            this.panel_Srm4.Controls.Add(this.label2);
-            this.panel_Srm4.Controls.Add(this.lblSrmTaskNo4);
-            this.panel_Srm4.Controls.Add(this.lbSrmToPlace4);
-            this.panel_Srm4.Controls.Add(this.lbSrmSourcePlace4);
-            this.panel_Srm4.Controls.Add(this.lblSrmWorkState4);
-            this.panel_Srm4.Controls.Add(this.label8);
-            this.panel_Srm4.Controls.Add(this.btnSrm4Delete);
-            this.panel_Srm4.Controls.Add(this.btnSrm4RlsAlert);
-            this.panel_Srm4.Controls.Add(this.lblSrmWorkMode4);
-            this.panel_Srm4.Controls.Add(this.label10);
-            this.panel_Srm4.Controls.Add(this.panel10);
-            this.panel_Srm4.Controls.Add(this.label28);
-            this.panel_Srm4.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel_Srm4.Location = new System.Drawing.Point(755, 0);
-            this.panel_Srm4.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel_Srm4.Name = "panel_Srm4";
-            this.panel_Srm4.Size = new System.Drawing.Size(784, 898);
-            this.panel_Srm4.TabIndex = 5;
-            // 
-            // btnSMQZYZTG4
-            // 
-            this.btnSMQZYZTG4.BackColor = System.Drawing.Color.White;
-            this.btnSMQZYZTG4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSMQZYZTG4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSMQZYZTG4.Location = new System.Drawing.Point(203, 490);
-            this.btnSMQZYZTG4.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSMQZYZTG4.Name = "btnSMQZYZTG4";
-            this.btnSMQZYZTG4.Size = new System.Drawing.Size(269, 79);
-            this.btnSMQZYZTG4.TabIndex = 66;
-            this.btnSMQZYZTG4.Text = "入库口扫码强制验证通过";
-            this.btnSMQZYZTG4.UseVisualStyleBackColor = false;
-            this.btnSMQZYZTG4.Click += new System.EventHandler(this.btnSMQZYZTG4_Click);
-            // 
-            // lbl_R_PickReqForInStore_4
-            // 
-            this.lbl_R_PickReqForInStore_4.AutoSize = true;
-            this.lbl_R_PickReqForInStore_4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_PickReqForInStore_4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_PickReqForInStore_4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_PickReqForInStore_4.Location = new System.Drawing.Point(191, 240);
-            this.lbl_R_PickReqForInStore_4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_PickReqForInStore_4.Name = "lbl_R_PickReqForInStore_4";
-            this.lbl_R_PickReqForInStore_4.Size = new System.Drawing.Size(91, 24);
-            this.lbl_R_PickReqForInStore_4.TabIndex = 64;
-            this.lbl_R_PickReqForInStore_4.Text = "取货请求: ";
-            this.lbl_R_PickReqForInStore_4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmAlarm4
-            // 
-            this.lblSrmAlarm4.AutoSize = true;
-            this.lblSrmAlarm4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmAlarm4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmAlarm4.ForeColor = System.Drawing.Color.Red;
-            this.lblSrmAlarm4.Location = new System.Drawing.Point(191, 216);
-            this.lblSrmAlarm4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmAlarm4.Name = "lblSrmAlarm4";
-            this.lblSrmAlarm4.Size = new System.Drawing.Size(50, 24);
-            this.lblSrmAlarm4.TabIndex = 40;
-            this.lblSrmAlarm4.Text = "        ";
-            this.lblSrmAlarm4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label2
-            // 
-            this.label2.AutoSize = true;
-            this.label2.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label2.ForeColor = System.Drawing.Color.SkyBlue;
-            this.label2.Location = new System.Drawing.Point(191, 192);
-            this.label2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(140, 24);
-            this.label2.TabIndex = 60;
-            this.label2.Text = "堆垛机故障信息:";
-            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmTaskNo4
-            // 
-            this.lblSrmTaskNo4.AutoSize = true;
-            this.lblSrmTaskNo4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmTaskNo4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmTaskNo4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmTaskNo4.Location = new System.Drawing.Point(191, 168);
-            this.lblSrmTaskNo4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmTaskNo4.Name = "lblSrmTaskNo4";
-            this.lblSrmTaskNo4.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmTaskNo4.TabIndex = 61;
-            this.lblSrmTaskNo4.Text = "任务号: ";
-            this.lblSrmTaskNo4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmToPlace4
-            // 
-            this.lbSrmToPlace4.AutoSize = true;
-            this.lbSrmToPlace4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmToPlace4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmToPlace4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmToPlace4.Location = new System.Drawing.Point(191, 144);
-            this.lbSrmToPlace4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmToPlace4.Name = "lbSrmToPlace4";
-            this.lbSrmToPlace4.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmToPlace4.TabIndex = 58;
-            this.lbSrmToPlace4.Text = "目标位: ";
-            this.lbSrmToPlace4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmSourcePlace4
-            // 
-            this.lbSrmSourcePlace4.AutoSize = true;
-            this.lbSrmSourcePlace4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmSourcePlace4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmSourcePlace4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmSourcePlace4.Location = new System.Drawing.Point(191, 120);
-            this.lbSrmSourcePlace4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmSourcePlace4.Name = "lbSrmSourcePlace4";
-            this.lbSrmSourcePlace4.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmSourcePlace4.TabIndex = 57;
-            this.lbSrmSourcePlace4.Text = "起始位: ";
-            this.lbSrmSourcePlace4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmWorkState4
-            // 
-            this.lblSrmWorkState4.AutoSize = true;
-            this.lblSrmWorkState4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkState4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkState4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkState4.Location = new System.Drawing.Point(191, 96);
-            this.lblSrmWorkState4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkState4.Name = "lblSrmWorkState4";
-            this.lblSrmWorkState4.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkState4.TabIndex = 59;
-            this.lblSrmWorkState4.Text = "工作状态: ";
-            this.lblSrmWorkState4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label8
-            // 
-            this.label8.AutoSize = true;
-            this.label8.Location = new System.Drawing.Point(233, 215);
-            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(0, 15);
-            this.label8.TabIndex = 46;
-            this.label8.Tag = "小车故障信息";
-            // 
-            // btnSrm4Delete
-            // 
-            this.btnSrm4Delete.BackColor = System.Drawing.Color.Maroon;
-            this.btnSrm4Delete.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm4Delete.ForeColor = System.Drawing.Color.White;
-            this.btnSrm4Delete.Location = new System.Drawing.Point(309, 368);
-            this.btnSrm4Delete.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm4Delete.Name = "btnSrm4Delete";
-            this.btnSrm4Delete.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm4Delete.TabIndex = 45;
-            this.btnSrm4Delete.Text = "删堆垛机任务";
-            this.btnSrm4Delete.UseVisualStyleBackColor = false;
-            this.btnSrm4Delete.Click += new System.EventHandler(this.btnSrm4Delete_Click);
-            // 
-            // btnSrm4RlsAlert
-            // 
-            this.btnSrm4RlsAlert.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
-            this.btnSrm4RlsAlert.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm4RlsAlert.ForeColor = System.Drawing.Color.White;
-            this.btnSrm4RlsAlert.Location = new System.Drawing.Point(203, 368);
-            this.btnSrm4RlsAlert.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm4RlsAlert.Name = "btnSrm4RlsAlert";
-            this.btnSrm4RlsAlert.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm4RlsAlert.TabIndex = 43;
-            this.btnSrm4RlsAlert.Text = "堆垛机解警";
-            this.btnSrm4RlsAlert.UseVisualStyleBackColor = false;
-            this.btnSrm4RlsAlert.Click += new System.EventHandler(this.btnSrm4RlsAlert_Click);
-            // 
-            // lblSrmWorkMode4
-            // 
-            this.lblSrmWorkMode4.AutoSize = true;
-            this.lblSrmWorkMode4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkMode4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkMode4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkMode4.Location = new System.Drawing.Point(191, 72);
-            this.lblSrmWorkMode4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkMode4.Name = "lblSrmWorkMode4";
-            this.lblSrmWorkMode4.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkMode4.TabIndex = 36;
-            this.lblSrmWorkMode4.Text = "设备模式: ";
-            this.lblSrmWorkMode4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label10
-            // 
-            this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label10.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label10.ForeColor = System.Drawing.Color.Maroon;
-            this.label10.Location = new System.Drawing.Point(191, 40);
-            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label10.Name = "label10";
-            this.label10.Size = new System.Drawing.Size(591, 32);
-            this.label10.TabIndex = 35;
-            this.label10.Text = "工作状态";
-            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel10
-            // 
-            this.panel10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel10.Controls.Add(this.panel11);
-            this.panel10.Controls.Add(this.lblSrmPosY4);
-            this.panel10.Controls.Add(this.lblSrmPosX4);
-            this.panel10.Controls.Add(this.label27);
-            this.panel10.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel10.Location = new System.Drawing.Point(0, 40);
-            this.panel10.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel10.Name = "panel10";
-            this.panel10.Size = new System.Drawing.Size(191, 856);
-            this.panel10.TabIndex = 34;
-            // 
-            // panel11
-            // 
-            this.panel11.Controls.Add(this.btn_Change4);
-            this.panel11.Controls.Add(this.btnSrm4Confirm);
-            this.panel11.Controls.Add(this.tbSrm4TaskId);
-            this.panel11.Controls.Add(this.label13);
-            this.panel11.Controls.Add(this.btnSrm4Move);
-            this.panel11.Controls.Add(this.btnSrm4Send);
-            this.panel11.Controls.Add(this.tB_Srm4ToPlace);
-            this.panel11.Controls.Add(this.tB_Srm4SourcePlace);
-            this.panel11.Controls.Add(this.label14);
-            this.panel11.Controls.Add(this.btn_Srm4EStop);
-            this.panel11.Controls.Add(this.label17);
-            this.panel11.Controls.Add(this.label19);
-            this.panel11.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel11.Location = new System.Drawing.Point(0, 80);
-            this.panel11.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel11.Name = "panel11";
-            this.panel11.Size = new System.Drawing.Size(189, 774);
-            this.panel11.TabIndex = 39;
-            // 
-            // btn_Change4
-            // 
-            this.btn_Change4.BackColor = System.Drawing.Color.White;
-            this.btn_Change4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_Change4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btn_Change4.Location = new System.Drawing.Point(4, 330);
-            this.btn_Change4.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_Change4.Name = "btn_Change4";
-            this.btn_Change4.Size = new System.Drawing.Size(176, 48);
-            this.btn_Change4.TabIndex = 47;
-            this.btn_Change4.Text = "起始/目标互换";
-            this.btn_Change4.UseVisualStyleBackColor = false;
-            this.btn_Change4.Click += new System.EventHandler(this.btn_Change4_Click);
-            // 
-            // btnSrm4Confirm
-            // 
-            this.btnSrm4Confirm.BackColor = System.Drawing.Color.White;
-            this.btnSrm4Confirm.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm4Confirm.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm4Confirm.Location = new System.Drawing.Point(8, 208);
-            this.btnSrm4Confirm.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm4Confirm.Name = "btnSrm4Confirm";
-            this.btnSrm4Confirm.Size = new System.Drawing.Size(173, 48);
-            this.btnSrm4Confirm.TabIndex = 46;
-            this.btnSrm4Confirm.Text = "任务完成确认";
-            this.btnSrm4Confirm.UseVisualStyleBackColor = false;
-            this.btnSrm4Confirm.Click += new System.EventHandler(this.btnSrm4Confirm_Click);
-            // 
-            // tbSrm4TaskId
-            // 
-            this.tbSrm4TaskId.Location = new System.Drawing.Point(83, 108);
-            this.tbSrm4TaskId.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tbSrm4TaskId.Name = "tbSrm4TaskId";
-            this.tbSrm4TaskId.Size = new System.Drawing.Size(87, 25);
-            this.tbSrm4TaskId.TabIndex = 44;
-            // 
-            // label13
-            // 
-            this.label13.AutoSize = true;
-            this.label13.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label13.Location = new System.Drawing.Point(11, 108);
-            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label13.Name = "label13";
-            this.label13.Size = new System.Drawing.Size(71, 18);
-            this.label13.TabIndex = 43;
-            this.label13.Text = "任务号:";
-            // 
-            // btnSrm4Move
-            // 
-            this.btnSrm4Move.BackColor = System.Drawing.Color.White;
-            this.btnSrm4Move.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm4Move.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm4Move.Location = new System.Drawing.Point(100, 152);
-            this.btnSrm4Move.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm4Move.Name = "btnSrm4Move";
-            this.btnSrm4Move.Size = new System.Drawing.Size(80, 48);
-            this.btnSrm4Move.TabIndex = 41;
-            this.btnSrm4Move.Text = "移动";
-            this.btnSrm4Move.UseVisualStyleBackColor = false;
-            this.btnSrm4Move.Click += new System.EventHandler(this.btnSrm4Move_Click);
-            // 
-            // btnSrm4Send
-            // 
-            this.btnSrm4Send.BackColor = System.Drawing.Color.White;
-            this.btnSrm4Send.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm4Send.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm4Send.Location = new System.Drawing.Point(8, 152);
-            this.btnSrm4Send.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm4Send.Name = "btnSrm4Send";
-            this.btnSrm4Send.Size = new System.Drawing.Size(83, 48);
-            this.btnSrm4Send.TabIndex = 39;
-            this.btnSrm4Send.Text = "下发";
-            this.btnSrm4Send.UseVisualStyleBackColor = false;
-            this.btnSrm4Send.Click += new System.EventHandler(this.btnSrm4Send_Click);
-            // 
-            // tB_Srm4ToPlace
-            // 
-            this.tB_Srm4ToPlace.Location = new System.Drawing.Point(83, 70);
-            this.tB_Srm4ToPlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm4ToPlace.Name = "tB_Srm4ToPlace";
-            this.tB_Srm4ToPlace.Size = new System.Drawing.Size(87, 25);
-            this.tB_Srm4ToPlace.TabIndex = 38;
-            // 
-            // tB_Srm4SourcePlace
-            // 
-            this.tB_Srm4SourcePlace.Location = new System.Drawing.Point(83, 35);
-            this.tB_Srm4SourcePlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm4SourcePlace.Name = "tB_Srm4SourcePlace";
-            this.tB_Srm4SourcePlace.Size = new System.Drawing.Size(87, 25);
-            this.tB_Srm4SourcePlace.TabIndex = 37;
-            // 
-            // label14
-            // 
-            this.label14.AutoSize = true;
-            this.label14.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label14.Location = new System.Drawing.Point(11, 72);
-            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label14.Name = "label14";
-            this.label14.Size = new System.Drawing.Size(71, 18);
-            this.label14.TabIndex = 36;
-            this.label14.Text = "目标位:";
-            // 
-            // btn_Srm4EStop
-            // 
-            this.btn_Srm4EStop.BackColor = System.Drawing.Color.Red;
-            this.btn_Srm4EStop.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_Srm4EStop.ForeColor = System.Drawing.Color.White;
-            this.btn_Srm4EStop.Location = new System.Drawing.Point(5, 258);
-            this.btn_Srm4EStop.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_Srm4EStop.Name = "btn_Srm4EStop";
-            this.btn_Srm4EStop.Size = new System.Drawing.Size(179, 52);
-            this.btn_Srm4EStop.TabIndex = 42;
-            this.btn_Srm4EStop.Text = "急停";
-            this.btn_Srm4EStop.UseVisualStyleBackColor = false;
-            this.btn_Srm4EStop.Click += new System.EventHandler(this.btn_Srm4EStop_Click);
-            // 
-            // label17
-            // 
-            this.label17.AutoSize = true;
-            this.label17.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label17.Location = new System.Drawing.Point(11, 38);
-            this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label17.Name = "label17";
-            this.label17.Size = new System.Drawing.Size(71, 18);
-            this.label17.TabIndex = 35;
-            this.label17.Text = "起始位:";
-            // 
-            // label19
-            // 
-            this.label19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label19.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label19.ForeColor = System.Drawing.Color.Maroon;
-            this.label19.Location = new System.Drawing.Point(0, 0);
-            this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label19.Name = "label19";
-            this.label19.Size = new System.Drawing.Size(189, 32);
-            this.label19.TabIndex = 34;
-            this.label19.Text = "手动指令下发";
-            this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosY4
-            // 
-            this.lblSrmPosY4.AutoSize = true;
-            this.lblSrmPosY4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosY4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosY4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosY4.Location = new System.Drawing.Point(0, 56);
-            this.lblSrmPosY4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosY4.Name = "lblSrmPosY4";
-            this.lblSrmPosY4.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosY4.TabIndex = 35;
-            this.lblSrmPosY4.Text = "当前层: ";
-            this.lblSrmPosY4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosX4
-            // 
-            this.lblSrmPosX4.AutoSize = true;
-            this.lblSrmPosX4.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosX4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosX4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosX4.Location = new System.Drawing.Point(0, 32);
-            this.lblSrmPosX4.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosX4.Name = "lblSrmPosX4";
-            this.lblSrmPosX4.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosX4.TabIndex = 34;
-            this.lblSrmPosX4.Text = "当前列: ";
-            this.lblSrmPosX4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label27
-            // 
-            this.label27.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label27.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label27.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label27.ForeColor = System.Drawing.Color.Maroon;
-            this.label27.Location = new System.Drawing.Point(0, 0);
-            this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label27.Name = "label27";
-            this.label27.Size = new System.Drawing.Size(189, 32);
-            this.label27.TabIndex = 33;
-            this.label27.Text = "位置信息";
-            this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label28
-            // 
-            this.label28.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label28.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label28.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label28.ForeColor = System.Drawing.Color.Maroon;
-            this.label28.Location = new System.Drawing.Point(0, 0);
-            this.label28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label28.Name = "label28";
-            this.label28.Size = new System.Drawing.Size(782, 40);
-            this.label28.TabIndex = 33;
-            this.label28.Text = "4号堆垛机当前信息";
-            this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel_Srm3
-            // 
-            this.panel_Srm3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel_Srm3.Controls.Add(this.btnSMQZYZTG3);
-            this.panel_Srm3.Controls.Add(this.lbl_R_PickReqForInStore_3);
-            this.panel_Srm3.Controls.Add(this.lblSrmAlarm3);
-            this.panel_Srm3.Controls.Add(this.label32);
-            this.panel_Srm3.Controls.Add(this.lblSrmTaskNo3);
-            this.panel_Srm3.Controls.Add(this.lbSrmToPlace3);
-            this.panel_Srm3.Controls.Add(this.lbSrmSourcePlace3);
-            this.panel_Srm3.Controls.Add(this.lblSrmWorkState3);
-            this.panel_Srm3.Controls.Add(this.label37);
-            this.panel_Srm3.Controls.Add(this.btnSrm3Delete);
-            this.panel_Srm3.Controls.Add(this.btnSrm3RlsAlert);
-            this.panel_Srm3.Controls.Add(this.lblSrmWorkMode3);
-            this.panel_Srm3.Controls.Add(this.label39);
-            this.panel_Srm3.Controls.Add(this.panel17);
-            this.panel_Srm3.Controls.Add(this.label61);
-            this.panel_Srm3.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel_Srm3.Location = new System.Drawing.Point(0, 0);
-            this.panel_Srm3.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel_Srm3.Name = "panel_Srm3";
-            this.panel_Srm3.Size = new System.Drawing.Size(755, 898);
-            this.panel_Srm3.TabIndex = 4;
-            // 
-            // btnSMQZYZTG3
-            // 
-            this.btnSMQZYZTG3.BackColor = System.Drawing.Color.White;
-            this.btnSMQZYZTG3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSMQZYZTG3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSMQZYZTG3.Location = new System.Drawing.Point(231, 490);
-            this.btnSMQZYZTG3.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSMQZYZTG3.Name = "btnSMQZYZTG3";
-            this.btnSMQZYZTG3.Size = new System.Drawing.Size(269, 79);
-            this.btnSMQZYZTG3.TabIndex = 65;
-            this.btnSMQZYZTG3.Text = "入库口扫码强制验证通过";
-            this.btnSMQZYZTG3.UseVisualStyleBackColor = false;
-            this.btnSMQZYZTG3.Click += new System.EventHandler(this.btnSMQZYZTG3_Click);
-            // 
-            // lbl_R_PickReqForInStore_3
-            // 
-            this.lbl_R_PickReqForInStore_3.AutoSize = true;
-            this.lbl_R_PickReqForInStore_3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbl_R_PickReqForInStore_3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbl_R_PickReqForInStore_3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbl_R_PickReqForInStore_3.Location = new System.Drawing.Point(214, 240);
-            this.lbl_R_PickReqForInStore_3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbl_R_PickReqForInStore_3.Name = "lbl_R_PickReqForInStore_3";
-            this.lbl_R_PickReqForInStore_3.Size = new System.Drawing.Size(91, 24);
-            this.lbl_R_PickReqForInStore_3.TabIndex = 64;
-            this.lbl_R_PickReqForInStore_3.Text = "取货请求: ";
-            this.lbl_R_PickReqForInStore_3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmAlarm3
-            // 
-            this.lblSrmAlarm3.AutoSize = true;
-            this.lblSrmAlarm3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmAlarm3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmAlarm3.ForeColor = System.Drawing.Color.Red;
-            this.lblSrmAlarm3.Location = new System.Drawing.Point(214, 216);
-            this.lblSrmAlarm3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmAlarm3.Name = "lblSrmAlarm3";
-            this.lblSrmAlarm3.Size = new System.Drawing.Size(50, 24);
-            this.lblSrmAlarm3.TabIndex = 40;
-            this.lblSrmAlarm3.Text = "        ";
-            this.lblSrmAlarm3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label32
-            // 
-            this.label32.AutoSize = true;
-            this.label32.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label32.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label32.ForeColor = System.Drawing.Color.SkyBlue;
-            this.label32.Location = new System.Drawing.Point(214, 192);
-            this.label32.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.label32.Name = "label32";
-            this.label32.Size = new System.Drawing.Size(140, 24);
-            this.label32.TabIndex = 60;
-            this.label32.Text = "堆垛机故障信息:";
-            this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmTaskNo3
-            // 
-            this.lblSrmTaskNo3.AutoSize = true;
-            this.lblSrmTaskNo3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmTaskNo3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmTaskNo3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmTaskNo3.Location = new System.Drawing.Point(214, 168);
-            this.lblSrmTaskNo3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmTaskNo3.Name = "lblSrmTaskNo3";
-            this.lblSrmTaskNo3.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmTaskNo3.TabIndex = 61;
-            this.lblSrmTaskNo3.Text = "任务号: ";
-            this.lblSrmTaskNo3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmToPlace3
-            // 
-            this.lbSrmToPlace3.AutoSize = true;
-            this.lbSrmToPlace3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmToPlace3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmToPlace3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmToPlace3.Location = new System.Drawing.Point(214, 144);
-            this.lbSrmToPlace3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmToPlace3.Name = "lbSrmToPlace3";
-            this.lbSrmToPlace3.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmToPlace3.TabIndex = 58;
-            this.lbSrmToPlace3.Text = "目标位: ";
-            this.lbSrmToPlace3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbSrmSourcePlace3
-            // 
-            this.lbSrmSourcePlace3.AutoSize = true;
-            this.lbSrmSourcePlace3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lbSrmSourcePlace3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lbSrmSourcePlace3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lbSrmSourcePlace3.Location = new System.Drawing.Point(214, 120);
-            this.lbSrmSourcePlace3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lbSrmSourcePlace3.Name = "lbSrmSourcePlace3";
-            this.lbSrmSourcePlace3.Size = new System.Drawing.Size(73, 24);
-            this.lbSrmSourcePlace3.TabIndex = 57;
-            this.lbSrmSourcePlace3.Text = "起始位: ";
-            this.lbSrmSourcePlace3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmWorkState3
-            // 
-            this.lblSrmWorkState3.AutoSize = true;
-            this.lblSrmWorkState3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkState3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkState3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkState3.Location = new System.Drawing.Point(214, 96);
-            this.lblSrmWorkState3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkState3.Name = "lblSrmWorkState3";
-            this.lblSrmWorkState3.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkState3.TabIndex = 59;
-            this.lblSrmWorkState3.Text = "工作状态: ";
-            this.lblSrmWorkState3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label37
-            // 
-            this.label37.AutoSize = true;
-            this.label37.Location = new System.Drawing.Point(259, 218);
-            this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label37.Name = "label37";
-            this.label37.Size = new System.Drawing.Size(0, 15);
-            this.label37.TabIndex = 46;
-            this.label37.Tag = "小车故障信息";
-            // 
-            // btnSrm3Delete
-            // 
-            this.btnSrm3Delete.BackColor = System.Drawing.Color.Maroon;
-            this.btnSrm3Delete.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm3Delete.ForeColor = System.Drawing.Color.White;
-            this.btnSrm3Delete.Location = new System.Drawing.Point(333, 368);
-            this.btnSrm3Delete.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm3Delete.Name = "btnSrm3Delete";
-            this.btnSrm3Delete.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm3Delete.TabIndex = 45;
-            this.btnSrm3Delete.Text = "删堆垛机任务";
-            this.btnSrm3Delete.UseVisualStyleBackColor = false;
-            this.btnSrm3Delete.Click += new System.EventHandler(this.btnSrm3Delete_Click_1);
-            // 
-            // btnSrm3RlsAlert
-            // 
-            this.btnSrm3RlsAlert.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
-            this.btnSrm3RlsAlert.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm3RlsAlert.ForeColor = System.Drawing.Color.White;
-            this.btnSrm3RlsAlert.Location = new System.Drawing.Point(231, 368);
-            this.btnSrm3RlsAlert.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm3RlsAlert.Name = "btnSrm3RlsAlert";
-            this.btnSrm3RlsAlert.Size = new System.Drawing.Size(87, 82);
-            this.btnSrm3RlsAlert.TabIndex = 43;
-            this.btnSrm3RlsAlert.Text = "堆垛机解警";
-            this.btnSrm3RlsAlert.UseVisualStyleBackColor = false;
-            this.btnSrm3RlsAlert.Click += new System.EventHandler(this.btnSrm3RlsAlert_Click);
-            // 
-            // lblSrmWorkMode3
-            // 
-            this.lblSrmWorkMode3.AutoSize = true;
-            this.lblSrmWorkMode3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmWorkMode3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmWorkMode3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmWorkMode3.Location = new System.Drawing.Point(214, 72);
-            this.lblSrmWorkMode3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmWorkMode3.Name = "lblSrmWorkMode3";
-            this.lblSrmWorkMode3.Size = new System.Drawing.Size(91, 24);
-            this.lblSrmWorkMode3.TabIndex = 36;
-            this.lblSrmWorkMode3.Text = "设备模式: ";
-            this.lblSrmWorkMode3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label39
-            // 
-            this.label39.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label39.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label39.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label39.ForeColor = System.Drawing.Color.Maroon;
-            this.label39.Location = new System.Drawing.Point(214, 40);
-            this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label39.Name = "label39";
-            this.label39.Size = new System.Drawing.Size(539, 32);
-            this.label39.TabIndex = 35;
-            this.label39.Text = "工作状态";
-            this.label39.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel17
-            // 
-            this.panel17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.panel17.Controls.Add(this.panel18);
-            this.panel17.Controls.Add(this.lblSrmPosY3);
-            this.panel17.Controls.Add(this.lblSrmPosX3);
-            this.panel17.Controls.Add(this.label60);
-            this.panel17.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel17.Location = new System.Drawing.Point(0, 40);
-            this.panel17.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel17.Name = "panel17";
-            this.panel17.Size = new System.Drawing.Size(214, 856);
-            this.panel17.TabIndex = 34;
-            // 
-            // panel18
-            // 
-            this.panel18.Controls.Add(this.btn_Change3);
-            this.panel18.Controls.Add(this.btnSrm3Confirm);
-            this.panel18.Controls.Add(this.tbSrm3TaskId);
-            this.panel18.Controls.Add(this.label40);
-            this.panel18.Controls.Add(this.btnSrm3Move);
-            this.panel18.Controls.Add(this.btnSrm3Send);
-            this.panel18.Controls.Add(this.tB_Srm3ToPlace);
-            this.panel18.Controls.Add(this.tB_Srm3SourcePlace);
-            this.panel18.Controls.Add(this.label49);
-            this.panel18.Controls.Add(this.btn_Srm3EStop);
-            this.panel18.Controls.Add(this.label51);
-            this.panel18.Controls.Add(this.label53);
-            this.panel18.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel18.Location = new System.Drawing.Point(0, 80);
-            this.panel18.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.panel18.Name = "panel18";
-            this.panel18.Size = new System.Drawing.Size(212, 774);
-            this.panel18.TabIndex = 39;
-            // 
-            // btn_Change3
-            // 
-            this.btn_Change3.BackColor = System.Drawing.Color.White;
-            this.btn_Change3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_Change3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btn_Change3.Location = new System.Drawing.Point(8, 330);
-            this.btn_Change3.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_Change3.Name = "btn_Change3";
-            this.btn_Change3.Size = new System.Drawing.Size(173, 48);
-            this.btn_Change3.TabIndex = 46;
-            this.btn_Change3.Text = "起始/目标互换";
-            this.btn_Change3.UseVisualStyleBackColor = false;
-            this.btn_Change3.Click += new System.EventHandler(this.btn_Change3_Click);
-            // 
-            // btnSrm3Confirm
-            // 
-            this.btnSrm3Confirm.BackColor = System.Drawing.Color.White;
-            this.btnSrm3Confirm.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm3Confirm.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm3Confirm.Location = new System.Drawing.Point(13, 208);
-            this.btnSrm3Confirm.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm3Confirm.Name = "btnSrm3Confirm";
-            this.btnSrm3Confirm.Size = new System.Drawing.Size(167, 48);
-            this.btnSrm3Confirm.TabIndex = 45;
-            this.btnSrm3Confirm.Text = "任务完成确认";
-            this.btnSrm3Confirm.UseVisualStyleBackColor = false;
-            this.btnSrm3Confirm.Click += new System.EventHandler(this.btnSrm3Confirm_Click);
-            // 
-            // tbSrm3TaskId
-            // 
-            this.tbSrm3TaskId.Location = new System.Drawing.Point(80, 102);
-            this.tbSrm3TaskId.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tbSrm3TaskId.Name = "tbSrm3TaskId";
-            this.tbSrm3TaskId.Size = new System.Drawing.Size(100, 25);
-            this.tbSrm3TaskId.TabIndex = 44;
-            // 
-            // label40
-            // 
-            this.label40.AutoSize = true;
-            this.label40.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label40.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label40.Location = new System.Drawing.Point(9, 108);
-            this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label40.Name = "label40";
-            this.label40.Size = new System.Drawing.Size(71, 18);
-            this.label40.TabIndex = 43;
-            this.label40.Text = "任务号:";
-            // 
-            // btnSrm3Move
-            // 
-            this.btnSrm3Move.BackColor = System.Drawing.Color.White;
-            this.btnSrm3Move.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm3Move.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm3Move.Location = new System.Drawing.Point(103, 152);
-            this.btnSrm3Move.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm3Move.Name = "btnSrm3Move";
-            this.btnSrm3Move.Size = new System.Drawing.Size(80, 48);
-            this.btnSrm3Move.TabIndex = 41;
-            this.btnSrm3Move.Text = "移动";
-            this.btnSrm3Move.UseVisualStyleBackColor = false;
-            this.btnSrm3Move.Click += new System.EventHandler(this.btnSrm3Move_Click);
-            // 
-            // btnSrm3Send
-            // 
-            this.btnSrm3Send.BackColor = System.Drawing.Color.White;
-            this.btnSrm3Send.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnSrm3Send.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.btnSrm3Send.Location = new System.Drawing.Point(13, 152);
-            this.btnSrm3Send.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btnSrm3Send.Name = "btnSrm3Send";
-            this.btnSrm3Send.Size = new System.Drawing.Size(83, 48);
-            this.btnSrm3Send.TabIndex = 39;
-            this.btnSrm3Send.Text = "下发";
-            this.btnSrm3Send.UseVisualStyleBackColor = false;
-            this.btnSrm3Send.Click += new System.EventHandler(this.btnSrm3Send_Click);
-            // 
-            // tB_Srm3ToPlace
-            // 
-            this.tB_Srm3ToPlace.Location = new System.Drawing.Point(80, 70);
-            this.tB_Srm3ToPlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm3ToPlace.Name = "tB_Srm3ToPlace";
-            this.tB_Srm3ToPlace.Size = new System.Drawing.Size(100, 25);
-            this.tB_Srm3ToPlace.TabIndex = 38;
-            // 
-            // tB_Srm3SourcePlace
-            // 
-            this.tB_Srm3SourcePlace.Location = new System.Drawing.Point(80, 38);
-            this.tB_Srm3SourcePlace.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tB_Srm3SourcePlace.Name = "tB_Srm3SourcePlace";
-            this.tB_Srm3SourcePlace.Size = new System.Drawing.Size(100, 25);
-            this.tB_Srm3SourcePlace.TabIndex = 37;
-            // 
-            // label49
-            // 
-            this.label49.AutoSize = true;
-            this.label49.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label49.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label49.Location = new System.Drawing.Point(9, 72);
-            this.label49.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label49.Name = "label49";
-            this.label49.Size = new System.Drawing.Size(71, 18);
-            this.label49.TabIndex = 36;
-            this.label49.Text = "目标位:";
-            // 
-            // btn_Srm3EStop
-            // 
-            this.btn_Srm3EStop.BackColor = System.Drawing.Color.Red;
-            this.btn_Srm3EStop.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn_Srm3EStop.ForeColor = System.Drawing.Color.White;
-            this.btn_Srm3EStop.Location = new System.Drawing.Point(8, 258);
-            this.btn_Srm3EStop.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.btn_Srm3EStop.Name = "btn_Srm3EStop";
-            this.btn_Srm3EStop.Size = new System.Drawing.Size(173, 52);
-            this.btn_Srm3EStop.TabIndex = 42;
-            this.btn_Srm3EStop.Text = "急停";
-            this.btn_Srm3EStop.UseVisualStyleBackColor = false;
-            this.btn_Srm3EStop.Click += new System.EventHandler(this.btn_Srm3EStop_Click);
-            // 
-            // label51
-            // 
-            this.label51.AutoSize = true;
-            this.label51.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label51.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.label51.Location = new System.Drawing.Point(9, 42);
-            this.label51.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label51.Name = "label51";
-            this.label51.Size = new System.Drawing.Size(71, 18);
-            this.label51.TabIndex = 35;
-            this.label51.Text = "起始位:";
-            // 
-            // label53
-            // 
-            this.label53.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label53.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label53.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label53.ForeColor = System.Drawing.Color.Maroon;
-            this.label53.Location = new System.Drawing.Point(0, 0);
-            this.label53.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label53.Name = "label53";
-            this.label53.Size = new System.Drawing.Size(212, 32);
-            this.label53.TabIndex = 34;
-            this.label53.Text = "手动指令下发";
-            this.label53.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosY3
-            // 
-            this.lblSrmPosY3.AutoSize = true;
-            this.lblSrmPosY3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosY3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosY3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosY3.Location = new System.Drawing.Point(0, 56);
-            this.lblSrmPosY3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosY3.Name = "lblSrmPosY3";
-            this.lblSrmPosY3.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosY3.TabIndex = 35;
-            this.lblSrmPosY3.Text = "当前层: ";
-            this.lblSrmPosY3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblSrmPosX3
-            // 
-            this.lblSrmPosX3.AutoSize = true;
-            this.lblSrmPosX3.Dock = System.Windows.Forms.DockStyle.Top;
-            this.lblSrmPosX3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblSrmPosX3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(158)))), ((int)(((byte)(98)))));
-            this.lblSrmPosX3.Location = new System.Drawing.Point(0, 32);
-            this.lblSrmPosX3.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12);
-            this.lblSrmPosX3.Name = "lblSrmPosX3";
-            this.lblSrmPosX3.Size = new System.Drawing.Size(73, 24);
-            this.lblSrmPosX3.TabIndex = 34;
-            this.lblSrmPosX3.Text = "当前列: ";
-            this.lblSrmPosX3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label60
-            // 
-            this.label60.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label60.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label60.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label60.ForeColor = System.Drawing.Color.Maroon;
-            this.label60.Location = new System.Drawing.Point(0, 0);
-            this.label60.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label60.Name = "label60";
-            this.label60.Size = new System.Drawing.Size(212, 32);
-            this.label60.TabIndex = 33;
-            this.label60.Text = "位置信息";
-            this.label60.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label61
-            // 
-            this.label61.BackColor = System.Drawing.SystemColors.Control;
-            this.label61.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.label61.Dock = System.Windows.Forms.DockStyle.Top;
-            this.label61.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label61.ForeColor = System.Drawing.Color.Maroon;
-            this.label61.Location = new System.Drawing.Point(0, 0);
-            this.label61.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label61.Name = "label61";
-            this.label61.Size = new System.Drawing.Size(753, 40);
-            this.label61.TabIndex = 33;
-            this.label61.Text = "3号堆垛机当前信息";
-            this.label61.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // tp_DeviceTask
-            // 
-            this.tp_DeviceTask.Controls.Add(this.panel_DeviceTaskList);
-            this.tp_DeviceTask.Location = new System.Drawing.Point(4, 28);
-            this.tp_DeviceTask.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.tp_DeviceTask.Name = "tp_DeviceTask";
-            this.tp_DeviceTask.Size = new System.Drawing.Size(1539, 898);
-            this.tp_DeviceTask.TabIndex = 2;
-            this.tp_DeviceTask.Text = "设备任务队列";
-            this.tp_DeviceTask.UseVisualStyleBackColor = true;
-            // 
-            // panel_DeviceTaskList
-            // 
-            this.panel_DeviceTaskList.Controls.Add(this.btnDeleteTask);
-            this.panel_DeviceTaskList.Controls.Add(this.btnFind);
-            this.panel_DeviceTaskList.Controls.Add(this.dgvPartTask);
-            this.panel_DeviceTaskList.Controls.Add(this.label3);
-            this.panel_DeviceTaskList.Controls.Add(this.btnFinish);
-            this.panel_DeviceTaskList.Controls.Add(this.btnDelete);
-            this.panel_DeviceTaskList.Controls.Add(this.tb_AllowSimulateExecute_Rmark);
-            this.panel_DeviceTaskList.Controls.Add(this.btnReset);
-            this.panel_DeviceTaskList.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel_DeviceTaskList.Location = new System.Drawing.Point(0, 0);
-            this.panel_DeviceTaskList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.panel_DeviceTaskList.Name = "panel_DeviceTaskList";
-            this.panel_DeviceTaskList.Size = new System.Drawing.Size(1539, 898);
-            this.panel_DeviceTaskList.TabIndex = 11;
-            this.panel_DeviceTaskList.Paint += new System.Windows.Forms.PaintEventHandler(this.panel_DeviceTaskList_Paint);
-            // 
-            // btnDeleteTask
-            // 
-            this.btnDeleteTask.BackColor = System.Drawing.Color.Red;
-            this.btnDeleteTask.ForeColor = System.Drawing.Color.Black;
-            this.btnDeleteTask.Location = new System.Drawing.Point(989, 52);
-            this.btnDeleteTask.Margin = new System.Windows.Forms.Padding(4);
-            this.btnDeleteTask.Name = "btnDeleteTask";
-            this.btnDeleteTask.Size = new System.Drawing.Size(141, 29);
-            this.btnDeleteTask.TabIndex = 11;
-            this.btnDeleteTask.Text = "任务强制删除";
-            this.btnDeleteTask.UseVisualStyleBackColor = false;
-            this.btnDeleteTask.Click += new System.EventHandler(this.btnDeleteTask_Click);
-            // 
-            // btnFind
-            // 
-            this.btnFind.Location = new System.Drawing.Point(17, 19);
-            this.btnFind.Margin = new System.Windows.Forms.Padding(4);
-            this.btnFind.Name = "btnFind";
-            this.btnFind.Size = new System.Drawing.Size(173, 46);
-            this.btnFind.TabIndex = 5;
-            this.btnFind.Text = "查询";
-            this.btnFind.UseVisualStyleBackColor = true;
-            this.btnFind.Click += new System.EventHandler(this.btnFind_Click_1);
-            // 
-            // dgvPartTask
-            // 
-            this.dgvPartTask.AllowUserToAddRows = false;
-            this.dgvPartTask.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.dgvPartTask.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column9,
-            this.taskno,
-            this.eqname,
-            this.nexthandel,
-            this.ishandled,
-            this.taskcode,
-            this.sourceplace,
-            this.toplace,
-            this.Column1,
-            this.containername,
-            this.Column5,
-            this.Column6,
-            this.filereason,
-            this.Column4,
-            this.isreleased,
-            this.Column2,
-            this.isfinished,
-            this.Column3,
-            this.iscurrent,
-            this.Column7,
-            this.Column8,
-            this.id,
-            this.maintaskid});
-            this.dgvPartTask.Location = new System.Drawing.Point(4, 89);
-            this.dgvPartTask.Margin = new System.Windows.Forms.Padding(4);
-            this.dgvPartTask.MultiSelect = false;
-            this.dgvPartTask.Name = "dgvPartTask";
-            this.dgvPartTask.RowHeadersWidth = 51;
-            this.dgvPartTask.RowTemplate.Height = 23;
-            this.dgvPartTask.Size = new System.Drawing.Size(1528, 624);
-            this.dgvPartTask.TabIndex = 4;
-            this.dgvPartTask.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvPartTask_RowPostPaint);
-            // 
-            // Column9
-            // 
-            this.Column9.DataPropertyName = "MainTaskSequence";
-            this.Column9.HeaderText = "顺序号";
-            this.Column9.MinimumWidth = 6;
-            this.Column9.Name = "Column9";
-            this.Column9.Width = 125;
-            // 
-            // taskno
-            // 
-            this.taskno.DataPropertyName = "MainTaskNo";
-            this.taskno.HeaderText = "主任务号";
-            this.taskno.MinimumWidth = 6;
-            this.taskno.Name = "taskno";
-            this.taskno.Width = 125;
-            // 
-            // eqname
-            // 
-            this.eqname.DataPropertyName = "DeviceName";
-            this.eqname.HeaderText = "执行设备";
-            this.eqname.MinimumWidth = 6;
-            this.eqname.Name = "eqname";
-            this.eqname.Width = 125;
-            // 
-            // nexthandel
-            // 
-            this.nexthandel.DataPropertyName = "TaskTypeName";
-            this.nexthandel.HeaderText = "类型";
-            this.nexthandel.MinimumWidth = 6;
-            this.nexthandel.Name = "nexthandel";
-            this.nexthandel.Width = 125;
-            // 
-            // ishandled
-            // 
-            this.ishandled.DataPropertyName = "TaskStateName";
-            this.ishandled.HeaderText = "状态";
-            this.ishandled.MinimumWidth = 6;
-            this.ishandled.Name = "ishandled";
-            this.ishandled.Width = 125;
-            // 
-            // taskcode
-            // 
-            this.taskcode.DataPropertyName = "PlcTaskId";
-            this.taskcode.HeaderText = "PLC任务号";
-            this.taskcode.MinimumWidth = 6;
-            this.taskcode.Name = "taskcode";
-            this.taskcode.Width = 125;
-            // 
-            // sourceplace
-            // 
-            this.sourceplace.DataPropertyName = "RealSourcePlace";
-            this.sourceplace.HeaderText = "起始位置";
-            this.sourceplace.MinimumWidth = 6;
-            this.sourceplace.Name = "sourceplace";
-            this.sourceplace.Width = 125;
-            // 
-            // toplace
-            // 
-            this.toplace.DataPropertyName = "RealToPlace";
-            this.toplace.HeaderText = "目标位置";
-            this.toplace.MinimumWidth = 6;
-            this.toplace.Name = "toplace";
-            this.toplace.Width = 125;
-            // 
-            // Column1
-            // 
-            this.Column1.DataPropertyName = "TaskSequence";
-            this.Column1.HeaderText = "执行序号";
-            this.Column1.MinimumWidth = 6;
-            this.Column1.Name = "Column1";
-            this.Column1.Width = 125;
-            // 
-            // containername
-            // 
-            this.containername.DataPropertyName = "SalverCode";
-            this.containername.HeaderText = "托盘号";
-            this.containername.MinimumWidth = 6;
-            this.containername.Name = "containername";
-            this.containername.Width = 125;
-            // 
-            // Column5
-            // 
-            this.Column5.DataPropertyName = "SerialNumber";
-            this.Column5.HeaderText = "序列号";
-            this.Column5.MinimumWidth = 6;
-            this.Column5.Name = "Column5";
-            this.Column5.Width = 125;
-            // 
-            // Column6
-            // 
-            this.Column6.DataPropertyName = "OrderNo";
-            this.Column6.HeaderText = "订货号";
-            this.Column6.MinimumWidth = 6;
-            this.Column6.Name = "Column6";
-            this.Column6.Width = 125;
-            // 
-            // filereason
-            // 
-            this.filereason.DataPropertyName = "OperationRemark";
-            this.filereason.HeaderText = "说明";
-            this.filereason.MinimumWidth = 6;
-            this.filereason.Name = "filereason";
-            this.filereason.Width = 125;
-            // 
-            // Column4
-            // 
-            this.Column4.DataPropertyName = "CreateTime";
-            dataGridViewCellStyle1.Format = "yyyy-MM-dd HH:mm:ss";
-            this.Column4.DefaultCellStyle = dataGridViewCellStyle1;
-            this.Column4.HeaderText = "创建时间";
-            this.Column4.MinimumWidth = 6;
-            this.Column4.Name = "Column4";
-            this.Column4.Width = 125;
-            // 
-            // isreleased
-            // 
-            this.isreleased.DataPropertyName = "IsReleased";
-            this.isreleased.HeaderText = "是否下发";
-            this.isreleased.MinimumWidth = 6;
-            this.isreleased.Name = "isreleased";
-            this.isreleased.Width = 125;
-            // 
-            // Column2
-            // 
-            this.Column2.DataPropertyName = "IssueTime";
-            dataGridViewCellStyle2.Format = "yyyy-MM-dd HH:mm:ss";
-            this.Column2.DefaultCellStyle = dataGridViewCellStyle2;
-            this.Column2.HeaderText = "下发时间";
-            this.Column2.MinimumWidth = 6;
-            this.Column2.Name = "Column2";
-            this.Column2.Width = 125;
-            // 
-            // isfinished
-            // 
-            this.isfinished.DataPropertyName = "IsFinished";
-            this.isfinished.HeaderText = "是否完成";
-            this.isfinished.MinimumWidth = 6;
-            this.isfinished.Name = "isfinished";
-            this.isfinished.Width = 125;
-            // 
-            // Column3
-            // 
-            this.Column3.DataPropertyName = "FinishTime";
-            dataGridViewCellStyle3.Format = "yyyy-MM-dd HH:mm:ss";
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle3;
-            this.Column3.HeaderText = "完成时间";
-            this.Column3.MinimumWidth = 6;
-            this.Column3.Name = "Column3";
-            this.Column3.Width = 125;
-            // 
-            // iscurrent
-            // 
-            this.iscurrent.DataPropertyName = "IsAllowSimulateExecute";
-            this.iscurrent.HeaderText = "是否强制完成";
-            this.iscurrent.MinimumWidth = 6;
-            this.iscurrent.Name = "iscurrent";
-            this.iscurrent.Width = 125;
-            // 
-            // Column7
-            // 
-            this.Column7.DataPropertyName = "AllowSimulateExecute_Rmark";
-            this.Column7.HeaderText = "强制完成说明";
-            this.Column7.MinimumWidth = 6;
-            this.Column7.Name = "Column7";
-            this.Column7.Width = 125;
-            // 
-            // Column8
-            // 
-            this.Column8.DataPropertyName = "AllowSimulateExecute_Time";
-            dataGridViewCellStyle4.Format = "yyyy-MM-dd HH:mm:ss";
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column8.HeaderText = "强制完成时间";
-            this.Column8.MinimumWidth = 6;
-            this.Column8.Name = "Column8";
-            this.Column8.Width = 125;
-            // 
-            // id
-            // 
-            this.id.DataPropertyName = "Id";
-            this.id.HeaderText = "Id";
-            this.id.MinimumWidth = 6;
-            this.id.Name = "id";
-            this.id.Width = 125;
-            // 
-            // maintaskid
-            // 
-            this.maintaskid.DataPropertyName = "MainTaskId";
-            this.maintaskid.HeaderText = "主任务ID";
-            this.maintaskid.MinimumWidth = 6;
-            this.maintaskid.Name = "maintaskid";
-            this.maintaskid.Width = 125;
-            // 
-            // label3
-            // 
-            this.label3.AutoSize = true;
-            this.label3.Location = new System.Drawing.Point(441, 19);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(75, 15);
-            this.label3.TabIndex = 10;
-            this.label3.Text = "操作原因:";
-            this.label3.Click += new System.EventHandler(this.label3_Click);
-            // 
-            // btnFinish
-            // 
-            this.btnFinish.Location = new System.Drawing.Point(535, 52);
-            this.btnFinish.Margin = new System.Windows.Forms.Padding(4);
-            this.btnFinish.Name = "btnFinish";
-            this.btnFinish.Size = new System.Drawing.Size(153, 29);
-            this.btnFinish.TabIndex = 8;
-            this.btnFinish.Text = "标记任务强制完成";
-            this.btnFinish.UseVisualStyleBackColor = true;
-            this.btnFinish.Click += new System.EventHandler(this.btnFinish_Click_1);
-            // 
-            // btnDelete
-            // 
-            this.btnDelete.BackColor = System.Drawing.Color.Red;
-            this.btnDelete.ForeColor = System.Drawing.Color.Black;
-            this.btnDelete.Location = new System.Drawing.Point(860, 52);
-            this.btnDelete.Margin = new System.Windows.Forms.Padding(4);
-            this.btnDelete.Name = "btnDelete";
-            this.btnDelete.Size = new System.Drawing.Size(100, 29);
-            this.btnDelete.TabIndex = 7;
-            this.btnDelete.Text = "任务取消";
-            this.btnDelete.UseVisualStyleBackColor = false;
-            this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click_1);
-            // 
-            // tb_AllowSimulateExecute_Rmark
-            // 
-            this.tb_AllowSimulateExecute_Rmark.Location = new System.Drawing.Point(535, 16);
-            this.tb_AllowSimulateExecute_Rmark.Margin = new System.Windows.Forms.Padding(4);
-            this.tb_AllowSimulateExecute_Rmark.Name = "tb_AllowSimulateExecute_Rmark";
-            this.tb_AllowSimulateExecute_Rmark.Size = new System.Drawing.Size(425, 25);
-            this.tb_AllowSimulateExecute_Rmark.TabIndex = 6;
-            // 
-            // btnReset
-            // 
-            this.btnReset.Location = new System.Drawing.Point(741, 52);
-            this.btnReset.Margin = new System.Windows.Forms.Padding(4);
-            this.btnReset.Name = "btnReset";
-            this.btnReset.Size = new System.Drawing.Size(100, 29);
-            this.btnReset.TabIndex = 9;
-            this.btnReset.Text = "任务重发";
-            this.btnReset.UseVisualStyleBackColor = true;
-            this.btnReset.Click += new System.EventHandler(this.btnReset_Click_1);
-            // 
-            // tabPage4
-            // 
-            this.tabPage4.Controls.Add(this.panel_DeviceTaskList_dgvPartTask_Finished);
-            this.tabPage4.Location = new System.Drawing.Point(4, 28);
-            this.tabPage4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.tabPage4.Name = "tabPage4";
-            this.tabPage4.Size = new System.Drawing.Size(1539, 898);
-            this.tabPage4.TabIndex = 10;
-            this.tabPage4.Text = "最新已完成的任务";
-            this.tabPage4.UseVisualStyleBackColor = true;
-            // 
-            // panel_DeviceTaskList_dgvPartTask_Finished
-            // 
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Controls.Add(this.tb_query_Salver);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Controls.Add(this.label20);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Controls.Add(this.tb_Query_PlcTaskNo);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Controls.Add(this.label18);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Controls.Add(this.button17);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Controls.Add(this.dgvPartTask_Finished);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Location = new System.Drawing.Point(0, 0);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Name = "panel_DeviceTaskList_dgvPartTask_Finished";
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Size = new System.Drawing.Size(1539, 898);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.TabIndex = 12;
-            this.panel_DeviceTaskList_dgvPartTask_Finished.Paint += new System.Windows.Forms.PaintEventHandler(this.panel_DeviceTaskList_dgvPartTask_Finished_Paint);
-            // 
-            // tb_query_Salver
-            // 
-            this.tb_query_Salver.Location = new System.Drawing.Point(441, 34);
-            this.tb_query_Salver.Name = "tb_query_Salver";
-            this.tb_query_Salver.Size = new System.Drawing.Size(128, 25);
-            this.tb_query_Salver.TabIndex = 9;
-            // 
-            // label20
-            // 
-            this.label20.AutoSize = true;
-            this.label20.Location = new System.Drawing.Point(337, 37);
-            this.label20.Name = "label20";
-            this.label20.Size = new System.Drawing.Size(60, 15);
-            this.label20.TabIndex = 8;
-            this.label20.Text = "托盘号:";
-            // 
-            // tb_Query_PlcTaskNo
-            // 
-            this.tb_Query_PlcTaskNo.Location = new System.Drawing.Point(162, 31);
-            this.tb_Query_PlcTaskNo.Name = "tb_Query_PlcTaskNo";
-            this.tb_Query_PlcTaskNo.Size = new System.Drawing.Size(128, 25);
-            this.tb_Query_PlcTaskNo.TabIndex = 7;
-            // 
-            // label18
-            // 
-            this.label18.AutoSize = true;
-            this.label18.Location = new System.Drawing.Point(58, 34);
-            this.label18.Name = "label18";
-            this.label18.Size = new System.Drawing.Size(84, 15);
-            this.label18.TabIndex = 6;
-            this.label18.Text = "PLC任务号:";
-            // 
-            // button17
-            // 
-            this.button17.Location = new System.Drawing.Point(720, 18);
-            this.button17.Margin = new System.Windows.Forms.Padding(4);
-            this.button17.Name = "button17";
-            this.button17.Size = new System.Drawing.Size(173, 46);
-            this.button17.TabIndex = 5;
-            this.button17.Text = "查询";
-            this.button17.UseVisualStyleBackColor = true;
-            this.button17.Click += new System.EventHandler(this.button17_Click);
-            // 
-            // dgvPartTask_Finished
-            // 
-            this.dgvPartTask_Finished.AllowUserToAddRows = false;
-            this.dgvPartTask_Finished.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.dgvPartTask_Finished.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.dataGridViewTextBoxColumn1,
-            this.dataGridViewTextBoxColumn2,
-            this.dataGridViewTextBoxColumn3,
-            this.dataGridViewTextBoxColumn4,
-            this.dataGridViewTextBoxColumn5,
-            this.dataGridViewTextBoxColumn6,
-            this.dataGridViewTextBoxColumn7,
-            this.dataGridViewTextBoxColumn8,
-            this.dataGridViewTextBoxColumn12,
-            this.dataGridViewTextBoxColumn13,
-            this.dataGridViewTextBoxColumn14,
-            this.dataGridViewTextBoxColumn15,
-            this.dataGridViewTextBoxColumn16,
-            this.dataGridViewTextBoxColumn17,
-            this.dataGridViewTextBoxColumn18,
-            this.dataGridViewTextBoxColumn19,
-            this.dataGridViewTextBoxColumn20,
-            this.dataGridViewTextBoxColumn21,
-            this.dataGridViewTextBoxColumn22,
-            this.dataGridViewTextBoxColumn23,
-            this.dataGridViewTextBoxColumn24,
-            this.dataGridViewTextBoxColumn25,
-            this.dataGridViewTextBoxColumn26});
-            this.dgvPartTask_Finished.Location = new System.Drawing.Point(4, 89);
-            this.dgvPartTask_Finished.Margin = new System.Windows.Forms.Padding(4);
-            this.dgvPartTask_Finished.MultiSelect = false;
-            this.dgvPartTask_Finished.Name = "dgvPartTask_Finished";
-            this.dgvPartTask_Finished.RowHeadersWidth = 51;
-            this.dgvPartTask_Finished.RowTemplate.Height = 23;
-            this.dgvPartTask_Finished.Size = new System.Drawing.Size(1528, 624);
-            this.dgvPartTask_Finished.TabIndex = 4;
-            // 
-            // dataGridViewTextBoxColumn1
-            // 
-            this.dataGridViewTextBoxColumn1.DataPropertyName = "MainTaskSequence";
-            this.dataGridViewTextBoxColumn1.HeaderText = "顺序号";
-            this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
-            this.dataGridViewTextBoxColumn1.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn2
-            // 
-            this.dataGridViewTextBoxColumn2.DataPropertyName = "MainTaskNo";
-            this.dataGridViewTextBoxColumn2.HeaderText = "主任务号";
-            this.dataGridViewTextBoxColumn2.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
-            this.dataGridViewTextBoxColumn2.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn3
-            // 
-            this.dataGridViewTextBoxColumn3.DataPropertyName = "DeviceName";
-            this.dataGridViewTextBoxColumn3.HeaderText = "执行设备";
-            this.dataGridViewTextBoxColumn3.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
-            this.dataGridViewTextBoxColumn3.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn4
-            // 
-            this.dataGridViewTextBoxColumn4.DataPropertyName = "TaskTypeName";
-            this.dataGridViewTextBoxColumn4.HeaderText = "类型";
-            this.dataGridViewTextBoxColumn4.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
-            this.dataGridViewTextBoxColumn4.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn5
-            // 
-            this.dataGridViewTextBoxColumn5.DataPropertyName = "TaskStateName";
-            this.dataGridViewTextBoxColumn5.HeaderText = "状态";
-            this.dataGridViewTextBoxColumn5.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
-            this.dataGridViewTextBoxColumn5.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn6
-            // 
-            this.dataGridViewTextBoxColumn6.DataPropertyName = "PlcTaskId";
-            this.dataGridViewTextBoxColumn6.HeaderText = "PLC任务号";
-            this.dataGridViewTextBoxColumn6.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
-            this.dataGridViewTextBoxColumn6.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn7
-            // 
-            this.dataGridViewTextBoxColumn7.DataPropertyName = "RealSourcePlace";
-            this.dataGridViewTextBoxColumn7.HeaderText = "起始位置";
-            this.dataGridViewTextBoxColumn7.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
-            this.dataGridViewTextBoxColumn7.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn8
-            // 
-            this.dataGridViewTextBoxColumn8.DataPropertyName = "RealToPlace";
-            this.dataGridViewTextBoxColumn8.HeaderText = "目标位置";
-            this.dataGridViewTextBoxColumn8.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
-            this.dataGridViewTextBoxColumn8.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn12
-            // 
-            this.dataGridViewTextBoxColumn12.DataPropertyName = "TaskSequence";
-            this.dataGridViewTextBoxColumn12.HeaderText = "执行序号";
-            this.dataGridViewTextBoxColumn12.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
-            this.dataGridViewTextBoxColumn12.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn13
-            // 
-            this.dataGridViewTextBoxColumn13.DataPropertyName = "SalverCode";
-            this.dataGridViewTextBoxColumn13.HeaderText = "托盘号";
-            this.dataGridViewTextBoxColumn13.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
-            this.dataGridViewTextBoxColumn13.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn14
-            // 
-            this.dataGridViewTextBoxColumn14.DataPropertyName = "SerialNumber";
-            this.dataGridViewTextBoxColumn14.HeaderText = "序列号";
-            this.dataGridViewTextBoxColumn14.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
-            this.dataGridViewTextBoxColumn14.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn15
-            // 
-            this.dataGridViewTextBoxColumn15.DataPropertyName = "OrderNo";
-            this.dataGridViewTextBoxColumn15.HeaderText = "订货号";
-            this.dataGridViewTextBoxColumn15.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
-            this.dataGridViewTextBoxColumn15.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn16
-            // 
-            this.dataGridViewTextBoxColumn16.DataPropertyName = "OperationRemark";
-            this.dataGridViewTextBoxColumn16.HeaderText = "说明";
-            this.dataGridViewTextBoxColumn16.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
-            this.dataGridViewTextBoxColumn16.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn17
-            // 
-            this.dataGridViewTextBoxColumn17.DataPropertyName = "CreateTime";
-            dataGridViewCellStyle5.Format = "yyyy-MM-dd HH:mm:ss";
-            this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle5;
-            this.dataGridViewTextBoxColumn17.HeaderText = "创建时间";
-            this.dataGridViewTextBoxColumn17.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
-            this.dataGridViewTextBoxColumn17.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn18
-            // 
-            this.dataGridViewTextBoxColumn18.DataPropertyName = "IsReleased";
-            this.dataGridViewTextBoxColumn18.HeaderText = "是否下发";
-            this.dataGridViewTextBoxColumn18.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
-            this.dataGridViewTextBoxColumn18.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn19
-            // 
-            this.dataGridViewTextBoxColumn19.DataPropertyName = "IssueTime";
-            dataGridViewCellStyle6.Format = "yyyy-MM-dd HH:mm:ss";
-            this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle6;
-            this.dataGridViewTextBoxColumn19.HeaderText = "下发时间";
-            this.dataGridViewTextBoxColumn19.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
-            this.dataGridViewTextBoxColumn19.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn20
-            // 
-            this.dataGridViewTextBoxColumn20.DataPropertyName = "IsFinished";
-            this.dataGridViewTextBoxColumn20.HeaderText = "是否完成";
-            this.dataGridViewTextBoxColumn20.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
-            this.dataGridViewTextBoxColumn20.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn21
-            // 
-            this.dataGridViewTextBoxColumn21.DataPropertyName = "FinishTime";
-            dataGridViewCellStyle7.Format = "yyyy-MM-dd HH:mm:ss";
-            this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle7;
-            this.dataGridViewTextBoxColumn21.HeaderText = "完成时间";
-            this.dataGridViewTextBoxColumn21.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
-            this.dataGridViewTextBoxColumn21.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn22
-            // 
-            this.dataGridViewTextBoxColumn22.DataPropertyName = "IsAllowSimulateExecute";
-            this.dataGridViewTextBoxColumn22.HeaderText = "是否强制完成";
-            this.dataGridViewTextBoxColumn22.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
-            this.dataGridViewTextBoxColumn22.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn23
-            // 
-            this.dataGridViewTextBoxColumn23.DataPropertyName = "AllowSimulateExecute_Rmark";
-            this.dataGridViewTextBoxColumn23.HeaderText = "强制完成说明";
-            this.dataGridViewTextBoxColumn23.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
-            this.dataGridViewTextBoxColumn23.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn24
-            // 
-            this.dataGridViewTextBoxColumn24.DataPropertyName = "AllowSimulateExecute_Time";
-            dataGridViewCellStyle8.Format = "yyyy-MM-dd HH:mm:ss";
-            this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle8;
-            this.dataGridViewTextBoxColumn24.HeaderText = "强制完成时间";
-            this.dataGridViewTextBoxColumn24.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
-            this.dataGridViewTextBoxColumn24.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn25
-            // 
-            this.dataGridViewTextBoxColumn25.DataPropertyName = "Id";
-            this.dataGridViewTextBoxColumn25.HeaderText = "Id";
-            this.dataGridViewTextBoxColumn25.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
-            this.dataGridViewTextBoxColumn25.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn26
-            // 
-            this.dataGridViewTextBoxColumn26.DataPropertyName = "MainTaskId";
-            this.dataGridViewTextBoxColumn26.HeaderText = "主任务ID";
-            this.dataGridViewTextBoxColumn26.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
-            this.dataGridViewTextBoxColumn26.Width = 125;
-            // 
-            // tab_OutTaskList
-            // 
-            this.tab_OutTaskList.Controls.Add(this.panel_dataGridView__OutTaskList);
-            this.tab_OutTaskList.Location = new System.Drawing.Point(4, 28);
-            this.tab_OutTaskList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.tab_OutTaskList.Name = "tab_OutTaskList";
-            this.tab_OutTaskList.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.tab_OutTaskList.Size = new System.Drawing.Size(1539, 898);
-            this.tab_OutTaskList.TabIndex = 11;
-            this.tab_OutTaskList.Text = "出库任务队列";
-            this.tab_OutTaskList.UseVisualStyleBackColor = true;
-            // 
-            // panel_dataGridView__OutTaskList
-            // 
-            this.panel_dataGridView__OutTaskList.Controls.Add(this.dataGridView__OutTaskList);
-            this.panel_dataGridView__OutTaskList.Controls.Add(this.button18);
-            this.panel_dataGridView__OutTaskList.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel_dataGridView__OutTaskList.Location = new System.Drawing.Point(3, 2);
-            this.panel_dataGridView__OutTaskList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.panel_dataGridView__OutTaskList.Name = "panel_dataGridView__OutTaskList";
-            this.panel_dataGridView__OutTaskList.Size = new System.Drawing.Size(1533, 894);
-            this.panel_dataGridView__OutTaskList.TabIndex = 13;
-            // 
-            // dataGridView__OutTaskList
-            // 
-            this.dataGridView__OutTaskList.AllowUserToAddRows = false;
-            this.dataGridView__OutTaskList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.dataGridView__OutTaskList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.dataGridViewTextBoxColumn29,
-            this.dataGridViewTextBoxColumn27,
-            this.dataGridViewTextBoxColumn28,
-            this.Column10,
-            this.dataGridViewTextBoxColumn30,
-            this.dataGridViewTextBoxColumn31,
-            this.dataGridViewTextBoxColumn33,
-            this.dataGridViewTextBoxColumn34,
-            this.dataGridViewTextBoxColumn36,
-            this.dataGridViewTextBoxColumn37,
-            this.dataGridViewTextBoxColumn38,
-            this.dataGridViewTextBoxColumn39,
-            this.dataGridViewTextBoxColumn40});
-            this.dataGridView__OutTaskList.Location = new System.Drawing.Point(4, 89);
-            this.dataGridView__OutTaskList.Margin = new System.Windows.Forms.Padding(4);
-            this.dataGridView__OutTaskList.MultiSelect = false;
-            this.dataGridView__OutTaskList.Name = "dataGridView__OutTaskList";
-            this.dataGridView__OutTaskList.RowHeadersWidth = 51;
-            this.dataGridView__OutTaskList.RowTemplate.Height = 23;
-            this.dataGridView__OutTaskList.Size = new System.Drawing.Size(1525, 624);
-            this.dataGridView__OutTaskList.TabIndex = 4;
-            // 
-            // dataGridViewTextBoxColumn29
-            // 
-            this.dataGridViewTextBoxColumn29.DataPropertyName = "Id";
-            this.dataGridViewTextBoxColumn29.HeaderText = "ID";
-            this.dataGridViewTextBoxColumn29.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29";
-            this.dataGridViewTextBoxColumn29.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn27
-            // 
-            this.dataGridViewTextBoxColumn27.DataPropertyName = "TaskSequence";
-            this.dataGridViewTextBoxColumn27.HeaderText = "顺序号";
-            this.dataGridViewTextBoxColumn27.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
-            this.dataGridViewTextBoxColumn27.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn28
-            // 
-            this.dataGridViewTextBoxColumn28.DataPropertyName = "TaskNo";
-            this.dataGridViewTextBoxColumn28.HeaderText = "任务号";
-            this.dataGridViewTextBoxColumn28.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
-            this.dataGridViewTextBoxColumn28.Width = 125;
-            // 
-            // Column10
-            // 
-            this.Column10.DataPropertyName = "Plan_OutTask_PlanNo";
-            this.Column10.HeaderText = "计划号";
-            this.Column10.MinimumWidth = 6;
-            this.Column10.Name = "Column10";
-            this.Column10.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn30
-            // 
-            this.dataGridViewTextBoxColumn30.DataPropertyName = "TaskTypeName";
-            this.dataGridViewTextBoxColumn30.HeaderText = "类型";
-            this.dataGridViewTextBoxColumn30.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30";
-            this.dataGridViewTextBoxColumn30.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn31
-            // 
-            this.dataGridViewTextBoxColumn31.DataPropertyName = "TaskStateName";
-            this.dataGridViewTextBoxColumn31.HeaderText = "状态";
-            this.dataGridViewTextBoxColumn31.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
-            this.dataGridViewTextBoxColumn31.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn33
-            // 
-            this.dataGridViewTextBoxColumn33.DataPropertyName = "RealSourcePlace";
-            this.dataGridViewTextBoxColumn33.HeaderText = "起始位置";
-            this.dataGridViewTextBoxColumn33.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn33.Name = "dataGridViewTextBoxColumn33";
-            this.dataGridViewTextBoxColumn33.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn34
-            // 
-            this.dataGridViewTextBoxColumn34.DataPropertyName = "RealToPlace";
-            this.dataGridViewTextBoxColumn34.HeaderText = "目标位置";
-            this.dataGridViewTextBoxColumn34.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34";
-            this.dataGridViewTextBoxColumn34.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn36
-            // 
-            this.dataGridViewTextBoxColumn36.DataPropertyName = "SalverCode";
-            this.dataGridViewTextBoxColumn36.HeaderText = "托盘号";
-            this.dataGridViewTextBoxColumn36.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36";
-            this.dataGridViewTextBoxColumn36.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn37
-            // 
-            this.dataGridViewTextBoxColumn37.DataPropertyName = "SerialNumber";
-            this.dataGridViewTextBoxColumn37.HeaderText = "序列号";
-            this.dataGridViewTextBoxColumn37.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37";
-            this.dataGridViewTextBoxColumn37.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn38
-            // 
-            this.dataGridViewTextBoxColumn38.DataPropertyName = "OrderNo";
-            this.dataGridViewTextBoxColumn38.HeaderText = "订货号";
-            this.dataGridViewTextBoxColumn38.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38";
-            this.dataGridViewTextBoxColumn38.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn39
-            // 
-            this.dataGridViewTextBoxColumn39.DataPropertyName = "OperationRemark";
-            this.dataGridViewTextBoxColumn39.HeaderText = "说明";
-            this.dataGridViewTextBoxColumn39.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39";
-            this.dataGridViewTextBoxColumn39.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn40
-            // 
-            this.dataGridViewTextBoxColumn40.DataPropertyName = "CreateTime";
-            dataGridViewCellStyle9.Format = "yyyy-MM-dd HH:mm:ss";
-            this.dataGridViewTextBoxColumn40.DefaultCellStyle = dataGridViewCellStyle9;
-            this.dataGridViewTextBoxColumn40.HeaderText = "创建时间";
-            this.dataGridViewTextBoxColumn40.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40";
-            this.dataGridViewTextBoxColumn40.Width = 125;
-            // 
-            // button18
-            // 
-            this.button18.Location = new System.Drawing.Point(17, 19);
-            this.button18.Margin = new System.Windows.Forms.Padding(4);
-            this.button18.Name = "button18";
-            this.button18.Size = new System.Drawing.Size(173, 46);
-            this.button18.TabIndex = 5;
-            this.button18.Text = "查询";
-            this.button18.UseVisualStyleBackColor = true;
-            this.button18.Click += new System.EventHandler(this.button18_Click);
-            // 
-            // tab_WaitPlanDetail
-            // 
-            this.tab_WaitPlanDetail.Controls.Add(this.panel_WaitPlanDetail);
-            this.tab_WaitPlanDetail.Location = new System.Drawing.Point(4, 28);
-            this.tab_WaitPlanDetail.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.tab_WaitPlanDetail.Name = "tab_WaitPlanDetail";
-            this.tab_WaitPlanDetail.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.tab_WaitPlanDetail.Size = new System.Drawing.Size(1539, 898);
-            this.tab_WaitPlanDetail.TabIndex = 12;
-            this.tab_WaitPlanDetail.Text = "等待中的出库计划";
-            this.tab_WaitPlanDetail.UseVisualStyleBackColor = true;
-            // 
-            // panel_WaitPlanDetail
-            // 
-            this.panel_WaitPlanDetail.Controls.Add(this.btn_WaitPlanDetail);
-            this.panel_WaitPlanDetail.Controls.Add(this.dataGridView_WaitPlanDetail);
-            this.panel_WaitPlanDetail.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel_WaitPlanDetail.Location = new System.Drawing.Point(3, 2);
-            this.panel_WaitPlanDetail.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.panel_WaitPlanDetail.Name = "panel_WaitPlanDetail";
-            this.panel_WaitPlanDetail.Size = new System.Drawing.Size(1533, 894);
-            this.panel_WaitPlanDetail.TabIndex = 14;
-            // 
-            // btn_WaitPlanDetail
-            // 
-            this.btn_WaitPlanDetail.Location = new System.Drawing.Point(17, 19);
-            this.btn_WaitPlanDetail.Margin = new System.Windows.Forms.Padding(4);
-            this.btn_WaitPlanDetail.Name = "btn_WaitPlanDetail";
-            this.btn_WaitPlanDetail.Size = new System.Drawing.Size(173, 46);
-            this.btn_WaitPlanDetail.TabIndex = 5;
-            this.btn_WaitPlanDetail.Text = "查询";
-            this.btn_WaitPlanDetail.UseVisualStyleBackColor = true;
-            this.btn_WaitPlanDetail.Click += new System.EventHandler(this.btn_WaitPlanDetail_Click);
-            // 
-            // dataGridView_WaitPlanDetail
-            // 
-            this.dataGridView_WaitPlanDetail.AllowUserToAddRows = false;
-            this.dataGridView_WaitPlanDetail.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.dataGridView_WaitPlanDetail.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.dataGridViewTextBoxColumn35,
-            this.dataGridViewTextBoxColumn42,
-            this.dataGridViewTextBoxColumn44,
-            this.dataGridViewTextBoxColumn48,
-            this.dataGridViewTextBoxColumn49,
-            this.dataGridViewTextBoxColumn51});
-            this.dataGridView_WaitPlanDetail.Location = new System.Drawing.Point(4, 89);
-            this.dataGridView_WaitPlanDetail.Margin = new System.Windows.Forms.Padding(4);
-            this.dataGridView_WaitPlanDetail.MultiSelect = false;
-            this.dataGridView_WaitPlanDetail.Name = "dataGridView_WaitPlanDetail";
-            this.dataGridView_WaitPlanDetail.RowHeadersWidth = 51;
-            this.dataGridView_WaitPlanDetail.RowTemplate.Height = 23;
-            this.dataGridView_WaitPlanDetail.Size = new System.Drawing.Size(1525, 624);
-            this.dataGridView_WaitPlanDetail.TabIndex = 4;
-            // 
-            // dataGridViewTextBoxColumn35
-            // 
-            this.dataGridViewTextBoxColumn35.DataPropertyName = "PlanSequence";
-            this.dataGridViewTextBoxColumn35.HeaderText = "顺序号";
-            this.dataGridViewTextBoxColumn35.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn35.Name = "dataGridViewTextBoxColumn35";
-            this.dataGridViewTextBoxColumn35.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn42
-            // 
-            this.dataGridViewTextBoxColumn42.DataPropertyName = "M_PlanNo";
-            this.dataGridViewTextBoxColumn42.HeaderText = "计划号";
-            this.dataGridViewTextBoxColumn42.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42";
-            this.dataGridViewTextBoxColumn42.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn44
-            // 
-            this.dataGridViewTextBoxColumn44.DataPropertyName = "OutTaskDetailStateName";
-            this.dataGridViewTextBoxColumn44.HeaderText = "状态";
-            this.dataGridViewTextBoxColumn44.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44";
-            this.dataGridViewTextBoxColumn44.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn48
-            // 
-            this.dataGridViewTextBoxColumn48.DataPropertyName = "SerialNumber";
-            this.dataGridViewTextBoxColumn48.HeaderText = "序列号";
-            this.dataGridViewTextBoxColumn48.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn48.Name = "dataGridViewTextBoxColumn48";
-            this.dataGridViewTextBoxColumn48.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn49
-            // 
-            this.dataGridViewTextBoxColumn49.DataPropertyName = "OrderNo";
-            this.dataGridViewTextBoxColumn49.HeaderText = "订货号";
-            this.dataGridViewTextBoxColumn49.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49";
-            this.dataGridViewTextBoxColumn49.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn51
-            // 
-            this.dataGridViewTextBoxColumn51.DataPropertyName = "CreateTime";
-            dataGridViewCellStyle10.Format = "yyyy-MM-dd HH:mm:ss";
-            this.dataGridViewTextBoxColumn51.DefaultCellStyle = dataGridViewCellStyle10;
-            this.dataGridViewTextBoxColumn51.HeaderText = "创建时间";
-            this.dataGridViewTextBoxColumn51.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn51.Name = "dataGridViewTextBoxColumn51";
-            this.dataGridViewTextBoxColumn51.Width = 125;
-            // 
-            // panel_DeviceTaskList_dataGridView_RgvStore
-            // 
-            this.panel_DeviceTaskList_dataGridView_RgvStore.Controls.Add(this.button7);
-            this.panel_DeviceTaskList_dataGridView_RgvStore.Controls.Add(this.dataGridView_RgvStore);
-            this.panel_DeviceTaskList_dataGridView_RgvStore.Location = new System.Drawing.Point(4, 28);
-            this.panel_DeviceTaskList_dataGridView_RgvStore.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.panel_DeviceTaskList_dataGridView_RgvStore.Name = "panel_DeviceTaskList_dataGridView_RgvStore";
-            this.panel_DeviceTaskList_dataGridView_RgvStore.Size = new System.Drawing.Size(1539, 898);
-            this.panel_DeviceTaskList_dataGridView_RgvStore.TabIndex = 8;
-            this.panel_DeviceTaskList_dataGridView_RgvStore.Text = "Rgv&输送线库存";
-            this.panel_DeviceTaskList_dataGridView_RgvStore.UseVisualStyleBackColor = true;
-            // 
-            // button7
-            // 
-            this.button7.Location = new System.Drawing.Point(11, 5);
-            this.button7.Margin = new System.Windows.Forms.Padding(4);
-            this.button7.Name = "button7";
-            this.button7.Size = new System.Drawing.Size(173, 46);
-            this.button7.TabIndex = 6;
-            this.button7.Text = "查询";
-            this.button7.UseVisualStyleBackColor = true;
-            this.button7.Click += new System.EventHandler(this.button7_Click);
-            // 
-            // dataGridView_RgvStore
-            // 
-            this.dataGridView_RgvStore.AllowUserToAddRows = false;
-            this.dataGridView_RgvStore.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.dataGridView_RgvStore.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.RgvStationCode,
-            this.dataGridViewTextBoxColumn9,
-            this.dataGridViewTextBoxColumn10,
-            this.dataGridViewTextBoxColumn11,
-            this.Qty,
-            this.InStoreTime});
-            this.dataGridView_RgvStore.Location = new System.Drawing.Point(4, 59);
-            this.dataGridView_RgvStore.Margin = new System.Windows.Forms.Padding(4);
-            this.dataGridView_RgvStore.MultiSelect = false;
-            this.dataGridView_RgvStore.Name = "dataGridView_RgvStore";
-            this.dataGridView_RgvStore.RowHeadersWidth = 51;
-            this.dataGridView_RgvStore.RowTemplate.Height = 23;
-            this.dataGridView_RgvStore.Size = new System.Drawing.Size(1528, 624);
-            this.dataGridView_RgvStore.TabIndex = 5;
-            this.dataGridView_RgvStore.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView_RgvStore_RowPostPaint);
-            // 
-            // RgvStationCode
-            // 
-            this.RgvStationCode.DataPropertyName = "RgvStationCode";
-            this.RgvStationCode.HeaderText = "站点";
-            this.RgvStationCode.MinimumWidth = 6;
-            this.RgvStationCode.Name = "RgvStationCode";
-            this.RgvStationCode.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn9
-            // 
-            this.dataGridViewTextBoxColumn9.DataPropertyName = "SalverCode";
-            this.dataGridViewTextBoxColumn9.HeaderText = "托盘号";
-            this.dataGridViewTextBoxColumn9.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
-            this.dataGridViewTextBoxColumn9.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn10
-            // 
-            this.dataGridViewTextBoxColumn10.DataPropertyName = "SerialNumber";
-            this.dataGridViewTextBoxColumn10.HeaderText = "序列号";
-            this.dataGridViewTextBoxColumn10.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
-            this.dataGridViewTextBoxColumn10.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn11
-            // 
-            this.dataGridViewTextBoxColumn11.DataPropertyName = "OrderNo";
-            this.dataGridViewTextBoxColumn11.HeaderText = "订货号";
-            this.dataGridViewTextBoxColumn11.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
-            this.dataGridViewTextBoxColumn11.Width = 125;
-            // 
-            // Qty
-            // 
-            this.Qty.DataPropertyName = "Qty";
-            this.Qty.HeaderText = "数量";
-            this.Qty.MinimumWidth = 6;
-            this.Qty.Name = "Qty";
-            this.Qty.Width = 125;
-            // 
-            // InStoreTime
-            // 
-            this.InStoreTime.DataPropertyName = "InStoreTime";
-            dataGridViewCellStyle11.Format = "yyyy-MM-dd HH:mm:ss";
-            this.InStoreTime.DefaultCellStyle = dataGridViewCellStyle11;
-            this.InStoreTime.HeaderText = "进入时间";
-            this.InStoreTime.MinimumWidth = 6;
-            this.InStoreTime.Name = "InStoreTime";
-            this.InStoreTime.Width = 125;
             // 
             // tabPage3
             // 
@@ -5687,213 +1015,6 @@
             this.button5.UseVisualStyleBackColor = false;
             this.button5.Click += new System.EventHandler(this.button5_Click);
             // 
-            // tabPage_OutTaskRetryToMes
-            // 
-            this.tabPage_OutTaskRetryToMes.Controls.Add(this.panel_dg_OutTaskRetryToMes);
-            this.tabPage_OutTaskRetryToMes.Location = new System.Drawing.Point(4, 28);
-            this.tabPage_OutTaskRetryToMes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.tabPage_OutTaskRetryToMes.Name = "tabPage_OutTaskRetryToMes";
-            this.tabPage_OutTaskRetryToMes.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.tabPage_OutTaskRetryToMes.Size = new System.Drawing.Size(1539, 898);
-            this.tabPage_OutTaskRetryToMes.TabIndex = 13;
-            this.tabPage_OutTaskRetryToMes.Text = "出库任务通知MES失败列表";
-            this.tabPage_OutTaskRetryToMes.UseVisualStyleBackColor = true;
-            // 
-            // panel_dg_OutTaskRetryToMes
-            // 
-            this.panel_dg_OutTaskRetryToMes.Controls.Add(this.button19);
-            this.panel_dg_OutTaskRetryToMes.Controls.Add(this.dg_OutTaskRetryToMes);
-            this.panel_dg_OutTaskRetryToMes.Controls.Add(this.btn_Find_OutTaskRetryToMes);
-            this.panel_dg_OutTaskRetryToMes.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel_dg_OutTaskRetryToMes.Location = new System.Drawing.Point(3, 2);
-            this.panel_dg_OutTaskRetryToMes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.panel_dg_OutTaskRetryToMes.Name = "panel_dg_OutTaskRetryToMes";
-            this.panel_dg_OutTaskRetryToMes.Size = new System.Drawing.Size(1533, 894);
-            this.panel_dg_OutTaskRetryToMes.TabIndex = 15;
-            this.panel_dg_OutTaskRetryToMes.Paint += new System.Windows.Forms.PaintEventHandler(this.panel_dg_OutTaskRetryToMes_Paint);
-            // 
-            // button19
-            // 
-            this.button19.Location = new System.Drawing.Point(260, 36);
-            this.button19.Margin = new System.Windows.Forms.Padding(4);
-            this.button19.Name = "button19";
-            this.button19.Size = new System.Drawing.Size(100, 29);
-            this.button19.TabIndex = 10;
-            this.button19.Text = "重新通知MES";
-            this.button19.UseVisualStyleBackColor = true;
-            this.button19.Click += new System.EventHandler(this.button19_Click);
-            // 
-            // dg_OutTaskRetryToMes
-            // 
-            this.dg_OutTaskRetryToMes.AllowUserToAddRows = false;
-            this.dg_OutTaskRetryToMes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.dg_OutTaskRetryToMes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.MesId,
-            this.Column11,
-            this.Column12,
-            this.Column13,
-            this.dataGridViewTextBoxColumn52,
-            this.dataGridViewTextBoxColumn53,
-            this.dataGridViewTextBoxColumn54,
-            this.dataGridViewTextBoxColumn55,
-            this.dataGridViewTextBoxColumn56,
-            this.dataGridViewTextBoxColumn57,
-            this.dataGridViewTextBoxColumn58,
-            this.dataGridViewTextBoxColumn59,
-            this.dataGridViewTextBoxColumn60,
-            this.dataGridViewTextBoxColumn61,
-            this.dataGridViewTextBoxColumn62,
-            this.dataGridViewTextBoxColumn63});
-            this.dg_OutTaskRetryToMes.Location = new System.Drawing.Point(5, 72);
-            this.dg_OutTaskRetryToMes.Margin = new System.Windows.Forms.Padding(4);
-            this.dg_OutTaskRetryToMes.MultiSelect = false;
-            this.dg_OutTaskRetryToMes.Name = "dg_OutTaskRetryToMes";
-            this.dg_OutTaskRetryToMes.RowHeadersWidth = 51;
-            this.dg_OutTaskRetryToMes.RowTemplate.Height = 23;
-            this.dg_OutTaskRetryToMes.Size = new System.Drawing.Size(1523, 624);
-            this.dg_OutTaskRetryToMes.TabIndex = 6;
-            // 
-            // MesId
-            // 
-            this.MesId.DataPropertyName = "Id";
-            this.MesId.HeaderText = "ID";
-            this.MesId.MinimumWidth = 6;
-            this.MesId.Name = "MesId";
-            this.MesId.Width = 125;
-            // 
-            // Column11
-            // 
-            this.Column11.DataPropertyName = "OnLineToMesCount";
-            this.Column11.HeaderText = "推送次数";
-            this.Column11.MinimumWidth = 6;
-            this.Column11.Name = "Column11";
-            this.Column11.Width = 125;
-            // 
-            // Column12
-            // 
-            this.Column12.DataPropertyName = "Mes_Code";
-            this.Column12.HeaderText = "MES代码";
-            this.Column12.MinimumWidth = 6;
-            this.Column12.Name = "Column12";
-            this.Column12.Width = 125;
-            // 
-            // Column13
-            // 
-            this.Column13.DataPropertyName = "Mes_Msg";
-            this.Column13.HeaderText = "MES消息";
-            this.Column13.MinimumWidth = 6;
-            this.Column13.Name = "Column13";
-            this.Column13.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn52
-            // 
-            this.dataGridViewTextBoxColumn52.DataPropertyName = "TaskSequence";
-            this.dataGridViewTextBoxColumn52.HeaderText = "顺序号";
-            this.dataGridViewTextBoxColumn52.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn52.Name = "dataGridViewTextBoxColumn52";
-            this.dataGridViewTextBoxColumn52.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn53
-            // 
-            this.dataGridViewTextBoxColumn53.DataPropertyName = "TaskNo";
-            this.dataGridViewTextBoxColumn53.HeaderText = "任务号";
-            this.dataGridViewTextBoxColumn53.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn53.Name = "dataGridViewTextBoxColumn53";
-            this.dataGridViewTextBoxColumn53.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn54
-            // 
-            this.dataGridViewTextBoxColumn54.DataPropertyName = "Plan_OutTask_PlanNo";
-            this.dataGridViewTextBoxColumn54.HeaderText = "计划号";
-            this.dataGridViewTextBoxColumn54.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn54.Name = "dataGridViewTextBoxColumn54";
-            this.dataGridViewTextBoxColumn54.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn55
-            // 
-            this.dataGridViewTextBoxColumn55.DataPropertyName = "TaskTypeName";
-            this.dataGridViewTextBoxColumn55.HeaderText = "类型";
-            this.dataGridViewTextBoxColumn55.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn55.Name = "dataGridViewTextBoxColumn55";
-            this.dataGridViewTextBoxColumn55.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn56
-            // 
-            this.dataGridViewTextBoxColumn56.DataPropertyName = "TaskStateName";
-            this.dataGridViewTextBoxColumn56.HeaderText = "状态";
-            this.dataGridViewTextBoxColumn56.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn56.Name = "dataGridViewTextBoxColumn56";
-            this.dataGridViewTextBoxColumn56.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn57
-            // 
-            this.dataGridViewTextBoxColumn57.DataPropertyName = "RealSourcePlace";
-            this.dataGridViewTextBoxColumn57.HeaderText = "起始位置";
-            this.dataGridViewTextBoxColumn57.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn57.Name = "dataGridViewTextBoxColumn57";
-            this.dataGridViewTextBoxColumn57.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn58
-            // 
-            this.dataGridViewTextBoxColumn58.DataPropertyName = "RealToPlace";
-            this.dataGridViewTextBoxColumn58.HeaderText = "目标位置";
-            this.dataGridViewTextBoxColumn58.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn58.Name = "dataGridViewTextBoxColumn58";
-            this.dataGridViewTextBoxColumn58.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn59
-            // 
-            this.dataGridViewTextBoxColumn59.DataPropertyName = "SalverCode";
-            this.dataGridViewTextBoxColumn59.HeaderText = "托盘号";
-            this.dataGridViewTextBoxColumn59.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59";
-            this.dataGridViewTextBoxColumn59.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn60
-            // 
-            this.dataGridViewTextBoxColumn60.DataPropertyName = "SerialNumber";
-            this.dataGridViewTextBoxColumn60.HeaderText = "序列号";
-            this.dataGridViewTextBoxColumn60.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn60.Name = "dataGridViewTextBoxColumn60";
-            this.dataGridViewTextBoxColumn60.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn61
-            // 
-            this.dataGridViewTextBoxColumn61.DataPropertyName = "OrderNo";
-            this.dataGridViewTextBoxColumn61.HeaderText = "订货号";
-            this.dataGridViewTextBoxColumn61.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn61.Name = "dataGridViewTextBoxColumn61";
-            this.dataGridViewTextBoxColumn61.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn62
-            // 
-            this.dataGridViewTextBoxColumn62.DataPropertyName = "OperationRemark";
-            this.dataGridViewTextBoxColumn62.HeaderText = "说明";
-            this.dataGridViewTextBoxColumn62.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn62.Name = "dataGridViewTextBoxColumn62";
-            this.dataGridViewTextBoxColumn62.Width = 125;
-            // 
-            // dataGridViewTextBoxColumn63
-            // 
-            this.dataGridViewTextBoxColumn63.DataPropertyName = "CreateTime";
-            dataGridViewCellStyle12.Format = "yyyy-MM-dd HH:mm:ss";
-            this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle12;
-            this.dataGridViewTextBoxColumn63.HeaderText = "创建时间";
-            this.dataGridViewTextBoxColumn63.MinimumWidth = 6;
-            this.dataGridViewTextBoxColumn63.Name = "dataGridViewTextBoxColumn63";
-            this.dataGridViewTextBoxColumn63.Width = 125;
-            // 
-            // btn_Find_OutTaskRetryToMes
-            // 
-            this.btn_Find_OutTaskRetryToMes.Location = new System.Drawing.Point(17, 19);
-            this.btn_Find_OutTaskRetryToMes.Margin = new System.Windows.Forms.Padding(4);
-            this.btn_Find_OutTaskRetryToMes.Name = "btn_Find_OutTaskRetryToMes";
-            this.btn_Find_OutTaskRetryToMes.Size = new System.Drawing.Size(173, 46);
-            this.btn_Find_OutTaskRetryToMes.TabIndex = 5;
-            this.btn_Find_OutTaskRetryToMes.Text = "查询";
-            this.btn_Find_OutTaskRetryToMes.UseVisualStyleBackColor = true;
-            this.btn_Find_OutTaskRetryToMes.Click += new System.EventHandler(this.btn_Find_OutTaskRetryToMes_Click);
-            // 
             // FormCC
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
@@ -5910,26 +1031,6 @@
             this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormCC_FormClosed);
             this.Load += new System.EventHandler(this.FormCC_Load);
             this.SizeChanged += new System.EventHandler(this.FormCC_SizeChanged);
-            this.tPTransAsrs.ResumeLayout(false);
-            this.tPTransAsrs.PerformLayout();
-            this.panel14.ResumeLayout(false);
-            this.panel15.ResumeLayout(false);
-            this.panel15.PerformLayout();
-            this.panel16.ResumeLayout(false);
-            this.panel16.PerformLayout();
-            this.tP_Srm.ResumeLayout(false);
-            this.panel_Srm2.ResumeLayout(false);
-            this.panel_Srm2.PerformLayout();
-            this.panel6.ResumeLayout(false);
-            this.panel6.PerformLayout();
-            this.panel13.ResumeLayout(false);
-            this.panel13.PerformLayout();
-            this.panel_Srm1.ResumeLayout(false);
-            this.panel_Srm1.PerformLayout();
-            this.panel3.ResumeLayout(false);
-            this.panel3.PerformLayout();
-            this.panel5.ResumeLayout(false);
-            this.panel5.PerformLayout();
             this.tabControl1.ResumeLayout(false);
             this.tPModeChoice.ResumeLayout(false);
             this.panel_Model.ResumeLayout(false);
@@ -5938,135 +1039,18 @@
             this.gBoxThread.ResumeLayout(false);
             this.groupBox1.ResumeLayout(false);
             this.groupBox1.PerformLayout();
-            this.tabPage1.ResumeLayout(false);
-            this.panel_Srm4.ResumeLayout(false);
-            this.panel_Srm4.PerformLayout();
-            this.panel10.ResumeLayout(false);
-            this.panel10.PerformLayout();
-            this.panel11.ResumeLayout(false);
-            this.panel11.PerformLayout();
-            this.panel_Srm3.ResumeLayout(false);
-            this.panel_Srm3.PerformLayout();
-            this.panel17.ResumeLayout(false);
-            this.panel17.PerformLayout();
-            this.panel18.ResumeLayout(false);
-            this.panel18.PerformLayout();
-            this.tp_DeviceTask.ResumeLayout(false);
-            this.panel_DeviceTaskList.ResumeLayout(false);
-            this.panel_DeviceTaskList.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPartTask)).EndInit();
-            this.tabPage4.ResumeLayout(false);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.ResumeLayout(false);
-            this.panel_DeviceTaskList_dgvPartTask_Finished.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPartTask_Finished)).EndInit();
-            this.tab_OutTaskList.ResumeLayout(false);
-            this.panel_dataGridView__OutTaskList.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView__OutTaskList)).EndInit();
-            this.tab_WaitPlanDetail.ResumeLayout(false);
-            this.panel_WaitPlanDetail.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_WaitPlanDetail)).EndInit();
-            this.panel_DeviceTaskList_dataGridView_RgvStore.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_RgvStore)).EndInit();
             this.tabPage3.ResumeLayout(false);
             this.tabPage3.PerformLayout();
-            this.tabPage_OutTaskRetryToMes.ResumeLayout(false);
-            this.panel_dg_OutTaskRetryToMes.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dg_OutTaskRetryToMes)).EndInit();
             this.ResumeLayout(false);
 
         }
 
         #endregion
-
-        private System.Windows.Forms.TabPage tPTransAsrs;
-        private System.Windows.Forms.Button btn_1030;
-        private System.Windows.Forms.Button btn_1020;
-        private System.Windows.Forms.Label label70;
-        private System.Windows.Forms.Label label57;
-        private System.Windows.Forms.Panel panel14;
-        private System.Windows.Forms.Panel panel15;
-        private System.Windows.Forms.Panel panel16;
-        private System.Windows.Forms.TextBox tBSrmTransToPlace;
-        private System.Windows.Forms.TextBox tBSrmTransSouce;
-        private System.Windows.Forms.Label lbSrmTransToPlace;
-        private System.Windows.Forms.Label lbSrmTransSoucePlace;
-        private System.Windows.Forms.Button btnSrmTransSend;
-        private System.Windows.Forms.TextBox tBSrmTransTskId;
-        private System.Windows.Forms.Label label58;
-        private System.Windows.Forms.Label label59;
-        private System.Windows.Forms.Label lbl_State;
-        private System.Windows.Forms.Label lbl_Model;
-        private System.Windows.Forms.Label lbl_ACK;
-        private System.Windows.Forms.Label lbl_PH_2;
-        private System.Windows.Forms.Label lbl_PH_1;
-        private System.Windows.Forms.Label lbl_StationCode;
-        private System.Windows.Forms.Label lbSrmTransState;
-        private System.Windows.Forms.TabPage tP_Srm;
-        private System.Windows.Forms.Panel panel_Srm2;
-        private System.Windows.Forms.Label lblSrmAlarm2;
-        private System.Windows.Forms.Label label21;
-        private System.Windows.Forms.Label lblSrmTaskNo2;
-        private System.Windows.Forms.Label lbSrmToPlace2;
-        private System.Windows.Forms.Label lbSrmSourcePlace2;
-        private System.Windows.Forms.Label lblSrmWorkState2;
-        private System.Windows.Forms.Label label41;
-        private System.Windows.Forms.Button btnSrm2Delete;
-        private System.Windows.Forms.Button btnSrm2RlsAlert;
-        private System.Windows.Forms.Label lblSrmWorkMode2;
-        private System.Windows.Forms.Label label42;
-        private System.Windows.Forms.Panel panel6;
-        private System.Windows.Forms.Panel panel13;
-        private System.Windows.Forms.Button btnSrm2Confirm;
-        private System.Windows.Forms.TextBox tbSrm2TaskId;
-        private System.Windows.Forms.Label label48;
-        private System.Windows.Forms.Button btnSrm2Move;
-        private System.Windows.Forms.Button btnSrm2Send;
-        private System.Windows.Forms.TextBox tB_Srm2ToPlace;
-        private System.Windows.Forms.TextBox tB_Srm2SourcePlace;
-        private System.Windows.Forms.Label label43;
-        private System.Windows.Forms.Button btnSrm2EStop;
-        private System.Windows.Forms.Label label44;
-        private System.Windows.Forms.Label label45;
-        private System.Windows.Forms.Label lblSrmPosY2;
-        private System.Windows.Forms.Label lblSrmPosX2;
-        private System.Windows.Forms.Label label46;
-        private System.Windows.Forms.Label lbSrm2State;
-        private System.Windows.Forms.Panel panel_Srm1;
-        private System.Windows.Forms.Label lblSrmAlarm1;
-        private System.Windows.Forms.Label lb45;
-        private System.Windows.Forms.Label lblSrmTaskNo1;
-        private System.Windows.Forms.Label lbSrmToPlace1;
-        private System.Windows.Forms.Label lbSrmSourcePlace1;
-        private System.Windows.Forms.Label lblSrmWorkState1;
-        private System.Windows.Forms.Label label15;
-        private System.Windows.Forms.Button btnSrm1Delete;
-        private System.Windows.Forms.Button btnSrm1RlsAlert;
-        private System.Windows.Forms.Label lblSrmWorkMode1;
-        private System.Windows.Forms.Label lbWork;
-        private System.Windows.Forms.Panel panel3;
-        private System.Windows.Forms.Panel panel5;
-        private System.Windows.Forms.Button btnSrm1Confirm;
-        private System.Windows.Forms.TextBox tbSrm1TaskId;
-        private System.Windows.Forms.Label label47;
-        private System.Windows.Forms.Button btnSrm1Move;
-        private System.Windows.Forms.Button btnSrm1Send;
-        private System.Windows.Forms.TextBox tB_Srm1ToPlace;
-        private System.Windows.Forms.TextBox tB_Srm1SourcePlace;
-        private System.Windows.Forms.Label lbToPlaceOrder;
-        private System.Windows.Forms.Button btnSrm1EStop;
-        private System.Windows.Forms.Label lbSourcePlaceOrder;
-        private System.Windows.Forms.Label lbOrderSet;
-        private System.Windows.Forms.Label lblSrmPosY1;
-        private System.Windows.Forms.Label lblSrmPosX1;
-        private System.Windows.Forms.Label lbLocation;
-        private System.Windows.Forms.Label lbSrm1State;
         private System.Windows.Forms.TabControl tabControl1;
         private System.Windows.Forms.TabPage tPModeChoice;
         private System.Windows.Forms.Panel panel_Model;
         private System.Windows.Forms.RadioButton rBDebug;
         private System.Windows.Forms.RadioButton rBNormal;
-        private System.Windows.Forms.Button btn_1008;
-        private System.Windows.Forms.Button btn_1015;
         private System.Windows.Forms.Label lbl_ModelText;
         private System.Windows.Forms.Button btn_End;
         private System.Windows.Forms.Button btn_Start;
@@ -6075,91 +1059,19 @@
         private System.Windows.Forms.GroupBox groupBox1;
         private System.Windows.Forms.CheckBox ckB_DataProcess_BZ39_IssueInboundTask;
         private System.Windows.Forms.CheckBox ckB_PushPaperCutToMes;
-        private System.Windows.Forms.CheckBox ckBSrm1FinishedHandle;
-        private System.Windows.Forms.CheckBox ckBRgvRelease;
         private System.Windows.Forms.CheckBox ckBDataProcess_RobotBuffer_ForceOutbound;
         private System.Windows.Forms.CheckBox ckBDataProcess_BZ12_FinishTask;
-        private System.Windows.Forms.Button btn_Change1;
-        private System.Windows.Forms.Button btn_Change2;
-        private System.Windows.Forms.Label lbl_SrmConveyorAlarm_2;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_BZ39_IssueInboundTask;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_RobotBuffer_ForceOutbound;
-        private System.Windows.Forms.Label lbl_Alert_RgvRelease;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_BZ12_FinishTask;
-        private System.Windows.Forms.Label lbl_Alter_Srm1ReleaseFinish;
         private System.Windows.Forms.Label lbl_Alert_PushPaperCutToMes;
         private System.Windows.Forms.RadioButton rbHand;
         private System.Windows.Forms.Label lbl_WCFMsg;
         private System.Windows.Forms.Label lbl_IsSimulationPLC;
-        private System.Windows.Forms.Label lbl_Alert_Srm4ReleaseFinish;
-        private System.Windows.Forms.Label lbl_Alert_Srm4Release;
-        private System.Windows.Forms.CheckBox ckBSrm4Release;
-        private System.Windows.Forms.CheckBox ckBSrm4FinishedHandle;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_BZ21_FinishTask;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_BZ12;
         private System.Windows.Forms.CheckBox ckBDataProcess_BZ12;
         private System.Windows.Forms.CheckBox ckBDataProcess_BZ21_FinishTask;
-        private System.Windows.Forms.TabPage tabPage1;
-        private System.Windows.Forms.Panel panel_Srm4;
-        private System.Windows.Forms.Label lblSrmAlarm4;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.Label lblSrmTaskNo4;
-        private System.Windows.Forms.Label lbSrmToPlace4;
-        private System.Windows.Forms.Label lbSrmSourcePlace4;
-        private System.Windows.Forms.Label lblSrmWorkState4;
-        private System.Windows.Forms.Label label8;
-        private System.Windows.Forms.Button btnSrm4Delete;
-        private System.Windows.Forms.Button btnSrm4RlsAlert;
-        private System.Windows.Forms.Label lblSrmWorkMode4;
-        private System.Windows.Forms.Label label10;
-        private System.Windows.Forms.Panel panel10;
-        private System.Windows.Forms.Panel panel11;
-        private System.Windows.Forms.Button btn_Change4;
-        private System.Windows.Forms.Button btnSrm4Confirm;
-        private System.Windows.Forms.TextBox tbSrm4TaskId;
-        private System.Windows.Forms.Label label13;
-        private System.Windows.Forms.Button btnSrm4Move;
-        private System.Windows.Forms.Button btnSrm4Send;
-        private System.Windows.Forms.TextBox tB_Srm4ToPlace;
-        private System.Windows.Forms.TextBox tB_Srm4SourcePlace;
-        private System.Windows.Forms.Label label14;
-        private System.Windows.Forms.Button btn_Srm4EStop;
-        private System.Windows.Forms.Label label17;
-        private System.Windows.Forms.Label label19;
-        private System.Windows.Forms.Label lblSrmPosY4;
-        private System.Windows.Forms.Label lblSrmPosX4;
-        private System.Windows.Forms.Label label27;
-        private System.Windows.Forms.Label label28;
-        private System.Windows.Forms.Panel panel_Srm3;
-        private System.Windows.Forms.Label lblSrmAlarm3;
-        private System.Windows.Forms.Label label32;
-        private System.Windows.Forms.Label lblSrmTaskNo3;
-        private System.Windows.Forms.Label lbSrmToPlace3;
-        private System.Windows.Forms.Label lbSrmSourcePlace3;
-        private System.Windows.Forms.Label lblSrmWorkState3;
-        private System.Windows.Forms.Label label37;
-        private System.Windows.Forms.Button btnSrm3Delete;
-        private System.Windows.Forms.Button btnSrm3RlsAlert;
-        private System.Windows.Forms.Label lblSrmWorkMode3;
-        private System.Windows.Forms.Label label39;
-        private System.Windows.Forms.Panel panel17;
-        private System.Windows.Forms.Panel panel18;
-        private System.Windows.Forms.Button btn_Change3;
-        private System.Windows.Forms.Button btnSrm3Confirm;
-        private System.Windows.Forms.TextBox tbSrm3TaskId;
-        private System.Windows.Forms.Label label40;
-        private System.Windows.Forms.Button btnSrm3Move;
-        private System.Windows.Forms.Button btnSrm3Send;
-        private System.Windows.Forms.TextBox tB_Srm3ToPlace;
-        private System.Windows.Forms.TextBox tB_Srm3SourcePlace;
-        private System.Windows.Forms.Label label49;
-        private System.Windows.Forms.Button btn_Srm3EStop;
-        private System.Windows.Forms.Label label51;
-        private System.Windows.Forms.Label label53;
-        private System.Windows.Forms.Label lblSrmPosY3;
-        private System.Windows.Forms.Label lblSrmPosX3;
-        private System.Windows.Forms.Label label60;
-        private System.Windows.Forms.Label label61;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_BZ12_IssueTask;
         private System.Windows.Forms.CheckBox ck_DataProcess_BZ12_IssueTask;
         private System.Windows.Forms.Label lbl_Alert_DeleteData;
@@ -6170,163 +1082,12 @@
         private System.Windows.Forms.CheckBox ck_DataProcess_ValidateQiTao;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask;
         private System.Windows.Forms.CheckBox ck_DataProcess_RobotBuffer_IssueOutboundTask;
-        private System.Windows.Forms.Button btn_1007;
-        private System.Windows.Forms.Button btn_1006;
-        private System.Windows.Forms.Button btn_1005;
-        private System.Windows.Forms.Button btn_1004;
-        private System.Windows.Forms.Button btn_1003;
-        private System.Windows.Forms.Button btn_1001;
-        private System.Windows.Forms.Button btn_1002;
-        private System.Windows.Forms.Button btn_1014;
-        private System.Windows.Forms.Button btn_1012;
-        private System.Windows.Forms.Button btn_1009;
-        private System.Windows.Forms.Button btn_1010;
-        private System.Windows.Forms.Button btn_1011;
-        private System.Windows.Forms.Button btn_1013;
-        private System.Windows.Forms.Label label1;
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.Label label6;
-        private System.Windows.Forms.Label label25;
-        private System.Windows.Forms.Label label26;
-        private System.Windows.Forms.Label label29;
-        private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.Label label9;
-        private System.Windows.Forms.Label label11;
-        private System.Windows.Forms.Label lbl_TaskID;
-        private System.Windows.Forms.Label lbl_Shape;
-        private System.Windows.Forms.Label lbl_Destination;
-        private System.Windows.Forms.Label lbl_AlarmCode;
-        private System.Windows.Forms.Button button1;
-        private System.Windows.Forms.Button button2;
-        private System.Windows.Forms.Button button4;
-        private System.Windows.Forms.Button button13;
-        private System.Windows.Forms.Button button14;
-        private System.Windows.Forms.Button button15;
-        private System.Windows.Forms.Button button10;
-        private System.Windows.Forms.Button button11;
-        private System.Windows.Forms.Button button12;
-        private System.Windows.Forms.Button button9;
-        private System.Windows.Forms.Button button8;
-        private System.Windows.Forms.Button button6;
-        private System.Windows.Forms.Button btn_1040;
-        private System.Windows.Forms.Label lbl_Rgv_STP;
-        private System.Windows.Forms.Button btn_ResetSTP;
-        private System.Windows.Forms.Label lbl_Rgv_WriteTaskNo;
-        private System.Windows.Forms.Label lbl_Rgv_WriteToPlace;
-        private System.Windows.Forms.TabPage tp_DeviceTask;
-        private System.Windows.Forms.Button btnDelete;
-        private System.Windows.Forms.Button btnFinish;
-        private System.Windows.Forms.Button btnReset;
-        private System.Windows.Forms.TextBox tb_AllowSimulateExecute_Rmark;
-        private System.Windows.Forms.Button btnFind;
-        private System.Windows.Forms.DataGridView dgvPartTask;
-        private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.Label lbl_R_1007_Scan;
-        private System.Windows.Forms.Label lbl_R_1006_Scan;
-        private System.Windows.Forms.Label lbl_R_1004_Scan;
-        private System.Windows.Forms.Label lbl_R_1002_Scan;
-        private System.Windows.Forms.Label lbl_R_1015_Scan;
-        private System.Windows.Forms.TabPage panel_DeviceTaskList_dataGridView_RgvStore;
-        private System.Windows.Forms.Label label12;
-        private System.Windows.Forms.TextBox tb_Rgv_Alter;
-        private System.Windows.Forms.Label lbl_RGV_1012_HasCategory_COUNT;
-        private System.Windows.Forms.Panel panel_DeviceTaskList;
-        private System.Windows.Forms.Label lbl_R_1009_High3;
-        private System.Windows.Forms.Label lbl_R_1009_High1;
-        private System.Windows.Forms.Label lbl_R_1009_High2;
-        private System.Windows.Forms.Button button3;
         private System.Windows.Forms.TabPage tabPage3;
         private System.Windows.Forms.Button button5;
-        private System.Windows.Forms.Label lbl_RGV_1020_NoHasCategory_COUNT;
-        private System.Windows.Forms.Button button7;
-        private System.Windows.Forms.DataGridView dataGridView_RgvStore;
-        private System.Windows.Forms.Label lbl_RGV_1011_HasCategory_COUNT;
-        private System.Windows.Forms.Label lbl_RGV_1001_HasCategory_COUNT;
-        private System.Windows.Forms.Label lbl_RGV_1008_HasCategory_COUNT;
-        private System.Windows.Forms.Label lbl_RGV_1005_HasCategory_COUNT;
-        private System.Windows.Forms.Label lbl_RGV_1003_HasCategory_COUNT;
-        private System.Windows.Forms.Button button16;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn taskno;
-        private System.Windows.Forms.DataGridViewTextBoxColumn eqname;
-        private System.Windows.Forms.DataGridViewTextBoxColumn nexthandel;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ishandled;
-        private System.Windows.Forms.DataGridViewTextBoxColumn taskcode;
-        private System.Windows.Forms.DataGridViewTextBoxColumn sourceplace;
-        private System.Windows.Forms.DataGridViewTextBoxColumn toplace;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn containername;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn filereason;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn isreleased;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn isfinished;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn iscurrent;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
-        private System.Windows.Forms.DataGridViewTextBoxColumn id;
-        private System.Windows.Forms.DataGridViewTextBoxColumn maintaskid;
-        private System.Windows.Forms.Label lbl_R_RGV_Finish;
-        private System.Windows.Forms.Label lbl_W_RGV_FinishACK;
-        private System.Windows.Forms.Button btn_RgvConfirmFinishTask;
-        private System.Windows.Forms.DataGridViewTextBoxColumn RgvStationCode;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Qty;
-        private System.Windows.Forms.DataGridViewTextBoxColumn InStoreTime;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound;
         private System.Windows.Forms.CheckBox ckDataProcess_RobotBuffer_AutoQiTaoOutbound;
         private System.Windows.Forms.Label lbl_DataProcess_RobotBuffer_ModeChange;
         private System.Windows.Forms.CheckBox ck_DataProcess_RobotBuffer_ModeChange;
-        private System.Windows.Forms.TabPage tabPage4;
-        private System.Windows.Forms.Panel panel_DeviceTaskList_dgvPartTask_Finished;
-        private System.Windows.Forms.Button button17;
-        private System.Windows.Forms.DataGridView dgvPartTask_Finished;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26;
-        private System.Windows.Forms.TabPage tab_OutTaskList;
-        private System.Windows.Forms.Panel panel_dataGridView__OutTaskList;
-        private System.Windows.Forms.Button button18;
-        private System.Windows.Forms.DataGridView dataGridView__OutTaskList;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn28;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn33;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn34;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn36;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn37;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn38;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn39;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn40;
         private System.Windows.Forms.Button btn_TongJi;
         private System.Windows.Forms.Label label16;
         private System.Windows.Forms.DateTimePicker dateTimePicker_Start;
@@ -6334,70 +1095,16 @@
         private System.Windows.Forms.CheckBox checkBox_NowDay;
         private System.Windows.Forms.Button button20;
         private System.Windows.Forms.TextBox tb_TongJi;
-        private System.Windows.Forms.RadioButton rBOnlyIn;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound;
         private System.Windows.Forms.CheckBox checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound;
-        private System.Windows.Forms.Label lbl_R_PickReqForInStore_1;
-        private System.Windows.Forms.Label lbl_R_PickReqForInStore_2;
-        private System.Windows.Forms.Label lbl_R_PickReqForInStore_4;
-        private System.Windows.Forms.Label lbl_R_PickReqForInStore_3;
-        private System.Windows.Forms.Label lbl_W_1002_ScanFailACK;
-        private System.Windows.Forms.Label lbl_W_1007_ScanFailACK;
-        private System.Windows.Forms.Label lbl_W_1006_ScanFailACK;
-        private System.Windows.Forms.Label lbl_W_1004_ScanFailACK;
-        private System.Windows.Forms.Button btnSMQZYZTG1;
-        private System.Windows.Forms.Button btnSMQZYZTG2;
-        private System.Windows.Forms.Button btnSMQZYZTG4;
-        private System.Windows.Forms.Button btnSMQZYZTG3;
-        private System.Windows.Forms.Label lbl_RgvCoordinate;
-        private System.Windows.Forms.TabPage tab_WaitPlanDetail;
-        private System.Windows.Forms.Panel panel_WaitPlanDetail;
-        private System.Windows.Forms.Button btn_WaitPlanDetail;
-        private System.Windows.Forms.DataGridView dataGridView_WaitPlanDetail;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn35;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn42;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn44;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn48;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn49;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn51;
-        private System.Windows.Forms.Button btnDeleteTask;
         private System.Windows.Forms.Label lbl_Alter_DataProcess_BZ21;
         private System.Windows.Forms.CheckBox checkBox_DataProcess_BZ21;
-        private System.Windows.Forms.TabPage tabPage_OutTaskRetryToMes;
-        private System.Windows.Forms.Panel panel_dg_OutTaskRetryToMes;
-        private System.Windows.Forms.Button btn_Find_OutTaskRetryToMes;
-        private System.Windows.Forms.DataGridView dg_OutTaskRetryToMes;
-        private System.Windows.Forms.Button button19;
         private System.Windows.Forms.Label lbl_Alert_DataProcess_RobotBuffer_FinishTask;
         private System.Windows.Forms.CheckBox ck_DataProcess_RobotBuffer_FinishTask;
-        private System.Windows.Forms.DataGridViewTextBoxColumn MesId;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn52;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn53;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn54;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn55;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn56;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn57;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn58;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn59;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn60;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn61;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn62;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn63;
-        private System.Windows.Forms.TextBox tb_Query_PlcTaskNo;
-        private System.Windows.Forms.Label label18;
-        private System.Windows.Forms.TextBox tb_query_Salver;
-        private System.Windows.Forms.Label label20;
         private System.Windows.Forms.Label lbl_Alert_PushPackageCodeToMes;
         private System.Windows.Forms.CheckBox ck_PushPackageCodeToMes;
-        private System.Windows.Forms.Button btn_1019;
-        private System.Windows.Forms.Label lbl_R_1019_Scan;
-        private System.Windows.Forms.Button button21;
         private System.Windows.Forms.Label lbl_alert_DataProcess_BZ39;
         private System.Windows.Forms.CheckBox ck_DataProcess_BZ39;
-        private System.Windows.Forms.Label lblR_1019_CargoNoScan;
         private System.Windows.Forms.Label lbl_alert_DataProcess_BZ01;
         private System.Windows.Forms.CheckBox ck_AutoIssueInStoreTask;
         private System.Windows.Forms.Button button22;
diff --git a/CC/iWareCC_ASRS/FormCC.cs b/CC/iWareCC_ASRS/FormCC.cs
index b2ae9ce..d99eb49 100644
--- a/CC/iWareCC_ASRS/FormCC.cs
+++ b/CC/iWareCC_ASRS/FormCC.cs
@@ -163,7 +163,7 @@
             this.rBNormal.Checked = SystemValue.rBNormal_Checked = true;
             this.rbHand.Checked = SystemValue.rbHand_Checked = false;
             this.rBDebug.Checked = SystemValue.rBDebug_Checked = false;
-            this.rBOnlyIn.Checked = SystemValue.rBOnlyIn_Checked = false;
+           
 
 
             SetModelCheckBoxToSystemValue();
@@ -194,14 +194,10 @@
 
 
 
-            tskGetRgv1Info = new Thread(GetRgvInfo);
-            tskGetRgv1Info.Start();
 
             var tskGetStationInfo = new Thread(GetStationInfo);
             tskGetStationInfo.Start();
 
-            //鍫嗗灈鏈篣I璧嬪��
-            SetSrmUI();
 
             tskSetSrmLable = new Thread(SrmRead_Label);
             tskSetSrmLable.Start();
@@ -277,14 +273,6 @@
             dateTimePicker_Start.Value = DateTime.Now;
             dateTimePicker_End.Value = DateTime.Now;
 
-            asc_panel_DeviceTaskList.controllInitializeSize(this.panel_DeviceTaskList);
-            asc_panel_DeviceTaskList_dgvPartTask_Finished.controllInitializeSize(this.panel_DeviceTaskList_dgvPartTask_Finished);
-            asc_panel_dataGridView__OutTaskList.controllInitializeSize(this.panel_dataGridView__OutTaskList);
-            asc_panel_WaitPlanDetail.controllInitializeSize(this.panel_WaitPlanDetail);
-            asc_panel_DeviceTaskList_dataGridView_RgvStore.controllInitializeSize(this.panel_DeviceTaskList_dataGridView_RgvStore);
-            asc_panel_dg_OutTaskRetryToMes.controllInitializeSize(this.panel_dg_OutTaskRetryToMes);
-
-            this.dgvPartTask.ReadOnly = true;
 
             /*
             trCancelBatchBackToStore = new Thread(CancelBatchBackToStore);
@@ -296,7 +284,6 @@
             tr_reverseSplitFinishProdOutStoreThread.Start();
             //*/
 
-            this.SetInitPlaceValue();
 
             #region 瀵瑰鍙戝竷WCF褰㈠紡鏁版嵁璁块棶鏈嶅姟
             try
@@ -352,9 +339,9 @@
                     this.lbl_Alert_DataProcess_BZ39_IssueInboundTask.Text = showNowTime + SystemWarningMsg._lbl_Alert_DataProcess_BZ39_IssueInboundTask;
                     this.lbl_Alert_DataProcess_RobotBuffer_ForceOutbound.Text = showNowTime + SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_ForceOutbound;
                     this.lbl_Alert_DataProcess_BZ12.Text = showNowTime + SystemWarningMsg._lbl_alert_DataProcess_BZ12;
-                    this.lbl_Alert_Srm4Release.Text = showNowTime + SystemWarningMsg._lbl_Alert_Srm4Release;
+                    
                     //璁剧疆鍫嗗灈鏈轰换鍔′笅鍙戝拰浠诲姟瀹屾垚纭绾跨▼娑堟伅
-                    this.lbl_Alter_Srm1ReleaseFinish.Text = showNowTime + SystemWarningMsg._lbl_Alert_Srm1ReleaseFinish;
+                   
                     this.lbl_Alert_DataProcess_BZ12_FinishTask.Text = showNowTime + SystemWarningMsg._lbl_Alert_DataProcess_BZ12_FinishTask;
                     this.lbl_Alert_DataProcess_BZ21_FinishTask.Text = showNowTime + SystemWarningMsg._lbl_Alert_DataProcess_BZ21_FinishTask;
 
@@ -482,136 +469,6 @@
         }
 
 
-        /// <summary>
-        /// 鍫嗗灈鏈虹殑UI鏄剧ず
-        /// </summary>
-        /// <param name="device"></param>
-        private void SetSrmUI()
-        {
-            if (FormCC.IsSimulationPLC == false)
-            {
-                SrmDeviceList.ForEach(x =>
-                {
-                    ParameterizedThreadStart parStart = new ParameterizedThreadStart(SingleSetSrmUI);
-                    Thread thread = new Thread(parStart);
-                    object o = (int)x;
-                    thread.Start(o);
-                });
-            }
-        }
-
-        /// <summary>
-        /// 鍫嗗灈鏈虹殑UI鏄剧ず
-        /// </summary>
-        /// <param name="device"></param>
-        private void SingleSetSrmUI(object int_device)
-        {
-            while (true)
-            {
-                try
-                {
-                    EDevice device = (EDevice)Enum.Parse(typeof(EDevice), int_device.ToString());
-                    SrmView srmInfo = srmViewDict[(int)device];
-                    var panel = GetSrmPanel(device);
-                    List<PropertieModel> proList = ClassHelper.GetPropertieModels<SrmView>(srmInfo);
-                    foreach (var item in DeviceDict.LabelSrmDict)
-                    {
-                        //var lbl = ControlHelper.GetLabel(this, panel, item.Key + (int)device);
-                        Object obj = ControlHelper.GetControlInstance(panel, item.Key + (int)device);
-                        if (obj != null)
-                        {
-                            Label lbl = (Label)obj;
-                            lbl.Text = item.Value.LablePreStr + proList.Find(x => x.PropertyName == item.Value.LableProName).DataValue;
-                        }
-                    }
-                    //鐗规畩澶勭悊- 鎶ヨ
-                    var lbSrmAlarm = GetSrmAlarmLabel(device);
-                    if (srmInfo.R_Alarm != 1)
-                    {
-                        lbSrmAlarm.Text = string.Empty;
-                        lbSrmAlarm.ForeColor = Color.SkyBlue;
-                        lbSrmAlarm.BackColor = Color.Transparent;
-                        lbSrmAlarm.ForeColor = Color.Maroon;
-                        lbSrmAlarm.BackColor = Color.WhiteSmoke;
-                    }
-                    else
-                    { //澶勪簬鎶ヨ鐘舵�佷笅
-                        if (srmInfo.R_WarningDBList != null && srmInfo.R_WarningDBList.Length > 0)
-                        {
-                            lbSrmAlarm.Text = String.Join(",", srmInfo.R_WarningDBList.Select(x => x.Context).ToArray());
-                        }
-
-                        lbSrmAlarm.ForeColor = Color.White;
-                        lbSrmAlarm.BackColor = Color.Red;
-                        lbSrmAlarm.ForeColor = Color.White;
-                        lbSrmAlarm.BackColor = Color.Red;
-                    }
-                    //娉ㄩ噴
-                    /*
-                    if (lbSrmAlarm.Text == string.Empty)
-                    {
-                        using (var opcClinet = new SrmService.SrmServiceClient())
-                        {
-                            var isHandShare = SrmBLL.IsHandShare(opcClinet, device);
-                            if (!isHandShare)
-                            {
-                                lbSrmAlarm.Text = (int)device + "鍙峰爢鍨涙満娌℃湁蹇冭烦";
-                            }
-                        }
-                    }
-                    //*/
-                }
-                catch (Exception)
-                {
-                    throw;
-                }
-            }
-        }
-
-        /// <summary>
-        /// 鑾峰彇鍫嗗灈鏈虹殑鎶ヨLabel
-        /// </summary>
-        /// <param name="device"></param>
-        /// <returns></returns>
-        private Label GetSrmAlarmLabel(EDevice device)
-        {
-            switch (device)
-            {
-                case EDevice.涓�鍙峰爢鍨涙満:
-                    return this.lblSrmAlarm1;
-                case EDevice.浜屽彿鍫嗗灈鏈�:
-                    return this.lblSrmAlarm2;
-                case EDevice.涓夊彿鍫嗗灈鏈�:
-                    return this.lblSrmAlarm3;
-                case EDevice.鍥涘彿鍫嗗灈鏈�:
-                    return this.lblSrmAlarm4;
-            }
-            return null;
-        }
-
-
-        /// <summary>
-        /// 鑾峰彇鍫嗗灈鏈虹殑Panel
-        /// </summary>
-        /// <param name="device"></param>
-        /// <returns></returns>
-        private Panel GetSrmPanel(EDevice device)
-        {
-            switch (device)
-            {
-                case EDevice.涓�鍙峰爢鍨涙満:
-                    return this.panel_Srm1;
-                case EDevice.浜屽彿鍫嗗灈鏈�:
-                    return this.panel_Srm2;
-                case EDevice.涓夊彿鍫嗗灈鏈�:
-                    return this.panel_Srm3;
-                case EDevice.鍥涘彿鍫嗗灈鏈�:
-                    return this.panel_Srm4;
-            }
-            return null;
-        }
-
-
 
         #endregion
 
@@ -666,167 +523,9 @@
             }
         }
 
-        /// <summary>
-        /// 鑾峰彇RGV淇℃伅
-        /// </summary>
-        /// <param name="obj"></param>
-        private void GetRgvInfo(object obj)
-        {
-            while (true)
-            {
-                Thread.Sleep(1000);//1绉掗挓璇诲彇涓�娆�
-                try
-                {
-                    if (rgvServiceClient == null)
-                    {
-                        continue;
-                    }
-                    rgvView = rgvServiceClient.GetRgvInfo((int)EDevice.RGV);
-                    CalcRGV_1012_HasCategory_COUNT();
-                    CalcRGV_1011_HasCategory_COUNT();
-                    CalcRGV_1020_NoHasCategory_COUNT();
+     
 
-                    CalcRGV_HasCategory_COUNT(EDevice.鍫嗗灈鏈�1鍑哄簱鍙�1001, ref RGV_1001_HasCategory_COUNT, lbl_RGV_1001_HasCategory_COUNT);
-                    CalcRGV_HasCategory_COUNT(EDevice.鍫嗗灈鏈�2鍑哄簱鍙�1003, ref RGV_1003_HasCategory_COUNT, lbl_RGV_1003_HasCategory_COUNT);
-                    CalcRGV_HasCategory_COUNT(EDevice.鍫嗗灈鏈�3鍑哄簱鍙�1005, ref RGV_1005_HasCategory_COUNT, lbl_RGV_1005_HasCategory_COUNT);
-                    CalcRGV_HasCategory_COUNT(EDevice.鍫嗗灈鏈�4鍑哄簱鍙�1008, ref RGV_1008_HasCategory_COUNT, lbl_RGV_1008_HasCategory_COUNT);
-
-                    _CommmonShowAgvStation();
-                    CastToDevice_RgvRealTime(rgvView);
-
-                    SetScanText();
-                    Set1009_HighText();
-                    //鏄剧ずRGV浠诲姟瀹屾垚鍜屽畬鎴愮‘璁や俊鍙�
-                    this.lbl_R_RGV_Finish.Text = "RGV浠诲姟瀹屾垚:" + rgvView.R_RGV_Finish;
-                    this.lbl_W_RGV_FinishACK.Text = "RGV浠诲姟瀹屾垚纭:" + rgvView.W_RGV_FinishACK;
-
-                    this.lbl_RgvCoordinate.Text = "RGV瀹炴椂鍧愭爣:" + rgvView.R_RGV_Coordinate;
-
-                    //瑙f瀽RGV瀵硅薄
-                    foreach (var item in rgvView.R_RgvForReadCommList)
-                    {
-                        var control = ControlHelper.GetControlInstance(this.tPTransAsrs, "btn_" + item.StationCode);
-                        if (item.R_AlarmCode > 0)
-                        {//鏈夋姤璀�
-                            if (control != null)
-                            {
-                                var btn = control as Button;
-                                btn.BackColor = Color.Red;
-                            }
-                        }
-                        else
-                        {
-                            if (control != null)
-                            {
-                                var btn = control as Button;
-                                if (item.StationCode == ((int)EDevice.RGV1040).ToString())
-                                {
-                                    btn.BackColor = Color.Gold;
-                                }
-                                else if (item.StationCode == ((int)EDevice.鎷嗙洏鏈�1020).ToString())
-                                {
-                                    btn.BackColor = Color.DodgerBlue;
-                                }
-                                else if (item.StationCode == ((int)EDevice.鎻愬崌鏈�1030).ToString())
-                                {
-                                    btn.BackColor = Color.SteelBlue;
-                                }
-                                else
-                                {
-                                    btn.BackColor = Color.SeaGreen;
-                                }
-                            }
-                        }
-                    }
-
-                    //鏄剧ずRGV鎶ヨ淇℃伅
-                    List<String> warningAddressList = new List<string>();
-                    if (rgvView.R_Rgv_WarningDBList != null && rgvView.R_Rgv_WarningDBList.Length > 0)
-                    {
-                        tb_Rgv_Alter.Text = String.Join(",", rgvView.R_Rgv_WarningDBList.Select(x => x.Contextk__BackingField).ToArray());
-                        //淇濆瓨鎶ヨ
-                        var waringList = rgvView.R_Rgv_WarningDBList.ToList();
-                        if (waringList != null && waringList.Count > 0)
-                        {
-                            for (int i = 0; i < waringList.Count; i++)
-                            {
-                                DeviceWarningHandler.SaveWarning(EDevice.RGV, iWareCommon.Utils.LogType.StationThreadService,
-                                    waringList[i].Codek__BackingField, waringList[i].Addressk__BackingField, waringList[i].Contextk__BackingField);//鏂板鎶ヨ
-                                warningAddressList.Add(waringList[i].Addressk__BackingField);
-                            }
-                        }
-                    }
-                    else
-                    {
-                        tb_Rgv_Alter.Text = "";
-                    }
-                    DeviceWarningHandler.AutoCloseWarning(EDevice.RGV, iWareCommon.Utils.LogType.StationThreadService, warningAddressList);//鑷姩鍏抽棴鎶ヨ
-                }
-                catch (Exception ex)
-                {
-                    rgvView = null;
-                    Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.StationThreadService, "鑾峰彇RGV淇℃伅鍑虹幇寮傚父:" + ex.Message, ex);
-                    continue;
-                }
-            }
-        }
-
-        private void SetScanText()
-        {
-            this.lbl_R_1015_Scan.Text = "1015鎵爜鍊�:" + rgvView.R_1015_Scan;
-            this.lbl_R_1019_Scan.Text = "1019鎵爜鍊�:" + rgvView.R_1019_Scan;
-            this.lblR_1019_CargoNoScan.Text = "1019鍙戝姩鏈烘壂鐮�:" + rgvView.R_1019_CargoNoScan;
-            this.lbl_R_1002_Scan.Text = "1002鎵爜鍊�:" + rgvView.R_1002_Scan;
-            this.lbl_R_1004_Scan.Text = "1004鎵爜鍊�:" + rgvView.R_1004_Scan;
-            this.lbl_R_1006_Scan.Text = "1006鎵爜鍊�:" + rgvView.R_1006_Scan;
-            this.lbl_R_1007_Scan.Text = "1007鎵爜鍊�:" + rgvView.R_1007_Scan;
-
-            this.lbl_W_1002_ScanFailACK.Text = "1002鎵弿楠岃瘉:" + rgvView.W_1002_ScanFailACK;
-            this.lbl_W_1004_ScanFailACK.Text = "1004鎵弿楠岃瘉:" + rgvView.W_1004_ScanFailACK;
-            this.lbl_W_1006_ScanFailACK.Text = "1006鎵弿楠岃瘉:" + rgvView.W_1006_ScanFailACK;
-            this.lbl_W_1007_ScanFailACK.Text = "1007鎵弿楠岃瘉:" + rgvView.W_1007_ScanFailACK;
-        }
-
-        private void Set1009_HighText()
-        {
-            this.lbl_R_1009_High1.Text = "1009绔欑偣1灞傚厜鐢�:" + rgvView.R_1009_High1;
-            this.lbl_R_1009_High2.Text = "1009绔欑偣2灞傚厜鐢�:" + rgvView.R_1009_High2;
-            this.lbl_R_1009_High3.Text = "1009绔欑偣3灞傚厜鐢�:" + rgvView.R_1009_High3;
-        }
-
-        /// <summary>
-        /// 杞崲涓篟GV鐨勫疄鏃剁姸鎬�
-        /// </summary>
-        /// <param name="rgvView"></param>
-        private void CastToDevice_RgvRealTime(RgvView rgvView)
-        {
-            List<Device_RgvRealTime> realTimeList = new List<Device_RgvRealTime>();
-            Device_RgvRealTime obj = new Device_RgvRealTime();
-            foreach (var item in rgvView.R_RgvForReadCommList)
-            {
-                EDevice device = (EDevice)Enum.Parse(typeof(EDevice), item.StationCode);
-                obj = new Device_RgvRealTime()
-                {
-                    RgvCode = item.StationCode,
-                    RgvName = device.ToString(),
-                    Mode = item.R_Model.ToString(),
-                    ModeName = EnumberHelper.GetEnumName<ERgvMode>(item.R_Model).ToString(),
-                    State = item.R_State.ToString(),
-                    StateName = EnumberHelper.GetEnumName<ERgvState>(item.R_State).ToString(),
-                    WarningCode = item.R_AlarmCode.ToString(),
-                    TaskID = item.R_TaskID.ToString(),
-                    PH_1 = item.R_PH_1,
-                    PH_2 = item.R_PH_2,
-                    Shape = item.R_Shape.ToString(),
-                    ShapeName = EnumberHelper.GetEnumName<ERgvBodyTest>(item.R_Shape).ToString(),
-                    Destination = item.R_Destination.ToString(),
-                    Coordinate = rgvView.R_RGV_Coordinate //璧嬪�糝GV鍧愭爣
-                };
-                realTimeList.Add(obj);
-            }
-            DeviceRgvRealTimeHandler.Update(realTimeList, iWareCommon.Utils.LogType.StationThreadService);
-
-        }
+     
 
 
         #endregion
@@ -898,10 +597,6 @@
                         continue;
                     }
                     stationView = stationServiceClient.GetStationInfo((int)EDevice.Station);
-
-
-                    _CommmonShowAgvStation();
-
 
                     ////鏄剧ずRGV浠诲姟瀹屾垚鍜屽畬鎴愮‘璁や俊鍙�
                     //this.lbl_R_RGV_Finish.Text = "RGV浠诲姟瀹屾垚:" + rgvView.R_RGV_Finish;
@@ -1037,82 +732,6 @@
 
         #region 绉佹湁鏂规硶
 
-        /// <summary>
-        /// 璁$畻 鏌愪釜绔欑偣鐨勬湁璐� 鍊�
-        /// </summary>
-        private void CalcRGV_HasCategory_COUNT(EDevice device, ref int RGV_HasCategory_COUNT, Label lbl_RGV_HasCategory_COUNT)
-        {
-            //鏀逛负 鍙垽鏂湁涓や釜淇″彿閮芥湁
-            var isGD_HasCatogryForRgvStattion = MyExtendHelper.IsGD_HasCatogryForRgvStattionFor2(((int)device).ToString());
-            //鏀逛负 鍙垽鏂湁涓�涓俊鍙锋湁璐у嵆鍙�
-            //var isGD_HasCatogryForRgvStattion = MyExtendHelper.IsGD_HasCatogryForRgvStattion(((int)EDevice.鍑哄簱鍙�1012).ToString());
-            if (isGD_HasCatogryForRgvStattion)
-            {
-                RGV_HasCategory_COUNT += 1;
-            }
-            else
-            {
-                RGV_HasCategory_COUNT = 0;
-            }
-            lbl_RGV_HasCategory_COUNT.Text = ((int)device).ToString() + "绔欑偣鎸佺画鏈夎揣鏃堕棿:" + RGV_HasCategory_COUNT;
-        }
-
-        /// <summary>
-        /// 璁$畻 RGV_1012_HasCategory_COUNT鍊�
-        /// </summary>
-        private void CalcRGV_1012_HasCategory_COUNT()
-        {
-            //鏀逛负 鍙垽鏂湁涓や釜淇″彿閮芥湁
-            var isGD_HasCatogryForRgvStattion = MyExtendHelper.IsGD_HasCatogryForRgvStattionFor2(((int)EDevice.鍑哄簱鍙�1012).ToString());
-            //鏀逛负 鍙垽鏂湁涓�涓俊鍙锋湁璐у嵆鍙�
-            //var isGD_HasCatogryForRgvStattion = MyExtendHelper.IsGD_HasCatogryForRgvStattion(((int)EDevice.鍑哄簱鍙�1012).ToString());
-            if (isGD_HasCatogryForRgvStattion)
-            {
-                RGV_1012_HasCategory_COUNT += 1;
-            }
-            else
-            {
-                RGV_1012_HasCategory_COUNT = 0;
-            }
-            this.lbl_RGV_1012_HasCategory_COUNT.Text = "1012绔欑偣鎸佺画鏈夎揣鏃堕棿:" + RGV_1012_HasCategory_COUNT;
-        }
-
-        /// <summary>
-        /// 璁$畻 RGV_1011_HasCategory_COUNT鍊�
-        /// </summary>
-        private void CalcRGV_1011_HasCategory_COUNT()
-        {
-            //鏀逛负 鍙垽鏂湁涓や釜淇″彿閮芥湁
-            var isGD_HasCatogryForRgvStattion = MyExtendHelper.IsGD_HasCatogryForRgvStattionFor2(((int)EDevice.绌烘墭缂撳瓨1011).ToString());
-            //鏀逛负 鍙垽鏂湁涓�涓俊鍙锋湁璐у嵆鍙�
-            //var isGD_HasCatogryForRgvStattion = MyExtendHelper.IsGD_HasCatogryForRgvStattion(((int)EDevice.绌烘墭缂撳瓨1011).ToString());
-            if (isGD_HasCatogryForRgvStattion)
-            {
-                RGV_1011_HasCategory_COUNT += 1;
-            }
-            else
-            {
-                RGV_1011_HasCategory_COUNT = 0;
-            }
-            this.lbl_RGV_1011_HasCategory_COUNT.Text = "1011绔欑偣鎸佺画鏈夎揣鏃堕棿:" + RGV_1011_HasCategory_COUNT;
-        }
-
-        /// <summary>
-        /// 璁$畻 RGV_1020_NoHasCategory_COUNT鍊�
-        /// </summary>
-        private void CalcRGV_1020_NoHasCategory_COUNT()
-        {
-            var isGD_HasCatogryForRgvStattion = MyExtendHelper.IsGD_HasCatogryForRgvStattion(((int)EDevice.鎷嗙洏鏈�1020).ToString());
-            if (isGD_HasCatogryForRgvStattion)
-            {
-                RGV_1020_NoHasCategory_COUNT = 0;
-            }
-            else
-            {
-                RGV_1020_NoHasCategory_COUNT += 1;
-            }
-            this.lbl_RGV_1020_NoHasCategory_COUNT.Text = "1020绔欑偣鎸佺画鏃犺揣鏃堕棿:" + RGV_1020_NoHasCategory_COUNT;
-        }
 
         /// <summary>
         /// 鍒濆鍖栧疄鏃跺爢鍨涙満鐨勫瓧鍏�
@@ -1126,56 +745,11 @@
             });
         }
 
-        private void SetInitPlaceValue()
-        {
-            this.tbSrm1TaskId.Text = this.tbSrm2TaskId.Text = this.tbSrm3TaskId.Text = this.tbSrm4TaskId.Text = "11";
-
-            var sourcePlace = "02-02-01";
-            this.tB_Srm1SourcePlace.Text = this.tB_Srm2SourcePlace.Text = this.tB_Srm3SourcePlace.Text = this.tB_Srm4SourcePlace.Text = sourcePlace;
-
-            var toPlace = "02-03-01";
-            this.tB_Srm1ToPlace.Text = this.tB_Srm2ToPlace.Text = this.tB_Srm3ToPlace.Text = this.tB_Srm4ToPlace.Text = toPlace;
-        }
+     
 
         #endregion
 
-        private void btnSrm1Send_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.搴撳唴鎼繍, "1-", tbSrm1TaskId, tB_Srm1SourcePlace, tB_Srm1ToPlace, EDevice.涓�鍙峰爢鍨涙満);
-        }
-
-        private void btnSrm1Move_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.绉诲姩, "1-", tbSrm1TaskId, tB_Srm1SourcePlace, tB_Srm1ToPlace, EDevice.涓�鍙峰爢鍨涙満);
-        }
-
-        private void btnSrm1Confirm_Click(object sender, EventArgs e)
-        {
-            CommonSrmConfirm(EDevice.涓�鍙峰爢鍨涙満, tbSrm1TaskId);
-        }
-
-        private void btnSrm1EStop_Click(object sender, EventArgs e)
-        {
-            CommonSrmEStop(EDevice.涓�鍙峰爢鍨涙満);
-        }
-
-        private void btnSrm1RlsAlert_Click(object sender, EventArgs e)
-        {
-            using (var opcClinet = new SrmService.SrmServiceClient())
-            {
-                opcClinet.ReleaseAlert((int)EDevice.涓�鍙峰爢鍨涙満);
-            }
-        }
-
-        private void btnSrm1Delete_Click(object sender, EventArgs e)
-        {
-            CommonDeleteSrmTask(EDevice.涓�鍙峰爢鍨涙満);
-        }
-
-        private void btnSrm2Send_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.搴撳唴鎼繍, "2-", tbSrm2TaskId, tB_Srm2SourcePlace, tB_Srm2ToPlace, EDevice.浜屽彿鍫嗗灈鏈�);
-        }
+      
 
         #region 鍏叡
 
@@ -1207,74 +781,7 @@
         }
 
 
-        /// <summary>
-        /// 鍏叡鍙戦�佸爢鍨涙満鍛戒护锛堟惉杩�/绉诲姩锛�
-        /// </summary>
-        /// <param name="pre_Srm"></param>
-        /// <param name="tbTaskId"></param>
-        /// <param name="tbSourcePlace"></param>
-        /// <param name="tbToPlace"></param>
-        /// <param name="_EDevice"></param>
-        private void CommonSendSrmTask(ESrmCmd srmCmd, string pre_Srm, TextBox tbTaskId, TextBox tbSourcePlace, TextBox tbToPlace, EDevice _EDevice)
-        {
-            if (SystemValue.isStartedModel)
-            {
-                WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩鍙戜换鍔★紝闇�瑕佸皢妯″紡鍏抽棴锛�");
-                return;
-            }
-
-            MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-            var deviceName = _EDevice.ToString();
-            var cmdName = srmCmd.ToString();
-            DialogResult dr = MessageBox.Show("纭畾瑕佺粰" + deviceName + "鍙戦��" + cmdName + "鍛戒护鍚�?", "纭", messButton);
-            if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-            {
-                try
-                {
-                    using (var opcClinet = new SrmService.SrmServiceClient())
-                    {
-                        var sourcePlce = tbSourcePlace.Text.Trim();
-                        var toPlace = tbToPlace.Text.Trim();
-
-                        if (!IsNumeric(tbTaskId.Text.Trim()))
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError("浠诲姟鍙锋牸寮忛敊璇�,蹇呴』鏄暟瀛楋紒");
-                            return;
-                        }
-                        var taskId = int.Parse(tbTaskId.Text.Trim());
-                        if (!(taskId >= 1 && taskId <= 100))
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩浠诲姟鍙峰繀椤绘槸鍦�1-100涔嬮棿锛�");
-                            return;
-                        }
-                        iWareCC.SrmService.SdaResEntity sdaResult = opcClinet.SendSrmTask((int)_EDevice, int.Parse(tbTaskId.Text.Trim()), pre_Srm + sourcePlce, pre_Srm + toPlace, (short)srmCmd);
-                        if (sdaResult.result)
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowTips(deviceName + cmdName + "鍛戒护鍙戦�佹垚鍔燂紒");
-                            //  tB_Srm1SourcePlace.Clear();
-                            // tB_Srm1ToPlace.Clear();
-                            Log4NetHelper.WriteInfoLog(iWareCommon.Utils.LogType.CCWCFService, "鎵嬪姩鍫嗗灈鏈轰换鍔″彂閫佹垚鍔燂紝浠诲姟鍙�:" + taskId + ",璧风偣锛�" + sourcePlce + ",鐩爣鐐�:" + toPlace + ",鍫嗗灈鏈猴細" + deviceName);
-                        }
-                        else
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError(deviceName + cmdName + "鍛戒护鍙戦�佸け璐ワ紒杩斿洖浠g爜:" + sdaResult.resMsg);
-                            Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.CCWCFService, "鎵嬪姩鍫嗗灈鏈轰换鍔″彂閫佸け璐ワ紒杩斿洖浠g爜:" + sdaResult.resMsg + ",浠诲姟鍙�:" + taskId + ",璧风偣锛�" + sourcePlce + ",鐩爣鐐�:" + toPlace + ",鍫嗗灈鏈猴細" + deviceName);
-                        }
-                    }
-                    tbSourcePlace.Focus();
-                    tbSourcePlace.SelectAll();
-                }
-                catch (Exception ex)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError(deviceName + cmdName + "鍛戒护鍙戦�佸嚭鐜板紓甯�:" + ex.Message);
-                    Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.CCWCFService, deviceName + cmdName + "鍛戒护鍙戦�佸嚭鐜板紓甯�:" + ex.Message, ex);
-                }
-            }
-            else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-            {
-
-            }
-        }
+       
 
         /// <summary>
         /// 鍫嗗灈鏈轰换鍔$‘璁�
@@ -1337,109 +844,6 @@
 
         #endregion
 
-        private void btnSrm2Move_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.绉诲姩, "2-", tbSrm2TaskId, tB_Srm2SourcePlace, tB_Srm2ToPlace, EDevice.浜屽彿鍫嗗灈鏈�);
-        }
-
-        private void btnSrmTransSend_Click(object sender, EventArgs e)
-        {
-            if (SystemValue.isStartedModel)
-            {
-                WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩鍙戜换鍔★紝闇�瑕佸皢妯″紡鍏抽棴锛�");
-                return;
-            }
-            MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-            DialogResult dr = MessageBox.Show("纭畾瑕佸彂閫佸懡浠ゅ悧?", "纭", messButton);
-            if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-            {
-                try
-                {
-                    using (var opcClinet = new RgvService.RgvServiceClient())
-                    {
-                        var sourcePlce = tBSrmTransSouce.Text.Trim();
-                        if (sourcePlce == "1010")
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError("绔欑偣1010涓嶈兘鍙戜换鍔★紒");
-                            return;
-                        }
-                        var toPlace = tBSrmTransToPlace.Text.Trim();
-
-                        if (!IsNumeric(tBSrmTransTskId.Text.Trim()))
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError("浠诲姟鍙锋牸寮忛敊璇�,蹇呴』鏄暟瀛楋紒");
-                            return;
-                        }
-                        var taskId = int.Parse(tBSrmTransTskId.Text.Trim());
-                        if (!(taskId >= 1 && taskId <= 100))
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩浠诲姟鍙峰繀椤绘槸鍦�1-100涔嬮棿锛�");
-                            return;
-                        }
-                        iWareCC.RgvService.SdaResEntity sdaResult = opcClinet.SendRgvTask((int)EDevice.RGV, Convert.ToInt32(tBSrmTransTskId.Text.Trim()), sourcePlce, toPlace);
-                        if (sdaResult.result)
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowTips("鍛戒护鍙戦�佹垚鍔燂紒");
-                            //  tB_Srm1SourcePlace.Clear();
-                            // tB_Srm1ToPlace.Clear();
-
-                        }
-                        else
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError("鍛戒护鍙戦�佸け璐ワ紒杩斿洖娑堟伅:" + sdaResult.resMsg);
-                        }
-                    }
-                }
-                catch (Exception ex)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鍛戒护鍙戦�佸嚭鐜板紓甯�:" + ex.Message);
-                }
-            }
-            else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-            {
-
-            }
-        }
-
-        private void btnSrm2Confirm_Click(object sender, EventArgs e)
-        {
-            CommonSrmConfirm(EDevice.浜屽彿鍫嗗灈鏈�, tbSrm2TaskId);
-        }
-
-        private void btnSrm2EStop_Click(object sender, EventArgs e)
-        {
-            CommonSrmEStop(EDevice.浜屽彿鍫嗗灈鏈�);
-        }
-
-        private void btnSrm2RlsAlert_Click(object sender, EventArgs e)
-        {
-            using (var opcClinet = new SrmService.SrmServiceClient())
-            {
-                opcClinet.ReleaseAlert((int)EDevice.浜屽彿鍫嗗灈鏈�);
-            }
-        }
-
-        private void btnSrm2Delete_Click(object sender, EventArgs e)
-        {
-            CommonDeleteSrmTask(EDevice.浜屽彿鍫嗗灈鏈�);
-        }
-
-        /// <summary>
-        /// 鏍¢獙杈撳叆鐨勫簱浣岻D鏄惁绗﹀悎鏍煎紡
-        /// </summary>
-        /// <param name="str">搴撲綅鍙�</param>
-        /// <returns></returns>
-        private bool IsNumeric(string str)
-        {
-            try
-            {
-                return (WZ.Useful.Commons.Util.IsNumeric(int.Parse(str)));
-            }
-            catch (Exception)
-            {
-                return false;
-            }
-        }
 
         private void rBNormal_CheckedChanged(object sender, EventArgs e)
         {
@@ -1460,7 +864,6 @@
             SystemValue.rBNormal_Checked = this.rBNormal.Checked ? true : false;
             SystemValue.rbHand_Checked = this.rbHand.Checked ? true : false;
             SystemValue.rBDebug_Checked = this.rBDebug.Checked ? true : false;
-            SystemValue.rBOnlyIn_Checked = this.rBOnlyIn.Checked ? true : false;
 
 
             var title = "褰撳墠妯″紡: ";
@@ -1530,7 +933,7 @@
         {
             //鍫嗗灈鏈�1浠诲姟涓嬪彂
             DoCommonCheckedChanged(ref SystemValue.isAllowRuning_SrmTaskThreadService_1, ckB_DataProcess_BZ39_IssueInboundTask);
-            DoCommonCheckedChanged(ref SystemValue.isAllowRuning_SrmTaskThreadService_1_Finish, ckBSrm1FinishedHandle);
+            
 
             //鍫嗗灈鏈�2浠诲姟涓嬪彂
             DoCommonCheckedChanged(ref SystemValue.isAllowRuning_SrmTaskThreadService_2, ckBDataProcess_RobotBuffer_ForceOutbound);
@@ -1540,13 +943,11 @@
             DoCommonCheckedChanged(ref SystemValue.isAllowRuning_SrmTaskThreadService_3, ckBDataProcess_BZ12);
             DoCommonCheckedChanged(ref SystemValue.isAllowRuning_SrmTaskThreadService_3_Finish, ckBDataProcess_BZ21_FinishTask);
 
-            //鍫嗗灈鏈�4浠诲姟涓嬪彂
-            DoCommonCheckedChanged(ref SystemValue.isAllowRuning_SrmTaskThreadService_4, ckBSrm4Release);
-            DoCommonCheckedChanged(ref SystemValue.isAllowRuning_SrmTaskThreadService_4_Finish, ckBSrm4FinishedHandle);
+          
 
 
             //RGV浠诲姟涓嬪彂
-            DoCommonCheckedChanged(ref SystemValue.isAllowRuning_RgvThreadService, ckBRgvRelease);
+          
             DoCommonCheckedChanged(ref SystemValue.isAllowRuning_RgvThreadService_Finish, ckB_PushPaperCutToMes);
             DoCommonCheckedChanged(ref SystemValue.isAllowRuning_RgvThreadService_Finish_BuChang, ck_PushPackageCodeToMes);
 
@@ -1585,12 +986,8 @@
 
         private void FormCC_SizeChanged(object sender, EventArgs e)
         {
-            asc_panel_DeviceTaskList.controlAutoSize(this.panel_DeviceTaskList);
-            asc_panel_DeviceTaskList_dgvPartTask_Finished.controlAutoSize(this.panel_DeviceTaskList_dgvPartTask_Finished);
-            asc_panel_dataGridView__OutTaskList.controlAutoSize(this.panel_dataGridView__OutTaskList);
-            asc_panel_WaitPlanDetail.controlAutoSize(this.panel_WaitPlanDetail);
-            asc_panel_DeviceTaskList_dataGridView_RgvStore.controlAutoSize(this.panel_DeviceTaskList_dataGridView_RgvStore);
-            asc_panel_dg_OutTaskRetryToMes.controlAutoSize(this.panel_dg_OutTaskRetryToMes);
+           
+          
         }
 
         /// <summary>
@@ -1861,846 +1258,7 @@
 
         }
 
-        /// <summary>
-        /// 璧峰浣嶅拰鐩爣浣嶄簰鎹�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btn_Change1_Click(object sender, EventArgs e)
-        {
-            var old_source = this.tB_Srm1SourcePlace.Text;
-            var old_to = this.tB_Srm1ToPlace.Text;
-            this.tB_Srm1SourcePlace.Text = old_to;
-            this.tB_Srm1ToPlace.Text = old_source;
-
-        }
-
-        private void btn_Change2_Click(object sender, EventArgs e)
-        {
-            var old_source = this.tB_Srm2SourcePlace.Text;
-            var old_to = this.tB_Srm2ToPlace.Text;
-            this.tB_Srm2SourcePlace.Text = old_to;
-            this.tB_Srm2ToPlace.Text = old_source;
-        }
-
-
-        private void tPTransAsrs_Click(object sender, EventArgs e)
-        {
-
-        }
-
-        private void panel16_Paint(object sender, PaintEventArgs e)
-        {
-
-        }
-
-
-        private void btnSrm4Send_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.搴撳唴鎼繍, "4-", tbSrm4TaskId, tB_Srm4SourcePlace, tB_Srm4ToPlace, EDevice.鍥涘彿鍫嗗灈鏈�);
-        }
-
-
-        private void btnSrm4RlsAlert_Click(object sender, EventArgs e)
-        {
-            using (var opcClinet = new SrmService.SrmServiceClient())
-            {
-                opcClinet.ReleaseAlert((int)EDevice.鍥涘彿鍫嗗灈鏈�);
-            }
-        }
-
-        private void btn_Srm4EStop_Click(object sender, EventArgs e)
-        {
-            CommonSrmEStop(EDevice.鍥涘彿鍫嗗灈鏈�);
-        }
-
-        private void btn_Srm3EStop_Click(object sender, EventArgs e)
-        {
-            CommonSrmEStop(EDevice.涓夊彿鍫嗗灈鏈�);
-        }
-
-        private void btnSrm3RlsAlert_Click(object sender, EventArgs e)
-        {
-            using (var opcClinet = new SrmService.SrmServiceClient())
-            {
-                opcClinet.ReleaseAlert((int)EDevice.涓夊彿鍫嗗灈鏈�);
-            }
-        }
-
-        private void btnSrm4Confirm_Click(object sender, EventArgs e)
-        {
-            CommonSrmConfirm(EDevice.鍥涘彿鍫嗗灈鏈�, tbSrm4TaskId);
-        }
-
-        private void btn_Change4_Click(object sender, EventArgs e)
-        {
-            var old_source = this.tB_Srm4SourcePlace.Text;
-            var old_to = this.tB_Srm4ToPlace.Text;
-            this.tB_Srm4SourcePlace.Text = old_to;
-            this.tB_Srm4ToPlace.Text = old_source;
-        }
-
-        private void btn_Change3_Click(object sender, EventArgs e)
-        {
-            var old_source = this.tB_Srm3SourcePlace.Text;
-            var old_to = this.tB_Srm3ToPlace.Text;
-            this.tB_Srm3SourcePlace.Text = old_to;
-            this.tB_Srm3ToPlace.Text = old_source;
-        }
-
-        private void btnSrm3Send_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.搴撳唴鎼繍, "3-", tbSrm3TaskId, tB_Srm3SourcePlace, tB_Srm3ToPlace, EDevice.涓夊彿鍫嗗灈鏈�);
-        }
-
-        private void btnSrm4Move_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.绉诲姩, "4-", tbSrm4TaskId, tB_Srm4SourcePlace, tB_Srm4ToPlace, EDevice.鍥涘彿鍫嗗灈鏈�);
-        }
-
-        private void btnSrm3Confirm_Click(object sender, EventArgs e)
-        {
-            CommonSrmConfirm(EDevice.涓夊彿鍫嗗灈鏈�, tbSrm3TaskId);
-        }
-
-        private void btnSrm4Delete_Click(object sender, EventArgs e)
-        {
-            CommonDeleteSrmTask(EDevice.鍥涘彿鍫嗗灈鏈�);
-        }
-
-        private void btnSrm3Delete_Click_1(object sender, EventArgs e)
-        {
-            CommonDeleteSrmTask(EDevice.涓夊彿鍫嗗灈鏈�);
-
-        }
-
-        private void btnSrm3Move_Click(object sender, EventArgs e)
-        {
-            CommonSendSrmTask(ESrmCmd.绉诲姩, "3-", tbSrm3TaskId, tB_Srm3SourcePlace, tB_Srm3ToPlace, EDevice.涓夊彿鍫嗗灈鏈�);
-        }
-
-        private void panel15_Paint(object sender, PaintEventArgs e)
-        {
-
-        }
-
-        private void CommmonShowAgvStation(object sender)
-        {
-            var btn = sender as Button;
-            var stationName = "";
-            int stationCode = 0;
-            if (int.TryParse(btn.Text, out stationCode))
-            {
-                stationName = btn.Text;
-            }
-            else
-            {
-                stationName = BusinessHelper.ConvertStationCodeForRGV(btn.Text).ToString();
-            }
-            current_rgv_stationName = stationName;
-
-            _CommmonShowAgvStation();
-        }
-
-        private void _CommmonShowAgvStation()
-        {
-            if (string.IsNullOrEmpty(current_rgv_stationName))
-            {
-                this.lbl_StationCode.Text = "褰撳墠浣嶇疆鍙�:" + "";
-                this.lbl_PH_1.Text = "鍏夌數1鐘舵��:" + "";
-                this.lbl_PH_2.Text = "鍏夌數2鐘舵��:" + "";
-                this.lbl_ACK.Text = "鏀跺埌浠诲姟涓嬪彂鍙嶉:" + "";
-                this.lbl_Model.Text = "妯″紡:" + "";
-                this.lbl_State.Text = "杩愯鐘舵��:" + "";
-                this.lbl_AlarmCode.Text = "鎶ヨ浠g爜:" + "";
-                this.lbl_Destination.Text = "褰撳墠鐩爣鍦板潃:" + "";
-                this.lbl_Shape.Text = "澶栧舰妫�娴�:" + "";
-                this.lbl_TaskID.Text = "褰撳墠浠诲姟鍙�:" + "";
-                this.lbl_Rgv_STP.Text = "STP:" + "";
-                this.lbl_Rgv_WriteTaskNo.Text = "鍐欏叆浠诲姟鍙�:" + "";
-                this.lbl_Rgv_WriteToPlace.Text = "鍐欏叆鐩爣鍦板潃:" + "";
-            }
-            else
-            {
-                var r_station = rgvView.R_RgvForReadCommList.Where(x => x.StationCode == current_rgv_stationName).FirstOrDefault();
-                var w_station = rgvView.W_RgvForWriteCommList.Where(x => x.StationCode == current_rgv_stationName).FirstOrDefault();
-
-                this.lbl_StationCode.Text = "褰撳墠浣嶇疆鍙�:" + r_station.StationCode;
-                this.lbl_PH_1.Text = "鍏夌數1鐘舵��:" + r_station.R_PH_1;
-                this.lbl_PH_2.Text = "鍏夌數2鐘舵��:" + r_station.R_PH_2;
-                this.lbl_ACK.Text = "鏀跺埌浠诲姟涓嬪彂鍙嶉:" + r_station.R_ACK;
-                this.lbl_Model.Text = "妯″紡:" + EnumberHelper.GetEnumName<ERgvMode>(r_station.R_Model);
-                this.lbl_State.Text = "杩愯鐘舵��:" + EnumberHelper.GetEnumName<ERgvState>(r_station.R_State);
-                this.lbl_AlarmCode.Text = "鎶ヨ:" + (r_station.R_AlarmCode == 1 ? "鏈夋姤璀�" : "鏃�");
-                this.lbl_Destination.Text = "褰撳墠鐩爣鍦板潃:" + r_station.R_Destination;
-                this.lbl_Shape.Text = "澶栧舰妫�娴�:" + EnumberHelper.GetEnumName<ERgvBodyTest>(r_station.R_Shape);
-                this.lbl_TaskID.Text = "褰撳墠浠诲姟鍙�:" + r_station.R_TaskID;
-                this.lbl_Rgv_STP.Text = "STP:" + w_station.W_STP;
-                this.lbl_Rgv_WriteTaskNo.Text = "鍐欏叆浠诲姟鍙�:" + w_station.W_TaskID;
-                this.lbl_Rgv_WriteToPlace.Text = "鍐欏叆鐩爣鍦板潃:" + w_station.W_Destination;
-            }
-        }
-
-        private void btn_1001_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1002_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1003_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1004_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1005_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1006_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1007_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1008_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1009_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1010_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1011_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1012_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1013_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1030_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1014_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1020_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_1015_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_RGV_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
-        private void btn_ResetSTP_Click(object sender, EventArgs e)
-        {
-            CommmonResetSTP(sender);
-        }
-
-        private void CommmonResetSTP(object sender)
-        {
-            var btn = sender as Button;
-            var stationName = current_rgv_stationName;
-            if (string.IsNullOrEmpty(stationName))
-            {
-                MessageBox.Show("璇烽�夋嫨绔欑偣鍙�");
-                return;
-            }
-
-            using (RgvService.RgvServiceClient client = new RgvServiceClient())
-            {
-                var result = client.WriteStp((int)EDevice.RGV, false, stationName);
-                if (result.result == false)
-                {
-                    MessageBox.Show("澶辫触:" + result.resMsg);
-                }
-            }
-        }
-
-        private void btnFind_Click_1(object sender, EventArgs e)
-        {
-            //鏌ヨ璁惧浠诲姟鍒楄〃
-            dgvPartTask.AutoGenerateColumns = false;
-            for (int i = 0; i < dgvPartTask.Columns.Count; i++)
-            {
-                if (i == (dgvPartTask.Columns.Count - 1))
-                {//鏈�鍚庝竴鍒楀~鍏�
-                    dgvPartTask.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
-                }
-                else
-                {//鍏朵粬鍒楄嚜鍔ㄩ�傚簲瀹藉害
-                    dgvPartTask.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
-                }
-            }
-
-            BindData();
-
-            //this.dgvPartTask.Columns["CreateTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["IssueTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["FinishTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["AllowSimulateExecute_Time"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            FormHelper.DataGridViewSelfAdaptionWidth(this.dgvPartTask);
-        }
-
-        public void BindData()
-        {
-            List<Task_Part> partList = new List<Task_Part>();
-            dgvPartTask.ClearSelection();   //鍙秷闄ゆ墍鏈夐�夋嫨鐨勮      
-            dgvPartTask.DataSource = null;
-
-            dgvPartTask.CurrentCell = null; //鍙秷闄ら�夋嫨琛岀殑琛屽ご绠ご
-            using (DbModel db = new DbModel())
-            {
-                //鍙� 鏈�鍚庝竴涓湭缁撴潫鐨勪换鍔★紝鐒跺悗鍙栧墠5鏉″凡缁忕粨鏉熺殑浠诲姟
-                var queryState1 = (int)DeviceTaskStatusEnum.宸插彇娑�;
-                var queryState2 = (int)DeviceTaskStatusEnum.宸插畬鎴�;
-                var firstNoFinishedTaskList = db.Task_Part.Where(x => x.TaskState != queryState1 && x.TaskState != queryState2).OrderBy(x => x.CreateTime).ToList();
-                if (firstNoFinishedTaskList == null)
-                {
-                    partList = new List<Task_Part>();
-                }
-                else
-                {
-                    List<int> mainIdList = new List<int>();
-                    foreach (var item in firstNoFinishedTaskList)
-                    {
-                        if (!mainIdList.Contains(item.MainTaskId))
-                        {
-                            mainIdList.Add(item.MainTaskId);
-                        }
-                    }
-                    var partList2 = db.Task_Part.Where(x => mainIdList.Contains(x.MainTaskId)).ToList();
-
-                    //partList.AddRange(partList1);
-                    partList.AddRange(partList2);
-                }
-                if (partList != null && partList.Count > 0)
-                {
-                    partList = partList.OrderBy(x => x.MainTaskId).ThenByDescending(x => x.CreateTime).ToList();//閲嶆柊 鍗囧簭鎺掑簭
-                    dgvPartTask.DataSource = null;
-                    dgvPartTask.DataSource = partList;
-                }
-                else
-                {
-                    //if (dgvPartTask.Rows.Count > 0)
-                    //{
-                    //    int i = dgvPartTask.Rows[0].Cells.Count;
-                    //    var cells = dgvPartTask.Rows[0].Cells;
-                    //    for (int j = 0; j < i; j++)
-                    //    {
-                    //        cells[j].Value = null;
-                    //    }
-                    //}
-                }
-            }
-        }
-
-        private void btnFinish_Click_1(object sender, EventArgs e)
-        {
-            //寮哄埗瀹屾垚
-            try
-            {
-                var _AllowSimulateExecute_Rmark = this.tb_AllowSimulateExecute_Rmark.Text;
-                if (string.IsNullOrEmpty(_AllowSimulateExecute_Rmark))
-                {
-                    MessageBox.Show("璇疯緭鍏ュ己鍒跺畬鎴愬師鍥犺鏄庯紒");
-                    return;
-                }
-                using (DbModel context = new DbModel())
-                {
-                    var row = dgvPartTask.SelectedRows;
-
-                    if (row.Count > 0)
-                    {
-                        var cell = row[0].Cells;
-                        // var id = cell[0].Value.ToString();
-                        var id = cell["Id"].Value.ToString();
-                        var task = context.Task_Part.FirstOrDefault(x => x.Id == id);
-                        if (task != null)
-                        {
-                            #region 鏁版嵁澶勭悊
-                            MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-                            DialogResult dr = MessageBox.Show("纭畾瑕佸皢璇ヤ换鍔�" + task.PlcTaskId + "鏍囪涓哄己鍒跺畬鎴愬悧?", "纭", messButton);
-                            if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-                            {
-
-                                task.IsAllowSimulateExecute = true;
-                                task.AllowSimulateExecute_User = SysGloble.WCSSystem;
-                                task.AllowSimulateExecute_Time = DateTime.Now;
-                                task.AllowSimulateExecute_Rmark = _AllowSimulateExecute_Rmark;
-
-                                task.ModifyTime = DateTime.Now;
-                                task.OperationRemark = "鐢ㄦ埛寮哄埗瀹屾垚锛�" + _AllowSimulateExecute_Rmark;
-                                task.ModifyBy = SysGloble.WCSSystem;
-
-                                //淇濆瓨浜哄伐澶勭悊鏃ュ織 [EditBy shaocx,2022-05-01]
-                                Base_PersonHandlerRecord record = new Base_PersonHandlerRecord()
-                                {
-                                    MainTaskNo = task.MainTaskNo,
-                                    HandlerType = "鏍囪浠诲姟寮哄埗瀹屾垚",
-                                    PartTaskId = task.Id,
-                                    PlcTaskId = task.PlcTaskId,
-                                    RealSourcePlace = task.RealSourcePlace,
-                                    RealToPlace = task.RealToPlace,
-                                    SalverCode = task.SalverCode,
-                                    SerialNumber = task.SerialNumber,
-                                    OrderNo = task.OrderNo,
-                                    TaskTypeName = task.TaskTypeName,
-                                    Qty = task.Qty,
-
-                                    ManualHandlerRemark = _AllowSimulateExecute_Rmark
-
-                                };
-                                PersonHandlerRecordHandler.SavePersonHandlerRecord(context, record);
-
-                                context.SaveChanges();
-
-
-                                MessageBox.Show("鏍囪浠诲姟寮哄埗瀹屾垚鎴愬姛锛佹敞鎰忥細鏍囪寮哄埗瀹屾垚鍙槸鏇存柊鏍囪锛岃鎯冲鐞嗗畬搴撳瓨锛屾偍杩橀渶瑕佽繍琛岃嚜鍔ㄦā寮忥紝璁╁叾鑷姩澶勭悊搴撳瓨锛�");
-
-                                BindData();
-                            }
-                            else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-                            {
-                                BindData();
-                            }
-                            #endregion
-                        }
-                        else
-                        {
-                            MessageBox.Show("鏈壘鍒拌浠诲姟锛�");
-                            return;
-                        }
-                    }
-                    else
-                    {
-                        MessageBox.Show("璇峰厛閫変腑瑕佹爣璁颁换鍔″己鍒跺畬鎴愮殑琛岋紒");
-                    }
-                }
-            }
-            catch (Exception ex)
-            {
-                MessageBox.Show("鏍囪浠诲姟寮哄埗瀹屾垚寮傚父锛�" + ex.Message);
-            }
-        }
-
-        private void btnDelete_Click_1(object sender, EventArgs e)
-        {
-            //浠诲姟鍙栨秷
-            try
-            {
-                if (SystemValue.isStartedModel)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩鍙栨秷浠诲姟锛岄渶瑕佸皢妯″紡鍏抽棴锛�");
-                    return;
-                }
-
-                var _AllowSimulateExecute_Rmark = this.tb_AllowSimulateExecute_Rmark.Text;
-                if (string.IsNullOrEmpty(_AllowSimulateExecute_Rmark))
-                {
-                    MessageBox.Show("璇疯緭鍏ュ彇娑堝師鍥犺鏄庯紒");
-                    return;
-                }
-                var myNotext = "浜哄伐鍙栨秷浠诲姟锛屽師鍥�:" + _AllowSimulateExecute_Rmark;
-                MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-                DialogResult dr = MessageBox.Show("銆愬彇娑堜换鍔″彧鏄皢鐘舵�佸彉鏇翠负鍙栨秷锛屽苟涓嶅鐞嗗簱瀛橈紝璇疯皑鎱庢搷浣溿�傜‘璁ゅ彇娑堝悗锛岃繕闇�浜哄伐鏍¢獙涓嬭浠诲姟搴撳瓨鏄惁姝g‘锛併��,纭畾瑕佸彇娑堜换鍔″悧?", "鎻愮ず", messButton);
-                if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-                {
-                    using (DbModel context = new DbModel())
-                    {
-                        var row = dgvPartTask.SelectedRows;
-
-                        if (row.Count > 0)
-                        {
-                            var cell = row[0].Cells;
-                            //var id = cell[0].Value.ToString();
-                            var id = cell["Id"].Value.ToString();
-                            var partTask = context.Task_Part.FirstOrDefault(x => x.Id == id);
-                            if (partTask != null)
-                            {
-                                //鎵惧埌涓讳换鍔�
-                                var mainTask = context.Task_Main.Where(x => x.Id == partTask.MainTaskId).FirstOrDefault();
-                                if (mainTask == null)
-                                {
-                                    MessageBox.Show("鏈壘鍒拌浠诲姟鐨勪富浠诲姟锛�");
-                                    return;
-                                }
-                                //鎵惧彟涓�涓猵artTask
-                                var partTask2 = context.Task_Part.FirstOrDefault(x => x.Id != partTask.Id && x.MainTaskId == mainTask.Id);
-
-                                var mainTaskType = (MainTaskTypeEnum)Enum.Parse(typeof(MainTaskTypeEnum), mainTask.TaskType.ToString());
-                                var partTaskType = (DeviceTaskTypeEnum)Enum.Parse(typeof(DeviceTaskTypeEnum), partTask.TaskType.ToString());
-                                switch (partTaskType)
-                                {
-                                    case DeviceTaskTypeEnum.缁勭洏鍏ュ簱:
-                                        //鍒ゆ柇搴撳瓨鐜板湪鍦ㄥ摢閲岋紝鐒跺悗鍒犳帀浠�
-                                        var store = context.V_AllStore.Where(x => x.SerialNumber == mainTask.SerialNumber).FirstOrDefault();
-                                        if (store != null)
-                                        {
-                                            var place = context.Base_Station.Where(x => x.Id == store.StationId).First();
-                                            StoreHandler.ClearStockByPlaceId(context, place, "浜哄伐鍙栨秷浠诲姟");
-                                        }
-                                        //瑙g粦璧风偣鍜岀粓鐐�
-
-                                        var place1 = context.Base_Station.Where(x => x.Id == partTask2.SourcePlace).First();
-                                        var place2 = context.Base_Station.Where(x => x.Id == partTask2.ToPlace).First();
-                                        StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place1, myNotext);
-                                        StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place1, myNotext);
-                                        StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place2, myNotext);
-                                        StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place2, myNotext);
-
-                                        var place3 = context.Base_Station.Where(x => x.Id == partTask.SourcePlace).First();
-                                        var place4 = context.Base_Station.Where(x => x.Id == partTask.ToPlace).First();
-                                        StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place3, myNotext);
-                                        StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place3, myNotext);
-                                        StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place4, myNotext);
-                                        StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place4, myNotext);
-
-                                        //鍒ゆ柇鍫嗗灈鏈轰笂鐜板湪鏄惁姝e湪鎵ц璇ヤ换鍔★紝濡傛灉鎵ц浜嗭紝灏卞垹鎺変粬
-                                        var srmPlcTaskId = "";
-                                        int deviceId = 0;
-                                        if (partTask.DeviceType == (int)(EDeviceType.鍫嗗灈鏈�))
-                                        {
-                                            srmPlcTaskId = partTask.PlcTaskId;
-                                            deviceId = (int)partTask.DeviceId;
-                                        }
-                                        else if (partTask2.DeviceType == (int)(EDeviceType.鍫嗗灈鏈�))
-                                        {
-                                            srmPlcTaskId = partTask2.PlcTaskId;
-                                            deviceId = (int)partTask2.DeviceId;
-                                        }
-                                        if (srmViewDict[deviceId].R_TaskNo.ToString() == srmPlcTaskId)
-                                        {//鍒犻櫎鍫嗗灈鏈轰换鍔�
-                                            using (SrmService.SrmServiceClient opcClinet = new SrmServiceClient())
-                                            {
-                                                var result = opcClinet.SendSrmDelete((int)deviceId);
-                                                if (result.result == false)
-                                                {
-                                                    MessageBox.Show("鍒犻櫎鍫嗗灈鏈轰换鍔″け璐�:" + result.resMsg);
-                                                    return;
-                                                }
-                                            }
-                                        }
-
-                                        break;
-                                    default:
-                                        MessageBox.Show("涓嶆敮鎸佺殑涓氬姟绫诲瀷");
-                                        return;
-                                }
-
-                                var changeState = DeviceTaskStatusEnum.宸插彇娑�;
-                                partTask.TaskState = (int)changeState;
-                                partTask.TaskStateName = changeState.ToString();
-
-                                partTask.ModifyTime = DateTime.Now;
-                                partTask.OperationRemark = "鐢ㄦ埛鍙栨秷浠诲姟锛�" + _AllowSimulateExecute_Rmark;
-                                partTask.ModifyBy = SysGloble.WCSSystem;
-                                if (partTask2 != null)
-                                {
-                                    partTask2.TaskState = (int)changeState;
-                                    partTask2.TaskStateName = changeState.ToString();
-
-                                    partTask2.ModifyTime = DateTime.Now;
-                                    partTask2.OperationRemark = "鐢ㄦ埛鍙栨秷浠诲姟锛�" + _AllowSimulateExecute_Rmark;
-                                    partTask2.ModifyBy = SysGloble.WCSSystem;
-                                }
-
-                                //涓讳换鍔′篃瑕佷慨鏀逛负鍙栨秷
-                                mainTask.TaskState = (int)MainTaskStatusEnum.宸插彇娑�;
-                                mainTask.TaskStateName = MainTaskStatusEnum.宸插彇娑�.ToString();
-                                mainTask.FinishTime = DateTime.Now;
-                                mainTask.OperationRemark = "鐢ㄦ埛鍙栨秷浠诲姟锛�" + _AllowSimulateExecute_Rmark;
-
-
-                                //鍚屾椂灏嗙洰鏍囩偣鍜岃捣鐐硅В闄ら攣瀹�
-                                //鎴戞兂浜嗘兂锛岃繕鏄埆瑙i攣浜嗭紝涓囦竴鏈夊埆鐨勯棶棰樺憿锛�
-
-                                //淇濆瓨浜哄伐澶勭悊鏃ュ織 [EditBy shaocx,2022-05-01]
-                                Base_PersonHandlerRecord record = new Base_PersonHandlerRecord()
-                                {
-                                    MainTaskNo = partTask.MainTaskNo,
-                                    HandlerType = "鍙栨秷浠诲姟",
-                                    PartTaskId = partTask.Id,
-                                    PlcTaskId = partTask.PlcTaskId,
-                                    RealSourcePlace = partTask.RealSourcePlace,
-                                    RealToPlace = partTask.RealToPlace,
-                                    SalverCode = partTask.SalverCode,
-                                    SerialNumber = partTask.SerialNumber,
-                                    OrderNo = partTask.OrderNo,
-                                    TaskTypeName = partTask.TaskTypeName,
-                                    Qty = partTask.Qty,
-
-                                    ManualHandlerRemark = _AllowSimulateExecute_Rmark
-
-                                };
-                                PersonHandlerRecordHandler.SavePersonHandlerRecord(context, record);
-
-                                context.SaveChanges();
-                            }
-                            else
-                            {
-                                MessageBox.Show("鏈壘鍒拌浠诲姟锛�");
-                                return;
-                            }
-
-                            MessageBox.Show("鍙栨秷浠诲姟鎴愬姛锛�");
-
-                            BindData();
-                        }
-                        else
-                        {
-                            MessageBox.Show("璇峰厛閫変腑瑕佹墽琛岀殑琛岋紒");
-                        }
-                    }
-                }
-                else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-                {
-
-                }
-            }
-            catch (Exception ex)
-            {
-                MessageBox.Show("鍙栨秷浠诲姟寮傚父锛�" + ex.Message);
-                Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.CCWCFService, "鍙栨秷浠诲姟寮傚父锛�" + ex.Message, ex);
-            }
-        }
-
-        private void btnReset_Click_1(object sender, EventArgs e)
-        {
-            //浠诲姟閲嶅彂
-            try
-            {
-                var _AllowSimulateExecute_Rmark = this.tb_AllowSimulateExecute_Rmark.Text;
-                if (string.IsNullOrEmpty(_AllowSimulateExecute_Rmark))
-                {
-                    MessageBox.Show("璇疯緭鍏ヤ换鍔¢噸鍙戝師鍥犺鏄庯紒");
-                    return;
-                }
-                if (SystemValue.isStartedModel)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩鍙戜换鍔★紝闇�瑕佸皢妯″紡鍏抽棴锛�");
-                    return;
-                }
-
-                MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-
-                using (DbModel db = new DbModel())
-                {
-                    var row = dgvPartTask.SelectedRows;
-
-                    if (row.Count > 0)
-                    {
-                        var cell = row[0].Cells;
-                        //var id = cell[0].Value.ToString();
-                        var id = cell["Id"].Value.ToString();
-                        var task = db.Task_Part.FirstOrDefault(x => x.Id == id);
-                        if (task != null)
-                        {
-                            if (task.TaskState != (int)DeviceTaskStatusEnum.宸蹭笅鍙�)
-                            {//澧炲姞闄愬埗 銆怑ditby shaocx,2022-11-04銆�
-                                WZ.Useful.Commons.MessageUtil.ShowError("浠诲姟鐘舵�佸繀椤绘槸'宸蹭笅鍙�'鎵嶈兘閲嶈瘯鍙戜换鍔★紒");
-                                return;
-                            }
-                            //鍒ゆ柇璁惧绫诲瀷
-                            DialogResult dr = MessageBox.Show(string.Format("纭畾瑕佹墜鍔ㄩ噸鏂板彂閫亄0}浠诲姟锛岃捣鐐癸細{1}锛岀洰鏍囩偣锛歿2}鍚�?", task.DeviceName, task.RealSourcePlace, task.RealToPlace), "鎻愮ず", messButton);
-                            if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-                            {
-                                var sourcePlce = task.RealSourcePlace;
-                                var toPlace = task.RealToPlace;
-                                var tbTaskId = task.PlcTaskId;
-
-
-                                EDeviceType deviceType = (EDeviceType)Enum.Parse(typeof(EDeviceType), task.DeviceType.ToString());
-                                switch (deviceType)
-                                {
-                                    case EDeviceType.鍫嗗灈鏈�:
-                                        using (var opcClinet = new SrmService.SrmServiceClient())
-                                        {
-
-                                            iWareCC.SrmService.SdaResEntity sdaResult = opcClinet.SendSrmTask((int)task.DeviceId, int.Parse(tbTaskId),
-                                                sourcePlce, toPlace, (short)ESrmCmd.搴撳唴鎼繍);
-                                            if (sdaResult.result)
-                                            {
-                                                WZ.Useful.Commons.MessageUtil.ShowTips(task.DeviceName + ESrmCmd.搴撳唴鎼繍.ToString() + "鍛戒护鍙戦�佹垚鍔燂紒");
-                                            }
-                                            else
-                                            {
-                                                WZ.Useful.Commons.MessageUtil.ShowError(task.DeviceName + ESrmCmd.搴撳唴鎼繍.ToString() + "鍛戒护鍙戦�佸け璐ワ紒杩斿洖浠g爜:" + sdaResult.resMsg);
-                                            }
-                                        }
-                                        break;
-                                    case EDeviceType.RGV:
-                                        using (var opcClinet = new RgvService.RgvServiceClient())
-                                        {
-                                            if (sourcePlce == "1010")
-                                            {
-                                                WZ.Useful.Commons.MessageUtil.ShowError("绔欑偣1010涓嶈兘鍙戜换鍔★紒");
-                                                return;
-                                            }
-                                            iWareCC.RgvService.SdaResEntity sdaResult = opcClinet.SendRgvTask((int)EDevice.RGV, Convert.ToInt32(tbTaskId), sourcePlce, toPlace);
-                                            if (sdaResult.result)
-                                            {
-                                                WZ.Useful.Commons.MessageUtil.ShowTips("RGV鍛戒护鍙戦�佹垚鍔燂紒");
-                                            }
-                                            else
-                                            {
-                                                WZ.Useful.Commons.MessageUtil.ShowError("RGV鍛戒护鍙戦�佸け璐ワ紒杩斿洖娑堟伅:" + sdaResult.resMsg);
-                                            }
-                                        }
-                                        break;
-                                }
-                            }
-                            else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-                            {
-                                return;
-                            }
-                        }
-                        else
-                        {
-                            MessageBox.Show("鏈壘鍒拌浠诲姟锛�");
-                            return;
-                        }
-
-                        using (DbModel context = new DbModel())
-                        {
-                            //淇濆瓨浜哄伐澶勭悊鏃ュ織 [EditBy shaocx,2022-05-01]
-                            Base_PersonHandlerRecord record = new Base_PersonHandlerRecord()
-                            {
-                                MainTaskNo = task.MainTaskNo,
-                                HandlerType = "浠诲姟閲嶅彂",
-                                PartTaskId = task.Id,
-                                PlcTaskId = task.PlcTaskId,
-                                RealSourcePlace = task.RealSourcePlace,
-                                RealToPlace = task.RealToPlace,
-                                SalverCode = task.SalverCode,
-                                SerialNumber = task.SerialNumber,
-                                OrderNo = task.OrderNo,
-                                TaskTypeName = task.TaskTypeName,
-                                Qty = task.Qty,
-
-                                ManualHandlerRemark = _AllowSimulateExecute_Rmark
-
-                            };
-                            PersonHandlerRecordHandler.SavePersonHandlerRecord(context, record);
-
-                            context.SaveChanges();
-                        }
-
-
-                        MessageBox.Show("浠诲姟閲嶅彂鎴愬姛锛�");
-
-                        BindData();
-                    }
-                    else
-                    {
-                        MessageBox.Show("璇峰厛閫変腑瑕佹墽琛岀殑琛岋紒");
-                    }
-                }
-
-            }
-            catch (Exception ex)
-            {
-                MessageBox.Show("浠诲姟閲嶅彂鍑虹幇寮傚父锛�" + ex.Message);
-            }
-        }
-
-        /// <summary>
-        /// 鍏抽棴1015閲嶆柊鎵弿
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void button3_Click(object sender, EventArgs e)
-        {
-            using (var opcClinet = new RgvService.RgvServiceClient())
-            {
-                iWareCC.RgvService.SdaResEntity sdaResult = opcClinet.Write1015ReScan((int)EDevice.RGV, false);
-                if (sdaResult.result)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowTips("鍏抽棴鍛戒护鍙戦�佹垚鍔燂紒");
-                }
-                else
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鍏抽棴鍛戒护鍙戦�佸け璐ワ紒杩斿洖娑堟伅:" + sdaResult.resMsg);
-                }
-            }
-        }
-
-        /// <summary>
-        /// 鍏抽棴1019閲嶆柊鎵弿
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void button21_Click(object sender, EventArgs e)
-        {
-            using (var opcClinet = new RgvService.RgvServiceClient())
-            {
-                iWareCC.RgvService.SdaResEntity sdaResult = opcClinet.Write1019ReScan((int)EDevice.RGV, false);
-                if (sdaResult.result)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowTips("鍏抽棴鍛戒护鍙戦�佹垚鍔燂紒");
-                }
-                else
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鍏抽棴鍛戒护鍙戦�佸け璐ワ紒杩斿洖娑堟伅:" + sdaResult.resMsg);
-                }
-            }
-
-        }
-
-        private void dgvPartTask_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
-        {
-            SolidBrush b = new SolidBrush(this.dgvPartTask.RowHeadersDefaultCellStyle.ForeColor);
-            e.Graphics.DrawString((e.RowIndex + 1).ToString(System.Globalization.CultureInfo.CurrentUICulture), this.dgvPartTask.DefaultCellStyle.Font, b, e.RowBounds.Location.X + 20, e.RowBounds.Location.Y + 4);
-        }
-
-        private void label3_Click(object sender, EventArgs e)
-        {
-
-        }
-
-        private void panel_DeviceTaskList_Paint(object sender, PaintEventArgs e)
-        {
 
-        }
 
         private void button5_Click(object sender, EventArgs e)
         {
@@ -2714,302 +1272,8 @@
             frm.ShowDialog();
         }
 
-        private void button7_Click(object sender, EventArgs e)
-        {
-            //鏌ヨRGV&杈撻�佺嚎搴撳瓨
-            dataGridView_RgvStore.AutoGenerateColumns = false;
-            for (int i = 0; i < dataGridView_RgvStore.Columns.Count; i++)
-            {
-                if (i == (dataGridView_RgvStore.Columns.Count - 1))
-                {//鏈�鍚庝竴鍒楀~鍏�
-                    dataGridView_RgvStore.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
-                }
-                else
-                {//鍏朵粬鍒楄嚜鍔ㄩ�傚簲瀹藉害
-                    dataGridView_RgvStore.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
-                }
-            }
 
-            BindDataForRgvStore();
-
-            //this.dgvPartTask.Columns["CreateTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["IssueTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["FinishTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["AllowSimulateExecute_Time"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            FormHelper.DataGridViewSelfAdaptionWidth(this.dataGridView_RgvStore);
-        }
-
-        public void BindDataForRgvStore()
-        {
-            dataGridView_RgvStore.ClearSelection();   //鍙秷闄ゆ墍鏈夐�夋嫨鐨勮
-            dataGridView_RgvStore.DataSource = null;
-
-            dataGridView_RgvStore.CurrentCell = null; //鍙秷闄ら�夋嫨琛岀殑琛屽ご绠ご
-            using (DbModel db = new DbModel())
-            {
-                var storeList = db.V_AllStationStore.Where(x => x.IsRgvStation == true).ToList();
-
-                if (storeList != null && storeList.Count > 0)
-                {
-                    storeList = storeList.OrderBy(x => x.RgvStationCode).ToList();//閲嶆柊 鍗囧簭鎺掑簭
-                    dataGridView_RgvStore.DataSource = null;
-                    dataGridView_RgvStore.DataSource = storeList;
-                }
-                else
-                {
-                    //if (dataGridView_RgvStore.Rows.Count > 0)
-                    //{
-                    //    int i = dataGridView_RgvStore.Rows[0].Cells.Count;
-                    //    var cells = dataGridView_RgvStore.Rows[0].Cells;
-                    //    for (int j = 0; j < i; j++)
-                    //    {
-                    //        cells[j].Value = null;
-                    //    }
-                    //}
-                }
-            }
-        }
-
-        private void dataGridView_RgvStore_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
-        {
-            SolidBrush b = new SolidBrush(this.dataGridView_RgvStore.RowHeadersDefaultCellStyle.ForeColor);
-            e.Graphics.DrawString((e.RowIndex + 1).ToString(System.Globalization.CultureInfo.CurrentUICulture), this.dataGridView_RgvStore.DefaultCellStyle.Font, b, e.RowBounds.Location.X + 20, e.RowBounds.Location.Y + 4);
-        }
-
-        private void btn_RgvConfirmFinishTask_Click(object sender, EventArgs e)
-        {
-            if (SystemValue.isStartedModel)
-            {
-                WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩RGV浠诲姟瀹屾垚纭锛岄渶瑕佸皢妯″紡鍏抽棴锛�");
-                return;
-            }
-            MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-            DialogResult dr = MessageBox.Show("纭畾瑕佸彂閫佷换鍔″畬鎴愮‘璁ゅ悧?", "纭", messButton);
-            if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-            {
-                try
-                {
-                    //璇诲彇1040涓婄殑浠诲姟鍙�
-                    int taskId = 0;
-                    var queryRgv = ((int)EDevice.RGV1040).ToString();
-                    var rgv = rgvView.R_RgvForReadCommList.Where(x => x.StationCode == queryRgv).FirstOrDefault();
-                    if (rgv != null)
-                    {
-                        taskId = rgv.R_TaskID;
-                    }
-
-                    using (var opcClinet = new RgvService.RgvServiceClient())
-                    {
-                        //if (!IsNumeric(tBSrmTransTskId.Text.Trim()))
-                        //{
-                        //    WZ.Useful.Commons.MessageUtil.ShowError("浠诲姟鍙锋牸寮忛敊璇�,蹇呴』鏄暟瀛楋紒");
-                        //    return;
-                        //}
-                        //var taskId = int.Parse(tBSrmTransTskId.Text.Trim());
-
-                        iWareCC.RgvService.SdaResEntity sdaResult = opcClinet.WriteRGV_FinishACK((int)EDevice.RGV, true, taskId);
-                        if (sdaResult.result)
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowTips("鍛戒护鍙戦�佹垚鍔燂紒");
-                            //  tB_Srm1SourcePlace.Clear();
-                            // tB_Srm1ToPlace.Clear();
-                            Log4NetHelper.WriteInfoLog(iWareCommon.Utils.LogType.CCWCFService, "鎵嬪姩RGV浠诲姟纭鎴愬姛锛屼换鍔″彿:" + taskId);
-                        }
-                        else
-                        {
-                            WZ.Useful.Commons.MessageUtil.ShowError("鍛戒护鍙戦�佸け璐ワ紒杩斿洖娑堟伅:" + sdaResult.resMsg);
-                            Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.CCWCFService, "鎵嬪姩RGV浠诲姟纭澶辫触锛�" + sdaResult.resMsg + ",浠诲姟鍙�:" + taskId);
-                        }
-                    }
-                }
-                catch (Exception ex)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鍛戒护鍙戦�佸嚭鐜板紓甯�:" + ex.Message);
-                    Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.CCWCFService, "鎵嬪姩RGV浠诲姟纭寮傚父锛�" + ex.Message, ex);
-
-                }
-            }
-            else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-            {
-
-            }
-        }
-
-        //鏌ヨ宸插畬鎴愮殑璁惧浠诲姟
-        private void button17_Click(object sender, EventArgs e)
-        {
-            //鏌ヨ璁惧浠诲姟鍒楄〃
-            dgvPartTask_Finished.AutoGenerateColumns = false;
-            for (int i = 0; i < dgvPartTask_Finished.Columns.Count; i++)
-            {
-                if (i == (dgvPartTask_Finished.Columns.Count - 1))
-                {//鏈�鍚庝竴鍒楀~鍏�
-                    dgvPartTask_Finished.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
-                }
-                else
-                {//鍏朵粬鍒楄嚜鍔ㄩ�傚簲瀹藉害
-                    dgvPartTask_Finished.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
-                }
-            }
-
-            BindData_dgvPartTask_Finished();
-
-            //this.dgvPartTask.Columns["CreateTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["IssueTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["FinishTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["AllowSimulateExecute_Time"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            FormHelper.DataGridViewSelfAdaptionWidth(this.dgvPartTask_Finished);
-        }
-
-        public void BindData_dgvPartTask_Finished()
-        {
-            List<Task_Part> partList = new List<Task_Part>();
-            dgvPartTask_Finished.ClearSelection();   //鍙秷闄ゆ墍鏈夐�夋嫨鐨勮  
-            dgvPartTask_Finished.DataSource = null;
-
-            dgvPartTask_Finished.CurrentCell = null; //鍙秷闄ら�夋嫨琛岀殑琛屽ご绠ご
-
-            var query_plc_taskNo = this.tb_Query_PlcTaskNo.Text.Trim();
-            var query_Salver = this.tb_query_Salver.Text.Trim();
-
-
-            //鍙� 鏈�鍚庝竴涓湭缁撴潫鐨勪换鍔★紝鐒跺悗鍙栧墠5鏉″凡缁忕粨鏉熺殑浠诲姟
-            var queryState1 = (int)MainTaskStatusEnum.宸插彇娑�;
-            var queryState2 = (int)MainTaskStatusEnum.宸插畬鎴�;
-
-            using (DbModel db = new DbModel())
-            {
-                List<Task_Main> firstNoFinishedTaskList = new List<Task_Main>();
-                if (!string.IsNullOrEmpty(query_plc_taskNo) || !string.IsNullOrEmpty(query_Salver))
-                {
-                    Expression<Func<Task_Part, bool>> predicate_plc_taskno = a => 1 == 1;
-                    Expression<Func<Task_Part, bool>> predicate_query_Salver = a => 1 == 1;
-                    if (!string.IsNullOrEmpty(query_plc_taskNo))
-                    {
-                        predicate_plc_taskno = a => a.PlcTaskId == query_plc_taskNo;
-                    }
-                    if (!string.IsNullOrEmpty(query_Salver))
-                    {
-                        predicate_query_Salver = a => a.SalverCode == query_Salver;
-                    }
-
-                    partList = db.Task_Part.Where(predicate_plc_taskno).Where(predicate_query_Salver).ToList();
-                }
-                else
-                {
-                    //澧炲姞 鏄剧ず 锛屾渶杩戝凡瀹屾垚鐨勪换鍔★紝瑕� 鏈�杩�30涓换鍔� 銆怑ditby shaocx,2023-04-03銆�
-                    firstNoFinishedTaskList = db.Task_Main.Where(x =>
-               (x.TaskState == queryState1 || x.TaskState == queryState2)
-               ).OrderByDescending(x => x.CreateTime).Take(30).ToList();
-                    if (firstNoFinishedTaskList == null)
-                    {
-                        partList = new List<Task_Part>();
-                    }
-                    else
-                    {
-                        List<int> mainIdList = new List<int>();
-                        foreach (var item in firstNoFinishedTaskList)
-                        {
-                            if (!mainIdList.Contains(item.Id))
-                            {
-                                mainIdList.Add(item.Id);
-                            }
-                        }
-                        var partList2 = db.Task_Part.Where(x => mainIdList.Contains(x.MainTaskId)).ToList();
-
-                        //partList.AddRange(partList1);
-                        partList.AddRange(partList2);
-                    }
-                }
-
-
-
-                if (partList != null && partList.Count > 0)
-                {
-                    partList = partList.OrderBy(x => x.MainTaskId).ThenByDescending(x => x.CreateTime).ToList();//閲嶆柊 鍗囧簭鎺掑簭
-                    dgvPartTask_Finished.DataSource = null;
-                    dgvPartTask_Finished.DataSource = partList;
-                }
-                else
-                {
-                    //if (dgvPartTask_Finished.Rows.Count > 0)
-                    //{
-                    //    int i = dgvPartTask_Finished.Rows[0].Cells.Count;
-                    //    var cells = dgvPartTask_Finished.Rows[0].Cells;
-                    //    for (int j = 0; j < i; j++)
-                    //    {
-                    //        cells[j].Value = null;
-                    //    }
-                    //}
-                }
-            }
-        }
-
-        private void button18_Click(object sender, EventArgs e)
-        {
-            //鏌ヨ璁惧浠诲姟鍒楄〃
-            dataGridView__OutTaskList.AutoGenerateColumns = false;
-            for (int i = 0; i < dataGridView__OutTaskList.Columns.Count; i++)
-            {
-                if (i == (dataGridView__OutTaskList.Columns.Count - 1))
-                {//鏈�鍚庝竴鍒楀~鍏�
-                    dataGridView__OutTaskList.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
-                }
-                else
-                {//鍏朵粬鍒楄嚜鍔ㄩ�傚簲瀹藉害
-                    dataGridView__OutTaskList.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
-                }
-            }
-
-            BindData_OutTaskList();
-
-            //this.dgvPartTask.Columns["CreateTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["IssueTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["FinishTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["AllowSimulateExecute_Time"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            FormHelper.DataGridViewSelfAdaptionWidth(this.dataGridView__OutTaskList);
-        }
-
-        public void BindData_OutTaskList()
-        {
-            List<Task_Main> mainList = new List<Task_Main>();
-            dataGridView__OutTaskList.ClearSelection();   //鍙秷闄ゆ墍鏈夐�夋嫨鐨勮  
-            dataGridView__OutTaskList.DataSource = null;
-
-            dataGridView__OutTaskList.CurrentCell = null; //鍙秷闄ら�夋嫨琛岀殑琛屽ご绠ご
-            using (DbModel db = new DbModel())
-            {
-                var queryState1 = (int)MainTaskStatusEnum.宸插彇娑�;
-                var queryState2 = (int)MainTaskStatusEnum.宸插畬鎴�;
-                var queryInOutFlag = (int)MainInOutFlagEnum.鍑哄簱;
-                mainList = db.Task_Main.Where(x => x.TaskState != queryState1 && x.TaskState != queryState2
-                   && x.InOutFlag == queryInOutFlag
-                   ).OrderBy(x => x.TaskSequence).ThenBy(x => x.CreateTime).ToList();
-
-                if (mainList != null && mainList.Count > 0)
-                {
-                    dataGridView__OutTaskList.DataSource = null;
-                    dataGridView__OutTaskList.DataSource = mainList;
-                }
-                else
-                {
-                    //if (dataGridView__OutTaskList.Rows.Count > 0)
-                    //{
-                    //    int i = dataGridView__OutTaskList.Rows[0].Cells.Count;
-                    //    var cells = dataGridView__OutTaskList.Rows[0].Cells;
-                    //    for (int j = 0; j < i; j++)
-                    //    {
-                    //        cells[j].Value = null;
-                    //    }
-                    //}
-                }
-            }
-        }
-
-        private void panel_DeviceTaskList_dgvPartTask_Finished_Paint(object sender, PaintEventArgs e)
-        {
-
-        }
+       
 
         private void btn_TongJi_Click(object sender, EventArgs e)
         {
@@ -3164,366 +1428,7 @@
             }
         }
 
-        private void btnSMQZYZTG4_Click(object sender, EventArgs e)
-        {
-            DobtnSMQZYZTG(EDevice.鍥涘彿鍫嗗灈鏈�);
-        }
-
-        private void btnSMQZYZTG3_Click(object sender, EventArgs e)
-        {
-            DobtnSMQZYZTG(EDevice.涓夊彿鍫嗗灈鏈�);
-        }
-
-        private void btnSMQZYZTG2_Click(object sender, EventArgs e)
-        {
-            DobtnSMQZYZTG(EDevice.浜屽彿鍫嗗灈鏈�);
-        }
-
-        private void btn_WaitPlanDetail_Click(object sender, EventArgs e)
-        {
-            //鏌ヨ璁惧浠诲姟鍒楄〃
-            dataGridView_WaitPlanDetail.AutoGenerateColumns = false;
-            for (int i = 0; i < dataGridView_WaitPlanDetail.Columns.Count; i++)
-            {
-                if (i == (dataGridView_WaitPlanDetail.Columns.Count - 1))
-                {//鏈�鍚庝竴鍒楀~鍏�
-                    dataGridView_WaitPlanDetail.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
-                }
-                else
-                {//鍏朵粬鍒楄嚜鍔ㄩ�傚簲瀹藉害
-                    dataGridView_WaitPlanDetail.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
-                }
-            }
-
-            BindData_WaitPlanDetail();
-
-            //this.dgvPartTask.Columns["CreateTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["IssueTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["FinishTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["AllowSimulateExecute_Time"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            FormHelper.DataGridViewSelfAdaptionWidth(this.dataGridView_WaitPlanDetail);
-        }
-
-        public void BindData_WaitPlanDetail()
-        {
-            List<Plan_OutTaskDetail> mainList = new List<Plan_OutTaskDetail>();
-            dataGridView_WaitPlanDetail.ClearSelection();   //鍙秷闄ゆ墍鏈夐�夋嫨鐨勮  
-            dataGridView_WaitPlanDetail.DataSource = null;
-
-            dataGridView_WaitPlanDetail.CurrentCell = null; //鍙秷闄ら�夋嫨琛岀殑琛屽ご绠ご
-            using (DbModel db = new DbModel())
-            {
-                var queryState1 = (int)OutTaskDetailStateEnum.绛夊緟涓�;
-                var queryState2 = (int)OutTaskDetailStateEnum.缂烘枡;
-                mainList = db.Plan_OutTaskDetail.Where(x => x.OutTaskDetailState == queryState1
-                    || x.OutTaskDetailState == queryState2
-                   ).OrderBy(x => x.TaskSequence).ThenBy(x => x.CreateTime).ToList();
-
-                if (mainList != null && mainList.Count > 0)
-                {
-                    dataGridView_WaitPlanDetail.DataSource = null;
-                    dataGridView_WaitPlanDetail.DataSource = mainList;
-                }
-                else
-                {
-                    //if (dataGridView__OutTaskList.Rows.Count > 0)
-                    //{
-                    //    int i = dataGridView__OutTaskList.Rows[0].Cells.Count;
-                    //    var cells = dataGridView__OutTaskList.Rows[0].Cells;
-                    //    for (int j = 0; j < i; j++)
-                    //    {
-                    //        cells[j].Value = null;
-                    //    }
-                    //}
-                }
-            }
-        }
-
-        private void btnDeleteTask_Click(object sender, EventArgs e)
-        {
-            //浠诲姟寮哄埗鍒犻櫎
-            try
-            {
-                if (SystemValue.isStartedModel)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩浠诲姟寮哄埗鍒犻櫎锛岄渶瑕佸皢妯″紡鍏抽棴锛�");
-                    return;
-                }
-
-                var _AllowSimulateExecute_Rmark = this.tb_AllowSimulateExecute_Rmark.Text;
-                if (string.IsNullOrEmpty(_AllowSimulateExecute_Rmark))
-                {
-                    MessageBox.Show("璇疯緭鍏ヤ换鍔″己鍒跺垹闄ゅ師鍥犺鏄庯紒");
-                    return;
-                }
-                var myNotext = "浜哄伐浠诲姟寮哄埗鍒犻櫎浠诲姟锛屽師鍥�:" + _AllowSimulateExecute_Rmark;
-                MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-                DialogResult dr = MessageBox.Show("銆愪换鍔″己鍒跺垹闄わ紝骞朵笉澶勭悊搴撳瓨锛岃璋ㄦ厧鎿嶄綔銆傜‘璁や换鍔″己鍒跺垹闄ゅ悗锛岃繕闇�浜哄伐鏍¢獙涓嬭浠诲姟搴撳瓨鏄惁姝g‘锛併��,纭畾瑕佷换鍔″己鍒跺垹闄ゅ悧?", "鎻愮ず", messButton);
-                if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-                {
-                    using (DbModel context = new DbModel())
-                    {
-                        var row = dgvPartTask.SelectedRows;
-
-                        if (row.Count > 0)
-                        {
-                            var cell = row[0].Cells;
-                            //var id = cell[0].Value.ToString();
-                            var id = cell["Id"].Value.ToString();
-                            var partTask = context.Task_Part.FirstOrDefault(x => x.Id == id);
-                            if (partTask != null)
-                            {
-                                //鎵惧埌涓讳换鍔�
-                                var mainTask = context.Task_Main.Where(x => x.Id == partTask.MainTaskId).FirstOrDefault();
-                                if (mainTask == null)
-                                {
-                                    MessageBox.Show("鏈壘鍒拌浠诲姟鐨勪富浠诲姟锛�");
-                                    return;
-                                }
-                                //鎵惧彟涓�涓猵artTask
-                                var partTask2 = context.Task_Part.FirstOrDefault(x => x.Id != partTask.Id && x.MainTaskId == mainTask.Id);
-
-                                if (partTask2 != null)
-                                {
-                                    //瑙g粦璧风偣鍜岀粓鐐�
-
-                                    var place1 = context.Base_Station.Where(x => x.Id == partTask2.SourcePlace).First();
-                                    var place2 = context.Base_Station.Where(x => x.Id == partTask2.ToPlace).First();
-                                    StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place1, myNotext);
-                                    StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place1, myNotext);
-                                    StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place2, myNotext);
-                                    StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place2, myNotext);
-                                }
-
-                                var place3 = context.Base_Station.Where(x => x.Id == partTask.SourcePlace).First();
-                                var place4 = context.Base_Station.Where(x => x.Id == partTask.ToPlace).First();
-                                StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place3, myNotext);
-                                StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place3, myNotext);
-                                StationHandler.SetPlaceLockStatus(false, SysGloble.WCSSystem, ref place4, myNotext);
-                                StationHandler.SetPlaceTaskDoingStatus(false, SysGloble.WCSSystem, ref place4, myNotext);
-
-
-
-
-                                //涓讳换鍔′篃瑕佷慨鏀逛负鍙栨秷
-                                mainTask.TaskState = (int)MainTaskStatusEnum.宸插彇娑�;
-                                mainTask.TaskStateName = MainTaskStatusEnum.宸插彇娑�.ToString();
-                                mainTask.FinishTime = DateTime.Now;
-                                mainTask.OperationRemark = "鐢ㄦ埛浠诲姟寮哄埗鍒犻櫎锛�" + _AllowSimulateExecute_Rmark;
-
-                                if (partTask2 != null)
-                                {
-                                    context.Task_Part.Remove(partTask2);
-                                }
-                                context.Task_Part.Remove(partTask);
-
-                                //淇濆瓨浜哄伐澶勭悊鏃ュ織 [EditBy shaocx,2022-05-01]
-                                Base_PersonHandlerRecord record = new Base_PersonHandlerRecord()
-                                {
-                                    MainTaskNo = partTask.MainTaskNo,
-                                    HandlerType = "浠诲姟寮哄埗鍒犻櫎",
-                                    PartTaskId = partTask.Id,
-                                    PlcTaskId = partTask.PlcTaskId,
-                                    RealSourcePlace = partTask.RealSourcePlace,
-                                    RealToPlace = partTask.RealToPlace,
-                                    SalverCode = partTask.SalverCode,
-                                    SerialNumber = partTask.SerialNumber,
-                                    OrderNo = partTask.OrderNo,
-                                    TaskTypeName = partTask.TaskTypeName,
-                                    Qty = partTask.Qty,
-
-                                    ManualHandlerRemark = _AllowSimulateExecute_Rmark
-
-                                };
-                                PersonHandlerRecordHandler.SavePersonHandlerRecord(context, record);
-
-                                context.SaveChanges();
-                            }
-                            else
-                            {
-                                MessageBox.Show("鏈壘鍒拌浠诲姟锛�");
-                                return;
-                            }
-
-                            MessageBox.Show("浠诲姟寮哄埗鍒犻櫎鎴愬姛锛�");
-
-                            BindData();
-                        }
-                        else
-                        {
-                            MessageBox.Show("璇峰厛閫変腑瑕佹墽琛岀殑琛岋紒");
-                        }
-                    }
-                }
-                else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-                {
-
-                }
-            }
-            catch (Exception ex)
-            {
-                MessageBox.Show("浠诲姟寮哄埗鍒犻櫎寮傚父锛�" + ex.Message);
-                Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.CCWCFService, "浠诲姟寮哄埗鍒犻櫎寮傚父锛�" + ex.Message, ex);
-            }
-        }
-
-        private void btn_Find_OutTaskRetryToMes_Click(object sender, EventArgs e)
-        {
-            //鏌ヨ璁惧浠诲姟鍒楄〃
-            dg_OutTaskRetryToMes.AutoGenerateColumns = false;
-            for (int i = 0; i < dg_OutTaskRetryToMes.Columns.Count; i++)
-            {
-                if (i == (dg_OutTaskRetryToMes.Columns.Count - 1))
-                {//鏈�鍚庝竴鍒楀~鍏�
-                    dg_OutTaskRetryToMes.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
-                }
-                else
-                {//鍏朵粬鍒楄嚜鍔ㄩ�傚簲瀹藉害
-                    dg_OutTaskRetryToMes.Columns[i].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
-                }
-            }
-
-            BindData_OutTaskRetryToMesList();
-
-            //this.dgvPartTask.Columns["CreateTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["IssueTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["FinishTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            //this.dgvPartTask.Columns["AllowSimulateExecute_Time"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
-            FormHelper.DataGridViewSelfAdaptionWidth(this.dg_OutTaskRetryToMes);
-        }
-
-        public void BindData_OutTaskRetryToMesList()
-        {
-            List<Task_Main> mainList = new List<Task_Main>();
-            dg_OutTaskRetryToMes.ClearSelection();   //鍙秷闄ゆ墍鏈夐�夋嫨鐨勮  
-            dg_OutTaskRetryToMes.DataSource = null;
-
-            dg_OutTaskRetryToMes.CurrentCell = null; //鍙秷闄ら�夋嫨琛岀殑琛屽ご绠ご
-            using (DbModel db = new DbModel())
-            {
-                mainList = db.Task_Main.Where(x => (x.IsNeedOnLine != null && x.IsNeedOnLine == true) && (x.IsOnLine == null || x.IsOnLine == false)).OrderBy(x => x.TaskSequence).ThenBy(x => x.CreateTime).ToList();
-
-                if (mainList != null && mainList.Count > 0)
-                {
-                    dg_OutTaskRetryToMes.DataSource = null;
-                    dg_OutTaskRetryToMes.DataSource = mainList;
-                }
-                else
-                {
-                    //if (dataGridView__OutTaskList.Rows.Count > 0)
-                    //{
-                    //    int i = dataGridView__OutTaskList.Rows[0].Cells.Count;
-                    //    var cells = dataGridView__OutTaskList.Rows[0].Cells;
-                    //    for (int j = 0; j < i; j++)
-                    //    {
-                    //        cells[j].Value = null;
-                    //    }
-                    //}
-                }
-            }
-        }
-
-        private void button19_Click(object sender, EventArgs e)
-        {
-            //閲嶆柊閫氱煡MES鍑哄簱
-            try
-            {
-                if (SystemValue.isStartedModel)
-                {
-                    WZ.Useful.Commons.MessageUtil.ShowError("鎵嬪姩閲嶆柊閫氱煡MES鍑哄簱锛岄渶瑕佸皢妯″紡鍏抽棴锛�");
-                    return;
-                }
-
-                MessageBoxButtons messButton = MessageBoxButtons.OKCancel;
-
-                using (DbModel db = new DbModel())
-                {
-                    var row = dg_OutTaskRetryToMes.SelectedRows;
-
-                    if (row.Count > 0)
-                    {
-                        var cell = row[0].Cells;
-                        //var id = cell[0].Value.ToString();
-                        var id = Convert.ToInt32(cell["MesId"].Value.ToString());
-                        var task = db.Task_Main.FirstOrDefault(x => x.Id == id);
-                        if (task != null)
-                        {
-                            //鍒ゆ柇璁惧绫诲瀷
-                            DialogResult dr = MessageBox.Show(string.Format("纭畾瑕佹墜鍔ㄩ噸鏂伴�氱煡MES鍑哄簱鍚楋紵搴忓垪鍙穥0}锛岃璐у彿{1}", task.SerialNumber, task.OrderNo), "鎻愮ず", messButton);
-                            if (dr == DialogResult.OK)//濡傛灉鐐瑰嚮鈥滅‘瀹氣�濇寜閽�
-                            {
-                                MesRetModel<string> ret = MesService.updateOnlineStatusWithNoTask(task);
-                                if (ret.code == 200)
-                                {
-                                    using (DbModel context = new DbModel())
-                                    {
-                                        //淇濆瓨浜哄伐澶勭悊鏃ュ織 [EditBy shaocx,2022-05-01]
-                                        Base_PersonHandlerRecord record = new Base_PersonHandlerRecord()
-                                        {
-                                            MainTaskNo = task.TaskNo,
-                                            HandlerType = "閲嶆柊閫氱煡MES鍑哄簱",
-                                            PartTaskId = "",
-                                            PlcTaskId = "",
-                                            RealSourcePlace = task.RealSourcePlace,
-                                            RealToPlace = task.RealToPlace,
-                                            SalverCode = task.SalverCode,
-                                            SerialNumber = task.SerialNumber,
-                                            OrderNo = task.OrderNo,
-                                            TaskTypeName = task.TaskTypeName,
-                                            Qty = task.Qty,
-
-                                            ManualHandlerRemark = "閲嶆柊鎺ㄩ��"
-
-                                        };
-                                        PersonHandlerRecordHandler.SavePersonHandlerRecord(context, record);
-
-                                        context.SaveChanges();
-                                    }
-
-
-                                    MessageBox.Show("宸查噸鏂扮粰MES鎺ㄩ�佸嚭搴撴垚鍔燂紒");
-                                    BindData();
-                                }
-                                else
-                                {
-                                    MessageBox.Show("宸查噸鏂扮粰MES鎺ㄩ�佸嚭搴撳け璐ワ紒" + ret.msg);
-                                    BindData();
-                                }
-                            }
-                            else//濡傛灉鐐瑰嚮鈥滃彇娑堚�濇寜閽�
-                            {
-                                return;
-                            }
-                        }
-                        else
-                        {
-                            MessageBox.Show("鏈壘鍒拌浠诲姟锛�");
-                            return;
-                        }
-                    }
-                    else
-                    {
-                        MessageBox.Show("璇峰厛閫変腑瑕佹墽琛岀殑琛岋紒");
-                    }
-                }
-
-            }
-            catch (Exception ex)
-            {
-                MessageBox.Show("浠诲姟閲嶅彂鍑虹幇寮傚父锛�" + ex.Message);
-            }
-        }
-
-        private void panel_dg_OutTaskRetryToMes_Paint(object sender, PaintEventArgs e)
-        {
-
-        }
-
-        private void btn_1019_Click(object sender, EventArgs e)
-        {
-            CommmonShowAgvStation(sender);
-        }
-
+      
         private void button22_Click(object sender, EventArgs e)
         {
             var cargNo = this.tb_wlm.Text.Trim();
diff --git a/CC/iWareCC_ASRS/FormCC.resx b/CC/iWareCC_ASRS/FormCC.resx
index 930e288..407d11f 100644
--- a/CC/iWareCC_ASRS/FormCC.resx
+++ b/CC/iWareCC_ASRS/FormCC.resx
@@ -117,267 +117,6 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
-  <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="taskno.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="eqname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="nexthandel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ishandled.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="taskcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="sourceplace.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="toplace.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="containername.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="filereason.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="isreleased.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="isfinished.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="iscurrent.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="maintaskid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn19.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn22.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn23.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn24.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn25.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn26.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn29.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn27.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn28.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn30.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn31.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn33.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn34.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn36.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn37.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn38.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn39.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn40.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn35.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn42.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn44.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn48.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn49.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn51.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="RgvStationCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Qty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="InStoreTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="MesId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn52.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn53.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn54.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn55.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn56.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn57.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn58.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn59.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn60.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn61.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn62.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn63.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>

--
Gitblit v1.9.3