Commit 67761f20 张东亮

添加库位调试界面

1 个父辈 f465e1c4
......@@ -65,9 +65,6 @@
this.label49 = new System.Windows.Forms.Label();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.axis_1_Alarm = new UserFromControl.IOStatusControl();
this.axis_3_Alarm = new UserFromControl.IOStatusControl();
this.axis_2_Alarm = new UserFromControl.IOStatusControl();
this.label38 = new System.Windows.Forms.Label();
this.txtMiddleTarget = new System.Windows.Forms.TextBox();
this.txtInoutTarget = new System.Windows.Forms.TextBox();
......@@ -85,12 +82,12 @@
this.label43 = new System.Windows.Forms.Label();
this.label42 = new System.Windows.Forms.Label();
this.groupInout = new System.Windows.Forms.GroupBox();
this.txtMiddleSafe = new System.Windows.Forms.TextBox();
this.btnMiddleSafe = new System.Windows.Forms.Button();
this.rdbRight = new System.Windows.Forms.RadioButton();
this.rdbLeft = new System.Windows.Forms.RadioButton();
this.btnClearLog = new System.Windows.Forms.Button();
this.txtInOutP3 = new System.Windows.Forms.TextBox();
this.btnInOutP3 = new System.Windows.Forms.Button();
this.lblTemp = new System.Windows.Forms.Label();
this.lblMsg = new System.Windows.Forms.Label();
this.btnSavePosition = new System.Windows.Forms.Button();
this.btnStartAuTo = new System.Windows.Forms.Button();
......@@ -126,6 +123,7 @@
this.btnUpDownP6 = new System.Windows.Forms.Button();
this.btnUpDownP3 = new System.Windows.Forms.Button();
this.btnUpDownP4 = new System.Windows.Forms.Button();
this.lblTemp = new System.Windows.Forms.Label();
this.lblThisSta = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.btnOpenRDoor = new System.Windows.Forms.Button();
......@@ -141,6 +139,13 @@
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage7 = new System.Windows.Forms.TabPage();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.tabControl_Pos = new System.Windows.Forms.TabControl();
this.tabPage8 = new System.Windows.Forms.TabPage();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.tabPage9 = new System.Windows.Forms.TabPage();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.cmbHumpPort = new System.Windows.Forms.ComboBox();
......@@ -172,8 +177,17 @@
this.button4 = new System.Windows.Forms.Button();
this.btnClearL = new System.Windows.Forms.Button();
this.btnLogDebug = new System.Windows.Forms.Button();
this.txtMiddleSafe = new System.Windows.Forms.TextBox();
this.btnMiddleSafe = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.axis_1_Alarm = new UserFromControl.IOStatusControl();
this.axis_3_Alarm = new UserFromControl.IOStatusControl();
this.axis_2_Alarm = new UserFromControl.IOStatusControl();
this.lblOk = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.lblTotal = new System.Windows.Forms.Label();
this.groupAxis.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupInout.SuspendLayout();
......@@ -182,12 +196,20 @@
this.tabControl1.SuspendLayout();
this.tabPage3.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage7.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tabControl_Pos.SuspendLayout();
this.tabPage8.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.tabPage9.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
this.tabPage2.SuspendLayout();
this.groupBox7.SuspendLayout();
this.tabControl2.SuspendLayout();
this.tabPage4.SuspendLayout();
this.tabPage5.SuspendLayout();
this.tabPage6.SuspendLayout();
this.groupBox4.SuspendLayout();
this.SuspendLayout();
//
// timer1
......@@ -249,7 +271,7 @@
this.groupAxis.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupAxis.Location = new System.Drawing.Point(6, 6);
this.groupAxis.Name = "groupAxis";
this.groupAxis.Size = new System.Drawing.Size(543, 312);
this.groupAxis.Size = new System.Drawing.Size(1064, 312);
this.groupAxis.TabIndex = 216;
this.groupAxis.TabStop = false;
this.groupAxis.Text = "伺服运动";
......@@ -682,7 +704,7 @@
this.richTextBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.richTextBox1.Location = new System.Drawing.Point(7, 3);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(809, 497);
this.richTextBox1.Size = new System.Drawing.Size(1146, 490);
this.richTextBox1.TabIndex = 256;
this.richTextBox1.Text = "";
this.richTextBox1.VisibleChanged += new System.EventHandler(this.richTextBox1_VisibleChanged);
......@@ -713,41 +735,11 @@
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(6, 322);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(543, 182);
this.groupBox1.Size = new System.Drawing.Size(1064, 182);
this.groupBox1.TabIndex = 217;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "伺服状态";
//
// axis_1_Alarm
//
this.axis_1_Alarm.IOName = "";
this.axis_1_Alarm.IOValue = 0;
this.axis_1_Alarm.isCanClick = false;
this.axis_1_Alarm.Location = new System.Drawing.Point(135, 44);
this.axis_1_Alarm.Name = "axis_1_Alarm";
this.axis_1_Alarm.Size = new System.Drawing.Size(43, 39);
this.axis_1_Alarm.TabIndex = 264;
//
// axis_3_Alarm
//
this.axis_3_Alarm.IOName = "";
this.axis_3_Alarm.IOValue = 0;
this.axis_3_Alarm.isCanClick = false;
this.axis_3_Alarm.Location = new System.Drawing.Point(240, 44);
this.axis_3_Alarm.Name = "axis_3_Alarm";
this.axis_3_Alarm.Size = new System.Drawing.Size(43, 39);
this.axis_3_Alarm.TabIndex = 266;
//
// axis_2_Alarm
//
this.axis_2_Alarm.IOName = "";
this.axis_2_Alarm.IOValue = 0;
this.axis_2_Alarm.isCanClick = false;
this.axis_2_Alarm.Location = new System.Drawing.Point(338, 44);
this.axis_2_Alarm.Name = "axis_2_Alarm";
this.axis_2_Alarm.Size = new System.Drawing.Size(43, 39);
this.axis_2_Alarm.TabIndex = 265;
//
// label38
//
this.label38.AutoSize = true;
......@@ -892,14 +884,13 @@
//
// groupInout
//
this.groupInout.Controls.Add(this.groupBox4);
this.groupInout.Controls.Add(this.txtMiddleSafe);
this.groupInout.Controls.Add(this.btnMiddleSafe);
this.groupInout.Controls.Add(this.rdbRight);
this.groupInout.Controls.Add(this.rdbLeft);
this.groupInout.Controls.Add(this.btnClearLog);
this.groupInout.Controls.Add(this.txtInOutP3);
this.groupInout.Controls.Add(this.btnInOutP3);
this.groupInout.Controls.Add(this.lblTemp);
this.groupInout.Controls.Add(this.lblMsg);
this.groupInout.Controls.Add(this.btnSavePosition);
this.groupInout.Controls.Add(this.btnStartAuTo);
......@@ -935,14 +926,49 @@
this.groupInout.Controls.Add(this.btnUpDownP6);
this.groupInout.Controls.Add(this.btnUpDownP3);
this.groupInout.Controls.Add(this.btnUpDownP4);
this.groupInout.Dock = System.Windows.Forms.DockStyle.Bottom;
this.groupInout.Enabled = false;
this.groupInout.Location = new System.Drawing.Point(7, 193);
this.groupInout.Location = new System.Drawing.Point(0, 240);
this.groupInout.Name = "groupInout";
this.groupInout.Size = new System.Drawing.Size(496, 550);
this.groupInout.Size = new System.Drawing.Size(1346, 277);
this.groupInout.TabIndex = 100;
this.groupInout.TabStop = false;
this.groupInout.Text = "料仓操作";
//
// txtMiddleSafe
//
this.txtMiddleSafe.AcceptsReturn = true;
this.txtMiddleSafe.BackColor = System.Drawing.SystemColors.Window;
this.txtMiddleSafe.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtMiddleSafe.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtMiddleSafe.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtMiddleSafe.Location = new System.Drawing.Point(161, 209);
this.txtMiddleSafe.MaxLength = 20;
this.txtMiddleSafe.Name = "txtMiddleSafe";
this.txtMiddleSafe.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.txtMiddleSafe.Size = new System.Drawing.Size(89, 23);
this.txtMiddleSafe.TabIndex = 276;
this.txtMiddleSafe.Text = "-52388";
//
// btnMiddleSafe
//
this.btnMiddleSafe.AutoSize = true;
this.btnMiddleSafe.BackColor = System.Drawing.SystemColors.Control;
this.btnMiddleSafe.Cursor = System.Windows.Forms.Cursors.Default;
this.btnMiddleSafe.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMiddleSafe.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMiddleSafe.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.btnMiddleSafe.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnMiddleSafe.Location = new System.Drawing.Point(14, 204);
this.btnMiddleSafe.Name = "btnMiddleSafe";
this.btnMiddleSafe.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnMiddleSafe.Size = new System.Drawing.Size(145, 33);
this.btnMiddleSafe.TabIndex = 275;
this.btnMiddleSafe.Text = "X-前后轴安全位置:";
this.btnMiddleSafe.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnMiddleSafe.UseVisualStyleBackColor = false;
this.btnMiddleSafe.Click += new System.EventHandler(this.btnMiddleSafe_Click);
//
// rdbRight
//
this.rdbRight.AutoSize = true;
......@@ -965,18 +991,6 @@
this.rdbLeft.Text = "左侧入口";
this.rdbLeft.UseVisualStyleBackColor = true;
//
// btnClearLog
//
this.btnClearLog.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClearLog.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClearLog.Location = new System.Drawing.Point(372, 506);
this.btnClearLog.Name = "btnClearLog";
this.btnClearLog.Size = new System.Drawing.Size(105, 38);
this.btnClearLog.TabIndex = 224;
this.btnClearLog.Text = "清理日志";
this.btnClearLog.UseVisualStyleBackColor = true;
this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
//
// txtInOutP3
//
this.txtInOutP3.AcceptsReturn = true;
......@@ -984,7 +998,7 @@
this.txtInOutP3.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtInOutP3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtInOutP3.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtInOutP3.Location = new System.Drawing.Point(399, 304);
this.txtInOutP3.Location = new System.Drawing.Point(1247, 73);
this.txtInOutP3.MaxLength = 20;
this.txtInOutP3.Name = "txtInOutP3";
this.txtInOutP3.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1001,7 +1015,7 @@
this.btnInOutP3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnInOutP3.ForeColor = System.Drawing.Color.Green;
this.btnInOutP3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnInOutP3.Location = new System.Drawing.Point(251, 299);
this.btnInOutP3.Location = new System.Drawing.Point(1099, 68);
this.btnInOutP3.Name = "btnInOutP3";
this.btnInOutP3.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnInOutP3.Size = new System.Drawing.Size(146, 33);
......@@ -1011,17 +1025,6 @@
this.btnInOutP3.UseVisualStyleBackColor = false;
this.btnInOutP3.Click += new System.EventHandler(this.btnInOutP3_Click);
//
// lblTemp
//
this.lblTemp.AutoSize = true;
this.lblTemp.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblTemp.ForeColor = System.Drawing.Color.Black;
this.lblTemp.Location = new System.Drawing.Point(6, 514);
this.lblTemp.Name = "lblTemp";
this.lblTemp.Size = new System.Drawing.Size(159, 20);
this.lblTemp.TabIndex = 270;
this.lblTemp.Text = "当前温度--,当前湿度--";
//
// lblMsg
//
this.lblMsg.AutoSize = true;
......@@ -1038,9 +1041,9 @@
this.btnSavePosition.BackColor = System.Drawing.SystemColors.Control;
this.btnSavePosition.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSavePosition.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSavePosition.Location = new System.Drawing.Point(261, 506);
this.btnSavePosition.Location = new System.Drawing.Point(348, 221);
this.btnSavePosition.Name = "btnSavePosition";
this.btnSavePosition.Size = new System.Drawing.Size(105, 38);
this.btnSavePosition.Size = new System.Drawing.Size(172, 44);
this.btnSavePosition.TabIndex = 217;
this.btnSavePosition.Text = "保存位置";
this.btnSavePosition.UseVisualStyleBackColor = false;
......@@ -1084,7 +1087,7 @@
this.txtInOutP2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtInOutP2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtInOutP2.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtInOutP2.Location = new System.Drawing.Point(153, 303);
this.txtInOutP2.Location = new System.Drawing.Point(1001, 72);
this.txtInOutP2.MaxLength = 20;
this.txtInOutP2.Name = "txtInOutP2";
this.txtInOutP2.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1099,7 +1102,7 @@
this.txtInOutP1.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtInOutP1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtInOutP1.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtInOutP1.Location = new System.Drawing.Point(153, 263);
this.txtInOutP1.Location = new System.Drawing.Point(1001, 32);
this.txtInOutP1.MaxLength = 20;
this.txtInOutP1.Name = "txtInOutP1";
this.txtInOutP1.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1114,7 +1117,7 @@
this.txtMiddleP1.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtMiddleP1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtMiddleP1.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtMiddleP1.Location = new System.Drawing.Point(153, 172);
this.txtMiddleP1.Location = new System.Drawing.Point(162, 170);
this.txtMiddleP1.MaxLength = 20;
this.txtMiddleP1.Name = "txtMiddleP1";
this.txtMiddleP1.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1129,7 +1132,7 @@
this.txtUpDownP7.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP7.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP7.Location = new System.Drawing.Point(153, 424);
this.txtUpDownP7.Location = new System.Drawing.Point(1001, 202);
this.txtUpDownP7.MaxLength = 20;
this.txtUpDownP7.Name = "txtUpDownP7";
this.txtUpDownP7.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1144,7 +1147,7 @@
this.txtUpDownP8.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP8.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP8.Location = new System.Drawing.Point(153, 464);
this.txtUpDownP8.Location = new System.Drawing.Point(1001, 242);
this.txtUpDownP8.MaxLength = 20;
this.txtUpDownP8.Name = "txtUpDownP8";
this.txtUpDownP8.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1159,7 +1162,7 @@
this.txtUpDownP1.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP1.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP1.Location = new System.Drawing.Point(153, 344);
this.txtUpDownP1.Location = new System.Drawing.Point(1001, 122);
this.txtUpDownP1.MaxLength = 20;
this.txtUpDownP1.Name = "txtUpDownP1";
this.txtUpDownP1.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1174,7 +1177,7 @@
this.txtUpDownP2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP2.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP2.Location = new System.Drawing.Point(153, 384);
this.txtUpDownP2.Location = new System.Drawing.Point(1001, 162);
this.txtUpDownP2.MaxLength = 20;
this.txtUpDownP2.Name = "txtUpDownP2";
this.txtUpDownP2.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1189,7 +1192,7 @@
this.txtInOutP4.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtInOutP4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtInOutP4.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtInOutP4.Location = new System.Drawing.Point(399, 263);
this.txtInOutP4.Location = new System.Drawing.Point(1247, 32);
this.txtInOutP4.MaxLength = 20;
this.txtInOutP4.Name = "txtInOutP4";
this.txtInOutP4.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1204,11 +1207,11 @@
this.txtMiddleP2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtMiddleP2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtMiddleP2.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtMiddleP2.Location = new System.Drawing.Point(399, 172);
this.txtMiddleP2.Location = new System.Drawing.Point(410, 187);
this.txtMiddleP2.MaxLength = 20;
this.txtMiddleP2.Name = "txtMiddleP2";
this.txtMiddleP2.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.txtMiddleP2.Size = new System.Drawing.Size(89, 23);
this.txtMiddleP2.Size = new System.Drawing.Size(110, 23);
this.txtMiddleP2.TabIndex = 192;
this.txtMiddleP2.Text = "-12388";
//
......@@ -1219,7 +1222,7 @@
this.txtUpDownP5.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP5.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP5.Location = new System.Drawing.Point(399, 424);
this.txtUpDownP5.Location = new System.Drawing.Point(1247, 202);
this.txtUpDownP5.MaxLength = 20;
this.txtUpDownP5.Name = "txtUpDownP5";
this.txtUpDownP5.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1234,7 +1237,7 @@
this.txtUpDownP6.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP6.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP6.Location = new System.Drawing.Point(399, 464);
this.txtUpDownP6.Location = new System.Drawing.Point(1247, 242);
this.txtUpDownP6.MaxLength = 20;
this.txtUpDownP6.Name = "txtUpDownP6";
this.txtUpDownP6.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1274,7 +1277,7 @@
this.txtUpDownP3.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP3.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP3.Location = new System.Drawing.Point(399, 344);
this.txtUpDownP3.Location = new System.Drawing.Point(1247, 122);
this.txtUpDownP3.MaxLength = 20;
this.txtUpDownP3.Name = "txtUpDownP3";
this.txtUpDownP3.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1315,7 +1318,7 @@
this.txtUpDownP4.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUpDownP4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUpDownP4.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtUpDownP4.Location = new System.Drawing.Point(399, 384);
this.txtUpDownP4.Location = new System.Drawing.Point(1247, 162);
this.txtUpDownP4.MaxLength = 20;
this.txtUpDownP4.Name = "txtUpDownP4";
this.txtUpDownP4.RightToLeft = System.Windows.Forms.RightToLeft.No;
......@@ -1332,7 +1335,7 @@
this.btnInOutP2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnInOutP2.ForeColor = System.Drawing.Color.Green;
this.btnInOutP2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnInOutP2.Location = new System.Drawing.Point(6, 298);
this.btnInOutP2.Location = new System.Drawing.Point(854, 67);
this.btnInOutP2.Name = "btnInOutP2";
this.btnInOutP2.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnInOutP2.Size = new System.Drawing.Size(145, 33);
......@@ -1351,7 +1354,7 @@
this.btnInOutP1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnInOutP1.ForeColor = System.Drawing.Color.Green;
this.btnInOutP1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnInOutP1.Location = new System.Drawing.Point(6, 258);
this.btnInOutP1.Location = new System.Drawing.Point(854, 27);
this.btnInOutP1.Name = "btnInOutP1";
this.btnInOutP1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnInOutP1.Size = new System.Drawing.Size(145, 33);
......@@ -1370,7 +1373,7 @@
this.btnMiddleP1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMiddleP1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.btnMiddleP1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnMiddleP1.Location = new System.Drawing.Point(6, 167);
this.btnMiddleP1.Location = new System.Drawing.Point(15, 165);
this.btnMiddleP1.Name = "btnMiddleP1";
this.btnMiddleP1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnMiddleP1.Size = new System.Drawing.Size(145, 33);
......@@ -1389,7 +1392,7 @@
this.btnUpDownP7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP7.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP7.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnUpDownP7.Location = new System.Drawing.Point(6, 419);
this.btnUpDownP7.Location = new System.Drawing.Point(854, 197);
this.btnUpDownP7.Name = "btnUpDownP7";
this.btnUpDownP7.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP7.Size = new System.Drawing.Size(145, 33);
......@@ -1408,7 +1411,7 @@
this.btnUpDownP8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP8.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP8.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnUpDownP8.Location = new System.Drawing.Point(6, 459);
this.btnUpDownP8.Location = new System.Drawing.Point(854, 237);
this.btnUpDownP8.Name = "btnUpDownP8";
this.btnUpDownP8.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP8.Size = new System.Drawing.Size(145, 33);
......@@ -1427,7 +1430,7 @@
this.btnUpDownP1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP1.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnUpDownP1.Location = new System.Drawing.Point(6, 339);
this.btnUpDownP1.Location = new System.Drawing.Point(854, 117);
this.btnUpDownP1.Name = "btnUpDownP1";
this.btnUpDownP1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP1.Size = new System.Drawing.Size(145, 33);
......@@ -1446,7 +1449,7 @@
this.btnUpDownP2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP2.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnUpDownP2.Location = new System.Drawing.Point(6, 379);
this.btnUpDownP2.Location = new System.Drawing.Point(854, 157);
this.btnUpDownP2.Name = "btnUpDownP2";
this.btnUpDownP2.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP2.Size = new System.Drawing.Size(145, 33);
......@@ -1464,7 +1467,7 @@
this.btnInOutP4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnInOutP4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnInOutP4.ForeColor = System.Drawing.Color.Green;
this.btnInOutP4.Location = new System.Drawing.Point(251, 258);
this.btnInOutP4.Location = new System.Drawing.Point(1099, 27);
this.btnInOutP4.Name = "btnInOutP4";
this.btnInOutP4.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnInOutP4.Size = new System.Drawing.Size(146, 33);
......@@ -1482,7 +1485,7 @@
this.btnMiddleP2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMiddleP2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMiddleP2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.btnMiddleP2.Location = new System.Drawing.Point(251, 167);
this.btnMiddleP2.Location = new System.Drawing.Point(258, 182);
this.btnMiddleP2.Name = "btnMiddleP2";
this.btnMiddleP2.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnMiddleP2.Size = new System.Drawing.Size(146, 33);
......@@ -1500,7 +1503,7 @@
this.btnUpDownP5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpDownP5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP5.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP5.Location = new System.Drawing.Point(251, 419);
this.btnUpDownP5.Location = new System.Drawing.Point(1099, 197);
this.btnUpDownP5.Name = "btnUpDownP5";
this.btnUpDownP5.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP5.Size = new System.Drawing.Size(146, 33);
......@@ -1518,7 +1521,7 @@
this.btnUpDownP6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpDownP6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP6.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP6.Location = new System.Drawing.Point(251, 459);
this.btnUpDownP6.Location = new System.Drawing.Point(1099, 237);
this.btnUpDownP6.Name = "btnUpDownP6";
this.btnUpDownP6.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP6.Size = new System.Drawing.Size(146, 33);
......@@ -1536,7 +1539,7 @@
this.btnUpDownP3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpDownP3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP3.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP3.Location = new System.Drawing.Point(251, 339);
this.btnUpDownP3.Location = new System.Drawing.Point(1099, 117);
this.btnUpDownP3.Name = "btnUpDownP3";
this.btnUpDownP3.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP3.Size = new System.Drawing.Size(146, 33);
......@@ -1554,7 +1557,7 @@
this.btnUpDownP4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpDownP4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownP4.ForeColor = System.Drawing.Color.Red;
this.btnUpDownP4.Location = new System.Drawing.Point(251, 379);
this.btnUpDownP4.Location = new System.Drawing.Point(1099, 157);
this.btnUpDownP4.Name = "btnUpDownP4";
this.btnUpDownP4.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnUpDownP4.Size = new System.Drawing.Size(146, 33);
......@@ -1564,6 +1567,17 @@
this.btnUpDownP4.UseVisualStyleBackColor = false;
this.btnUpDownP4.Click += new System.EventHandler(this.btnUpDownP4_Click);
//
// lblTemp
//
this.lblTemp.AutoSize = true;
this.lblTemp.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblTemp.ForeColor = System.Drawing.Color.Black;
this.lblTemp.Location = new System.Drawing.Point(23, 199);
this.lblTemp.Name = "lblTemp";
this.lblTemp.Size = new System.Drawing.Size(159, 20);
this.lblTemp.TabIndex = 270;
this.lblTemp.Text = "当前温度--,当前湿度--";
//
// lblThisSta
//
this.lblThisSta.AutoSize = true;
......@@ -1586,7 +1600,7 @@
this.groupBox3.Controls.Add(this.lblThisSta);
this.groupBox3.Location = new System.Drawing.Point(7, 86);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(1327, 105);
this.groupBox3.Size = new System.Drawing.Size(1328, 105);
this.groupBox3.TabIndex = 268;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "设备状态";
......@@ -1631,7 +1645,7 @@
this.chbDebug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chbDebug.AutoSize = true;
this.chbDebug.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbDebug.Location = new System.Drawing.Point(1109, 12);
this.chbDebug.Location = new System.Drawing.Point(1110, 12);
this.chbDebug.Name = "chbDebug";
this.chbDebug.Size = new System.Drawing.Size(84, 24);
this.chbDebug.TabIndex = 271;
......@@ -1644,7 +1658,7 @@
this.chbAuto.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chbAuto.AutoSize = true;
this.chbAuto.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbAuto.Location = new System.Drawing.Point(1204, 13);
this.chbAuto.Location = new System.Drawing.Point(1205, 13);
this.chbAuto.Name = "chbAuto";
this.chbAuto.Size = new System.Drawing.Size(112, 24);
this.chbAuto.TabIndex = 270;
......@@ -1696,11 +1710,12 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage7);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Location = new System.Drawing.Point(510, 193);
this.tabControl1.Location = new System.Drawing.Point(0, 199);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(832, 550);
this.tabControl1.Size = new System.Drawing.Size(1354, 550);
this.tabControl1.TabIndex = 272;
//
// tabPage3
......@@ -1708,7 +1723,7 @@
this.tabPage3.Controls.Add(this.richTextBox1);
this.tabPage3.Location = new System.Drawing.Point(4, 29);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(824, 517);
this.tabPage3.Size = new System.Drawing.Size(1346, 517);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = " 操作日志 ";
this.tabPage3.UseVisualStyleBackColor = true;
......@@ -1720,18 +1735,95 @@
this.tabPage1.Location = new System.Drawing.Point(4, 29);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(824, 517);
this.tabPage1.Size = new System.Drawing.Size(1346, 517);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = " 伺服调试 ";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tabPage7
//
this.tabPage7.Controls.Add(this.groupBox2);
this.tabPage7.Controls.Add(this.groupInout);
this.tabPage7.Location = new System.Drawing.Point(4, 29);
this.tabPage7.Name = "tabPage7";
this.tabPage7.Size = new System.Drawing.Size(1346, 517);
this.tabPage7.TabIndex = 3;
this.tabPage7.Text = " 库位调试 ";
this.tabPage7.UseVisualStyleBackColor = true;
//
// groupBox2
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.tabControl_Pos);
this.groupBox2.Location = new System.Drawing.Point(0, 0);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(1346, 234);
this.groupBox2.TabIndex = 101;
this.groupBox2.TabStop = false;
//
// tabControl_Pos
//
this.tabControl_Pos.Controls.Add(this.tabPage8);
this.tabControl_Pos.Controls.Add(this.tabPage9);
this.tabControl_Pos.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl_Pos.Location = new System.Drawing.Point(3, 22);
this.tabControl_Pos.Name = "tabControl_Pos";
this.tabControl_Pos.SelectedIndex = 0;
this.tabControl_Pos.Size = new System.Drawing.Size(1340, 209);
this.tabControl_Pos.TabIndex = 0;
//
// tabPage8
//
this.tabPage8.Controls.Add(this.dataGridView1);
this.tabPage8.Location = new System.Drawing.Point(4, 29);
this.tabPage8.Name = "tabPage8";
this.tabPage8.Padding = new System.Windows.Forms.Padding(3);
this.tabPage8.Size = new System.Drawing.Size(1332, 176);
this.tabPage8.TabIndex = 0;
this.tabPage8.Text = "左侧";
this.tabPage8.UseVisualStyleBackColor = true;
//
// dataGridView1
//
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(3, 3);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(1326, 170);
this.dataGridView1.TabIndex = 0;
//
// tabPage9
//
this.tabPage9.Controls.Add(this.dataGridView2);
this.tabPage9.Location = new System.Drawing.Point(4, 29);
this.tabPage9.Name = "tabPage9";
this.tabPage9.Padding = new System.Windows.Forms.Padding(3);
this.tabPage9.Size = new System.Drawing.Size(1332, 176);
this.tabPage9.TabIndex = 1;
this.tabPage9.Text = "右侧";
this.tabPage9.UseVisualStyleBackColor = true;
//
// dataGridView2
//
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView2.Location = new System.Drawing.Point(3, 3);
this.dataGridView2.Name = "dataGridView2";
this.dataGridView2.RowTemplate.Height = 23;
this.dataGridView2.Size = new System.Drawing.Size(1326, 170);
this.dataGridView2.TabIndex = 1;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.groupBox7);
this.tabPage2.Controls.Add(this.lblTemp);
this.tabPage2.Location = new System.Drawing.Point(4, 29);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(824, 517);
this.tabPage2.Size = new System.Drawing.Size(1346, 517);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = " 温湿度 ";
this.tabPage2.UseVisualStyleBackColor = true;
......@@ -1865,7 +1957,7 @@
this.tabControl2.Location = new System.Drawing.Point(6, 4);
this.tabControl2.Name = "tabControl2";
this.tabControl2.SelectedIndex = 0;
this.tabControl2.Size = new System.Drawing.Size(1332, 80);
this.tabControl2.Size = new System.Drawing.Size(1333, 80);
this.tabControl2.TabIndex = 271;
//
// tabPage4
......@@ -1882,7 +1974,7 @@
this.tabPage4.Location = new System.Drawing.Point(4, 30);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(1324, 46);
this.tabPage4.Size = new System.Drawing.Size(1325, 46);
this.tabPage4.TabIndex = 0;
this.tabPage4.Text = " 料仓操作 ";
this.tabPage4.UseVisualStyleBackColor = true;
......@@ -1892,7 +1984,7 @@
this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.checkBox1.AutoSize = true;
this.checkBox1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.checkBox1.Location = new System.Drawing.Point(876, 13);
this.checkBox1.Location = new System.Drawing.Point(877, 13);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(98, 24);
this.checkBox1.TabIndex = 273;
......@@ -1905,7 +1997,7 @@
this.chbUseTrayCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chbUseTrayCheck.AutoSize = true;
this.chbUseTrayCheck.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbUseTrayCheck.Location = new System.Drawing.Point(991, 12);
this.chbUseTrayCheck.Location = new System.Drawing.Point(992, 12);
this.chbUseTrayCheck.Name = "chbUseTrayCheck";
this.chbUseTrayCheck.Size = new System.Drawing.Size(112, 24);
this.chbUseTrayCheck.TabIndex = 272;
......@@ -1984,7 +2076,7 @@
this.tabPage5.Location = new System.Drawing.Point(4, 30);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
this.tabPage5.Size = new System.Drawing.Size(1324, 46);
this.tabPage5.Size = new System.Drawing.Size(1325, 46);
this.tabPage5.TabIndex = 1;
this.tabPage5.Text = " 设备调试 ";
this.tabPage5.UseVisualStyleBackColor = true;
......@@ -2068,7 +2160,7 @@
this.tabPage6.Controls.Add(this.btnLogDebug);
this.tabPage6.Location = new System.Drawing.Point(4, 30);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Size = new System.Drawing.Size(1324, 46);
this.tabPage6.Size = new System.Drawing.Size(1325, 46);
this.tabPage6.TabIndex = 2;
this.tabPage6.Text = " 其他 ";
this.tabPage6.UseVisualStyleBackColor = true;
......@@ -2109,49 +2201,128 @@
this.btnLogDebug.UseVisualStyleBackColor = true;
this.btnLogDebug.Click += new System.EventHandler(this.开启DEBUGToolStripMenuItem_Click);
//
// txtMiddleSafe
// label7
//
this.label7.AutoSize = true;
this.label7.BackColor = System.Drawing.Color.LightGreen;
this.label7.Location = new System.Drawing.Point(6, 22);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(71, 20);
this.label7.TabIndex = 277;
this.label7.Text = "出入库OK";
//
// groupBox4
//
this.groupBox4.Controls.Add(this.lblTotal);
this.groupBox4.Controls.Add(this.label18);
this.groupBox4.Controls.Add(this.lblOk);
this.groupBox4.Controls.Add(this.label15);
this.groupBox4.Controls.Add(this.label14);
this.groupBox4.Controls.Add(this.label13);
this.groupBox4.Controls.Add(this.label7);
this.groupBox4.Location = new System.Drawing.Point(534, 23);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(296, 123);
this.groupBox4.TabIndex = 278;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "库位结果";
//
// label13
//
this.label13.AutoSize = true;
this.label13.BackColor = System.Drawing.Color.LightGray;
this.label13.Location = new System.Drawing.Point(6, 47);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(57, 20);
this.label13.TabIndex = 278;
this.label13.Text = "入库OK";
//
// label14
//
this.label14.AutoSize = true;
this.label14.BackColor = System.Drawing.Color.LightSeaGreen;
this.label14.Location = new System.Drawing.Point(7, 73);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(57, 20);
this.label14.TabIndex = 279;
this.label14.Text = "出库OK";
//
// label15
//
this.label15.AutoSize = true;
this.label15.BackColor = System.Drawing.Color.White;
this.label15.Location = new System.Drawing.Point(6, 93);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(79, 20);
this.label15.TabIndex = 280;
this.label15.Text = "暂未出入库";
//
this.txtMiddleSafe.AcceptsReturn = true;
this.txtMiddleSafe.BackColor = System.Drawing.SystemColors.Window;
this.txtMiddleSafe.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtMiddleSafe.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtMiddleSafe.ForeColor = System.Drawing.SystemColors.WindowText;
this.txtMiddleSafe.Location = new System.Drawing.Point(152, 211);
this.txtMiddleSafe.MaxLength = 20;
this.txtMiddleSafe.Name = "txtMiddleSafe";
this.txtMiddleSafe.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.txtMiddleSafe.Size = new System.Drawing.Size(89, 23);
this.txtMiddleSafe.TabIndex = 276;
this.txtMiddleSafe.Text = "-52388";
// axis_1_Alarm
//
// btnMiddleSafe
this.axis_1_Alarm.IOName = "";
this.axis_1_Alarm.IOValue = 0;
this.axis_1_Alarm.isCanClick = false;
this.axis_1_Alarm.Location = new System.Drawing.Point(135, 44);
this.axis_1_Alarm.Name = "axis_1_Alarm";
this.axis_1_Alarm.Size = new System.Drawing.Size(43, 39);
this.axis_1_Alarm.TabIndex = 264;
//
this.btnMiddleSafe.AutoSize = true;
this.btnMiddleSafe.BackColor = System.Drawing.SystemColors.Control;
this.btnMiddleSafe.Cursor = System.Windows.Forms.Cursors.Default;
this.btnMiddleSafe.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMiddleSafe.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMiddleSafe.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.btnMiddleSafe.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnMiddleSafe.Location = new System.Drawing.Point(5, 206);
this.btnMiddleSafe.Name = "btnMiddleSafe";
this.btnMiddleSafe.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnMiddleSafe.Size = new System.Drawing.Size(145, 33);
this.btnMiddleSafe.TabIndex = 275;
this.btnMiddleSafe.Text = "X-前后轴安全位置:";
this.btnMiddleSafe.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnMiddleSafe.UseVisualStyleBackColor = false;
this.btnMiddleSafe.Click += new System.EventHandler(this.btnMiddleSafe_Click);
// axis_3_Alarm
//
this.axis_3_Alarm.IOName = "";
this.axis_3_Alarm.IOValue = 0;
this.axis_3_Alarm.isCanClick = false;
this.axis_3_Alarm.Location = new System.Drawing.Point(240, 44);
this.axis_3_Alarm.Name = "axis_3_Alarm";
this.axis_3_Alarm.Size = new System.Drawing.Size(43, 39);
this.axis_3_Alarm.TabIndex = 266;
//
// axis_2_Alarm
//
this.axis_2_Alarm.IOName = "";
this.axis_2_Alarm.IOValue = 0;
this.axis_2_Alarm.isCanClick = false;
this.axis_2_Alarm.Location = new System.Drawing.Point(338, 44);
this.axis_2_Alarm.Name = "axis_2_Alarm";
this.axis_2_Alarm.Size = new System.Drawing.Size(43, 39);
this.axis_2_Alarm.TabIndex = 265;
//
// lblOk
//
this.lblOk.AutoSize = true;
this.lblOk.BackColor = System.Drawing.Color.PaleGreen;
this.lblOk.Location = new System.Drawing.Point(127, 53);
this.lblOk.Name = "lblOk";
this.lblOk.Size = new System.Drawing.Size(41, 20);
this.lblOk.TabIndex = 281;
this.lblOk.Text = "1000";
//
// label18
//
this.label18.AutoSize = true;
this.label18.Location = new System.Drawing.Point(174, 53);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(15, 20);
this.label18.TabIndex = 282;
this.label18.Text = "/";
//
// lblTotal
//
this.lblTotal.AutoSize = true;
this.lblTotal.Location = new System.Drawing.Point(195, 51);
this.lblTotal.Name = "lblTotal";
this.lblTotal.Size = new System.Drawing.Size(41, 20);
this.lblTotal.TabIndex = 283;
this.lblTotal.Text = "1000";
//
// FrmStoreBox
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(1353, 749);
this.ClientSize = new System.Drawing.Size(1354, 749);
this.Controls.Add(this.tabControl2);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupInout);
this.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FrmStoreBox";
......@@ -2174,7 +2345,15 @@
this.tabControl1.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage7.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.tabControl_Pos.ResumeLayout(false);
this.tabPage8.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.tabPage9.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
this.groupBox7.ResumeLayout(false);
this.groupBox7.PerformLayout();
this.tabControl2.ResumeLayout(false);
......@@ -2182,6 +2361,8 @@
this.tabPage4.PerformLayout();
this.tabPage5.ResumeLayout(false);
this.tabPage6.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
this.ResumeLayout(false);
}
......@@ -2269,7 +2450,6 @@
private UserFromControl.IOStatusControl axis_1_Alarm;
private System.Windows.Forms.Label label38;
private System.Windows.Forms.Label lblWarnMsg;
private System.Windows.Forms.Button btnClearLog;
public System.Windows.Forms.Button btnReadPosition;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox txtHomeStatus;
......@@ -2338,6 +2518,21 @@
private System.Windows.Forms.CheckBox checkBox1;
public System.Windows.Forms.TextBox txtMiddleSafe;
public System.Windows.Forms.Button btnMiddleSafe;
private System.Windows.Forms.TabPage tabPage7;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.TabControl tabControl_Pos;
private System.Windows.Forms.TabPage tabPage8;
private System.Windows.Forms.TabPage tabPage9;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridView dataGridView2;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label lblTotal;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label lblOk;
}
}
......@@ -15,7 +15,7 @@ using System.Reflection;
using log4net;
using OnlineStore.DeviceLibrary;
using System.IO.Ports;
using OnlineStore.LoadCSVLibrary;
using OnlineStore.LoadCSVLibrary;
using UserFromControl;
namespace OnlineStore.ACSquareStore
......@@ -53,7 +53,7 @@ namespace OnlineStore.ACSquareStore
HideForm();
this.Opacity = 1;
cmbHumpPort.Items.Clear();
foreach(string str in store.Config.GetHumpPortList())
foreach (string str in store.Config.GetHumpPortList())
{
cmbHumpPort.Items.Add(str);
}
......@@ -63,9 +63,68 @@ namespace OnlineStore.ACSquareStore
}
chbUseTrayCheck.Checked = StoreManager.UseShelfCheck;
// txtTempPort.Text = store.Config.Humiture_Port;
InitPosDebugBox();
LoadOk = true;
}
#region 库位调试
void InitPosDebugBox()
{
store.InOutEndEvent += Store_InOutEndEvent;
lblOk.Text = store.posDebug.Ok.ToString();
lblTotal.Text = store.posDebug.Total.ToString();
for (int i = 1; i <= store.posDebug.GetCols(); i++)
{
dataGridView1.Columns.Add("Col_" + i, "Col_" + i);
dataGridView2.Columns.Add("Col_" + i, "Col_" + i);
}
for (int i = 0; i < dataGridView1.Columns.Count; i++)
{
dataGridView1.Columns[i].Width = 64;
dataGridView1.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
}
for (int i = 0; i < dataGridView2.Columns.Count; i++)
{
dataGridView2.Columns[i].Width = 64;
dataGridView2.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
}
for (int i = 0; i < store.posDebug.GetRows(); i++)
{
dataGridView1.Rows.Add();
dataGridView2.Rows.Add();
}
foreach (var item in store.posDebug.LPos)
{
dataGridView1.Rows[item.Row - 1].Cells[item.Col - 1].Value = item.PosName;
dataGridView1.Rows[item.Row - 1].Cells[item.Col - 1].Tag = item.PosId;
dataGridView1.Rows[item.Row - 1].Cells[item.Col - 1].Style = GetStyle(item.PosId);
}
foreach (var item in store.posDebug.RPos)
{
dataGridView2.Rows[item.Row - 1].Cells[item.Col - 1].Value = item.PosName;
dataGridView2.Rows[item.Row - 1].Cells[item.Col - 1].Tag = item.PosId;
dataGridView2.Rows[item.Row - 1].Cells[item.Col - 1].Style = GetStyle(item.PosId);
}
}
private void Store_InOutEndEvent(string posId, StoreMoveType movetype, bool isLast)
{
if (store.posDebug.Exist(posId, out PosPos posPos, out int dir))
{
if (dir == 0)
{
var cells = dataGridView1.Rows[posPos.Row - 1].Cells[posPos.Col - 1];
cells.Style = GetStyle(posId);
}
else
{
var cells = dataGridView2.Rows[posPos.Row - 1].Cells[posPos.Col - 1];
cells.Style = GetStyle(posId);
}
}
lblOk.Text = store.posDebug.Ok.ToString();
lblTotal.Text = store.posDebug.Total.ToString();
}
#endregion
private void LoadStore()
{
this.store = StoreManager.InitStore();
......@@ -424,7 +483,7 @@ namespace OnlineStore.ACSquareStore
ktk.InOut_P4 = FormUtil.GetIntValue(txtInOutP4);
ktk.Middle_P1 = FormUtil.GetIntValue(txtMiddleP1);
ktk.Middle_P2 = FormUtil.GetIntValue(txtMiddleP2);
ktk.MiddleAxis_Safe_Position= FormUtil.GetIntValue(txtMiddleSafe);
ktk.MiddleAxis_Safe_Position = FormUtil.GetIntValue(txtMiddleSafe);
ktk.UpDown_P1 = FormUtil.GetIntValue(txtUpDownP1);
ktk.UpDown_P2 = FormUtil.GetIntValue(txtUpDownP2);
ktk.UpDown_P3 = FormUtil.GetIntValue(txtUpDownP3);
......@@ -451,17 +510,7 @@ namespace OnlineStore.ACSquareStore
if (cmbPosition.SelectedIndex >= 0)
{
string selectPositionNum = cmbPosition.Text;
ACSquareSPosition ktkPosition = CSVPositionReader<ACSquareSPosition>.GetPositon(selectPositionNum);
if (ktkPosition != null)
{
txtMiddleP2.Text = ktkPosition.MiddleAxis_P2.ToString();
txtUpDownP3.Text = ktkPosition.UpDownAxis_IH_P3.ToString();
txtUpDownP4.Text = ktkPosition.UpDownAxis_IL_P4.ToString();
txtUpDownP5.Text = ktkPosition.UpDownAxis_OH_P5.ToString();
txtUpDownP6.Text = ktkPosition.UpDownAxis_OL_P6.ToString();
txtInOutP4.Text = ktkPosition.InOutAxis_P4.ToString();
}
SetData(selectPositionNum);
}
}
private void cmbAxisList_SelectedIndexChanged(object sender, EventArgs e)
......@@ -853,6 +902,15 @@ namespace OnlineStore.ACSquareStore
//store.StartOutStoreMove(new InOutStoreParam("", poText));
InOutPosInfo pos = new InOutPosInfo("AUTOINOUT", poText);
pos.ShelfType = store.autoShelfType;
store.posDebug.Start();
foreach (var item in store.posDebug.LPos)
{
dataGridView1.Rows[item.Row - 1].Cells[item.Col - 1].Style = dgv_none;
}
foreach (var item in store.posDebug.RPos)
{
dataGridView2.Rows[item.Row - 1].Cells[item.Col - 1].Style = dgv_none;
}
store.StartInStoreMove(new InOutParam(pos));
}
btnStartAuTo.Text = "停止自动出入库";
......@@ -927,7 +985,7 @@ namespace OnlineStore.ACSquareStore
LogUtil.info("料仓运转ON完成");
}
private void 料仓运转OFFToolStripMenuItem_Click(object sender, EventArgs e)
{
......@@ -935,7 +993,7 @@ namespace OnlineStore.ACSquareStore
LogUtil.info("料仓运转OFF完成");
}
private void 回待机点ToolStripMenuItem_Click(object sender, EventArgs e)
{
if (store.storeRunStatus >= StoreRunStatus.HomeMoving)
......@@ -1123,7 +1181,7 @@ namespace OnlineStore.ACSquareStore
ExitApp();
}
}
private void UpdateBtnEn( )
private void UpdateBtnEn()
{
string port = cmbHumpPort.Text;
if (HumitureController.IsRun(port))
......@@ -1166,7 +1224,7 @@ namespace OnlineStore.ACSquareStore
txtTemp.Text = param.Temperate.ToString();
txtHum.Text = param.Humidity.ToString();
}
private void btnClearL_Click(object sender, EventArgs e)
{
......@@ -1191,6 +1249,7 @@ namespace OnlineStore.ACSquareStore
groupAxis.Enabled = status;
//groupComAxis.Enabled = status;
groupInout.Enabled = status;
tabControl_Pos.Enabled = status;
}
private void btnDebug_Click(object sender, EventArgs e)
......@@ -1264,7 +1323,7 @@ namespace OnlineStore.ACSquareStore
private void cmbHumpPort_SelectedIndexChanged(object sender, EventArgs e)
{
string port = cmbHumpPort.Text;
if (HumitureController.IsRun(port))
{
......@@ -1275,12 +1334,12 @@ namespace OnlineStore.ACSquareStore
{
btnTempInit.Enabled = true;
btnTempClose.Enabled = false ;
btnTempClose.Enabled = false;
}
}
protected void BtnMove(Button btn, string defaultText, string targetText, string ioHighType)
{
LogUtil.info( "点击【" + btn.Text + "】 ");
LogUtil.info("点击【" + btn.Text + "】 ");
if (btn.Text.Equals(defaultText))
{
IOManager.IOMove(ioHighType, IO_VALUE.HIGH);
......@@ -1321,7 +1380,7 @@ namespace OnlineStore.ACSquareStore
}
private void btnInOutP4_Click(object sender, EventArgs e)
{
{
int value = FormUtil.GetIntValue(txtInOutP4);
AxisABSMove(store.Config.InOut_Axis, value, store.Config.InOutAxis_P4_Speed);
}
......@@ -1340,5 +1399,42 @@ namespace OnlineStore.ACSquareStore
AxisABSMove(store.Config.Middle_Axis, value, store.Config.MiddleAxis_P1_Speed);
}
}
#region 库位调试
/// <summary>
/// 更新界面轴的库位位置数据
/// </summary>
/// <param name="posId"></param>
private void SetData(string posId)
{
ACSquareSPosition ktkPosition = CSVPositionReader<ACSquareSPosition>.GetPositon(posId);
if (ktkPosition != null)
{
txtMiddleP2.Text = ktkPosition.MiddleAxis_P2.ToString();
txtUpDownP3.Text = ktkPosition.UpDownAxis_IH_P3.ToString();
txtUpDownP4.Text = ktkPosition.UpDownAxis_IL_P4.ToString();
txtUpDownP5.Text = ktkPosition.UpDownAxis_OH_P5.ToString();
txtUpDownP6.Text = ktkPosition.UpDownAxis_OL_P6.ToString();
txtInOutP4.Text = ktkPosition.InOutAxis_P4.ToString();
}
}
static Font font = new Font("宋体", 10);
DataGridViewCellStyle dgv_ok = new DataGridViewCellStyle() { BackColor = Color.LightGreen, Font = font };
DataGridViewCellStyle dgv_oin = new DataGridViewCellStyle() { BackColor = Color.LightGray, Font = font };
DataGridViewCellStyle dgv_oout = new DataGridViewCellStyle() { BackColor = Color.LightSeaGreen, Font = font };
DataGridViewCellStyle dgv_none = new DataGridViewCellStyle() { BackColor = Color.White, Font = font };
DataGridViewCellStyle GetStyle(string posid)
{
if (store.posDebug.Exist(posid, out PosPos posPos))
{
if (posPos.PosState.InStoreCheck == 1 && posPos.PosState.OutStoreCheck == 1)
return dgv_ok;
else if (posPos.PosState.InStoreCheck == 1)
return dgv_oin;
else if (posPos.PosState.OutStoreCheck == 1)
return dgv_oout;
}
return dgv_none;
}
#endregion
}
}
......@@ -1260,7 +1260,7 @@
</value>
</data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>56</value>
<value>52</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
......
......@@ -53,6 +53,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="acSquareStore\PosDebug.cs" />
<Compile Include="acSquareStore\ShelfMoveBean.cs" />
<Compile Include="acSquareStore\Square_BoxBean.cs" />
<Compile Include="acSquareStore\Square_BoxBean_Partial.cs" />
......
类型,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义,SlaveID,
PRO,IO模块对应的DI数量,IO_DILength,192.168.201.21#16,,,,,,,
PRO,模块对应的DO数量,IO_DOLength,192.168.201.21#16,,,,,,,
PRO,是否有仓门,HasDoor,1,,,,,,,
PRO,IO模块IP,PRO_AOI_IP_1,192.168.201.21,,,,,,,
类型,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义,SlaveID,
PRO,IO模块对应的DI数量,IO_DILength,192.168.200.11#16,,,,,,,,,,,,,,,,,,,,
PRO,模块对应的DO数量,IO_DOLength,192.168.200.11#16,,,,,,,,,,,,,,,,,,,,
PRO,是否有仓门,HasDoor,1,,,,,,,,,,,,,,,,,,,,
PRO,IO模块IP,PRO_AOI_IP_1,192.168.200.11,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,
DI,急停,SuddenStop_BTN,0,PRO_AOI_IP_1,0,急停,X1-01,A1,0,
DI,启动,Start_BTN,1,PRO_AOI_IP_1,0,启动,X1-02,A2,0,
DI,复位,Reset_BTN,2,PRO_AOI_IP_1,0,复位,X1-03,A3,0,
DI,前门门禁信号,DoorLimit_L,3,PRO_AOI_IP_1,0,前门门禁信号,X1-04,A4,0,
DI,后门门禁信号,DoorLimit_B,4,PRO_AOI_IP_1,0,后门门禁信号,X1-05,A5,0,
DI,左取料口门开关信号,LeftDoor_Close,5,PRO_AOI_IP_1,0,左取料口门开关信号,X1-06,A6,0,
DI,右取料口门开关信号,RightDoor_Close,6,PRO_AOI_IP_1,0,右取料口门开关信号,X1-07,A7,0,
DI,左侧出料下托架前进端,LeftShelf_Forward,7,PRO_AOI_IP_1,0,左侧出料下托架前进端,X1-08,A8,0,
DI,左侧出料下托架后退端,LeftShelf_Back,8,PRO_AOI_IP_1,0,左侧出料下托架后退端,X2-01,A10,0,
DI,右侧出料下托架前进端,RightShelf_Forward,9,PRO_AOI_IP_1,0,右侧出料下托架前进端,X2-02,A11,0,
DI,右侧出料下托架后退端,RightShelf_Back,10,PRO_AOI_IP_1,0,右侧出料下托架后退端,X2-03,A12,0,
DI,货叉物料检测开关,TrayCheck_Fixture,11,PRO_AOI_IP_1,0,货叉物料检测开关,X2-04,A13,0,
DI,空气压力检测信号,Airpressure_Check,12,PRO_AOI_IP_1,0,空气压力检测信号,X2-05,A14,0,
DI,托架物料检测(左),LeftShelf_Check,13,PRO_AOI_IP_1,0,托架物料检测(左),X2-06,A15,0,
DI,托架物料检测(右),RightShelf_Check,14,PRO_AOI_IP_1,0,托架物料检测(右),X2-07,A16,0,
DI,急停,SuddenStop_BTN,0,PRO_AOI_IP_1,0,急停,X1-01,A1,0,
DI,启动,Start_BTN,1,PRO_AOI_IP_1,0,启动,X1-02,A2,0,
DI,复位,Reset_BTN,2,PRO_AOI_IP_1,0,复位,X1-03,A3,0,
DI,前门门禁信号,DoorLimit_L,3,PRO_AOI_IP_1,0,前门门禁信号,X1-04,A4,0,
DI,后门门禁信号,DoorLimit_B,4,PRO_AOI_IP_1,0,后门门禁信号,X1-05,A5,0,
DI,左取料口门开关信号,LeftDoor_Close,5,PRO_AOI_IP_1,0,左取料口门开关信号,X1-06,A6,0,
DI,右取料口门开关信号,RightDoor_Close,6,PRO_AOI_IP_1,0,右取料口门开关信号,X1-07,A7,0,
DI,左侧出料下托架前进端,LeftShelf_Forward,7,PRO_AOI_IP_1,0,左侧出料下托架前进端,X1-08,A8,0,
DI,左侧出料下托架后退端,LeftShelf_Back,8,PRO_AOI_IP_1,0,左侧出料下托架后退端,X2-01,A10,0,
DI,右侧出料下托架前进端,RightShelf_Forward,9,PRO_AOI_IP_1,0,右侧出料下托架前进端,X2-02,A11,0,
DI,右侧出料下托架后退端,RightShelf_Back,10,PRO_AOI_IP_1,0,右侧出料下托架后退端,X2-03,A12,0,
DI,货叉物料检测开关,TrayCheck_Fixture,11,PRO_AOI_IP_1,0,货叉物料检测开关,X2-04,A13,0,
DI,空气压力检测信号,Airpressure_Check,12,PRO_AOI_IP_1,0,空气压力检测信号,X2-05,A14,0,
DI,托架物料检测(左),LeftShelf_Check,13,PRO_AOI_IP_1,0,托架物料检测(左),X2-06,A15,0,
DI,托架物料检测(右),RightShelf_Check,14,PRO_AOI_IP_1,0,托架物料检测(右),X2-07,A16,0,
,,,15,PRO_AOI_IP_1,0,,X2-08,A17,0,
DO,运行指示灯,AutoRun_HddLed,0,PRO_AOI_IP_1,0,运行指示灯,Y1-01,B1,,
DO,故障指示灯,Alarm_HddLed,1,PRO_AOI_IP_1,0,故障指示灯,Y1-02,B2,,
DO,待机指示灯,RunSign_HddLed,2,PRO_AOI_IP_1,0,待机指示灯,Y1-03,B3,,
DO,蜂鸣器,Alarm_Buzzer,3,PRO_AOI_IP_1,0,蜂鸣器,Y1-04,B4,,
DO,左侧出料下托架电机前进,LeftShelf_Forward,4,PRO_AOI_IP_1,0,左侧出料下托架电机前进,Y1-05,B5,,
DO,左侧出料下托架电机后退,LeftShelf_Back,5,PRO_AOI_IP_1,0,左侧出料下托架电机后退,Y1-06,B6,,
DO,右侧出料下托架电机前进,RightShelf_Forward,6,PRO_AOI_IP_1,0,右侧出料下托架电机前进,Y1-07,B7,,
DO,右侧出料下托架电机后退,RightShelf_Back,7,PRO_AOI_IP_1,0,右侧出料下托架电机后退,Y1-08,B8,,
DO,左侧门锁气缸,LeftDoor_Close,8,PRO_AOI_IP_1,0,左侧门锁气缸,Y2-01,B10,,
DO,右侧门锁气缸,RightDoor_Close,9,PRO_AOI_IP_1,0,右侧门锁气缸,Y2-02,B11,,
DO,伺服运转ON,Run_Signal,10,PRO_AOI_IP_1,0,伺服运转ON,Y2-03,B12,,
DO,Z轴伺服刹车ON,Axis_Brake,11,PRO_AOI_IP_1,0,Z轴伺服刹车ON,Y2-04,B13,,
DO,温湿度喷气电磁阀,StartOrStopBlow,12,PRO_AOI_IP_1,0,温湿度喷气电磁阀,Y2-05,B14,,
DO,运行指示灯,AutoRun_HddLed,0,PRO_AOI_IP_1,0,运行指示灯,Y1-01,B1,,
DO,故障指示灯,Alarm_HddLed,1,PRO_AOI_IP_1,0,故障指示灯,Y1-02,B2,,
DO,待机指示灯,RunSign_HddLed,2,PRO_AOI_IP_1,0,待机指示灯,Y1-03,B3,,
DO,蜂鸣器,Alarm_Buzzer,3,PRO_AOI_IP_1,0,蜂鸣器,Y1-04,B4,,
DO,左侧出料下托架电机前进,LeftShelf_Forward,4,PRO_AOI_IP_1,0,左侧出料下托架电机前进,Y1-05,B5,,
DO,左侧出料下托架电机后退,LeftShelf_Back,5,PRO_AOI_IP_1,0,左侧出料下托架电机后退,Y1-06,B6,,
DO,右侧出料下托架电机前进,RightShelf_Forward,6,PRO_AOI_IP_1,0,右侧出料下托架电机前进,Y1-07,B7,,
DO,右侧出料下托架电机后退,RightShelf_Back,7,PRO_AOI_IP_1,0,右侧出料下托架电机后退,Y1-08,B8,,
DO,左侧门锁气缸,LeftDoor_Close,8,PRO_AOI_IP_1,0,左侧门锁气缸,Y2-01,B10,,
DO,右侧门锁气缸,RightDoor_Close,9,PRO_AOI_IP_1,0,右侧门锁气缸,Y2-02,B11,,
DO,伺服运转ON,Run_Signal,10,PRO_AOI_IP_1,0,伺服运转ON,Y2-03,B12,,
DO,Z轴伺服刹车ON,Axis_Brake,11,PRO_AOI_IP_1,0,Z轴伺服刹车ON,Y2-04,B13,,
DO,温湿度喷气电磁阀,StartOrStopBlow,12,PRO_AOI_IP_1,0,温湿度喷气电磁阀,Y2-05,B14,,
,,,13,PRO_AOI_IP_1,0,,Y2-06,B15,,
,,,14,PRO_AOI_IP_1,0,,Y2-07,B16,,
,,,15,PRO_AOI_IP_1,0,,Y2-08,B17,,
AXIS,(X轴-前后轴) ,Middle_Axis,1,COM1,0,,,,,
AXIS,(Y轴-进出轴),InOut_Axis,3,COM1,0,,,,,
AXIS,(Z轴-升降轴),UpDown_Axis,2,COM1,0,,,,,
AXIS,(X轴-前后轴) ,Middle_Axis,1,COM2,0,,,,,
AXIS,(Y轴-进出轴),InOut_Axis,3,COM2,0,,,,,
AXIS,(Z轴-升降轴),UpDown_Axis,2,COM2,0,,,,,
,,,,,,,,,,
PRO,升降轴 进料口取料点 P1,UpDownAxis_DoorO_P1,301400,,,,,,,
PRO,升降轴 进料口出料前点 P2,UpDownAxis_DoorI_P2,321500,,,,,,,
PRO,升降轴 进料口取料缓冲点 P7,UpDownAxis_DoorOB_P7,321500,,,,,,,
PRO,升降轴 进料口出料缓冲点 P8,UpDownAxis_DoorIB_P8,301400,,,,,,,
PRO,(X轴-前后轴)P1 待机原位点,MiddleAxis_P1_Position,325000,,,,,,,
PRO,(X轴-前后轴)安全位置点,MiddleAxis_Safe_Position,325000,,,,,,,
PRO,( Y轴-进出轴)P1待机原位点,InOutAxis_P1_Position,500,,,,,,,
PRO,( Y轴-进出轴)P1左侧托架取料点P2,InOutAxis_P2_Position,7900,,,,,,,
PRO,( Y轴-进出轴)P1右侧托架取料点P3,InOutAxis_P3_Position,-7900,,,,,,,
PRO,是否有左右侧门,IsHasDoorLimit,1,,,,,,,
PRO,气压检测IO关闭需要持续的时间,AirCheckSeconds,3,,,,,,,
PRO,升降轴 进料口取料点 P1,UpDownAxis_DoorO_P1,55468,,,,,,,,,,,,,,,,,,,,
PRO,升降轴 进料口出料前点 P2,UpDownAxis_DoorI_P2,91242,,,,,,,,,,,,,,,,,,,,
PRO,升降轴 进料口取料缓冲点 P7,UpDownAxis_DoorOB_P7,91242,,,,,,,,,,,,,,,,,,,,
PRO,升降轴 进料口出料缓冲点 P8,UpDownAxis_DoorIB_P8,55468,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴)P1 待机原位点,MiddleAxis_P1_Position,19967,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)P1待机原位点,InOutAxis_P1_Position,-2000,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴)安全位置点,MiddleAxis_Safe_Position,399233,,,,,,,,
PRO,( Y轴-进出轴)P1左侧托架取料点P2,InOutAxis_P2_Position,166165,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)P1右侧托架取料点P3,InOutAxis_P3_Position,-170600,,,,,,, ,,,,,,,,,,,,,
PRO,是否有左右侧门,IsHasDoorLimit,1,,,,,,, ,,,,,,,,,,,,,
PRO,气压检测IO关闭需要持续的时间,AirCheckSeconds,3,,,,,,, ,,,,,,,,,,,,,
,,,,,,,,,,
PRO,预警温度,WarnTemperate,80,,,,,,,
PRO,预警湿度,WarnHumidity,80,,,,,,,
PRO,(X轴-前后轴) 目标速度,MiddleAxis_TargetSpeed,250,,,,,,,
PRO,(X轴-前后轴) 加速度,MiddleAxis_AddSpeed,1000,,,,,,,
PRO,(X轴-前后轴) 减速度,MiddleAxis_DelSpeed,1000,,,,,,,
PRO,(X轴-前后轴) 原点低速度,MiddleAxis_HomeLowSpeed,80,,,,,,,
PRO,(X轴-前后轴) 原点高速,MiddleAxis_HomeHighSpeed,60,,,,,,,
PRO,(X轴-前后轴) 原点加速度,MiddleAxis_HomeAddSpeed,50,,,,,,,
PRO,(Z轴-升降轴)目标速度,UpdownAxis_TargetSpeed,150,,,,,,,
PRO,(Z轴-升降轴)加速度,UpdownAxis_AddSpeed,400,,,,,,,
PRO,(Z轴-升降轴)减速度,UpdownAxis_DelSpeed,400,,,,,,,
PRO,(Z轴-升降轴)原点低速度,UpdownAxis_HomeLowSpeed,100,,,,,,,
PRO,(Z轴-升降轴)原点高速,UpdownAxis_HomeHighSpeed,200,,,,,,,
PRO,(Z轴-升降轴)原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,,,
PRO,( Y轴-进出轴)目标速度,InoutAxis_TargetSpeed,100,,,,,,,
PRO,( Y轴-进出轴)加速度,InoutAxis_AddSpeed,300,,,,,,,
PRO,( Y轴-进出轴)减速度,InoutAxis_DelSpeed,300,,,,,,,
PRO,( Y轴-进出轴)原点低速,InoutAxis_HomeLowSpeed,20,,,,,,,
PRO,( Y轴-进出轴)原点高速,InoutAxis_HomeHighSpeed,60,,,,,,,
PRO,( Y轴-进出轴)原点加速度,InoutAxis_HomeAddSpeed,200,,,,,,,
PRO,预警温度,WarnTemperate,80,,,,,,,,,,,,,,,,,,,,
PRO,预警湿度,WarnHumidity,80,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 目标速度,MiddleAxis_TargetSpeed,500,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 加速度,MiddleAxis_AddSpeed,5000,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 减速度,MiddleAxis_DelSpeed,5000,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 原点低速度,MiddleAxis_HomeLowSpeed,80,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 原点高速,MiddleAxis_HomeHighSpeed,60,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 原点加速度,MiddleAxis_HomeAddSpeed,50,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)目标速度,UpdownAxis_TargetSpeed,500,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)加速度,UpdownAxis_AddSpeed,4000,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)减速度,UpdownAxis_DelSpeed,4000,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)原点低速度,UpdownAxis_HomeLowSpeed,100,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)原点高速,UpdownAxis_HomeHighSpeed,200,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)目标速度,InoutAxis_TargetSpeed,200,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)加速度,InoutAxis_AddSpeed,5000,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)减速度,InoutAxis_DelSpeed,5000,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)原点低速,InoutAxis_HomeLowSpeed,20,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)原点高速,InoutAxis_HomeHighSpeed,60,,,,,,,,,,,,,,,,,,,,
PRO,( Y轴-进出轴)原点加速度,InoutAxis_HomeAddSpeed,200,,,,,,, ,,,,,,,,,,,,,
,,,,,,,,,,
PRO,(Z轴-升降轴)P1速度,UpDownAxis_P1_Speed,1000,,,,,,,
PRO,(Z轴-升降轴)P2速度,UpDownAxis_P2_Speed,600,,,,,,,
PRO,(Z轴-升降轴)P3速度,UpDownAxis_P3_Speed,1000,,,,,,,
PRO,(Z轴-升降轴)P4速度,UpDownAxis_P4_Speed,600,,,,,,,
PRO,(Z轴-升降轴)P5速度,UpDownAxis_P5_Speed,1000,,,,,,,
PRO,(Z轴-升降轴)P6速度,UpDownAxis_P6_Speed,600,,,,,,,
PRO,(Z轴-升降轴)P7速度,UpDownAxis_P7_Speed,600,,,,,, ,
PRO,(Z轴-升降轴)P8速度,UpDownAxis_P8_Speed,600,,,,,,,
PRO,(X轴-前后轴)P1速度,MiddleAxis_P1_Speed,500,,,,,,,
PRO,(X轴-前后轴)P2速度,MiddleAxis_P2_Speed,500,,,,,,,
PRO,(Y轴-进出轴)P1速度,InOutAxis_P1_Speed,600,,,,,,,
PRO,(Y轴-进出轴)P2速度,InOutAxis_P2_Speed,600,,,,,,,
PRO,(Y轴-进出轴)P3速度,InOutAxis_P3_Speed,600,,,,,,,
PRO,(Y轴-进出轴)P4速度,InOutAxis_P4_Speed,600,,,,,,,
PRO,(X轴-前后轴) 停止时可误差的脉冲数的最小值,MiddleAxis_ErrorCountMin,10,,,,,,,
PRO,(Z轴-升降轴)停止时可误差的脉冲数的最小值,UpdownAxis_ErrorCountMin,10,,,,,, ,
PRO,(Y轴-进出轴)停止时可误差的脉冲数的最小值,InoutAxis_ErrorCountMin,10,,,,,,,
PRO,(X轴-前后轴) 停止时可误差的脉冲数的最大值,MiddleAxis_ErrorCountMax,1000,,,,,,,
PRO,(Z轴-升降轴)停止时可误差的脉冲数的最大值,UpdownAxis_ErrorCountMax,1000,,,,,,,
PRO,(Y轴-进出轴)停止时可误差的脉冲数的最大值,InoutAxis_ErrorCountMax,1000,,,,,,,
PRO,出入库多少次,会自动重置前后轴,Box_ResetMCount,1000,,,,,,,
PRO,出入库多少次,会自动重置所有轴操作,Box_ResetACount,100,,,,,,,
PRO,IO信号超时时间(毫秒),IOSingle_TimerOut,10000,,,,,,,
PRO,是否使用料盘检测信号,IsUse_Tray_Check,0,,,,,, ,
PRO,(X轴-前后轴) 最小限位,MiddleAxis_PositionMin,0,,,,,,,
PRO,(Z轴-升降轴)最小限位,UpdownAxis_PositionMin,0,,,,,,,
PRO,(Y轴-进出轴)最小限位,InoutAxis_PositionMin,0,,,,,,,
PRO,(X轴-前后轴) 最大限位,MiddleAxis_PositionMax,0,,,,,,,
PRO,(Z轴-升降轴)最大限位,UpdownAxis_PositionMax,0,,,,,,,
PRO,(Y轴-进出轴)最大限位,InoutAxis_PositionMax,0,,,,,,,
PRO,需要吹气的温度(温度标准),Max_Temperature,0,,,,,,,
PRO,需要吹气的湿度(湿度标准),Max_Humidity,10,,,,,,,
PRO,每次吹气的时间(分钟),BlowAir_Time,10,,,,,,,
PRO,两次吹气间隔(分钟),BlowAir_Interval,10,,,,,,,
PRO,温湿度端口号(分号分隔),Humiture_Port,COM2;COM3;COM4,,,,,,,
PRO,(Z轴-升降轴)P1速度,UpDownAxis_P1_Speed,1800,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)P2速度,UpDownAxis_P2_Speed,1800,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)P3速度,UpDownAxis_P3_Speed,1800,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)P4速度,UpDownAxis_P4_Speed,500,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)P5速度,UpDownAxis_P5_Speed,1800,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)P6速度,UpDownAxis_P6_Speed,500,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)P7速度,UpDownAxis_P7_Speed,500,,,,,, ,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)P8速度,UpDownAxis_P8_Speed,500,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴)P1速度,MiddleAxis_P1_Speed,2000,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴)P2速度,MiddleAxis_P2_Speed,2000,,,,,,,,,,,,,,,,,,,,
PRO,(Y轴-进出轴)P1速度,InOutAxis_P1_Speed,500,,,,,,,,,,,,,,,,,,,,
PRO,(Y轴-进出轴)P2速度,InOutAxis_P2_Speed,500,,,,,,,,,,,,,,,,,,,,
PRO,(Y轴-进出轴)P3速度,InOutAxis_P3_Speed,500,,,,,,, ,,,,,,,,,,,,,
PRO,(Y轴-进出轴)P4速度,InOutAxis_P4_Speed,500,,,,,,, ,,,,,,,,,,,,,
PRO,(X轴-前后轴) 停止时可误差的脉冲数的最小值,MiddleAxis_ErrorCountMin,10,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)停止时可误差的脉冲数的最小值,UpdownAxis_ErrorCountMin,10,,,,,, ,,,,,,,,,,,,,,
PRO,(Y轴-进出轴)停止时可误差的脉冲数的最小值,InoutAxis_ErrorCountMin,10,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 停止时可误差的脉冲数的最大值,MiddleAxis_ErrorCountMax,1000,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)停止时可误差的脉冲数的最大值,UpdownAxis_ErrorCountMax,1000,,,,,,,,,,,,,,,,,,,,
PRO,(Y轴-进出轴)停止时可误差的脉冲数的最大值,InoutAxis_ErrorCountMax,1000,,,,,,,,,,,,,,,,,,,,
PRO,出入库多少次,会自动重置前后轴,Box_ResetMCount,1000,,,,,,,,,,,,,,,,,,,,
PRO,出入库多少次,会自动重置所有轴操作,Box_ResetACount,100,,,,,,,,,,,,,,,,,,,,
PRO,IO信号超时时间(毫秒),IOSingle_TimerOut,10000,,,,,,,,,,,,,,,,,,,,
PRO,是否使用料盘检测信号,IsUse_Tray_Check,0,,,,,, ,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 最小限位,MiddleAxis_PositionMin,0,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)最小限位,UpdownAxis_PositionMin,0,,,,,,,,,,,,,,,,,,,,
PRO,(Y轴-进出轴)最小限位,InoutAxis_PositionMin,0,,,,,,,,,,,,,,,,,,,,
PRO,(X轴-前后轴) 最大限位,MiddleAxis_PositionMax,0,,,,,,,,,,,,,,,,,,,,
PRO,(Z轴-升降轴)最大限位,UpdownAxis_PositionMax,0,,,,,,,,,,,,,,,,,,,,
PRO,(Y轴-进出轴)最大限位,InoutAxis_PositionMax,0,,,,,,,,,,,,,,,,,,,,
PRO,需要吹气的温度(温度标准),Max_Temperature,0,,,,,,,,,,,,,,,,,,,,
PRO,需要吹气的湿度(湿度标准),Max_Humidity,10,,,,,,,,,,,,,,,,,,,,
PRO,每次吹气的时间(分钟),BlowAir_Time,10,,,,,,,,,,,,,,,,,,,,
PRO,两次吹气间隔(分钟),BlowAir_Interval,0,,,,,,, ,,,,,,,,,,,,,
PRO,温湿度端口号(分号分隔),Humiture_Port,COM3;COM4;COM5,,,,,,,,,,,,,,,,,,,,
,,,,,,,,, ,
,,,,,,,,, ,
位置,优先级,高度,宽度,料仓ID,前后轴位置P2,升降轴库位出料前点P5,升降轴库位出料缓冲点P6,升降轴库位入料前点P3,升降轴库位入料缓冲点P4,进出轴库位取料点P4
AC1#1_1_1,1,8,7,1,325100,1600,8600,8600,1600,124500
AC1#1_1_2,2,8,7,1,325074,17555,24555,24555,17555,124500
AC1#1_1_3,3,8,7,1,325048,33991,40991,40991,33991,124500
AC1#1_1_4,4,8,7,1,325022,50967,57967,57967,50967,124500
AC1#1_1_5,5,8,7,1,324996,66526,73526,73526,66526,124500
AC1#1_1_6,6,8,7,1,324970,83181,90181,90181,83181,124500
AC1#1_1_7,7,8,7,1,324944,99432,106432,106432,99432,124500
AC1#1_1_8,8,8,7,1,324918,115296,122296,122296,115296,124500
AC1#1_1_9,9,8,7,1,324892,132584,139584,139584,132584,124500
AC1#1_1_10,10,8,7,1,324866,149033,156033,156033,149033,124500
AC1#1_1_11,11,8,7,1,324840,165316,172316,172316,165316,124500
AC1#1_1_12,12,8,7,1,324814,181769,188769,188769,181769,124500
AC1#1_1_13,13,8,7,1,323310,1002812,1009812,1009812,1002812,124500
AC1#1_1_14,14,8,7,1,323272,1019406,1026406,1026406,1019406,124500
AC1#1_1_15,15,8,7,1,323234,1035569,1042569,1042569,1035569,124500
AC1#1_1_16,16,8,7,1,323196,1052159,1059159,1059159,1052159,124500
AC1#1_1_17,17,8,7,1,323158,1068703,1075703,1075703,1068703,124500
AC1#1_1_18,18,8,7,1,323120,1085683,1092683,1092683,1085683,124500
AC1#1_1_19,19,8,7,1,323082,1101660,1108660,1108660,1101660,124500
AC1#1_1_20,20,8,7,1,323044,1118110,1125110,1125110,1118110,124500
AC1#1_1_21,21,8,7,1,323006,1134193,1141193,1141193,1134193,124500
AC1#1_1_22,22,8,7,1,322968,1150744,1157744,1157744,1150744,124500
位置,优先级,高度,宽度,料仓ID,前后轴位置P2,升降轴库位出料前点P5,升降轴库位出料缓冲点P6,升降轴库位入料前点P3,升降轴库位入料缓冲点P4,进出轴库位取料点P4
AC1#L1_1_1,132,340,380,1,399233,46242,83000,83000,46242,170000
AC1#L1_1_2,131,300,380,1,399233,493000,521000,521000,493000,170000
AC1#L1_1_3,130,300,380,1,399233,902700,930700,930700,902700,170000
AC1#L1_1_4,129,200,380,1,401883,1309600,1337600,1337600,1309600,170000
AC1#L1_1_5,128,200,380,1,401883,1611300,1639300,1639300,1611300,170000
AC1#L1_1_6,127,200,380,1,401883,1911492,1942400,1942400,1911492,170000
AC1#L2_1_1,126,340,380,1,679400,46242,83000,83000,46242,170000
AC1#L2_1_2,125,300,380,1,679400,493000,521000,521000,493000,170000
AC1#L2_1_3,124,300,380,1,679400,902700,930700,930700,902700,170000
AC1#L2_1_4,123,200,380,1,679400,1309600,1337600,1337600,1309600,170000
AC1#L2_1_5,122,200,380,1,682050,1611300,1639300,1639300,1611300,170000
AC1#L2_1_6,121,200,380,1,682050,1911492,1942400,1942400,1911492,170000
AC1#L3_1_1,120,340,380,1,961268,46242,83000,83000,46242,170000
AC1#L3_1_2,119,300,380,1,961268,493000,521000,521000,493000,170000
AC1#L3_1_3,118,300,380,1,961268,902700,930700,930700,902700,170000
AC1#L3_1_4,117,200,380,1,963901,1309600,1337600,1337600,1309600,170000
AC1#L3_1_5,116,200,380,1,963901,1611300,1639300,1639300,1611300,170000
AC1#L3_1_6,115,200,380,1,963901,1911492,1942400,1942400,1911492,170000
AC1#L4_1_1,114,340,380,1,1241618,46242,83000,83000,46242,170000
AC1#L4_1_2,113,300,380,1,1241618,493000,521000,521000,493000,170000
AC1#L4_1_3,112,300,380,1,1241618,902700,930700,930700,902700,170000
AC1#L4_1_4,111,200,380,1,1244251,1309600,1337600,1337600,1309600,170000
AC1#L4_1_5,110,200,380,1,1244251,1611300,1639300,1639300,1611300,170000
AC1#L4_1_6,109,200,380,1,1244251,1911492,1942400,1942400,1911492,170000
AC1#L5_1_1,108,340,380,1,1524218,46242,83000,83000,46242,170000
AC1#L5_1_2,107,300,380,1,1524218,493000,521000,521000,493000,170000
AC1#L5_1_3,106,300,380,1,1524218,902700,930700,930700,902700,170000
AC1#L5_1_4,105,200,380,1,1524868,1309600,1337600,1337600,1309600,170000
AC1#L5_1_5,104,200,380,1,1524868,1611300,1639300,1639300,1611300,170000
AC1#L5_1_6,103,200,380,1,1524868,1911492,1942400,1942400,1911492,170000
AC1#L6_1_1,102,340,380,1,1802551,46242,83000,83000,46242,170000
AC1#L6_1_2,101,300,380,1,1802551,493000,521000,521000,493000,170000
AC1#L6_1_3,100,300,380,1,1802551,902700,930700,930700,902700,170000
AC1#L6_1_4,99,200,380,1,1802551,1309600,1337600,1337600,1309600,170000
AC1#L6_1_5,98,200,380,1,1802551,1611300,1639300,1639300,1611300,170000
AC1#L6_1_6,97,200,380,1,1802551,1911492,1942400,1942400,1911492,170000
AC1#L7_1_1,96,340,380,1,2084984,46242,83000,83000,46242,170000
AC1#L7_1_2,95,300,380,1,2084984,493000,521000,521000,493000,170000
AC1#L7_1_3,94,300,380,1,2084984,902700,930700,930700,902700,170000
AC1#L7_1_4,93,200,380,1,2082718,1309600,1337600,1337600,1309600,170000
AC1#L7_1_5,92,200,380,1,2082718,1611300,1639300,1639300,1611300,170000
AC1#L7_1_6,91,200,380,1,2082718,1911492,1942400,1942400,1911492,170000
AC1#L8_1_1,90,340,380,1,2366984,46242,83000,83000,46242,170000
AC1#L8_1_2,89,300,380,1,2366984,493000,521000,521000,493000,170000
AC1#L8_1_3,88,300,380,1,2366984,902700,930700,930700,902700,170000
AC1#L8_1_4,87,200,380,1,2364384,1309600,1337600,1337600,1309600,170000
AC1#L8_1_5,86,200,380,1,2364384,1611300,1639300,1639300,1611300,170000
AC1#L8_1_6,85,200,380,1,2364384,1911492,1942400,1942400,1911492,170000
AC1#L9_1_1,84,340,380,1,2646135,46242,83000,83000,46242,170000
AC1#L9_1_2,83,300,380,1,2646135,493000,521000,521000,493000,170000
AC1#L9_1_3,82,300,380,1,2646135,902700,930700,930700,902700,170000
AC1#L9_1_4,81,200,380,1,2647218,1309600,1337600,1337600,1309600,170000
AC1#L9_1_5,80,200,380,1,2647218,1611300,1639300,1639300,1611300,170000
AC1#L9_1_6,79,200,380,1,2647218,1911492,1942400,1942400,1911492,170000
AC1#L10_1_1,78,340,380,1,2927418,46242,83000,83000,46242,170000
AC1#L10_1_2,77,300,380,1,2927418,493000,521000,521000,493000,170000
AC1#L10_1_3,76,300,380,1,2927418,902700,930700,930700,902700,170000
AC1#L10_1_4,75,200,380,1,2927418,1309600,1337600,1337600,1309600,170000
AC1#L10_1_5,74,200,380,1,2927418,1611300,1639300,1639300,1611300,170000
AC1#L10_1_6,73,200,380,1,2927418,1911492,1942400,1942400,1911492,170000
AC1#L11_1_1,72,340,380,1,3209818,46242,83000,83000,46242,170000
AC1#L11_1_2,71,300,380,1,3209818,493000,521000,521000,493000,170000
AC1#L11_1_3,70,300,380,1,3209818,902700,930700,930700,902700,170000
AC1#L11_1_4,69,200,380,1,3210435,1309600,1337600,1337600,1309600,170000
AC1#L11_1_5,68,200,380,1,3210435,1611300,1639300,1639300,1611300,170000
AC1#L11_1_6,67,200,380,1,3210435,1911492,1942400,1942400,1911492,170000
AC1#R1_1_1,66,340,380,1,401233,44242,81000,81000,44242,-170000
AC1#R1_1_2,65,300,380,1,401233,491000,519000,519000,491000,-170000
AC1#R1_1_3,64,300,380,1,401233,900700,928700,928700,900700,-170000
AC1#R1_1_4,63,200,380,1,403883,1307600,1335600,1335600,1307600,-170000
AC1#R1_1_5,62,200,380,1,403883,1609300,1637300,1637300,1609300,-170000
AC1#R1_1_6,61,200,380,1,403883,1909492,1940400,1940400,1909492,-170000
AC1#R2_1_1,60,340,380,1,681400,44242,81000,81000,44242,-170000
AC1#R2_1_2,59,300,380,1,681400,491000,519000,519000,491000,-170000
AC1#R2_1_3,58,300,380,1,681400,900700,928700,928700,900700,-170000
AC1#R2_1_4,57,200,380,1,681400,1307600,1335600,1335600,1307600,-170000
AC1#R2_1_5,56,200,380,1,684050,1609300,1637300,1637300,1609300,-170000
AC1#R2_1_6,55,200,380,1,684050,1909492,1940400,1940400,1909492,-170000
AC1#R3_1_1,54,340,380,1,963268,44242,81000,81000,44242,-170000
AC1#R3_1_2,53,300,380,1,963268,491000,519000,519000,491000,-170000
AC1#R3_1_3,52,300,380,1,963268,900700,928700,928700,900700,-170000
AC1#R3_1_4,51,200,380,1,965901,1307600,1335600,1335600,1307600,-170000
AC1#R3_1_5,50,200,380,1,965901,1609300,1637300,1637300,1609300,-170000
AC1#R3_1_6,49,200,380,1,965901,1909492,1940400,1940400,1909492,-170000
AC1#R4_1_1,48,340,380,1,1243618,44242,81000,81000,44242,-170000
AC1#R4_1_2,47,300,380,1,1243618,491000,519000,519000,491000,-170000
AC1#R4_1_3,46,300,380,1,1243618,900700,928700,928700,900700,-170000
AC1#R4_1_4,45,200,380,1,1246251,1307600,1335600,1335600,1307600,-170000
AC1#R4_1_5,44,200,380,1,1246251,1609300,1637300,1637300,1609300,-170000
AC1#R4_1_6,43,200,380,1,1246251,1909492,1940400,1940400,1909492,-170000
AC1#R5_1_1,42,340,380,1,1526218,44242,81000,81000,44242,-170000
AC1#R5_1_2,41,300,380,1,1526218,491000,519000,519000,491000,-170000
AC1#R5_1_3,40,300,380,1,1526218,900700,928700,928700,900700,-170000
AC1#R5_1_4,39,200,380,1,1526868,1307600,1335600,1335600,1307600,-170000
AC1#R5_1_5,38,200,380,1,1526868,1609300,1637300,1637300,1609300,-170000
AC1#R5_1_6,37,200,380,1,1526868,1909492,1940400,1940400,1909492,-170000
AC1#R6_1_1,36,340,380,1,1804551,44242,81000,81000,44242,-170000
AC1#R6_1_2,35,300,380,1,1804551,491000,519000,519000,491000,-170000
AC1#R6_1_3,34,300,380,1,1804551,900700,928700,928700,900700,-170000
AC1#R6_1_4,33,200,380,1,1804551,1307600,1335600,1335600,1307600,-170000
AC1#R6_1_5,32,200,380,1,1804551,1609300,1637300,1637300,1609300,-170000
AC1#R6_1_6,31,200,380,1,1804551,1909492,1940400,1940400,1909492,-170000
AC1#R7_1_1,30,340,380,1,2086984,44242,81000,81000,44242,-170000
AC1#R7_1_2,29,300,380,1,2086984,491000,519000,519000,491000,-170000
AC1#R7_1_3,28,300,380,1,2086984,900700,928700,928700,900700,-170000
AC1#R7_1_4,27,200,380,1,2084718,1307600,1335600,1335600,1307600,-170000
AC1#R7_1_5,26,200,380,1,2084718,1609300,1637300,1637300,1609300,-170000
AC1#R7_1_6,25,200,380,1,2084718,1909492,1940400,1940400,1909492,-170000
AC1#R8_1_1,24,340,380,1,2368984,44242,81000,81000,44242,-170000
AC1#R8_1_2,23,300,380,1,2368984,491000,519000,519000,491000,-170000
AC1#R8_1_3,22,300,380,1,2368984,900700,928700,928700,900700,-170000
AC1#R8_1_4,21,200,380,1,2366384,1307600,1335600,1335600,1307600,-170000
AC1#R8_1_5,20,200,380,1,2366384,1609300,1637300,1637300,1609300,-170000
AC1#R8_1_6,19,200,380,1,2366384,1909492,1940400,1940400,1909492,-170000
AC1#R9_1_1,18,340,380,1,2648135,44242,81000,81000,44242,-170000
AC1#R9_1_2,17,300,380,1,2648135,491000,519000,519000,491000,-170000
AC1#R9_1_3,16,300,380,1,2648135,900700,928700,928700,900700,-170000
AC1#R9_1_4,15,200,380,1,2649218,1307600,1335600,1335600,1307600,-170000
AC1#R9_1_5,14,200,380,1,2649218,1609300,1637300,1637300,1609300,-170000
AC1#R9_1_6,13,200,380,1,2649218,1909492,1940400,1940400,1909492,-170000
AC1#R10_1_1,12,340,380,1,2929418,44242,81000,81000,44242,-170000
AC1#R10_1_2,11,300,380,1,2929418,491000,519000,519000,491000,-170000
AC1#R10_1_3,10,300,380,1,2929418,900700,928700,928700,900700,-170000
AC1#R10_1_4,9,200,380,1,2929418,1307600,1335600,1335600,1307600,-170000
AC1#R10_1_5,8,200,380,1,2929418,1609300,1637300,1637300,1609300,-170000
AC1#R10_1_6,7,200,380,1,2929418,1909492,1940400,1940400,1909492,-170000
AC1#R11_1_1,6,340,380,1,3209818,44242,81000,81000,44242,-170000
AC1#R11_1_2,5,300,380,1,3209818,491000,519000,519000,491000,-170000
AC1#R11_1_3,4,300,380,1,3209818,900700,928700,928700,900700,-170000
AC1#R11_1_4,3,200,380,1,3210435,1307600,1335600,1335600,1307600,-170000
AC1#R11_1_5,2,200,380,1,3210435,1609300,1637300,1637300,1609300,-170000
AC1#R11_1_6,1,200,380,1,3210435,1910492,1940400,1940400,1910492,-170000
using OnlineStore.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OnlineStore.DeviceLibrary
{
public class PosDebug
{
static string filePath = $"{Application.StartupPath}//StoreConfig//pos_debug.json";
static object locker = new object();
/// <summary>
/// 左侧库位结果表
/// </summary>
public List<PosPos> LPos { get; set; }
/// <summary>
/// 右侧库位结果表
/// </summary>
public List<PosPos> RPos { get; set; }
public int Total { get; set; }
public int Ok { get; set; }
public void Start()
{
Total++;
ClearPosState();
}
public int GetRows()
{
return LPos.Select(s=>s.Row).Max();
}
public int GetCols()
{
return LPos.Select(s => s.Col).Max();
}
public bool Exist(string posId,out PosPos posPos)
{
posPos = null;
int idx = LPos.FindIndex(s => s.PosId.Equals(posId));
if (idx == -1)
{
idx = RPos.FindIndex(s => s.PosId.Equals(posId));
if (idx == -1)
return false;
else
{
posPos = RPos[idx];
}
}
else
{
posPos = LPos[idx];
}
return true;
}
/// <summary>
///
/// </summary>
/// <param name="posId"></param>
/// <param name="posPos"></param>
/// <param name="dir">0:左侧</param>
/// <returns></returns>
public bool Exist(string posId, out PosPos posPos,out int dir)
{
posPos = null;
dir = 0;
int idx = LPos.FindIndex(s => s.PosId.Equals(posId));
if (idx == -1)
{
idx = RPos.FindIndex(s => s.PosId.Equals(posId));
if (idx == -1)
return false;
else
{
posPos = RPos[idx];
dir = 1;
}
}
else
{
posPos = LPos[idx];
}
return true;
}
void SetPosState(string posId,StoreMoveType moveType)
{
int idx = LPos.FindIndex(s=>s.PosId.Equals(posId));
if(idx == -1)
{
idx= RPos.FindIndex(s=>s.PosId.Equals(posId));
if(idx != -1)
{
if (moveType.Equals(StoreMoveType.InStore))
{
RPos[idx].PosState.InStoreCheck = 1;
}
else if (moveType.Equals(StoreMoveType.OutStore))
{
RPos[idx].PosState.OutStoreCheck = 1;
}
}
}
else
{
if (moveType.Equals(StoreMoveType.InStore))
{
LPos[idx].PosState.InStoreCheck = 1;
}
else if (moveType.Equals(StoreMoveType.OutStore))
{
LPos[idx].PosState.OutStoreCheck = 1;
}
}
}
public void AddResult(string posId, StoreMoveType movetype, bool isLast)
{
if (Monitor.TryEnter(locker, 500))
{
try
{
if (isLast)
Ok++;
SetPosState(posId, movetype);
File.WriteAllText(filePath, JsonHelper.SerializeObject(this));
}
finally
{
Monitor.Exit(locker);
}
}
}
private void ClearPosState()
{
foreach (var item in LPos)
{
item.PosState.InStoreCheck = 0;
item.PosState.OutStoreCheck = 0;
}
foreach (var item in RPos)
{
item.PosState.InStoreCheck = 0;
item.PosState.OutStoreCheck = 0;
}
}
public static PosDebug Init(List<string> posNumList)
{
PosDebug posDebug;
if (File.Exists(filePath))
{
string txt = File.ReadAllText(filePath);
posDebug = JsonHelper.DeserializeJsonToObject<PosDebug>(txt);
if (posDebug != null)
return posDebug;
}
posDebug = new PosDebug();
posDebug.LPos = new List<PosPos>();
posDebug.RPos = new List<PosPos>();
for (int i = 0; i < posNumList.Count; i++)
{
//AC1#R1_1_11
//AC1#L1_1_11
string pos = posNumList[i];
string[] dir = pos.Split('#');
if (dir[1].StartsWith("L"))
{
posDebug.LPos.Add(new PosPos { PosId = pos, Index = i });
}
else
{
posDebug.RPos.Add(new PosPos { PosId = pos, Index = i });
}
}
return posDebug;
}
}
//AC1#L1_1_11
public class PosPos
{
/// <summary>
/// 库位ID
/// </summary>
public string PosId { get; set; }
/// <summary>
/// 库位名
/// </summary>
public string PosName { get { return PosId.Split('#')[1]; } }
/// <summary>
/// 所在库位列表的索引
/// </summary>
public int Index { get; set; }
/// <summary>
/// 库位所在层
/// </summary>
public int Row { get { return int.Parse(PosId.Split('#')[1].Split('_')[2]); } }
/// <summary>
/// 库位所在列
/// </summary>
public int Col { get { return int.Parse(PosId.Split('#')[1].Split('_')[0].Substring(1)); } }
public PosState PosState { get; set; } = new PosState();
}
/// <summary>
/// 库位状态
/// </summary>
public class PosState
{
public int InStoreCheck = 0;
public int OutStoreCheck = 0;
}
}
......@@ -95,6 +95,7 @@ namespace OnlineStore.DeviceLibrary
IOManager.IOMove(IO_Type.Alarm_HddLed, IO_VALUE.LOW);
IOManager.IOMove(IO_Type.AutoRun_HddLed, IO_VALUE.LOW);
IOManager.IOMove(IO_Type.RunSign_HddLed, IO_VALUE.LOW);
posDebug = PosDebug.Init(PositionNumList);
}
private void IoCheckTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
......
......@@ -478,7 +478,7 @@ namespace OnlineStore.DeviceLibrary
storeRunStatus = StoreRunStatus.Runing;
//设备连接,入库后,BOX恢复原始状态
storeStatus = StoreStatus.StoreOnline;
InOutEndProcess(StoreMoveType.InStore);
InOutEndProcess(StoreMoveType.InStore, posId);
}
else
{
......@@ -736,7 +736,7 @@ namespace OnlineStore.DeviceLibrary
LogUtil.info(LOGGER, StoreName + " 【" + posId + "】 整个出库流程结束,耗时【" + FormUtil.GetSpanStr(span) + "】!", storeMoveColor);
StoreMove.EndMove();
storeRunStatus = StoreRunStatus.Runing;
InOutEndProcess(StoreMoveType.OutStore);
InOutEndProcess(StoreMoveType.OutStore,posId);
}
else
{
......@@ -758,7 +758,7 @@ namespace OnlineStore.DeviceLibrary
}
}
private string autoInoutCode = "AUTOINOUT";
private void InOutEndProcess(StoreMoveType storeMoveType)
private void InOutEndProcess(StoreMoveType storeMoveType,string posId)
{
try
{
......@@ -772,7 +772,7 @@ namespace OnlineStore.DeviceLibrary
if (storeMoveType.Equals(StoreMoveType.InStore))
{
int newIndex = autoPositionIndex;
if (newIndex < 0)
if (newIndex >= PositionNumList.Count)
{
if (AutoStartIndex >= 0 && AutoStartIndex < PositionNumList.Count)
{
......@@ -788,6 +788,7 @@ namespace OnlineStore.DeviceLibrary
}
else
{
InOutEnd(posId, storeMoveType, false);
autoPositionIndex = newIndex;
string posid = PositionNumList[autoPositionIndex];
InOutPosInfo inoutinfo = new InOutPosInfo(autoInoutCode, posid);
......@@ -817,12 +818,13 @@ namespace OnlineStore.DeviceLibrary
}
else if (storeMoveType.Equals(StoreMoveType.OutStore))
{
int newIndex = autoPositionIndex - autoJiange;
if (newIndex < 0)
int newIndex = autoPositionIndex + autoJiange;
if (newIndex >= PositionNumList.Count)
{
if (AutoStartIndex >= 0 && AutoStartIndex < PositionNumList.Count)
{
newIndex = AutoStartIndex;
InOutEnd(posId, storeMoveType, true);
LogUtil.info(LOGGER, StoreName + "下一个索引不存在,重新开始自动出入库,索引【" + AutoStartIndex + "】");
}
else
......@@ -834,26 +836,27 @@ namespace OnlineStore.DeviceLibrary
}
else
{
InOutEnd(posId, storeMoveType, false);
autoPositionIndex = newIndex;
string posid = PositionNumList[newIndex];
InOutPosInfo inoutinfo = new InOutPosInfo(autoInoutCode, posid);
inoutinfo.ShelfType = autoShelfType;
//判断是否需要重置
if (CurrInOutACount >= Config.Box_ResetACount)
{
LogUtil.info(LOGGER, StoreName + "自动进入下一个入库:posid=" + posid + ",当时已经出入库" + CurrInOutACount + "次,需要重置BOX,先把入库信息存入排队列表中");
Reset(false);
autoMsg = "自动入库:" + posid;
AddWaitOutInfo(inoutinfo);
}
else if (CurrInOutCount >= Config.Box_ResetMCount)
{
LogUtil.info(LOGGER, StoreName + "自动进入下一个出库:posid=" + posid + ",当时已经出入库" + CurrInOutCount + "次,需要重置BOX前后轴,先把出库信息存入排队列表中");
//ResetMiddleAxis(false);
autoMsg = "自动入库:" + posid;
AddWaitOutInfo(inoutinfo);
}
else
//if (CurrInOutACount >= Config.Box_ResetACount)
//{
// LogUtil.info(LOGGER, StoreName + "自动进入下一个入库:posid=" + posid + ",当时已经出入库" + CurrInOutACount + "次,需要重置BOX,先把入库信息存入排队列表中");
// Reset(false);
// autoMsg = "自动入库:" + posid;
// AddWaitOutInfo(inoutinfo);
//}
//else if (CurrInOutCount >= Config.Box_ResetMCount)
//{
// LogUtil.info(LOGGER, StoreName + "自动进入下一个出库:posid=" + posid + ",当时已经出入库" + CurrInOutCount + "次,需要重置BOX前后轴,先把出库信息存入排队列表中");
// //ResetMiddleAxis(false);
// autoMsg = "自动入库:" + posid;
// AddWaitOutInfo(inoutinfo);
//}
//else
{
LogUtil.info(LOGGER, StoreName + "自动进入下一个入库:posid=" + posid);
autoMsg = "自动入库:" + posid;
......@@ -867,7 +870,16 @@ namespace OnlineStore.DeviceLibrary
LogUtil.error(LOGGER, ex.ToString());
}
}
#region 库位调试
public delegate void InOutEndEventHandler(string posId, StoreMoveType movetype,bool isLast);
public event InOutEndEventHandler InOutEndEvent;
public PosDebug posDebug;
private void InOutEnd(string posId, StoreMoveType movetype, bool isLast)
{
posDebug.AddResult(posId, movetype, isLast);
InOutEndEvent?.Invoke(posId, movetype, isLast);
}
#endregion
private void InStoreLog(string msg)
{
string posId = StoreMove.MoveParam != null ? StoreMove.MoveParam.PosInfo.PosId : "";
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!