diff --git a/CleanMachineHMI/CleanMachineHMI.csproj b/CleanMachineHMI/CleanMachineHMI.csproj
index 7711319..067b8b6 100644
--- a/CleanMachineHMI/CleanMachineHMI.csproj
+++ b/CleanMachineHMI/CleanMachineHMI.csproj
@@ -54,7 +54,7 @@
UserControl
-
+
UserControl
diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs b/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
index 65b3272..eacd73d 100644
--- a/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
+++ b/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
@@ -29,12 +29,18 @@ namespace CleanMachineHMI.FrmUserControl
///
private void InitializeComponent()
{
+ this.components = new System.ComponentModel.Container();
this.kryptonGroupBox8 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonButton7 = new Krypton.Toolkit.KryptonButton();
this.label9_SE = new System.Windows.Forms.Label();
this.kbtn_forceFinish = new Krypton.Toolkit.KryptonButton();
this.label4_SD = new System.Windows.Forms.Label();
this.kryptonButton6 = new Krypton.Toolkit.KryptonButton();
+ this.kryptonContextMenu1 = new Krypton.Toolkit.KryptonContextMenu();
+ this.kryptonContextMenuHeading1 = new Krypton.Toolkit.KryptonContextMenuHeading();
+ this.kryptonContextMenuItems1 = new Krypton.Toolkit.KryptonContextMenuItems();
+ this.kryptonContextMenuItem1 = new Krypton.Toolkit.KryptonContextMenuItem();
+ this.kryptonContextMenuItem2 = new Krypton.Toolkit.KryptonContextMenuItem();
this.kryptonGroupBox9 = new Krypton.Toolkit.KryptonGroupBox();
this.label6_SB = new System.Windows.Forms.Label();
this.label3_SA = new System.Windows.Forms.Label();
@@ -44,7 +50,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonButton3 = new Krypton.Toolkit.KryptonButton();
this.knud_WorkedFullPalletNum = new Krypton.Toolkit.KryptonTextBox();
this.kryptonGroupBox7 = new Krypton.Toolkit.KryptonGroupBox();
- this.labelNextFullStop = new System.Windows.Forms.Label();
+ this.circleButton1 = new CleanMachineHMI.CircleButton();
this.kryptonLabel12 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel11 = new Krypton.Toolkit.KryptonLabel();
this.cbt_fpalletmod = new CleanMachineHMI.CircleButton();
@@ -78,6 +84,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kbtn_Scrap = new Krypton.Toolkit.KryptonButton();
this.ktb_Scrap = new Krypton.Toolkit.KryptonTextBox();
this.kdtp_RecordDate = new Krypton.Toolkit.KryptonDateTimePicker();
+ this.label8 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.kryptonButton8 = new Krypton.Toolkit.KryptonButton();
this.ktb_CurrPalletCode = new Krypton.Toolkit.KryptonTextBox();
@@ -90,7 +97,6 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_ScrapNum = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel14 = new Krypton.Toolkit.KryptonLabel();
this.ktb_CompleteNum = new Krypton.Toolkit.KryptonTextBox();
- this.buttonSpecAny1 = new Krypton.Toolkit.ButtonSpecAny();
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.label7 = new System.Windows.Forms.Label();
@@ -186,6 +192,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel7 = new Krypton.Toolkit.KryptonPanel();
this.kryptonWrapLabel4 = new Krypton.Toolkit.KryptonWrapLabel();
this.panMenu = new Krypton.Toolkit.KryptonPanel();
+ this.kryptonButton9 = new Krypton.Toolkit.KryptonButton();
this.btnShiftCount = new Krypton.Toolkit.KryptonButton();
this.btnParamater = new Krypton.Toolkit.KryptonButton();
this.btnLogin = new Krypton.Toolkit.KryptonButton();
@@ -196,6 +203,7 @@ namespace CleanMachineHMI.FrmUserControl
this.btnPLCConfig = new Krypton.Toolkit.KryptonButton();
this.btnIO = new Krypton.Toolkit.KryptonButton();
this.btnManual = new Krypton.Toolkit.KryptonButton();
+ this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8.Panel)).BeginInit();
this.kryptonGroupBox8.Panel.SuspendLayout();
@@ -280,7 +288,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox8.CaptionOverlap = 0D;
this.kryptonGroupBox8.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox8.Location = new System.Drawing.Point(459, 3);
+ this.kryptonGroupBox8.Location = new System.Drawing.Point(453, 3);
this.kryptonGroupBox8.Name = "kryptonGroupBox8";
//
// kryptonGroupBox8.Panel
@@ -290,16 +298,16 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox8.Panel.Controls.Add(this.kbtn_forceFinish);
this.kryptonGroupBox8.Panel.Controls.Add(this.label4_SD);
this.kryptonGroupBox8.Panel.Controls.Add(this.kryptonButton6);
- this.kryptonGroupBox8.Size = new System.Drawing.Size(189, 401);
+ this.kryptonGroupBox8.Size = new System.Drawing.Size(194, 344);
this.kryptonGroupBox8.TabIndex = 8;
this.kryptonGroupBox8.Values.Heading = "";
//
// kryptonButton7
//
this.kryptonButton7.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.kryptonButton7.Location = new System.Drawing.Point(32, 268);
+ this.kryptonButton7.Location = new System.Drawing.Point(18, 275);
this.kryptonButton7.Name = "kryptonButton7";
- this.kryptonButton7.Size = new System.Drawing.Size(135, 52);
+ this.kryptonButton7.Size = new System.Drawing.Size(154, 54);
this.kryptonButton7.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton7.TabIndex = 49;
this.kryptonButton7.Values.Text = "Finished Print";
@@ -311,7 +319,7 @@ namespace CleanMachineHMI.FrmUserControl
this.label9_SE.BackColor = System.Drawing.Color.Transparent;
this.label9_SE.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9_SE.ForeColor = System.Drawing.Color.Black;
- this.label9_SE.Location = new System.Drawing.Point(29, 150);
+ this.label9_SE.Location = new System.Drawing.Point(36, 180);
this.label9_SE.Name = "label9_SE";
this.label9_SE.Size = new System.Drawing.Size(118, 21);
this.label9_SE.TabIndex = 48;
@@ -320,9 +328,9 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_forceFinish
//
this.kbtn_forceFinish.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.kbtn_forceFinish.Location = new System.Drawing.Point(32, 189);
+ this.kbtn_forceFinish.Location = new System.Drawing.Point(18, 204);
this.kbtn_forceFinish.Name = "kbtn_forceFinish";
- this.kbtn_forceFinish.Size = new System.Drawing.Size(135, 52);
+ this.kbtn_forceFinish.Size = new System.Drawing.Size(154, 54);
this.kbtn_forceFinish.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kbtn_forceFinish.TabIndex = 2;
this.kbtn_forceFinish.Values.Text = "End of IR job";
@@ -343,21 +351,45 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton6
//
this.kryptonButton6.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.kryptonButton6.Location = new System.Drawing.Point(32, 48);
+ this.kryptonButton6.Location = new System.Drawing.Point(18, 47);
this.kryptonButton6.Name = "kryptonButton6";
- this.kryptonButton6.Size = new System.Drawing.Size(135, 52);
+ this.kryptonButton6.Size = new System.Drawing.Size(154, 54);
this.kryptonButton6.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton6.TabIndex = 6;
this.kryptonButton6.Values.Text = "Conveyor On";
this.kryptonButton6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.kryptonButton6_MouseDown_1);
this.kryptonButton6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.kryptonButton6_MouseUp_1);
//
+ // kryptonContextMenu1
+ //
+ this.kryptonContextMenu1.Items.AddRange(new Krypton.Toolkit.KryptonContextMenuItemBase[] {
+ this.kryptonContextMenuHeading1,
+ this.kryptonContextMenuItems1});
+ //
+ // kryptonContextMenuHeading1
+ //
+ this.kryptonContextMenuHeading1.ExtraText = "";
+ //
+ // kryptonContextMenuItems1
+ //
+ this.kryptonContextMenuItems1.Items.AddRange(new Krypton.Toolkit.KryptonContextMenuItemBase[] {
+ this.kryptonContextMenuItem1,
+ this.kryptonContextMenuItem2});
+ //
+ // kryptonContextMenuItem1
+ //
+ this.kryptonContextMenuItem1.Text = "Report1";
+ //
+ // kryptonContextMenuItem2
+ //
+ this.kryptonContextMenuItem2.Text = "Reoprt2";
+ //
// kryptonGroupBox9
//
this.kryptonGroupBox9.CaptionOverlap = 0D;
this.kryptonGroupBox9.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox9.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox9.Location = new System.Drawing.Point(259, 3);
+ this.kryptonGroupBox9.Location = new System.Drawing.Point(253, 3);
this.kryptonGroupBox9.Name = "kryptonGroupBox9";
//
// kryptonGroupBox9.Panel
@@ -368,7 +400,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox9.Panel.Controls.Add(this.kryptonButton4);
this.kryptonGroupBox9.Panel.Controls.Add(this.kryptonButton2);
this.kryptonGroupBox9.Panel.Controls.Add(this.kryptonButton3);
- this.kryptonGroupBox9.Size = new System.Drawing.Size(194, 401);
+ this.kryptonGroupBox9.Size = new System.Drawing.Size(194, 344);
this.kryptonGroupBox9.TabIndex = 7;
this.kryptonGroupBox9.Values.Heading = "";
//
@@ -378,7 +410,7 @@ namespace CleanMachineHMI.FrmUserControl
this.label6_SB.BackColor = System.Drawing.Color.Transparent;
this.label6_SB.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6_SB.ForeColor = System.Drawing.Color.Black;
- this.label6_SB.Location = new System.Drawing.Point(43, 153);
+ this.label6_SB.Location = new System.Drawing.Point(43, 180);
this.label6_SB.Name = "label6_SB";
this.label6_SB.Size = new System.Drawing.Size(118, 21);
this.label6_SB.TabIndex = 47;
@@ -399,10 +431,10 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton5
//
this.kryptonButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton5.Location = new System.Drawing.Point(14, 265);
+ this.kryptonButton5.Location = new System.Drawing.Point(25, 275);
this.kryptonButton5.Name = "kryptonButton5";
this.kryptonButton5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.kryptonButton5.Size = new System.Drawing.Size(154, 47);
+ this.kryptonButton5.Size = new System.Drawing.Size(154, 54);
this.kryptonButton5.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton5.TabIndex = 5;
this.kryptonButton5.Values.Image = global::CleanMachineHMI.Properties.Resources.下降;
@@ -413,10 +445,10 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton4
//
this.kryptonButton4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton4.Location = new System.Drawing.Point(14, 194);
+ this.kryptonButton4.Location = new System.Drawing.Point(25, 204);
this.kryptonButton4.Name = "kryptonButton4";
this.kryptonButton4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.kryptonButton4.Size = new System.Drawing.Size(154, 47);
+ this.kryptonButton4.Size = new System.Drawing.Size(154, 54);
this.kryptonButton4.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton4.TabIndex = 4;
this.kryptonButton4.Values.Image = global::CleanMachineHMI.Properties.Resources.上升;
@@ -427,9 +459,9 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton2
//
this.kryptonButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton2.Location = new System.Drawing.Point(14, 99);
+ this.kryptonButton2.Location = new System.Drawing.Point(25, 117);
this.kryptonButton2.Name = "kryptonButton2";
- this.kryptonButton2.Size = new System.Drawing.Size(154, 35);
+ this.kryptonButton2.Size = new System.Drawing.Size(154, 54);
this.kryptonButton2.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton2.TabIndex = 3;
this.kryptonButton2.Values.Text = "Reverse On";
@@ -439,9 +471,9 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton3
//
this.kryptonButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton3.Location = new System.Drawing.Point(14, 47);
+ this.kryptonButton3.Location = new System.Drawing.Point(25, 47);
this.kryptonButton3.Name = "kryptonButton3";
- this.kryptonButton3.Size = new System.Drawing.Size(154, 35);
+ this.kryptonButton3.Size = new System.Drawing.Size(154, 54);
this.kryptonButton3.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton3.TabIndex = 3;
this.kryptonButton3.Values.Text = "Conveyor On";
@@ -450,7 +482,7 @@ namespace CleanMachineHMI.FrmUserControl
//
// knud_WorkedFullPalletNum
//
- this.knud_WorkedFullPalletNum.Location = new System.Drawing.Point(91, 301);
+ this.knud_WorkedFullPalletNum.Location = new System.Drawing.Point(16, 245);
this.knud_WorkedFullPalletNum.Name = "knud_WorkedFullPalletNum";
this.knud_WorkedFullPalletNum.Size = new System.Drawing.Size(54, 30);
this.knud_WorkedFullPalletNum.StateCommon.Content.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -468,7 +500,6 @@ namespace CleanMachineHMI.FrmUserControl
//
// kryptonGroupBox7.Panel
//
- this.kryptonGroupBox7.Panel.Controls.Add(this.labelNextFullStop);
this.kryptonGroupBox7.Panel.Controls.Add(this.kryptonLabel12);
this.kryptonGroupBox7.Panel.Controls.Add(this.kryptonLabel11);
this.kryptonGroupBox7.Panel.Controls.Add(this.cbt_fpalletmod);
@@ -493,23 +524,24 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox7.Panel.Controls.Add(this.kryptonLabel9);
this.kryptonGroupBox7.Panel.Controls.Add(this.swtbtn_brush2);
this.kryptonGroupBox7.Panel.Controls.Add(this.cbt_Brush2StatusTran);
- this.kryptonGroupBox7.Size = new System.Drawing.Size(250, 401);
+ this.kryptonGroupBox7.Size = new System.Drawing.Size(244, 344);
this.kryptonGroupBox7.TabIndex = 5;
this.kryptonGroupBox7.Values.Heading = "";
//
- // labelNextFullStop
+ // circleButton1
//
- this.labelNextFullStop.AutoSize = true;
- this.labelNextFullStop.BackColor = System.Drawing.Color.Transparent;
- this.labelNextFullStop.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labelNextFullStop.ForeColor = System.Drawing.Color.Red;
- this.labelNextFullStop.Location = new System.Drawing.Point(17, 104);
- this.labelNextFullStop.Name = "labelNextFullStop";
- this.labelNextFullStop.Size = new System.Drawing.Size(203, 16);
- this.labelNextFullStop.TabIndex = 52;
- this.labelNextFullStop.Text = "下次满料将停止,点击取消";
- this.labelNextFullStop.Visible = false;
- this.labelNextFullStop.Click += new System.EventHandler(this.labelNextFullStop_Click);
+ this.circleButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
+ this.circleButton1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.circleButton1.ForeColor = System.Drawing.Color.White;
+ this.circleButton1.Location = new System.Drawing.Point(37, 125);
+ this.circleButton1.Name = "circleButton1";
+ this.circleButton1.Size = new System.Drawing.Size(60, 60);
+ this.circleButton1.TabIndex = 53;
+ this.circleButton1.Text = "Auto Stop";
+ this.circleButton1.UseVisualStyleBackColor = false;
+ this.circleButton1.Visible = false;
+ this.circleButton1.Click += new System.EventHandler(this.circleButton1_Click);
+ this.circleButton1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.circleButton1_KeyUp);
//
// kryptonLabel12
//
@@ -660,7 +692,7 @@ namespace CleanMachineHMI.FrmUserControl
this.cbt_ResetSys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(153)))), ((int)(((byte)(0)))));
this.cbt_ResetSys.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbt_ResetSys.ForeColor = System.Drawing.Color.White;
- this.cbt_ResetSys.Location = new System.Drawing.Point(173, 41);
+ this.cbt_ResetSys.Location = new System.Drawing.Point(162, 41);
this.cbt_ResetSys.Name = "cbt_ResetSys";
this.cbt_ResetSys.Size = new System.Drawing.Size(60, 60);
this.cbt_ResetSys.TabIndex = 5;
@@ -682,7 +714,7 @@ namespace CleanMachineHMI.FrmUserControl
this.cbt_StopTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.cbt_StopTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbt_StopTran.ForeColor = System.Drawing.Color.White;
- this.cbt_StopTran.Location = new System.Drawing.Point(98, 41);
+ this.cbt_StopTran.Location = new System.Drawing.Point(96, 41);
this.cbt_StopTran.Name = "cbt_StopTran";
this.cbt_StopTran.Size = new System.Drawing.Size(60, 60);
this.cbt_StopTran.TabIndex = 5;
@@ -714,7 +746,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.cbt_StartTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(190)))), ((int)(((byte)(107)))));
this.cbt_StartTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cbt_StartTran.Location = new System.Drawing.Point(23, 41);
+ this.cbt_StartTran.Location = new System.Drawing.Point(30, 41);
this.cbt_StartTran.Name = "cbt_StartTran";
this.cbt_StartTran.Size = new System.Drawing.Size(60, 60);
this.cbt_StartTran.TabIndex = 5;
@@ -807,10 +839,10 @@ namespace CleanMachineHMI.FrmUserControl
//
this.tableLayoutPanel2.BackColor = System.Drawing.Color.Transparent;
this.tableLayoutPanel2.ColumnCount = 4;
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.10546F));
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.92655F));
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.45574F));
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 38.51224F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel2.Controls.Add(this.kryptonGroupBox8, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.kryptonGroupBox9, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.kryptonGroupBox7, 0, 0);
@@ -820,14 +852,14 @@ namespace CleanMachineHMI.FrmUserControl
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel2.Size = new System.Drawing.Size(1062, 407);
+ this.tableLayoutPanel2.Size = new System.Drawing.Size(1000, 350);
this.tableLayoutPanel2.TabIndex = 10;
//
// kryptonGroupBox1
//
this.kryptonGroupBox1.CaptionOverlap = 0D;
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox1.Location = new System.Drawing.Point(654, 3);
+ this.kryptonGroupBox1.Location = new System.Drawing.Point(653, 3);
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
//
// kryptonGroupBox1.Panel
@@ -840,6 +872,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox1.Panel.Controls.Add(this.kbtn_Scrap);
this.kryptonGroupBox1.Panel.Controls.Add(this.ktb_Scrap);
this.kryptonGroupBox1.Panel.Controls.Add(this.kdtp_RecordDate);
+ this.kryptonGroupBox1.Panel.Controls.Add(this.label8);
this.kryptonGroupBox1.Panel.Controls.Add(this.panel1);
this.kryptonGroupBox1.Panel.Controls.Add(this.label7);
this.kryptonGroupBox1.Panel.Controls.Add(this.ktb_SaveIR);
@@ -847,13 +880,13 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox1.Panel.Controls.Add(this.ktb_IR);
this.kryptonGroupBox1.Panel.Controls.Add(this.kryptonLabel1);
this.kryptonGroupBox1.Panel.Controls.Add(this.kryptonLabel2);
- this.kryptonGroupBox1.Size = new System.Drawing.Size(405, 401);
+ this.kryptonGroupBox1.Size = new System.Drawing.Size(405, 344);
this.kryptonGroupBox1.TabIndex = 9;
this.kryptonGroupBox1.Values.Heading = "";
//
// kryptonLabel13
//
- this.kryptonLabel13.Location = new System.Drawing.Point(142, 304);
+ this.kryptonLabel13.Location = new System.Drawing.Point(67, 248);
this.kryptonLabel13.Name = "kryptonLabel13";
this.kryptonLabel13.Size = new System.Drawing.Size(55, 20);
this.kryptonLabel13.StateCommon.ShortText.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -862,7 +895,7 @@ namespace CleanMachineHMI.FrmUserControl
//
// kbtn_WorkedFullPalletNum
//
- this.kbtn_WorkedFullPalletNum.Location = new System.Drawing.Point(195, 300);
+ this.kbtn_WorkedFullPalletNum.Location = new System.Drawing.Point(120, 244);
this.kbtn_WorkedFullPalletNum.Name = "kbtn_WorkedFullPalletNum";
this.kbtn_WorkedFullPalletNum.Size = new System.Drawing.Size(170, 30);
this.kbtn_WorkedFullPalletNum.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -879,16 +912,16 @@ namespace CleanMachineHMI.FrmUserControl
this.kcmb_SheetType.IntegralHeight = false;
this.kcmb_SheetType.Location = new System.Drawing.Point(106, 3);
this.kcmb_SheetType.Name = "kcmb_SheetType";
- this.kcmb_SheetType.Size = new System.Drawing.Size(184, 21);
+ this.kcmb_SheetType.Size = new System.Drawing.Size(140, 21);
this.kcmb_SheetType.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kcmb_SheetType.TabIndex = 10;
//
// kbtn_Scrap_1
//
this.kbtn_Scrap_1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kbtn_Scrap_1.Location = new System.Drawing.Point(289, 341);
+ this.kbtn_Scrap_1.Location = new System.Drawing.Point(256, 280);
this.kbtn_Scrap_1.Name = "kbtn_Scrap_1";
- this.kbtn_Scrap_1.Size = new System.Drawing.Size(107, 42);
+ this.kbtn_Scrap_1.Size = new System.Drawing.Size(60, 60);
this.kbtn_Scrap_1.StateCommon.Back.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap_1.StateCommon.Back.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap_1.StateCommon.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.Solid;
@@ -901,9 +934,9 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Scrap
//
this.kbtn_Scrap.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kbtn_Scrap.Location = new System.Drawing.Point(18, 341);
+ this.kbtn_Scrap.Location = new System.Drawing.Point(16, 280);
this.kbtn_Scrap.Name = "kbtn_Scrap";
- this.kbtn_Scrap.Size = new System.Drawing.Size(82, 42);
+ this.kbtn_Scrap.Size = new System.Drawing.Size(60, 60);
this.kbtn_Scrap.StateCommon.Back.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap.StateCommon.Back.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap.StateCommon.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.Solid;
@@ -916,10 +949,10 @@ namespace CleanMachineHMI.FrmUserControl
// ktb_Scrap
//
this.ktb_Scrap.AlwaysActive = false;
- this.ktb_Scrap.Location = new System.Drawing.Point(106, 356);
+ this.ktb_Scrap.Location = new System.Drawing.Point(104, 312);
this.ktb_Scrap.Name = "ktb_Scrap";
this.ktb_Scrap.ReadOnly = true;
- this.ktb_Scrap.Size = new System.Drawing.Size(177, 23);
+ this.ktb_Scrap.Size = new System.Drawing.Size(121, 23);
this.ktb_Scrap.TabIndex = 1;
//
// kdtp_RecordDate
@@ -931,34 +964,45 @@ namespace CleanMachineHMI.FrmUserControl
this.kdtp_RecordDate.Location = new System.Drawing.Point(106, 52);
this.kdtp_RecordDate.Name = "kdtp_RecordDate";
this.kdtp_RecordDate.ShowCheckBox = true;
- this.kdtp_RecordDate.Size = new System.Drawing.Size(184, 21);
+ this.kdtp_RecordDate.Size = new System.Drawing.Size(140, 21);
this.kdtp_RecordDate.TabIndex = 4;
//
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label8.ForeColor = System.Drawing.Color.Black;
+ this.label8.Location = new System.Drawing.Point(122, 280);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(75, 12);
+ this.label8.TabIndex = 8;
+ this.label8.Text = "Current IR";
+ //
// panel1
//
- this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel1.Controls.Add(this.kryptonButton8);
this.panel1.Controls.Add(this.ktb_CurrPalletCode);
this.panel1.Controls.Add(this.kryptonLabel10);
- this.panel1.Controls.Add(this.ktb_ShiftCount);
this.panel1.Controls.Add(this.ktb_FinishedPalletNum);
this.panel1.Controls.Add(this.ktb_CurrentPalletNum);
- this.panel1.Controls.Add(this.kryptonLabel16);
this.panel1.Controls.Add(this.kryptonLabel15);
this.panel1.Controls.Add(this.ktb_ScrapNum);
this.panel1.Controls.Add(this.kryptonLabel14);
this.panel1.Controls.Add(this.ktb_CompleteNum);
this.panel1.Controls.Add(this.kryptonLabel5);
this.panel1.Controls.Add(this.kryptonLabel4);
- this.panel1.Location = new System.Drawing.Point(67, 79);
+ this.panel1.Location = new System.Drawing.Point(6, 79);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(329, 219);
+ this.panel1.Size = new System.Drawing.Size(390, 102);
this.panel1.TabIndex = 3;
//
// kryptonButton8
//
- this.kryptonButton8.Location = new System.Drawing.Point(224, 161);
+ this.kryptonButton8.Location = new System.Drawing.Point(169, 99);
this.kryptonButton8.Name = "kryptonButton8";
this.kryptonButton8.Size = new System.Drawing.Size(73, 26);
this.kryptonButton8.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -973,7 +1017,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_CurrPalletCode.Location = new System.Drawing.Point(147, 68);
this.ktb_CurrPalletCode.Name = "ktb_CurrPalletCode";
this.ktb_CurrPalletCode.ReadOnly = true;
- this.ktb_CurrPalletCode.Size = new System.Drawing.Size(150, 23);
+ this.ktb_CurrPalletCode.Size = new System.Drawing.Size(181, 23);
this.ktb_CurrPalletCode.TabIndex = 10;
this.ktb_CurrPalletCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@@ -989,19 +1033,13 @@ namespace CleanMachineHMI.FrmUserControl
// ktb_ShiftCount
//
this.ktb_ShiftCount.AlwaysActive = false;
- this.ktb_ShiftCount.CueHint.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.ktb_ShiftCount.CueHint.Padding = new System.Windows.Forms.Padding(0);
- this.ktb_ShiftCount.InputControlStyle = Krypton.Toolkit.InputControlStyle.Ribbon;
- this.ktb_ShiftCount.Location = new System.Drawing.Point(147, 161);
+ this.ktb_ShiftCount.Location = new System.Drawing.Point(61, 102);
this.ktb_ShiftCount.Name = "ktb_ShiftCount";
this.ktb_ShiftCount.ReadOnly = true;
- this.ktb_ShiftCount.Size = new System.Drawing.Size(74, 26);
- this.ktb_ShiftCount.StateCommon.Content.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.ktb_ShiftCount.StateNormal.Content.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.ktb_ShiftCount.StateNormal.Content.Padding = new System.Windows.Forms.Padding(5);
+ this.ktb_ShiftCount.Size = new System.Drawing.Size(71, 23);
this.ktb_ShiftCount.TabIndex = 1;
this.ktb_ShiftCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
- this.ktb_ShiftCount.WordWrap = false;
+ this.ktb_ShiftCount.Visible = false;
//
// ktb_FinishedPalletNum
//
@@ -1009,7 +1047,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_FinishedPalletNum.Location = new System.Drawing.Point(147, 130);
this.ktb_FinishedPalletNum.Name = "ktb_FinishedPalletNum";
this.ktb_FinishedPalletNum.ReadOnly = true;
- this.ktb_FinishedPalletNum.Size = new System.Drawing.Size(150, 23);
+ this.ktb_FinishedPalletNum.Size = new System.Drawing.Size(181, 23);
this.ktb_FinishedPalletNum.TabIndex = 1;
this.ktb_FinishedPalletNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@@ -1019,18 +1057,19 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_CurrentPalletNum.Location = new System.Drawing.Point(147, 99);
this.ktb_CurrentPalletNum.Name = "ktb_CurrentPalletNum";
this.ktb_CurrentPalletNum.ReadOnly = true;
- this.ktb_CurrentPalletNum.Size = new System.Drawing.Size(150, 23);
+ this.ktb_CurrentPalletNum.Size = new System.Drawing.Size(181, 23);
this.ktb_CurrentPalletNum.TabIndex = 1;
this.ktb_CurrentPalletNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// kryptonLabel16
//
this.kryptonLabel16.LabelStyle = Krypton.Toolkit.LabelStyle.BoldControl;
- this.kryptonLabel16.Location = new System.Drawing.Point(71, 162);
+ this.kryptonLabel16.Location = new System.Drawing.Point(-15, 103);
this.kryptonLabel16.Name = "kryptonLabel16";
this.kryptonLabel16.Size = new System.Drawing.Size(76, 20);
this.kryptonLabel16.TabIndex = 0;
this.kryptonLabel16.Values.Text = "Shift Count";
+ this.kryptonLabel16.Visible = false;
//
// kryptonLabel15
//
@@ -1047,7 +1086,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_ScrapNum.Location = new System.Drawing.Point(147, 37);
this.ktb_ScrapNum.Name = "ktb_ScrapNum";
this.ktb_ScrapNum.ReadOnly = true;
- this.ktb_ScrapNum.Size = new System.Drawing.Size(150, 23);
+ this.ktb_ScrapNum.Size = new System.Drawing.Size(181, 23);
this.ktb_ScrapNum.TabIndex = 1;
this.ktb_ScrapNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@@ -1063,20 +1102,13 @@ namespace CleanMachineHMI.FrmUserControl
// ktb_CompleteNum
//
this.ktb_CompleteNum.AlwaysActive = false;
- this.ktb_CompleteNum.ButtonSpecs.AddRange(new Krypton.Toolkit.ButtonSpecAny[] {
- this.buttonSpecAny1});
this.ktb_CompleteNum.Location = new System.Drawing.Point(147, 6);
this.ktb_CompleteNum.Name = "ktb_CompleteNum";
this.ktb_CompleteNum.ReadOnly = true;
- this.ktb_CompleteNum.Size = new System.Drawing.Size(150, 23);
- this.ktb_CompleteNum.StateNormal.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.ktb_CompleteNum.Size = new System.Drawing.Size(181, 23);
this.ktb_CompleteNum.TabIndex = 1;
this.ktb_CompleteNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
- // buttonSpecAny1
- //
- this.buttonSpecAny1.UniqueName = "8dcb0cfe3c3b47bfa4290fe4bbef0a3a";
- //
// kryptonLabel5
//
this.kryptonLabel5.LabelStyle = Krypton.Toolkit.LabelStyle.BoldControl;
@@ -1101,19 +1133,19 @@ namespace CleanMachineHMI.FrmUserControl
this.label7.BackColor = System.Drawing.Color.Transparent;
this.label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label7.ForeColor = System.Drawing.Color.Black;
- this.label7.Location = new System.Drawing.Point(116, 341);
+ this.label7.Location = new System.Drawing.Point(122, 298);
this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(166, 12);
+ this.label7.Size = new System.Drawing.Size(82, 12);
this.label7.TabIndex = 8;
- this.label7.Text = "Current IR Scrap Count";
+ this.label7.Text = "Scrap Count";
//
// ktb_SaveIR
//
this.ktb_SaveIR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ktb_SaveIR.AutoSize = true;
- this.ktb_SaveIR.Location = new System.Drawing.Point(296, 3);
+ this.ktb_SaveIR.Location = new System.Drawing.Point(252, 3);
this.ktb_SaveIR.Name = "ktb_SaveIR";
- this.ktb_SaveIR.Size = new System.Drawing.Size(100, 70);
+ this.ktb_SaveIR.Size = new System.Drawing.Size(88, 70);
this.ktb_SaveIR.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ktb_SaveIR.TabIndex = 2;
this.ktb_SaveIR.Values.Text = "SAVE IR";
@@ -1134,7 +1166,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_IR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ktb_IR.Location = new System.Drawing.Point(106, 27);
this.ktb_IR.Name = "ktb_IR";
- this.ktb_IR.Size = new System.Drawing.Size(184, 23);
+ this.ktb_IR.Size = new System.Drawing.Size(140, 23);
this.ktb_IR.TabIndex = 1;
this.ktb_IR.TextChanged += new System.EventHandler(this.ktb_IR_TextChanged_1);
//
@@ -1161,7 +1193,7 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton1
//
this.kryptonButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton1.Location = new System.Drawing.Point(156, 160);
+ this.kryptonButton1.Location = new System.Drawing.Point(139, 160);
this.kryptonButton1.Name = "kryptonButton1";
this.kryptonButton1.Size = new System.Drawing.Size(84, 25);
this.kryptonButton1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1175,7 +1207,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox5.CaptionOverlap = 0D;
this.kryptonGroupBox5.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox5.Location = new System.Drawing.Point(268, 3);
+ this.kryptonGroupBox5.Location = new System.Drawing.Point(253, 3);
this.kryptonGroupBox5.Name = "kryptonGroupBox5";
//
// kryptonGroupBox5.Panel
@@ -1185,7 +1217,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox5.Panel.Controls.Add(this.kryptonPanel20);
this.kryptonGroupBox5.Panel.Controls.Add(this.kryptonPanel18);
this.kryptonGroupBox5.Panel.Controls.Add(this.kryptonPanel6);
- this.kryptonGroupBox5.Size = new System.Drawing.Size(259, 207);
+ this.kryptonGroupBox5.Size = new System.Drawing.Size(244, 264);
this.kryptonGroupBox5.TabIndex = 3;
this.kryptonGroupBox5.Values.Heading = "";
//
@@ -1198,7 +1230,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel24.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel24.Location = new System.Drawing.Point(0, 100);
this.kryptonPanel24.Name = "kryptonPanel24";
- this.kryptonPanel24.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel24.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel24.TabIndex = 9;
//
// kryptonWrapLabel13
@@ -1206,11 +1238,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel13.AutoSize = false;
this.kryptonWrapLabel13.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel13.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel13.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel13.Name = "kryptonWrapLabel13";
- this.kryptonWrapLabel13.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel13.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel13.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel13.Text = "粘合剂";
this.kryptonWrapLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1218,7 +1250,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Adhesives
//
this.kbtn_Adhesives.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Adhesives.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_Adhesives.Location = new System.Drawing.Point(128, 0);
this.kbtn_Adhesives.Name = "kbtn_Adhesives";
this.kbtn_Adhesives.Size = new System.Drawing.Size(28, 25);
this.kbtn_Adhesives.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1230,7 +1262,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Adhesives.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Adhesives.Enabled = false;
- this.knud_Adhesives.Location = new System.Drawing.Point(171, 0);
+ this.knud_Adhesives.Location = new System.Drawing.Point(156, 0);
this.knud_Adhesives.Maximum = new decimal(new int[] {
200,
0,
@@ -1246,7 +1278,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Adhesives_1
//
this.kbtn_Adhesives_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Adhesives_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_Adhesives_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_Adhesives_1.Name = "kbtn_Adhesives_1";
this.kbtn_Adhesives_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Adhesives_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1263,7 +1295,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel22.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel22.Location = new System.Drawing.Point(0, 75);
this.kryptonPanel22.Name = "kryptonPanel22";
- this.kryptonPanel22.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel22.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel22.TabIndex = 7;
//
// kryptonWrapLabel12
@@ -1271,11 +1303,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel12.AutoSize = false;
this.kryptonWrapLabel12.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel12.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel12.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel12.Name = "kryptonWrapLabel12";
- this.kryptonWrapLabel12.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel12.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel12.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel12.Text = "溶剂";
this.kryptonWrapLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1283,7 +1315,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Solvents
//
this.kbtn_Solvents.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Solvents.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_Solvents.Location = new System.Drawing.Point(128, 0);
this.kbtn_Solvents.Name = "kbtn_Solvents";
this.kbtn_Solvents.Size = new System.Drawing.Size(28, 25);
this.kbtn_Solvents.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1295,7 +1327,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Solvents.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Solvents.Enabled = false;
- this.knud_Solvents.Location = new System.Drawing.Point(171, 0);
+ this.knud_Solvents.Location = new System.Drawing.Point(156, 0);
this.knud_Solvents.Maximum = new decimal(new int[] {
200,
0,
@@ -1311,7 +1343,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Solvents_1
//
this.kbtn_Solvents_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Solvents_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_Solvents_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_Solvents_1.Name = "kbtn_Solvents_1";
this.kbtn_Solvents_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Solvents_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1328,7 +1360,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel20.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel20.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel20.Name = "kryptonPanel20";
- this.kryptonPanel20.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel20.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel20.TabIndex = 5;
//
// kryptonWrapLabel11
@@ -1336,11 +1368,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel11.AutoSize = false;
this.kryptonWrapLabel11.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel11.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel11.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel11.Name = "kryptonWrapLabel11";
- this.kryptonWrapLabel11.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel11.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel11.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel11.Text = "强烈气味";
this.kryptonWrapLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1348,7 +1380,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_StrongOdor
//
this.kbtn_StrongOdor.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_StrongOdor.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_StrongOdor.Location = new System.Drawing.Point(128, 0);
this.kbtn_StrongOdor.Name = "kbtn_StrongOdor";
this.kbtn_StrongOdor.Size = new System.Drawing.Size(28, 25);
this.kbtn_StrongOdor.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1360,7 +1392,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_StrongOdor.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_StrongOdor.Enabled = false;
- this.knud_StrongOdor.Location = new System.Drawing.Point(171, 0);
+ this.knud_StrongOdor.Location = new System.Drawing.Point(156, 0);
this.knud_StrongOdor.Maximum = new decimal(new int[] {
200,
0,
@@ -1376,7 +1408,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_StrongOdor_1
//
this.kbtn_StrongOdor_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_StrongOdor_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_StrongOdor_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_StrongOdor_1.Name = "kbtn_StrongOdor_1";
this.kbtn_StrongOdor_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_StrongOdor_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1393,7 +1425,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel18.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel18.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel18.Name = "kryptonPanel18";
- this.kryptonPanel18.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel18.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel18.TabIndex = 3;
//
// kryptonWrapLabel10
@@ -1401,11 +1433,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel10.AutoSize = false;
this.kryptonWrapLabel10.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel10.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel10.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel10.Name = "kryptonWrapLabel10";
- this.kryptonWrapLabel10.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel10.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel10.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel10.Text = "油/油脂或油漆";
this.kryptonWrapLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1413,7 +1445,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OilOrGreaseOrPaint
//
this.kbtn_OilOrGreaseOrPaint.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OilOrGreaseOrPaint.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_OilOrGreaseOrPaint.Location = new System.Drawing.Point(128, 0);
this.kbtn_OilOrGreaseOrPaint.Name = "kbtn_OilOrGreaseOrPaint";
this.kbtn_OilOrGreaseOrPaint.Size = new System.Drawing.Size(28, 25);
this.kbtn_OilOrGreaseOrPaint.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1425,7 +1457,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_OilOrGreaseOrPaint.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_OilOrGreaseOrPaint.Enabled = false;
- this.knud_OilOrGreaseOrPaint.Location = new System.Drawing.Point(171, 0);
+ this.knud_OilOrGreaseOrPaint.Location = new System.Drawing.Point(156, 0);
this.knud_OilOrGreaseOrPaint.Maximum = new decimal(new int[] {
200,
0,
@@ -1441,7 +1473,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OilOrGreaseOrPaint_1
//
this.kbtn_OilOrGreaseOrPaint_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OilOrGreaseOrPaint_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_OilOrGreaseOrPaint_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_OilOrGreaseOrPaint_1.Name = "kbtn_OilOrGreaseOrPaint_1";
this.kbtn_OilOrGreaseOrPaint_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_OilOrGreaseOrPaint_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1455,7 +1487,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel6.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel6.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel6.Name = "kryptonPanel6";
- this.kryptonPanel6.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel6.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel6.TabIndex = 1;
//
// kryptonWrapLabel3
@@ -1463,11 +1495,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel3.AutoSize = false;
this.kryptonWrapLabel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel3.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel3.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel3.Name = "kryptonWrapLabel3";
- this.kryptonWrapLabel3.Size = new System.Drawing.Size(255, 25);
+ this.kryptonWrapLabel3.Size = new System.Drawing.Size(240, 25);
this.kryptonWrapLabel3.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel3.Text = "化学污染";
this.kryptonWrapLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1480,7 +1512,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonPanel3.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel3.Name = "kryptonPanel3";
- this.kryptonPanel3.Size = new System.Drawing.Size(1062, 679);
+ this.kryptonPanel3.Size = new System.Drawing.Size(1000, 679);
this.kryptonPanel3.TabIndex = 12;
//
// tableLayoutPanel1
@@ -1496,7 +1528,7 @@ namespace CleanMachineHMI.FrmUserControl
this.tableLayoutPanel1.Controls.Add(this.kryptonGroupBox3, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.kryptonGroupBox5, 1, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 407);
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 350);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
@@ -1521,7 +1553,7 @@ namespace CleanMachineHMI.FrmUserControl
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
- this.tableLayoutPanel1.Size = new System.Drawing.Size(1062, 213);
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(1000, 270);
this.tableLayoutPanel1.TabIndex = 8;
//
// kryptonGroupBox2
@@ -1540,7 +1572,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox2.Panel.Controls.Add(this.kryptonPanel12);
this.kryptonGroupBox2.Panel.Controls.Add(this.kryptonPanel9);
this.kryptonGroupBox2.Panel.Controls.Add(this.kryptonPanel5);
- this.kryptonGroupBox2.Size = new System.Drawing.Size(259, 207);
+ this.kryptonGroupBox2.Size = new System.Drawing.Size(244, 264);
this.kryptonGroupBox2.TabIndex = 4;
this.kryptonGroupBox2.Values.Heading = "";
//
@@ -1553,7 +1585,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel33.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel33.Location = new System.Drawing.Point(0, 125);
this.kryptonPanel33.Name = "kryptonPanel33";
- this.kryptonPanel33.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel33.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel33.TabIndex = 9;
//
// kryptonWrapLabel21
@@ -1561,11 +1593,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel21.AutoSize = false;
this.kryptonWrapLabel21.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel21.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel21.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel21.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel21.Name = "kryptonWrapLabel21";
- this.kryptonWrapLabel21.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel21.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel21.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel21.Text = "胶带、贴纸";
this.kryptonWrapLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1573,7 +1605,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_TapeOrStickers
//
this.kbtn_TapeOrStickers.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_TapeOrStickers.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_TapeOrStickers.Location = new System.Drawing.Point(128, 0);
this.kbtn_TapeOrStickers.Name = "kbtn_TapeOrStickers";
this.kbtn_TapeOrStickers.Size = new System.Drawing.Size(28, 25);
this.kbtn_TapeOrStickers.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1585,7 +1617,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_TapeOrStickers.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_TapeOrStickers.Enabled = false;
- this.knud_TapeOrStickers.Location = new System.Drawing.Point(171, 0);
+ this.knud_TapeOrStickers.Location = new System.Drawing.Point(156, 0);
this.knud_TapeOrStickers.Maximum = new decimal(new int[] {
200,
0,
@@ -1601,7 +1633,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_TapeOrStickers_1
//
this.kbtn_TapeOrStickers_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_TapeOrStickers_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_TapeOrStickers_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_TapeOrStickers_1.Name = "kbtn_TapeOrStickers_1";
this.kbtn_TapeOrStickers_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_TapeOrStickers_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1618,7 +1650,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel16.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel16.Location = new System.Drawing.Point(0, 100);
this.kryptonPanel16.Name = "kryptonPanel16";
- this.kryptonPanel16.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel16.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel16.TabIndex = 7;
//
// kryptonWrapLabel9
@@ -1626,11 +1658,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel9.AutoSize = false;
this.kryptonWrapLabel9.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel9.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel9.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel9.Name = "kryptonWrapLabel9";
- this.kryptonWrapLabel9.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel9.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel9.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel9.Text = "啮齿动物、昆虫";
this.kryptonWrapLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1638,7 +1670,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_RodentsInsocts
//
this.kbtn_RodentsInsocts.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_RodentsInsocts.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_RodentsInsocts.Location = new System.Drawing.Point(128, 0);
this.kbtn_RodentsInsocts.Name = "kbtn_RodentsInsocts";
this.kbtn_RodentsInsocts.Size = new System.Drawing.Size(28, 25);
this.kbtn_RodentsInsocts.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1650,7 +1682,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_RodentsInsocts.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_RodentsInsocts.Enabled = false;
- this.knud_RodentsInsocts.Location = new System.Drawing.Point(171, 0);
+ this.knud_RodentsInsocts.Location = new System.Drawing.Point(156, 0);
this.knud_RodentsInsocts.Maximum = new decimal(new int[] {
200,
0,
@@ -1666,7 +1698,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_RodentsInsocts_1
//
this.kbtn_RodentsInsocts_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_RodentsInsocts_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_RodentsInsocts_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_RodentsInsocts_1.Name = "kbtn_RodentsInsocts_1";
this.kbtn_RodentsInsocts_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_RodentsInsocts_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1683,7 +1715,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel14.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel14.Location = new System.Drawing.Point(0, 75);
this.kryptonPanel14.Name = "kryptonPanel14";
- this.kryptonPanel14.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel14.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel14.TabIndex = 5;
//
// kryptonWrapLabel8
@@ -1691,11 +1723,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel8.AutoSize = false;
this.kryptonWrapLabel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel8.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel8.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel8.Name = "kryptonWrapLabel8";
- this.kryptonWrapLabel8.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel8.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel8.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel8.Text = "土、泥、草";
this.kryptonWrapLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1703,7 +1735,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_DirtMudGrass
//
this.kbtn_DirtMudGrass.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_DirtMudGrass.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_DirtMudGrass.Location = new System.Drawing.Point(128, 0);
this.kbtn_DirtMudGrass.Name = "kbtn_DirtMudGrass";
this.kbtn_DirtMudGrass.Size = new System.Drawing.Size(28, 25);
this.kbtn_DirtMudGrass.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1715,7 +1747,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_DirtMudGrass.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_DirtMudGrass.Enabled = false;
- this.knud_DirtMudGrass.Location = new System.Drawing.Point(171, 0);
+ this.knud_DirtMudGrass.Location = new System.Drawing.Point(156, 0);
this.knud_DirtMudGrass.Maximum = new decimal(new int[] {
200,
0,
@@ -1731,7 +1763,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_DirtMudGrass_1
//
this.kbtn_DirtMudGrass_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_DirtMudGrass_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_DirtMudGrass_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_DirtMudGrass_1.Name = "kbtn_DirtMudGrass_1";
this.kbtn_DirtMudGrass_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_DirtMudGrass_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1748,7 +1780,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel12.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel12.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel12.Name = "kryptonPanel12";
- this.kryptonPanel12.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel12.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel12.TabIndex = 3;
//
// kryptonWrapLabel7
@@ -1756,11 +1788,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel7.AutoSize = false;
this.kryptonWrapLabel7.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel7.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel7.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel7.Name = "kryptonWrapLabel7";
- this.kryptonWrapLabel7.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel7.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel7.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel7.Text = "金属刨花";
this.kryptonWrapLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1768,7 +1800,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MetalShaving
//
this.kbtn_MetalShaving.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MetalShaving.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_MetalShaving.Location = new System.Drawing.Point(128, 0);
this.kbtn_MetalShaving.Name = "kbtn_MetalShaving";
this.kbtn_MetalShaving.Size = new System.Drawing.Size(28, 25);
this.kbtn_MetalShaving.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1780,7 +1812,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_MetalShaving.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_MetalShaving.Enabled = false;
- this.knud_MetalShaving.Location = new System.Drawing.Point(171, 0);
+ this.knud_MetalShaving.Location = new System.Drawing.Point(156, 0);
this.knud_MetalShaving.Maximum = new decimal(new int[] {
200,
0,
@@ -1796,7 +1828,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MetalShaving_1
//
this.kbtn_MetalShaving_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MetalShaving_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_MetalShaving_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_MetalShaving_1.Name = "kbtn_MetalShaving_1";
this.kbtn_MetalShaving_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_MetalShaving_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1813,7 +1845,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel9.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel9.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel9.Name = "kryptonPanel9";
- this.kryptonPanel9.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel9.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel9.TabIndex = 1;
//
// kryptonWrapLabel6
@@ -1821,11 +1853,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel6.AutoSize = false;
this.kryptonWrapLabel6.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel6.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel6.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel6.Name = "kryptonWrapLabel6";
- this.kryptonWrapLabel6.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel6.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel6.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel6.Text = "玻璃/木屑";
this.kryptonWrapLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1833,7 +1865,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_GlassOrWoodShreds
//
this.kbtn_GlassOrWoodShreds.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_GlassOrWoodShreds.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_GlassOrWoodShreds.Location = new System.Drawing.Point(128, 0);
this.kbtn_GlassOrWoodShreds.Name = "kbtn_GlassOrWoodShreds";
this.kbtn_GlassOrWoodShreds.Size = new System.Drawing.Size(28, 25);
this.kbtn_GlassOrWoodShreds.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1845,7 +1877,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_GlassOrWoodShreds.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_GlassOrWoodShreds.Enabled = false;
- this.knud_GlassOrWoodShreds.Location = new System.Drawing.Point(171, 0);
+ this.knud_GlassOrWoodShreds.Location = new System.Drawing.Point(156, 0);
this.knud_GlassOrWoodShreds.Maximum = new decimal(new int[] {
200,
0,
@@ -1861,7 +1893,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_GlassOrWoodShreds_1
//
this.kbtn_GlassOrWoodShreds_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_GlassOrWoodShreds_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_GlassOrWoodShreds_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_GlassOrWoodShreds_1.Name = "kbtn_GlassOrWoodShreds_1";
this.kbtn_GlassOrWoodShreds_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_GlassOrWoodShreds_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1875,7 +1907,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel5.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel5.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel5.Name = "kryptonPanel5";
- this.kryptonPanel5.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel5.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel5.TabIndex = 0;
//
// kryptonWrapLabel2
@@ -1883,11 +1915,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel2.AutoSize = false;
this.kryptonWrapLabel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel2.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel2.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel2.Name = "kryptonWrapLabel2";
- this.kryptonWrapLabel2.Size = new System.Drawing.Size(255, 25);
+ this.kryptonWrapLabel2.Size = new System.Drawing.Size(240, 25);
this.kryptonWrapLabel2.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel2.Text = "物理污染";
this.kryptonWrapLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1897,16 +1929,20 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox4.CaptionOverlap = 0D;
this.kryptonGroupBox4.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox4.Location = new System.Drawing.Point(798, 3);
+ this.kryptonGroupBox4.Location = new System.Drawing.Point(753, 3);
this.kryptonGroupBox4.Name = "kryptonGroupBox4";
//
// kryptonGroupBox4.Panel
//
+ this.kryptonGroupBox4.Panel.Controls.Add(this.circleButton1);
+ this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonButton8);
this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonPanel23);
this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonPanel39);
+ this.kryptonGroupBox4.Panel.Controls.Add(this.ktb_ShiftCount);
this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonPanel8);
this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonButton1);
- this.kryptonGroupBox4.Size = new System.Drawing.Size(261, 207);
+ this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonLabel16);
+ this.kryptonGroupBox4.Size = new System.Drawing.Size(244, 264);
this.kryptonGroupBox4.TabIndex = 2;
this.kryptonGroupBox4.Values.Heading = "";
//
@@ -1915,7 +1951,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel23.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel23.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel23.Name = "kryptonPanel23";
- this.kryptonPanel23.Size = new System.Drawing.Size(257, 7);
+ this.kryptonPanel23.Size = new System.Drawing.Size(240, 7);
this.kryptonPanel23.TabIndex = 5;
//
// kryptonPanel39
@@ -1927,7 +1963,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel39.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel39.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel39.Name = "kryptonPanel39";
- this.kryptonPanel39.Size = new System.Drawing.Size(257, 25);
+ this.kryptonPanel39.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel39.TabIndex = 3;
//
// kryptonWrapLabel19
@@ -1935,11 +1971,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel19.AutoSize = false;
this.kryptonWrapLabel19.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel19.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel19.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel19.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel19.Name = "kryptonWrapLabel19";
- this.kryptonWrapLabel19.Size = new System.Drawing.Size(145, 25);
+ this.kryptonWrapLabel19.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel19.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel19.Text = "其它污染";
this.kryptonWrapLabel19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1947,7 +1983,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Others
//
this.kbtn_Others.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Others.Location = new System.Drawing.Point(145, 0);
+ this.kbtn_Others.Location = new System.Drawing.Point(128, 0);
this.kbtn_Others.Name = "kbtn_Others";
this.kbtn_Others.Size = new System.Drawing.Size(28, 25);
this.kbtn_Others.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1959,7 +1995,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Others.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Others.Enabled = false;
- this.knud_Others.Location = new System.Drawing.Point(173, 0);
+ this.knud_Others.Location = new System.Drawing.Point(156, 0);
this.knud_Others.Maximum = new decimal(new int[] {
200,
0,
@@ -1975,7 +2011,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Others_1
//
this.kbtn_Others_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Others_1.Location = new System.Drawing.Point(229, 0);
+ this.kbtn_Others_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_Others_1.Name = "kbtn_Others_1";
this.kbtn_Others_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Others_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1989,7 +2025,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel8.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel8.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel8.Name = "kryptonPanel8";
- this.kryptonPanel8.Size = new System.Drawing.Size(257, 25);
+ this.kryptonPanel8.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel8.TabIndex = 1;
//
// kryptonWrapLabel5
@@ -1997,11 +2033,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel5.AutoSize = false;
this.kryptonWrapLabel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel5.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel5.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel5.Name = "kryptonWrapLabel5";
- this.kryptonWrapLabel5.Size = new System.Drawing.Size(257, 25);
+ this.kryptonWrapLabel5.Size = new System.Drawing.Size(240, 25);
this.kryptonWrapLabel5.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel5.Text = "其它污染";
this.kryptonWrapLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2011,7 +2047,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox3.CaptionOverlap = 0D;
this.kryptonGroupBox3.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox3.Location = new System.Drawing.Point(533, 3);
+ this.kryptonGroupBox3.Location = new System.Drawing.Point(503, 3);
this.kryptonGroupBox3.Name = "kryptonGroupBox3";
//
// kryptonGroupBox3.Panel
@@ -2021,7 +2057,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox3.Panel.Controls.Add(this.kryptonPanel28);
this.kryptonGroupBox3.Panel.Controls.Add(this.kryptonPanel26);
this.kryptonGroupBox3.Panel.Controls.Add(this.kryptonPanel7);
- this.kryptonGroupBox3.Size = new System.Drawing.Size(259, 207);
+ this.kryptonGroupBox3.Size = new System.Drawing.Size(244, 264);
this.kryptonGroupBox3.TabIndex = 1;
this.kryptonGroupBox3.Values.Heading = "";
//
@@ -2034,7 +2070,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel32.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel32.Location = new System.Drawing.Point(0, 100);
this.kryptonPanel32.Name = "kryptonPanel32";
- this.kryptonPanel32.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel32.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel32.TabIndex = 9;
//
// kryptonWrapLabel17
@@ -2042,11 +2078,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel17.AutoSize = false;
this.kryptonWrapLabel17.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel17.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel17.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel17.Name = "kryptonWrapLabel17";
- this.kryptonWrapLabel17.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel17.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel17.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel17.Text = "霉菌";
this.kryptonWrapLabel17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2054,7 +2090,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Mold
//
this.kbtn_Mold.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Mold.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_Mold.Location = new System.Drawing.Point(128, 0);
this.kbtn_Mold.Name = "kbtn_Mold";
this.kbtn_Mold.Size = new System.Drawing.Size(28, 25);
this.kbtn_Mold.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2066,7 +2102,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Mold.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Mold.Enabled = false;
- this.knud_Mold.Location = new System.Drawing.Point(171, 0);
+ this.knud_Mold.Location = new System.Drawing.Point(156, 0);
this.knud_Mold.Maximum = new decimal(new int[] {
200,
0,
@@ -2082,7 +2118,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Mold_1
//
this.kbtn_Mold_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Mold_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_Mold_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_Mold_1.Name = "kbtn_Mold_1";
this.kbtn_Mold_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Mold_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2099,7 +2135,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel30.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel30.Location = new System.Drawing.Point(0, 75);
this.kryptonPanel30.Name = "kryptonPanel30";
- this.kryptonPanel30.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel30.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel30.TabIndex = 7;
//
// kryptonWrapLabel16
@@ -2107,11 +2143,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel16.AutoSize = false;
this.kryptonWrapLabel16.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel16.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel16.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel16.Name = "kryptonWrapLabel16";
- this.kryptonWrapLabel16.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel16.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel16.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel16.Text = "臭味或异味";
this.kryptonWrapLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2119,7 +2155,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OdorOrAtypicalSmell
//
this.kbtn_OdorOrAtypicalSmell.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OdorOrAtypicalSmell.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_OdorOrAtypicalSmell.Location = new System.Drawing.Point(128, 0);
this.kbtn_OdorOrAtypicalSmell.Name = "kbtn_OdorOrAtypicalSmell";
this.kbtn_OdorOrAtypicalSmell.Size = new System.Drawing.Size(28, 25);
this.kbtn_OdorOrAtypicalSmell.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2131,7 +2167,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_OdorOrAtypicalSmell.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_OdorOrAtypicalSmell.Enabled = false;
- this.knud_OdorOrAtypicalSmell.Location = new System.Drawing.Point(171, 0);
+ this.knud_OdorOrAtypicalSmell.Location = new System.Drawing.Point(156, 0);
this.knud_OdorOrAtypicalSmell.Maximum = new decimal(new int[] {
200,
0,
@@ -2147,7 +2183,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OdorOrAtypicalSmell_1
//
this.kbtn_OdorOrAtypicalSmell_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OdorOrAtypicalSmell_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_OdorOrAtypicalSmell_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_OdorOrAtypicalSmell_1.Name = "kbtn_OdorOrAtypicalSmell_1";
this.kbtn_OdorOrAtypicalSmell_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_OdorOrAtypicalSmell_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2164,7 +2200,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel28.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel28.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel28.Name = "kryptonPanel28";
- this.kryptonPanel28.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel28.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel28.TabIndex = 5;
//
// kryptonWrapLabel15
@@ -2172,11 +2208,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel15.AutoSize = false;
this.kryptonWrapLabel15.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel15.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel15.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel15.Name = "kryptonWrapLabel15";
- this.kryptonWrapLabel15.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel15.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel15.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel15.Text = "粪便、排泄物";
this.kryptonWrapLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2184,7 +2220,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_FecesExcreta
//
this.kbtn_FecesExcreta.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_FecesExcreta.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_FecesExcreta.Location = new System.Drawing.Point(128, 0);
this.kbtn_FecesExcreta.Name = "kbtn_FecesExcreta";
this.kbtn_FecesExcreta.Size = new System.Drawing.Size(28, 25);
this.kbtn_FecesExcreta.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2196,7 +2232,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_FecesExcreta.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_FecesExcreta.Enabled = false;
- this.knud_FecesExcreta.Location = new System.Drawing.Point(171, 0);
+ this.knud_FecesExcreta.Location = new System.Drawing.Point(156, 0);
this.knud_FecesExcreta.Maximum = new decimal(new int[] {
200,
0,
@@ -2212,7 +2248,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_FecesExcreta_1
//
this.kbtn_FecesExcreta_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_FecesExcreta_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_FecesExcreta_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_FecesExcreta_1.Name = "kbtn_FecesExcreta_1";
this.kbtn_FecesExcreta_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_FecesExcreta_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2229,7 +2265,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel26.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel26.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel26.Name = "kryptonPanel26";
- this.kryptonPanel26.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel26.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel26.TabIndex = 3;
//
// kryptonWrapLabel14
@@ -2237,11 +2273,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel14.AutoSize = false;
this.kryptonWrapLabel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel14.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel14.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel14.Name = "kryptonWrapLabel14";
- this.kryptonWrapLabel14.Size = new System.Drawing.Size(143, 25);
+ this.kryptonWrapLabel14.Size = new System.Drawing.Size(128, 25);
this.kryptonWrapLabel14.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel14.Text = "有湿气或受潮";
this.kryptonWrapLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2249,7 +2285,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MoistureOrWet
//
this.kbtn_MoistureOrWet.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MoistureOrWet.Location = new System.Drawing.Point(143, 0);
+ this.kbtn_MoistureOrWet.Location = new System.Drawing.Point(128, 0);
this.kbtn_MoistureOrWet.Name = "kbtn_MoistureOrWet";
this.kbtn_MoistureOrWet.Size = new System.Drawing.Size(28, 25);
this.kbtn_MoistureOrWet.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2261,7 +2297,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_MoistureOrWet.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_MoistureOrWet.Enabled = false;
- this.knud_MoistureOrWet.Location = new System.Drawing.Point(171, 0);
+ this.knud_MoistureOrWet.Location = new System.Drawing.Point(156, 0);
this.knud_MoistureOrWet.Maximum = new decimal(new int[] {
200,
0,
@@ -2277,7 +2313,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MoistureOrWet_1
//
this.kbtn_MoistureOrWet_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MoistureOrWet_1.Location = new System.Drawing.Point(227, 0);
+ this.kbtn_MoistureOrWet_1.Location = new System.Drawing.Point(212, 0);
this.kbtn_MoistureOrWet_1.Name = "kbtn_MoistureOrWet_1";
this.kbtn_MoistureOrWet_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_MoistureOrWet_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2291,7 +2327,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel7.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel7.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel7.Name = "kryptonPanel7";
- this.kryptonPanel7.Size = new System.Drawing.Size(255, 25);
+ this.kryptonPanel7.Size = new System.Drawing.Size(240, 25);
this.kryptonPanel7.TabIndex = 1;
//
// kryptonWrapLabel4
@@ -2299,17 +2335,18 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel4.AutoSize = false;
this.kryptonWrapLabel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
+ this.kryptonWrapLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
this.kryptonWrapLabel4.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel4.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel4.Name = "kryptonWrapLabel4";
- this.kryptonWrapLabel4.Size = new System.Drawing.Size(255, 25);
+ this.kryptonWrapLabel4.Size = new System.Drawing.Size(240, 25);
this.kryptonWrapLabel4.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel4.Text = "微生物污染";
this.kryptonWrapLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// panMenu
//
+ this.panMenu.Controls.Add(this.kryptonButton9);
this.panMenu.Controls.Add(this.btnShiftCount);
this.panMenu.Controls.Add(this.btnParamater);
this.panMenu.Controls.Add(this.btnLogin);
@@ -2323,18 +2360,57 @@ namespace CleanMachineHMI.FrmUserControl
this.panMenu.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panMenu.Location = new System.Drawing.Point(0, 620);
this.panMenu.Name = "panMenu";
- this.panMenu.Size = new System.Drawing.Size(1062, 59);
+ this.panMenu.Size = new System.Drawing.Size(1000, 59);
this.panMenu.TabIndex = 7;
//
+ // kryptonButton9
+ //
+ this.kryptonButton9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.kryptonButton9.AutoSize = true;
+ this.kryptonButton9.Location = new System.Drawing.Point(831, 6);
+ this.kryptonButton9.Name = "kryptonButton9";
+ this.kryptonButton9.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
+ this.kryptonButton9.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
+ this.kryptonButton9.Size = new System.Drawing.Size(80, 47);
+ this.kryptonButton9.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.kryptonButton9.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
+ this.kryptonButton9.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
+ this.kryptonButton9.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
+ this.kryptonButton9.StateNormal.Border.Color1 = System.Drawing.Color.CornflowerBlue;
+ this.kryptonButton9.StateNormal.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
+ | Krypton.Toolkit.PaletteDrawBorders.Left)
+ | Krypton.Toolkit.PaletteDrawBorders.Right)));
+ this.kryptonButton9.StateNormal.Border.Rounding = 3F;
+ this.kryptonButton9.StatePressed.Back.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(240)))));
+ this.kryptonButton9.StatePressed.Back.Color2 = System.Drawing.Color.RoyalBlue;
+ this.kryptonButton9.StatePressed.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
+ this.kryptonButton9.StatePressed.Border.Color1 = System.Drawing.Color.CornflowerBlue;
+ this.kryptonButton9.StatePressed.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
+ | Krypton.Toolkit.PaletteDrawBorders.Left)
+ | Krypton.Toolkit.PaletteDrawBorders.Right)));
+ this.kryptonButton9.StatePressed.Border.Rounding = 3F;
+ this.kryptonButton9.StateTracking.Back.Color1 = System.Drawing.Color.WhiteSmoke;
+ this.kryptonButton9.StateTracking.Back.Color2 = System.Drawing.Color.CornflowerBlue;
+ this.kryptonButton9.StateTracking.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
+ this.kryptonButton9.StateTracking.Border.Color1 = System.Drawing.Color.CornflowerBlue;
+ this.kryptonButton9.StateTracking.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
+ | Krypton.Toolkit.PaletteDrawBorders.Left)
+ | Krypton.Toolkit.PaletteDrawBorders.Right)));
+ this.kryptonButton9.StateTracking.Border.Rounding = 3F;
+ this.kryptonButton9.TabIndex = 22;
+ this.kryptonButton9.Tag = "frmPrinterMain";
+ this.kryptonButton9.Values.Text = "个人报";
+ this.kryptonButton9.Click += new System.EventHandler(this.kryptonButton9_Click);
+ //
// btnShiftCount
//
this.btnShiftCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnShiftCount.AutoSize = true;
- this.btnShiftCount.Location = new System.Drawing.Point(818, 6);
+ this.btnShiftCount.Location = new System.Drawing.Point(744, 6);
this.btnShiftCount.Name = "btnShiftCount";
this.btnShiftCount.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnShiftCount.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.btnShiftCount.Size = new System.Drawing.Size(102, 47);
+ this.btnShiftCount.Size = new System.Drawing.Size(80, 47);
this.btnShiftCount.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnShiftCount.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnShiftCount.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2362,14 +2438,14 @@ namespace CleanMachineHMI.FrmUserControl
this.btnShiftCount.StateTracking.Border.Rounding = 3F;
this.btnShiftCount.TabIndex = 21;
this.btnShiftCount.Tag = "frmPrinterMain";
- this.btnShiftCount.Values.Text = "班次记录";
+ this.btnShiftCount.Values.Text = "日报";
this.btnShiftCount.Click += new System.EventHandler(this.btnShiftCount_Click);
//
// btnParamater
//
this.btnParamater.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnParamater.AutoSize = true;
- this.btnParamater.Location = new System.Drawing.Point(131, 6);
+ this.btnParamater.Location = new System.Drawing.Point(130, 6);
this.btnParamater.Name = "btnParamater";
this.btnParamater.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnParamater.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2408,7 +2484,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnLogin.AutoSize = true;
- this.btnLogin.Location = new System.Drawing.Point(926, 6);
+ this.btnLogin.Location = new System.Drawing.Point(918, 6);
this.btnLogin.Name = "btnLogin";
this.btnLogin.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnLogin.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2486,7 +2562,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnWarningLog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnWarningLog.AutoSize = true;
- this.btnWarningLog.Location = new System.Drawing.Point(527, 6);
+ this.btnWarningLog.Location = new System.Drawing.Point(509, 6);
this.btnWarningLog.Name = "btnWarningLog";
this.btnWarningLog.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnWarningLog.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2525,11 +2601,11 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnPrinter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnPrinter.AutoSize = true;
- this.btnPrinter.Location = new System.Drawing.Point(710, 6);
+ this.btnPrinter.Location = new System.Drawing.Point(652, 6);
this.btnPrinter.Name = "btnPrinter";
this.btnPrinter.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnPrinter.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.btnPrinter.Size = new System.Drawing.Size(102, 47);
+ this.btnPrinter.Size = new System.Drawing.Size(85, 47);
this.btnPrinter.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnPrinter.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnPrinter.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2564,11 +2640,11 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnIR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnIR.AutoSize = true;
- this.btnIR.Location = new System.Drawing.Point(600, 6);
+ this.btnIR.Location = new System.Drawing.Point(584, 6);
this.btnIR.Name = "btnIR";
this.btnIR.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnIR.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.btnIR.Size = new System.Drawing.Size(105, 47);
+ this.btnIR.Size = new System.Drawing.Size(61, 47);
this.btnIR.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnIR.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnIR.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2603,11 +2679,11 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnPLCConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnPLCConfig.AutoSize = true;
- this.btnPLCConfig.Location = new System.Drawing.Point(263, 6);
+ this.btnPLCConfig.Location = new System.Drawing.Point(261, 6);
this.btnPLCConfig.Name = "btnPLCConfig";
this.btnPLCConfig.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnPLCConfig.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.btnPLCConfig.Size = new System.Drawing.Size(120, 47);
+ this.btnPLCConfig.Size = new System.Drawing.Size(96, 47);
this.btnPLCConfig.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnPLCConfig.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnPLCConfig.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2642,7 +2718,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnIO.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnIO.AutoSize = true;
- this.btnIO.Location = new System.Drawing.Point(463, 6);
+ this.btnIO.Location = new System.Drawing.Point(442, 6);
this.btnIO.Name = "btnIO";
this.btnIO.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnIO.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2681,7 +2757,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnManual.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnManual.AutoSize = true;
- this.btnManual.Location = new System.Drawing.Point(387, 6);
+ this.btnManual.Location = new System.Drawing.Point(364, 6);
this.btnManual.Name = "btnManual";
this.btnManual.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnManual.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2716,13 +2792,19 @@ namespace CleanMachineHMI.FrmUserControl
this.btnManual.Values.Text = "手动控制";
this.btnManual.Click += new System.EventHandler(this.btnManual_Click);
//
+ // contextMenuStrip1
+ //
+ this.contextMenuStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
+ this.contextMenuStrip1.Name = "contextMenuStrip1";
+ this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
+ //
// frmMainDetail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.kryptonPanel3);
this.Name = "frmMainDetail";
- this.Size = new System.Drawing.Size(1062, 679);
+ this.Size = new System.Drawing.Size(1000, 679);
this.Load += new System.EventHandler(this.frmMainDetail_Load);
this.Resize += new System.EventHandler(this.frmMainDetail_Resize);
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8.Panel)).EndInit();
@@ -2784,6 +2866,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox4.Panel)).EndInit();
this.kryptonGroupBox4.Panel.ResumeLayout(false);
+ this.kryptonGroupBox4.Panel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox4)).EndInit();
this.kryptonGroupBox4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel23)).EndInit();
@@ -2859,6 +2942,7 @@ namespace CleanMachineHMI.FrmUserControl
private Krypton.Toolkit.KryptonButton kbtn_Scrap;
private Krypton.Toolkit.KryptonTextBox ktb_Scrap;
private Krypton.Toolkit.KryptonDateTimePicker kdtp_RecordDate;
+ private System.Windows.Forms.Label label8;
private System.Windows.Forms.Panel panel1;
private Krypton.Toolkit.KryptonTextBox ktb_CurrPalletCode;
private Krypton.Toolkit.KryptonLabel kryptonLabel10;
@@ -2980,7 +3064,13 @@ namespace CleanMachineHMI.FrmUserControl
private Krypton.Toolkit.KryptonTextBox ktb_ShiftCount;
private Krypton.Toolkit.KryptonLabel kryptonLabel16;
private Krypton.Toolkit.KryptonButton btnShiftCount;
- private System.Windows.Forms.Label labelNextFullStop;
- private Krypton.Toolkit.ButtonSpecAny buttonSpecAny1;
+ private Krypton.Toolkit.KryptonContextMenu kryptonContextMenu1;
+ private Krypton.Toolkit.KryptonContextMenuItems kryptonContextMenuItems1;
+ private Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem1;
+ private Krypton.Toolkit.KryptonContextMenuHeading kryptonContextMenuHeading1;
+ private Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem2;
+ private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
+ private Krypton.Toolkit.KryptonButton kryptonButton9;
+ private CircleButton circleButton1;
}
}
diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetail.cs b/CleanMachineHMI/FrmUserControl/frmMainDetail.cs
index 4395082..503c005 100644
--- a/CleanMachineHMI/FrmUserControl/frmMainDetail.cs
+++ b/CleanMachineHMI/FrmUserControl/frmMainDetail.cs
@@ -1,5 +1,5 @@
-//#define NewFun
+
using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.Utils;
@@ -24,15 +24,18 @@ using CleanMachine.Model.BAS;
namespace CleanMachineHMI.FrmUserControl
{
-
+ [FormType(EnumFormType.MainDetail)]
public partial class frmMainDetail : UserControl
{
public frmMainDetail()
{
InitializeComponent();
+ _device = new Device();
+
}
+ private Device _device;
@@ -69,22 +72,6 @@ namespace CleanMachineHMI.FrmUserControl
- //private void InitControl()
- //{
- // var menuControl = panMenu.Controls;
- // var menuButCount = panMenu.Controls.Count;
- // var menuButWeight = 170;
- // var intervalCount = menuControl.Count + 1;
- // var intervalWeight = (this.Width - menuButWeight * menuButCount) / intervalCount;
- // //菜单
- // for (int i = 0; i < menuControl.Count; i++)
- // {
- // menuControl[i].Left = intervalWeight * (i + 1) + menuButWeight * i;
- // menuControl[i].Width = menuButWeight;
- // (menuControl[i] as KryptonButton).StateCommon.Content.ShortText.Font = new Font("微软雅黑", 10, FontStyle.Regular);
- // }
-
- //}
private void frmMainDetail_Resize(object sender, EventArgs e)
{
@@ -102,6 +89,8 @@ namespace CleanMachineHMI.FrmUserControl
{
LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】注销登录!", LogTypeEum.Run);
Global.LoginForm.Show();
+ Global.UserInfo = null;
+ Global.SysThIsRunFlag = false;
//GlobalHelper.MainForm.Hide();
Global.MainFormNew.Hide();
@@ -119,8 +108,16 @@ namespace CleanMachineHMI.FrmUserControl
frmMainNew.SwitchFrmMenu(EnumFormType.Base, false);
}
+ private bool isInit = false;
+
+
private void frmMainDetail_Load(object sender, EventArgs e)
{
+
+ if (isInit) return;
+ isInit = true;
+
+
this.SetFormControlText();
try
{
@@ -181,132 +178,35 @@ namespace CleanMachineHMI.FrmUserControl
//加载当前工作信息
LoadCurrentWorkingTray();
-#if NewFun
-
- PlcOperationHelper.Instance.OnReadFinish += Instance_OnReadFinish;
-#else
- Thread th1 = new Thread(MainDtlRunTh)
- {
- IsBackground = true
- };
- th1.Start();
-#endif
-
foreach (Control item in panMenu.Controls)
{
if (item.Tag != null && item.Tag.ToString() != "")
{
if (Global.RoleMenuPermission != null)
{
- //var drs = GlobalHelper.RoleMenuPermission.FirstOrDefault(m => m.MenuUrl == item.Tag.ToString() && m.MenuPid == -1);
- //item.Enabled = drs != null;
item.Enabled = Global.CheckRole(item.Tag.ToString());
- //DataRow[] drs = GlobalHelper.RoleMenuPermission.Select($" MENU_URL = '{item.Tag.ToString()}' AND MENU_PID = '-1'");
- //if (drs.Length > 0)
- //{
- // item.Enabled = true;
- //}
- //else
- //{
- // item.Enabled = false;
- //}
}
}
}
new EnvironmentSettings().ReportSettings.ShowProgress = false;
- //毛刷1运行状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush1Selection", PlcItemTypeDesc.M)))
- {
- swtbtn_brush1.L_IsOpen = true;
- }
- else
- {
- swtbtn_brush1.L_IsOpen = false;
- }
- //毛刷2启用状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush2Selection", PlcItemTypeDesc.M)))
- {
- swtbtn_brush2.L_IsOpen = true;
- }
- else
- {
- swtbtn_brush2.L_IsOpen = false;
- }
- //毛刷3启用状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush3Selection", PlcItemTypeDesc.M)))
- {
- swtbtn_brush3.L_IsOpen = true;
- }
- else
- {
- swtbtn_brush3.L_IsOpen = false;
- }
- //喷头选择状态
- //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("NozzleSelection", PlcItemTypeDesc.M)))
- //{
- // swtbtn_nozzle1.L_IsOpen = true;
- //}
- //else
- //{
- // swtbtn_nozzle1.L_IsOpen = false;
- //}
-
- //静电棒选择状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StaticbarsSel", PlcItemTypeDesc.M)))
- {
- swtbtn_staticBar.L_IsOpen = true;
- }
- else
- {
- swtbtn_staticBar.L_IsOpen = false;
- }
-
- //计数方式选择状态
- //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M)))
- //{
- // swtbtn_fullPalletMod.L_IsOpen = true;
- //
- // {
- // kryptonLabel12.Text = "Delay Full";
- // }
- // else
- // {
- // kryptonLabel12.Text = "延时满料";
- // }
- //}
- //else
- //{
- // swtbtn_fullPalletMod.L_IsOpen = false;
- //
- // {
- // kryptonLabel12.Text = "Count Full";
- // }
- // else
- // {
- // kryptonLabel12.Text = "计数满料";
- // }
- //}
- // knud_WorkedFullPalletNum.Text = PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D).ToString();
-
- knud_WorkedFullPalletNum.Text = PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum").ToString();
+ PlcOperationHelper.Instance.OnReadFinish += Instance_OnReadFinish;
+ Instance_OnReadFinish();
+ swtbtn_brush1.L_IsOpen = this._device.Hairbrush1Selection;
+ swtbtn_brush2.L_IsOpen = this._device.Hairbrush2Selection;
+ swtbtn_brush3.L_IsOpen = this._device.Hairbrush3Selection;
+ swtbtn_staticBar.L_IsOpen = this._device.StaticbarsSel;
+ knud_WorkedFullPalletNum.Text = _device.WorkedFullPalletNum.ToString();
RefreshCurrentWorkingDataFrmHost = new dlgCleanCurrentWorkingData(cleanCurrentworkingData);
kryptonGroupBox1.Focus();
Global.OnSyncFinishPalletData += SyncFinishPalletData;
- //if (isOk)
- //{
- // kryptonButton2.StateCommon.Back.Color1 = Color.Lime;
- // kryptonButton2.Text = "停止运行";
- //}
- //else
- //{
- // kryptonButton2.StateCommon.Back.Color1 = Color.Red;
- // kryptonButton2.Text = "运行";
- //}
+
+
+ this.kryptonButton8_Click(null, null);
@@ -314,11 +214,11 @@ namespace CleanMachineHMI.FrmUserControl
catch (Exception ex)
{
KryptonMessageBox.Show(this.T("主业务界面加载发生异常", "LoadMainDetailFrmExp") + $":【{ex.Message}】!");
- LogHelper.WriteLog($"1111【{ex.Message}】", LogTypeEum.Err);
+ LogHelper.WriteLog($"【{ex.Message}】", LogTypeEum.Err);
}
}
-#if NewFun
+
private void FinishWorkingPallet1()
{
@@ -400,8 +300,8 @@ namespace CleanMachineHMI.FrmUserControl
{
string sql1 = $@"Update CM_WORKING_PALLET set WORKING_STATUS = 0 where WORKING_STATUS = '-1'";
string sql2 = $@"Update CM_WORKING_PALLET_DTL set WORKING_DTL_STATUS = 0 where WORKING_DTL_STATUS = '-1'";
- LeadDbHelperSQLite.ExecuteSql(sql1);
- LeadDbHelperSQLite.ExecuteSql(sql2);
+ LeadDbHelperSQLite.Execute(sql1);
+ LeadDbHelperSQLite.Execute(sql2);
//污染类型操作禁用
//kryptonGroupBox10.Enabled = false;
@@ -432,145 +332,30 @@ namespace CleanMachineHMI.FrmUserControl
private void Instance_OnReadFinish()
{
+ Console.WriteLine("数据变化");
+
+ cbt_RunStatusTran.BackColor = _device.CleanMacRunStatusNew ? Color.Lime : Color.Gray;
+ cbt_Brush1StatusTran.BackColor = _device.Hairbrush1Selection ? Color.Lime : Color.Gray;
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("CleanMacRunStatusNew", PlcItemTypeDesc.M)))
- {
- cbt_RunStatusTran.BackColor = Color.Lime;
- }
- else
- {
- cbt_RunStatusTran.BackColor = Color.Gray;
- }
- //毛刷1运行状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush1Selection", PlcItemTypeDesc.M)))
- {
+ cbt_Brush2StatusTran.BackColor = _device.Hairbrush2Selection ? Color.Lime : Color.Gray;
- cbt_Brush1StatusTran.BackColor = Color.Lime;
+ cbt_Brush3StatusTran.BackColor = _device.Hairbrush3Selection ? Color.Lime : Color.Gray;
- }
- else
- {
-
- cbt_Brush1StatusTran.BackColor = Color.Gray;
-
- }
-
- //毛刷2启用状态
-
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush2Selection", PlcItemTypeDesc.M)))
- {
-
- cbt_Brush2StatusTran.BackColor = Color.Lime;
-
- }
- else
- {
-
- cbt_Brush2StatusTran.BackColor = Color.Gray;
-
- }
- //毛刷3启用状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush3Selection", PlcItemTypeDesc.M)))
- {
-
- cbt_Brush3StatusTran.BackColor = Color.Lime;
-
- }
- else
- {
+ cbt_staticbar.BackColor = _device.StaticbarsSel ? Color.Lime : Color.Gray;
- cbt_Brush3StatusTran.BackColor = Color.Gray;
-
- }
- //喷头选择状态
- //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("NozzleSelection", PlcItemTypeDesc.M)))
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_NozzleStatusTran.BackColor = Color.Lime;
- // }));
- //}
- //else
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_NozzleStatusTran.BackColor = Color.Gray;
- // }));
- //}
- //静电棒选择
-
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StaticbarsSel", PlcItemTypeDesc.M)))
- {
-
- cbt_staticbar.BackColor = Color.Lime;
-
- }
- else
- {
-
- cbt_staticbar.BackColor = Color.Gray;
-
- }
-
- //计数模式选择
- //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M)))
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_fpalletmod.BackColor = Color.Lime;
- // }));
- //}
- //else
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_fpalletmod.BackColor = Color.Gray;
- // }));
- //}
-
-
-
- //显示托盘编号
- if (ktb_IR.Text.Trim().Length > 0)
- {
- string sqlWorkPalletSel = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0 ORDER BY CREATE_TIME DESC";
- DataTable dtWorkPalletSel = LeadDbHelperSQLite.Query(sqlWorkPalletSel).Tables[0];
- if (dtWorkPalletSel.Rows.Count > 0)
- {
-
- ktb_CurrPalletCode.Text = dtWorkPalletSel.Rows[0]["WORKING_PALLET_CODE"].ToString();
-
-
- }
- else
- {
-
- ktb_CurrPalletCode.Text = "";
-
-
- }
- }
// 显示班次计数
//ShiftCount
- var shiftCount = PlcOperationHelper.Instance.ReadPlcItem("ShiftCount").ToString();
- this.ktb_ShiftCount.Text = shiftCount;
+ this.ktb_ShiftCount.Text = _device.ShiftCount.ToString();
+ string ktb_IRTest = this.ktb_IR.Text;
+ string kcmb_SheetTypeText = this.kcmb_SheetType.Text;
- string ktb_IRTest = "";
+ string CurrPalletCodeText = ktb_CurrPalletCode.Text.Trim();
- string kcmb_SheetTypeText = "";
- string CurrPalletCodeText = "";
-
- ktb_IRTest = this.ktb_IR.Text;
- kcmb_SheetTypeText = this.kcmb_SheetType.Text;
-
- CurrPalletCodeText = ktb_CurrPalletCode.Text.Trim();
- // 显示班次计数
- //ShiftCount
//防止中途关闭系统产生数据丢失,因此每周期都会更新数据
string sql = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
@@ -612,10 +397,6 @@ namespace CleanMachineHMI.FrmUserControl
}
-
-
-
-
string sqlPalletCount = $@"SELECT CURRENT_NUMBER,WORKING_DTL_STATUS FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
DataTable dtPalletCount = LeadDbHelperSQLite.Query(sqlPalletCount).Tables[0];
if (dtPalletCount != null && dtPalletCount.Rows.Count > 0)
@@ -648,9 +429,9 @@ namespace CleanMachineHMI.FrmUserControl
}
//读取PLC当前值-这个值带有初始值
- int currNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("NozzleNum", PlcItemTypeDesc.D));
+ int currNum = _device.NozzleNum;
- int fullPalletNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D));
+ int fullPalletNum = _device.WorkedFullPalletNum;
//
if (0 < (fullPalletNum - currNum) && (fullPalletNum - currNum) <= 10 && fullPalletNum != 0)
@@ -697,7 +478,7 @@ namespace CleanMachineHMI.FrmUserControl
AND WORKING_PALLET_CODE = '{CurrPalletCodeText}'
";
- int row = LeadDbHelperSQLite.ExecuteSql(sql12);
+ int row = LeadDbHelperSQLite.Execute(sql12);
//autoCleanNum = currNum - finishIrSheetTypeNum;
if (row > 0)
{
@@ -718,7 +499,7 @@ namespace CleanMachineHMI.FrmUserControl
FinishWorkingPallet1();
}
-#endif
+
private void SyncFinishPalletData(object sender, EventArgs e)
{
Invoke(new Action(() =>
@@ -727,32 +508,10 @@ namespace CleanMachineHMI.FrmUserControl
knud_WorkedFullPalletNum.Text = text;
}));
}
- private void cleanCurrentworkingData()
+
+
+ private void ClearContamination()
{
- Invoke(new Action(() =>
- {
- //批次信息按钮可操作
- ktb_SaveIR.Enabled = true;
- kcmb_SheetType.Enabled = true;
- ktb_IR.Enabled = true;
- kdtp_RecordDate.Enabled = true;
-
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
-
- //清空历史批次信息
- kcmb_SheetType.SelectedIndex = 0;
- ktb_IR.Text = "";
- kdtp_RecordDate.Text = "";
- kdtp_RecordDate.Checked = false;
-
- ktb_CompleteNum.Text = "0";
- ktb_ScrapNum.Text = "0";
- }));
//清空当前内存污染计数
foreach (CleanType item in basCleanTypeMsgList)
@@ -780,6 +539,39 @@ namespace CleanMachineHMI.FrmUserControl
}));
}
}
+
+
+ }
+
+
+ private void cleanCurrentworkingData()
+ {
+ Invoke(new Action(() =>
+ {
+ //批次信息按钮可操作
+ ktb_SaveIR.Enabled = true;
+ kcmb_SheetType.Enabled = true;
+ ktb_IR.Enabled = true;
+ kdtp_RecordDate.Enabled = true;
+
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+
+ //清空历史批次信息
+ kcmb_SheetType.SelectedIndex = 0;
+ ktb_IR.Text = "";
+ kdtp_RecordDate.Text = "";
+ kdtp_RecordDate.Checked = false;
+
+ ktb_CompleteNum.Text = "0";
+ ktb_ScrapNum.Text = "0";
+ }));
+
+ ClearContamination();
}
///
/// 加载当前工作信息
@@ -792,8 +584,10 @@ namespace CleanMachineHMI.FrmUserControl
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
if (dt != null && dt.Rows.Count > 0)
{
+
string sheetType = dt.Rows[0]["SHEET_TYPE_CODE"].ToString();
string IrCode = dt.Rows[0]["IR_CODE"].ToString();
+ string palletCode = dt.Rows[0]["WORKING_PALLET_CODE"].ToString();
DateTime InputTime = Convert.ToDateTime(dt.Rows[0]["INPUT_TIME"]);
foreach (DataRow item in dt.Rows)
{
@@ -824,6 +618,8 @@ namespace CleanMachineHMI.FrmUserControl
kcmb_SheetType.Text = sheetType;
ktb_IR.Text = IrCode;
kdtp_RecordDate.Value = InputTime;
+ ktb_CurrPalletCode.Text = palletCode;
+
kdtp_RecordDate.Checked = true;
kcmb_SheetType.Enabled = false;
@@ -859,7 +655,7 @@ namespace CleanMachineHMI.FrmUserControl
int _RemainPallte = Convert.ToInt32(LeadDbHelperSQLite.GetSingle(LastPattleNumSql));
//读取PLC 当前计数值
- int currNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("NozzleNum", PlcItemTypeDesc.D));
+ int currNum = _device.NozzleNum;
if (currNum > 0)
{
@@ -901,119 +697,7 @@ namespace CleanMachineHMI.FrmUserControl
}
}
-#if !NewFun
- ///
- /// 满料检查,并打印处理
- ///
- private void FinishWorkingPallet()
- {
-#if RELEASE
- try
- {
-#endif
- //满料标识
- bool isFinishWorkingPallet = Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FinishWorkingPallet", PlcItemTypeDesc.M));
- //ToDo: 根据满料的方式,增加相应的满料判断代码
- bool fullPalletMode = Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M));
-
- int countFullNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D));
- //是否强制满料
- bool isForceFullPallet = Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ForceFullPallet", PlcItemTypeDesc.M));
-
- string sql_CurrPalletmsg = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0";
- DataTable dt_CurrPalletmsg = LeadDbHelperSQLite.Query(sql_CurrPalletmsg).Tables[0];
-
- if (fullPalletMode)// 延时满料
- {
- //if (dt_CurrPalletmsg != null && dt_CurrPalletmsg.Rows.Count > 0 && isFinishWorkingPallet)
- //{
- // string palletCodeMsg = dt_CurrPalletmsg.Rows[0]["WORKING_PALLET_CODE"].ToString();
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,开始处理延时满料业务。", LogTypeEum.Run);
- // string sqlWorkingIrMsg = $@"SELECT DISTINCT IR_CODE FROM VW_WORKING_PALLET_MSG WHERE WORKING_PALLET_CODE = '{palletCodeMsg}'";
-
- // DataTable dt_workingIrMsg = LeadDbHelperSQLite.Query(sqlWorkingIrMsg).Tables[0];
- // if (dt_workingIrMsg != null && dt_workingIrMsg.Rows.Count > 0)
- // {
- // PrintPalletData(dt_workingIrMsg, palletCodeMsg);
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,延时满料业务处理完成,数据打印完成。", LogTypeEum.Run);
- // }
- //}
- }
- else //计数满料
- {
- if (dt_CurrPalletmsg != null && dt_CurrPalletmsg.Rows.Count > 0)
- {
- string palletCodeMsg = dt_CurrPalletmsg.Rows[0]["WORKING_PALLET_CODE"].ToString();
- string sqlCurrNumMsg = $@"SELECT ifnull(SUM(CURRENT_NUMBER),0) FROM VW_WORKING_PALLET_MSG WHERE WORKING_PALLET_CODE = '{palletCodeMsg}' and CLEAN_MODE_CODE = 'SortedCleaned'";
- DataTable dt_CurrNumMsg = LeadDbHelperSQLite.Query(sqlCurrNumMsg).Tables[0];
- if (dt_CurrNumMsg != null && dt_CurrNumMsg.Rows.Count > 0)
- {
- //这个值只包含托盘在这个IR下个数量
- int currentNum = Convert.ToInt32(dt_CurrNumMsg.Rows[0][0]);
-
- currentNum += this.lastPaltteRemain;
-
- string sqlWorkingIrMsg = $@"SELECT DISTINCT IR_CODE FROM VW_WORKING_PALLET_MSG WHERE WORKING_PALLET_CODE = '{palletCodeMsg}'";
- DataTable dt_workingIrMsg = LeadDbHelperSQLite.Query(sqlWorkingIrMsg).Tables[0];
- if (currentNum >= countFullNum && isFinishWorkingPallet && countFullNum > 0) //正常满料
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,开始处理计数满料业务。满料方式:【正常满料】", LogTypeEum.Run);
- if (dt_workingIrMsg != null && dt_workingIrMsg.Rows.Count > 0)
- PrintPalletData(dt_workingIrMsg.Rows[0][0].ToString(), palletCodeMsg, false);
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,计数满料业务正常处理完成,数据打印完成。", LogTypeEum.Run);
-
-
-
-
- }
- else if (currentNum < countFullNum && isFinishWorkingPallet && isForceFullPallet && countFullNum > 0)//强制满料
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,开始处理计数满料业务。满料方式:【强制满料】", LogTypeEum.Run);
- if (dt_workingIrMsg != null && dt_workingIrMsg.Rows.Count > 0)
- PrintPalletData(dt_workingIrMsg.Rows[0][0].ToString(), palletCodeMsg, true);
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,计数满料业务强制处理完成,数据打印完成。", LogTypeEum.Run);
-
- }
- }
- }
- }
-
- if (!isFinishWorkingPallet)
- {
-
- string sql = $@"select * from CM_WORKING_PALLET where WORKING_STATUS = '-1'";
- DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
- if (dt != null && dt.Rows.Count > 0)
- {
- string sql1 = $@"Update CM_WORKING_PALLET set WORKING_STATUS = 0 where WORKING_STATUS = '-1'";
- string sql2 = $@"Update CM_WORKING_PALLET_DTL set WORKING_DTL_STATUS = 0 where WORKING_DTL_STATUS = '-1'";
- LeadDbHelperSQLite.Execute(sql1);
- LeadDbHelperSQLite.Execute(sql2);
- BeginInvoke(new Action(() =>
- {
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = true;
- kryptonGroupBox3.Enabled = true;
- kryptonGroupBox4.Enabled = true;
- kryptonGroupBox5.Enabled = true;
- kbtn_Scrap.Enabled = true;
- kbtn_Scrap_1.Enabled = true;
- kbtn_forceFinish.Enabled = true;
-
- }));
- }
- }
-#if RELEASE
- }
- catch (Exception ex)
- {
- LogHelper.WriteLog($"~~~~~~~~~~~~~~托盘结束发生异常!【{ex.Message}】。~~~~~~~~~~~~~~", LogTypeEum.Run);
- }
-#endif
- }
-#endif
///
/// 虚拟下盘
@@ -1063,31 +747,7 @@ namespace CleanMachineHMI.FrmUserControl
//清空当前内存污染计数
- foreach (CleanType item in basCleanTypeMsgList)
- {
- if (string.IsNullOrEmpty(item.ContaminationDtlCode))
- {//常规清洗 清零(其他污染)
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- else
- {//特殊清洗 清零
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- }
+ ClearContamination();
LogHelper.WriteLog($"作业托盘:【{workingIRMsg}】已强制结束,作业主页面关键信息重置完成。", LogTypeEum.Run);
@@ -1137,317 +797,9 @@ namespace CleanMachineHMI.FrmUserControl
}
-#if NewFun
+
///
- /// 打印托盘信息
- ///
- ///
- ///
- /// 是否强制满料
- private void PrintPalletData(string workingIrMsg, string palletCodeMsg, bool isForceFinish)
- {
- //只有是满料了,就要清除托盘残余数量
- this.lastPaltteRemain = 0;
-
- string sqlUpdateWorkingPallet = $@"UPDATE CM_WORKING_PALLET SET WORKING_STATUS = 1,UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{palletCodeMsg}';";
- string sqlUpdateWorkingPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET WORKING_DTL_STATUS = 1,UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{palletCodeMsg}';";
- int row1 = LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkingPallet);
- int row2 = LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkingPalletDtl);
-
- if (isForceFinish)
- {
-
- //批次信息按钮可操作
- ktb_SaveIR.Enabled = true;
- kcmb_SheetType.Enabled = true;
- ktb_IR.Enabled = true;
- kdtp_RecordDate.Enabled = true;
- kbtn_forceFinish.Enabled = true;
-
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
-
- //清空历史批次信息
- kcmb_SheetType.SelectedIndex = 0;
- ktb_IR.Text = "";
- kdtp_RecordDate.Text = "";
- kdtp_RecordDate.Checked = false;
-
- ktb_CompleteNum.Text = "0";
- ktb_ScrapNum.Text = "0";
- ktb_CurrPalletCode.Text = "";
- ktb_CurrentPalletNum.Text = "0";
- ktb_FinishedPalletNum.Text = "0";
-
-
-
- //清空当前内存污染计数
- foreach (CleanType item in basCleanTypeMsgList)
- {
- if (string.IsNullOrEmpty(item.ContaminationDtlCode))
- {//常规清洗 清零(其他污染)
-
- if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
-
- }
- else
- {//特殊清洗 清零
-
- if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
-
- }
- }
-
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已强制结束,作业主页面关键信息重置完成。", LogTypeEum.Run);
-
- string sql = $@"SELECT WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL GROUP BY WORKING_PALLET_CODE HAVING SUM(CURRENT_NUMBER) = 0";
- DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
- if (dt != null && dt.Rows.Count > 0)
- {
- foreach (DataRow item in dt.Rows)
- {
- string sqlTmp = $@"delete from CM_WORKING_PALLET where WORKING_PALLET_CODE = '{item["WORKING_PALLET_CODE"].ToString()}'";
- string sqlTmp1 = $@"delete from CM_WORKING_PALLET_DTL where WORKING_PALLET_CODE = '{item["WORKING_PALLET_CODE"].ToString()}'";
- LeadDbHelperSQLite.ExecuteSql(sqlTmp);
- LeadDbHelperSQLite.ExecuteSql(sqlTmp1);
- Thread.Sleep(10);
- }
- }
- PrintWorkedIrMsg(workingIrMsg);
- }
- else
- {
-#region 生成的新的组盘信息,等待计数作业。
- string trayCode = Global.GetPalletCode();
- string sqlInsertWorkPallet = $@" INSERT INTO [CM_WORKING_PALLET] (
- [WORKING_PALLET_CODE],
- [WORKING_PALLET_DESC],
- [WORKING_STATUS],
- [CREATE_BY],
- [UPDATE_BY],
- [DATA_VERSION]
- )
- VALUES
- (
- '{trayCode}',
- '{trayCode}',
- '{-1}',
- '{Global.UserInfo.UserId}',
- '{Global.UserInfo.UserId}',
- '{0}'
- );";
- LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPallet);
-
- string SheetTypeCode = "";
- this.Invoke(new Action(() =>
-
- {
-
- SheetTypeCode = ((ListItem)kcmb_SheetType.SelectedItem).Value;
- }));
-
-
- foreach (CleanType item in basCleanTypeMsgList)
- {
- string sqlInsertWorkPalletDtl = $@"
- INSERT INTO [CM_WORKING_PALLET_DTL] (
- [WORKING_PALLET_CODE],
- [IR_CODE],
- [SHEET_TYPE_CODE],
- [INPUT_TIME],
- [CLEAN_MODE_CODE],
- [CONTAMINATION_TYPE_CODE],
- [CONTAMINATION_DTL_CODE],
- [CURRENT_NUMBER],
- [OPERATE_USER_ID],
- [OPERATE_USER_TIME],
- [WORKING_DTL_STATUS],
- [CREATE_BY],
- [CREATE_TIME],
- [UPDATE_BY],
- [UPDATE_TIME],
- [DATA_VERSION],
- [REMARKS1],
- [REMARKS2],
- [REMARKS3],
- [REMARKS4],
- [REMARKS5]
- )
- VALUES
- (
- '{trayCode}',
- '{workingIrMsg}',
- '{SheetTypeCode}',
- (datetime('now','localtime')),
- '{item.CleanModeCode}',
- '{item.ContaminationTypeCode}',
- '{item.ContaminationDtlCode}',
- 0,
- '{Global.UserInfo.UserId}',
- datetime('now', 'localtime'),
- -1,
- '{Global.UserInfo.UserId}',
- datetime('now', 'localtime'),
- '{Global.UserInfo.UserId}',
- datetime('now', 'localtime'),
- 0,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
- );";
- LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPalletDtl);
- }
- Invoke(new Action(() =>
- {
- ktb_CurrPalletCode.Text = trayCode;
- }));
- LogHelper.WriteLog($"新增作业托盘:【{trayCode}】数据成功!新增板材:【{SheetTypeCode}】,IR条码:【{workingIrMsg}】的作业明细记录成功!", LogTypeEum.Run);
-#endregion
-
- Invoke(new Action(() =>
- {
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
- kbtn_forceFinish.Enabled = false;
-
- }));
-
- //清空当前内存污染计数
- foreach (CleanType item in basCleanTypeMsgList)
- {
- if (string.IsNullOrEmpty(item.ContaminationDtlCode))
- {//常规清洗 清零(其他污染)
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- else
- {//特殊清洗 清零
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- }
- }
- if (row1 > 0 && row2 > 0)
- {
- string sqlQueryCleanNum = $@"SELECT CURRENT_NUMBER FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 1 and CLEAN_MODE_CODE = 'SortedCleaned' AND WORKING_PALLET_CODE = '{palletCodeMsg}'";
- DataTable dtQueryCleanNum = LeadDbHelperSQLite.Query(sqlQueryCleanNum).Tables[0];
- if (dtQueryCleanNum != null && dtQueryCleanNum.Rows.Count > 0)
- {
- int currCleanNum = Convert.ToInt32(dtQueryCleanNum.Rows[0][0]);
- string sqlUpdateParam = $@"UPDATE SYS_PARAMETER SET PARAMETER_VALUE = PARAMETER_VALUE + '{currCleanNum}',UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime') WHERE PARAMETER_CODE = 'CleaningMacTotalNum';";
- LeadDbHelperSQLite.ExecuteSql(sqlUpdateParam);
- }
- }
- //清除满料信号
- //if (PlcOperationHelper.Instance.WritePlcItem("FinishWorkingPallet", "False", PlcItemTypeDesc.M))
- //{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号成功。", LogTypeEum.Run);
- //}
- //else
- //{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号失败。", LogTypeEum.Err);
- //}
-
- //打印完成信号
- if (PlcOperationHelper.Instance.WritePlcItem("PrintFinish", "True", PlcItemTypeDesc.M))
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号成功。", LogTypeEum.Run);
- }
- else
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号失败。", LogTypeEum.Err);
- }
-
- //当前托盘板材计数清零
- if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号成功。", LogTypeEum.Run);
- }
- else
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号失败。", LogTypeEum.Err);
- }
-
- if (isForceFinish)
- {
- //保存打印数据
- string sqlInsertZbkWorkingPallet = $@"INSERT INTO ZBK_WORKING_PALLET SELECT * FROM CM_WORKING_PALLET WHERE WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where IR_CODE = '{workingIrMsg}' and WORKING_DTL_STATUS = 1)";
- string sqlInsertZbkWorkingPalletDtl = $@"INSERT INTO ZBK_WORKING_PALLET_DTL SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 1 and IR_CODE = '{workingIrMsg}';";
- string sqlDeleteWorkingPallet = $@"delete from CM_WORKING_PALLET where WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where IR_CODE = '{workingIrMsg}' and WORKING_DTL_STATUS = 1);";
- string sqlDeleteWorkingPalletDtl = $@"delete from CM_WORKING_PALLET_DTL where WORKING_DTL_STATUS = 1 and IR_CODE = '{workingIrMsg}';";
-
- LeadDbHelperSQLite.ExecuteSql(sqlInsertZbkWorkingPalletDtl);
- LeadDbHelperSQLite.ExecuteSql(sqlInsertZbkWorkingPallet);
- LeadDbHelperSQLite.ExecuteSql(sqlDeleteWorkingPallet);
- LeadDbHelperSQLite.ExecuteSql(sqlDeleteWorkingPalletDtl);
-
- LogHelper.WriteLog($"作业IR:【{workingIrMsg}】已经结束,数据库信息重置完成。", LogTypeEum.Run);
- }
-
- if (this.NextFullStop)
- {
- this.NextFullStop = false;
- //
-
-
- if (!Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StopSys", PlcItemTypeDesc.M))
- && !Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
- {
- if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
- {
- //GlobalHelper.SysIsRunFlag = false;
- LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
- }
-
- Thread.Sleep(200);
-
- if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "False", PlcItemTypeDesc.M))
- {
- }
- }
-
-
- }
-
-
- }
-#else
- ///
/// 打印托盘信息
///
///
@@ -1465,64 +817,39 @@ namespace CleanMachineHMI.FrmUserControl
if (isForceFinish)
{
- Invoke(new Action(() =>
- {
- //批次信息按钮可操作
- ktb_SaveIR.Enabled = true;
- kcmb_SheetType.Enabled = true;
- ktb_IR.Enabled = true;
- kdtp_RecordDate.Enabled = true;
- kbtn_forceFinish.Enabled = true;
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
+ //批次信息按钮可操作
+ ktb_SaveIR.Enabled = true;
+ kcmb_SheetType.Enabled = true;
+ ktb_IR.Enabled = true;
+ kdtp_RecordDate.Enabled = true;
+ kbtn_forceFinish.Enabled = true;
- //清空历史批次信息
- kcmb_SheetType.SelectedIndex = 0;
- ktb_IR.Text = "";
- kdtp_RecordDate.Text = "";
- kdtp_RecordDate.Checked = false;
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
+
+ //清空历史批次信息
+ kcmb_SheetType.SelectedIndex = 0;
+ ktb_IR.Text = "";
+ kdtp_RecordDate.Text = "";
+ kdtp_RecordDate.Checked = false;
+
+ ktb_CompleteNum.Text = "0";
+ ktb_ScrapNum.Text = "0";
+ ktb_CurrPalletCode.Text = "";
+ ktb_CurrentPalletNum.Text = "0";
+ ktb_FinishedPalletNum.Text = "0";
- ktb_CompleteNum.Text = "0";
- ktb_ScrapNum.Text = "0";
- ktb_CurrPalletCode.Text = "";
- ktb_CurrentPalletNum.Text = "0";
- ktb_FinishedPalletNum.Text = "0";
- }));
//清空当前内存污染计数
- foreach (CleanType item in basCleanTypeMsgList)
- {
- if (string.IsNullOrEmpty(item.ContaminationDtlCode))
- {//常规清洗 清零(其他污染)
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- else
- {//特殊清洗 清零
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- }
+ ClearContamination();
LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已强制结束,作业主页面关键信息重置完成。", LogTypeEum.Run);
@@ -1543,7 +870,7 @@ namespace CleanMachineHMI.FrmUserControl
}
else
{
- #region 生成的新的组盘信息,等待计数作业。
+ #region 生成的新的组盘信息,等待计数作业。
string trayCode = Global.GetPalletCode();
string sqlInsertWorkPallet = $@" INSERT INTO [CM_WORKING_PALLET] (
[WORKING_PALLET_CODE],
@@ -1565,12 +892,9 @@ namespace CleanMachineHMI.FrmUserControl
LeadDbHelperSQLite.Execute(sqlInsertWorkPallet);
string SheetTypeCode = "";
- this.Invoke(new Action(() =>
- {
+ SheetTypeCode = ((ListItem)kcmb_SheetType.SelectedItem).Value;
- SheetTypeCode = ((ListItem)kcmb_SheetType.SelectedItem).Value;
- }));
foreach (CleanType item in basCleanTypeMsgList)
@@ -1625,53 +949,26 @@ namespace CleanMachineHMI.FrmUserControl
);";
LeadDbHelperSQLite.Execute(sqlInsertWorkPalletDtl);
}
- Invoke(new Action(() =>
- {
- ktb_CurrPalletCode.Text = trayCode;
- }));
+
+ ktb_CurrPalletCode.Text = trayCode;
+
LogHelper.WriteLog($"新增作业托盘:【{trayCode}】数据成功!新增板材:【{SheetTypeCode}】,IR条码:【{workingIrMsg}】的作业明细记录成功!", LogTypeEum.Run);
- #endregion
+ #endregion
- Invoke(new Action(() =>
- {
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
- kbtn_forceFinish.Enabled = false;
- }));
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
+ kbtn_forceFinish.Enabled = false;
+
//清空当前内存污染计数
- foreach (CleanType item in basCleanTypeMsgList)
- {
- if (string.IsNullOrEmpty(item.ContaminationDtlCode))
- {//常规清洗 清零(其他污染)
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- else
- {//特殊清洗 清零
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- }
+ ClearContamination();
}
if (row1 > 0 && row2 > 0)
{
@@ -1684,35 +981,27 @@ namespace CleanMachineHMI.FrmUserControl
LeadDbHelperSQLite.Execute(sqlUpdateParam);
}
}
- //清除满料信号
- //if (PlcOperationHelper.Instance.WritePlcItem("FinishWorkingPallet", "False", PlcItemTypeDesc.M))
+
+ this._device.PrintFinish = true;
+ //打印完成信号
+ //if (PlcOperationHelper.Instance.WritePlcItem("PrintFinish", "True", PlcItemTypeDesc.M))
//{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号成功。", LogTypeEum.Run);
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号成功。", LogTypeEum.Run);
//}
//else
//{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号失败。", LogTypeEum.Err);
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号失败。", LogTypeEum.Err);
//}
-
- //打印完成信号
- if (PlcOperationHelper.Instance.WritePlcItem("PrintFinish", "True", PlcItemTypeDesc.M))
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号成功。", LogTypeEum.Run);
- }
- else
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号失败。", LogTypeEum.Err);
- }
-
+ _device.NozzleNum = 0;
//当前托盘板材计数清零
- if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号成功。", LogTypeEum.Run);
- }
- else
- {
- LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号失败。", LogTypeEum.Err);
- }
+ //if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
+ //{
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号成功。", LogTypeEum.Run);
+ //}
+ //else
+ //{
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号失败。", LogTypeEum.Err);
+ //}
if (isForceFinish)
{
@@ -1730,34 +1019,10 @@ namespace CleanMachineHMI.FrmUserControl
LogHelper.WriteLog($"作业IR:【{workingIrMsg}】已经结束,数据库信息重置完成。", LogTypeEum.Run);
}
- if (this.NextFullStop)
- {
- this.NextFullStop = false;
- //
-
-
- if (!Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StopSys", PlcItemTypeDesc.M))
- && !Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
- {
- if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
- {
- //GlobalHelper.SysIsRunFlag = false;
- LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
- }
-
- Thread.Sleep(200);
-
- if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "False", PlcItemTypeDesc.M))
- {
- }
- }
-
-
- }
}
-#endif
+
private void PrintWorkedIrMsg(string workingIrCodeMsg)
{
new CleanMachine.BLL.CM.IncomingReceipt().Print(workingIrCodeMsg, Global.MacCode, this._reportFolder);
@@ -1767,312 +1032,7 @@ namespace CleanMachineHMI.FrmUserControl
///
/// PLC 信号处理
///
-#if !NewFun
- private void MainDtlRunTh()
- {
- while (Global.SysThIsRunFlag)
- {
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("CleanMacRunStatusNew", PlcItemTypeDesc.M)))
- {
- BeginInvoke(new Action(() => { cbt_RunStatusTran.BackColor = Color.Lime; }));
- }
- else
- {
- BeginInvoke(new Action(() => { cbt_RunStatusTran.BackColor = Color.Gray; }));
- }
- //毛刷1运行状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush1Selection", PlcItemTypeDesc.M)))
- {
- BeginInvoke(new Action(() =>
- {
- cbt_Brush1StatusTran.BackColor = Color.Lime;
- }));
- }
- else
- {
- Invoke(new Action(() =>
- {
- cbt_Brush1StatusTran.BackColor = Color.Gray;
- }));
- }
-
- //毛刷2启用状态
-
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush2Selection", PlcItemTypeDesc.M)))
- {
- BeginInvoke(new Action(() =>
- {
- cbt_Brush2StatusTran.BackColor = Color.Lime;
- }));
- }
- else
- {
- BeginInvoke(new Action(() =>
- {
- cbt_Brush2StatusTran.BackColor = Color.Gray;
- }));
- }
- //毛刷3启用状态
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush3Selection", PlcItemTypeDesc.M)))
- {
- BeginInvoke(new Action(() =>
- {
- cbt_Brush3StatusTran.BackColor = Color.Lime;
- }));
- }
- else
- {
-
- BeginInvoke(new Action(() =>
- {
- cbt_Brush3StatusTran.BackColor = Color.Gray;
- }));
- }
- //喷头选择状态
- //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("NozzleSelection", PlcItemTypeDesc.M)))
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_NozzleStatusTran.BackColor = Color.Lime;
- // }));
- //}
- //else
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_NozzleStatusTran.BackColor = Color.Gray;
- // }));
- //}
- //静电棒选择
-
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StaticbarsSel", PlcItemTypeDesc.M)))
- {
- BeginInvoke(new Action(() =>
- {
- cbt_staticbar.BackColor = Color.Lime;
- }));
- }
- else
- {
- BeginInvoke(new Action(() =>
- {
- cbt_staticbar.BackColor = Color.Gray;
- }));
- }
-
- //计数模式选择
- //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M)))
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_fpalletmod.BackColor = Color.Lime;
- // }));
- //}
- //else
- //{
- // Invoke(new Action(() =>
- // {
- // cbt_fpalletmod.BackColor = Color.Gray;
- // }));
- //}
-
- //显示托盘编号
- if (ktb_IR.Text.Trim().Length > 0)
- {
- string sqlWorkPalletSel = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0 ORDER BY CREATE_TIME DESC";
- DataTable dtWorkPalletSel = LeadDbHelperSQLite.Query(sqlWorkPalletSel).Tables[0];
- if (dtWorkPalletSel.Rows.Count > 0)
- {
- BeginInvoke(new Action(() =>
- {
- ktb_CurrPalletCode.Text = dtWorkPalletSel.Rows[0]["WORKING_PALLET_CODE"].ToString();
-
- }));
- }
- else
- {
- BeginInvoke(new Action(() =>
- {
- ktb_CurrPalletCode.Text = "";
-
- }));
- }
- }
-
- string ktb_IRTest = "";
-
- string kcmb_SheetTypeText = "";
- string CurrPalletCodeText = "";
- this.Invoke(new Action(() =>
- {
- ktb_IRTest = this.ktb_IR.Text;
- kcmb_SheetTypeText = this.kcmb_SheetType.Text;
-
- CurrPalletCodeText = ktb_CurrPalletCode.Text.Trim();
- }));
-
-
- var shiftCount = PlcOperationHelper.Instance.ReadPlcItem("ShiftCount").ToString();
- this.BeginInvoke(new Action(() =>
- {
- this.ktb_ShiftCount.Text = shiftCount;
-
- }));
-
-
-
-
- //防止中途关闭系统产生数据丢失,因此每周期都会更新数据
- string sql = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
- object obj = LeadDbHelperSQLite.GetSingle(sql);
- if (obj == null)
- {
- BeginInvoke(new Action(() => { ktb_CompleteNum.Text = "0"; }));
- }
- else
- {
- BeginInvoke(new Action(() => { ktb_CompleteNum.Text = obj.ToString(); }));
- }
- string sql1 = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE <> 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
- object obj1 = LeadDbHelperSQLite.GetSingle(sql1);
- if (obj1 == null)
- {
- BeginInvoke(new Action(() =>
- {
- ktb_ScrapNum.Text = "0";
- }));
- }
- else
- {
- BeginInvoke(new Action(() =>
- {
- ktb_ScrapNum.Text = obj1.ToString();
- }));
- }
- string sql11 = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'Scrap' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}' AND WORKING_PALLET_CODE = '{CurrPalletCodeText}'";
- object obj11 = LeadDbHelperSQLite.GetSingle(sql11);
- if (obj11 == null)
- {
- BeginInvoke(new Action(() =>
- {
- ktb_Scrap.Text = "0";
- }));
- }
- else
- {
- BeginInvoke(new Action(() =>
- {
- ktb_Scrap.Text = obj11.ToString();
- }));
- }
-
- string sqlPalletCount = $@"SELECT CURRENT_NUMBER,WORKING_DTL_STATUS FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
- DataTable dtPalletCount = LeadDbHelperSQLite.Query(sqlPalletCount).Tables[0];
- if (dtPalletCount != null && dtPalletCount.Rows.Count > 0)
- {
- int finishedPalletNum = 0;
- int currentPalletNum = 0;
- foreach (DataRow item in dtPalletCount.Rows)
- {
- if (item["WORKING_DTL_STATUS"].ToString() == "1")
- {
- finishedPalletNum += Convert.ToInt32(item["CURRENT_NUMBER"]);
- }
- else
- {
- currentPalletNum += Convert.ToInt32(item["CURRENT_NUMBER"]);
- }
- }
- this.BeginInvoke(new Action(() =>
- {
- ktb_CurrentPalletNum.Text = currentPalletNum.ToString();
- ktb_FinishedPalletNum.Text = finishedPalletNum.ToString();
- }));
-
- }
- else
- {
- this.BeginInvoke(new Action(() =>
- {
- ktb_CurrentPalletNum.Text = "0";
- ktb_FinishedPalletNum.Text = "0";
- }));
-
- }
- //读取PLC当前值-这个值带有初始值
- int currNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("NozzleNum", PlcItemTypeDesc.D));
-
- int fullPalletNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D));
- //
-
- if (0 < (fullPalletNum - currNum) && (fullPalletNum - currNum) <= 10 && fullPalletNum != 0)
- {
- if ((fullPalletNum - currNum) != remainingQty)
- {
- frmMainNew.RefreshFrmHost($"The tray is about to fill up and the remaining quantity is [{fullPalletNum - currNum}]!!");
- LogHelper.WriteLog($"托盘即将满料,剩余数量为【{fullPalletNum - currNum}】!!", LogTypeEum.Run);
- remainingQty = fullPalletNum - currNum;
- }
- }
- else
- {
-
- remainingQty = fullPalletNum - currNum;
- frmMainNew.RefreshFrmHost(null);
- }
- //托盘在当前IR中的数量
- currNum -= this.lastPaltteRemain;
- if (currNum > 0)
- {
- //string sqlFinishIrSheetTypeDtl = $"select sum(CURRENT_NUMBER) from CM_WORKING_PALLET_DTL where CLEAN_MODE_CODE = 'SortedCleaned' and WORKING_DTL_STATUS = 1";
- //DataTable dtFinishIrSheetTypeDtl = LeadDbHelperSQLite.Query(sqlFinishIrSheetTypeDtl).Tables[0];
-
- //int finishIrSheetTypeNum = 0;
- //if (dtFinishIrSheetTypeDtl != null && dtFinishIrSheetTypeDtl.Rows.Count > 0)
- //{
- // finishIrSheetTypeNum = Convert.ToInt32(dtFinishIrSheetTypeDtl.Rows[0][0] == DBNull.Value ? 0 : dtFinishIrSheetTypeDtl.Rows[0][0]);
- //}
- //if (autoCleanNum != (currNum - finishIrSheetTypeNum))
- //{
- //防止中途关闭系统后产生内存数据丢失
- string sql12 = $@"
- UPDATE CM_WORKING_PALLET_DTL
- SET CURRENT_NUMBER = '{currNum }',
- UPDATE_BY = '{Global.UserInfo.UserId}',
- UPDATE_TIME = datetime('now', 'localtime'),
- DATA_VERSION = DATA_VERSION + 1
- WHERE
- CLEAN_MODE_CODE = 'SortedCleaned'
- AND IR_CODE = '{ktb_IRTest}'
- AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'
- AND WORKING_DTL_STATUS = 0
- AND WORKING_PALLET_CODE = '{CurrPalletCodeText}'
- ";
-
- int row = LeadDbHelperSQLite.Execute(sql12);
- //autoCleanNum = currNum - finishIrSheetTypeNum;
- if (row > 0)
- {
- //LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】作业托盘:【{ktb_CurrPalletCode.Text}】作业IR:【{ktb_IR.Text}】作业板材:【{kcmb_SheetType.Text}】顺序清洗计数+1成功,数量为:【{currNum}】。", LogTypeEum.Run);
- }
- else
- {
- //LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】作业托盘:【{ktb_CurrPalletCode.Text}】作业IR:【{ktb_IR.Text}】作业板材:【{kcmb_SheetType.Text}】顺序清洗计数+1失败。", LogTypeEum.Run);
- }
- //}
- }
- else
- {
- //autoCleanNum = 0;
- }
- FinishWorkingPallet();
-
-
- Thread.Sleep(200);
- }
- }
-#endif
private void btnPrinter_Click(object sender, EventArgs e)
{
//GlobalHelper.MainForm.navigatorMain.SetNavPage(Domain.Enums.EnumFormType.PrintMain);
@@ -2109,171 +1069,16 @@ namespace CleanMachineHMI.FrmUserControl
//DataTable dtWorkPallet = LeadDbHelperSQLite.Query(sqlWorkPallet).Tables[0];
////当前托盘流水号
string curPalletid = "";
-
- //if (dtWorkPallet != null && dtWorkPallet.Rows.Count > 0)
- //{//存在未完成批次信息
- // string trayCode = dtWorkPallet.Rows[0]["WORKING_PALLET_CODE"].ToString();
- // curPalletid = dtWorkPallet.Rows[0]["WORKING_PALLET_CODE"].ToString();
- // string sqlIsExistIR = $@"SELECT * FROM CM_WORKING_PALLET_DTL WHERE IR_CODE = '{ktb_IR.Text.Trim()}' AND SHEET_TYPE_CODE = '{((ListItem)kcmb_SheetType.SelectedItem).Value}'";
- // DataTable dtIsExistIR = LeadDbHelperSQLite.Query(sqlIsExistIR).Tables[0];
- // if (dtIsExistIR != null && dtIsExistIR.Rows.Count > 0)
- // {//存在批次号对应记录则保存批次版本
-
- // foreach (DataRow item in dtIsExistIR.Rows)
- // {
- // if (!string.IsNullOrEmpty(item["CONTAMINATION_DTL_CODE"].ToString()))
- // {
- // string controlCode = item["CONTAMINATION_DTL_CODE"].ToString();
- // decimal num = Convert.ToDecimal(item["CURRENT_NUMBER"].ToString());
- // Control[] cons = this.Controls.Find("knud_" + controlCode, true);
- // if (cons.Length > 0)
- // {
- // KryptonNumericUpDown knudmd = cons[0] as KryptonNumericUpDown;
- // knudmd.Value = num;
- // }
- // }
- // else
- // {
- // string controlCode = item["CLEAN_MODE_CODE"].ToString();
- // decimal num = Convert.ToDecimal(item["CURRENT_NUMBER"].ToString());
- // Control[] cons = this.Controls.Find("knud_" + controlCode, true);
- // if (cons.Length > 0)
- // {
- // KryptonNumericUpDown knudmd = cons[0] as KryptonNumericUpDown;
- // knudmd.Value = num;
- // }
- // }
- // }
-
- // string sqlUpdateWorkPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET INPUT_TIME = datetime('now', 'localtime'),UPDATE_BY = '{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1,WORKING_DTL_STATUS = 0 WHERE WORKING_PALLET_CODE = '{trayCode}' and IR_CODE = '{ktb_IR.Text.Trim()}' and SHEET_TYPE_CODE = '{((ListItem)kcmb_SheetType.SelectedItem).Value}'";
- // LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkPalletDtl);
- // LogHelper.WriteLog($"当前作业托盘:【{trayCode}】存在板材:【{((ListItem)kcmb_SheetType.SelectedItem).Value}】,IR条码:【{ktb_IR.Text.Trim()}】的记录,切换板材、IR明细信息成功!", LogTypeEum.Run);
- // }
- // else
- // {//不存在批次号对应记录则新建批次
- // //string sqlInsertWorkPallet = $@"
- // // INSERT INTO [CM_WORKING_PALLET] (
- // // [WORKING_PALLET_CODE],
- // // [WORKING_PALLET_DESC],
- // // [WORKING_STATUS],
- // // [CREATE_BY],
- // // [UPDATE_BY],
- // // [DATA_VERSION]
- // // )
- // // VALUES
- // // (
- // // '{trayCode}',
- // // '{trayCode}',
- // // '{0}',
- // // '{GlobalHelper.UserInfo.USER_ID}',
- // // '{GlobalHelper.UserInfo.USER_ID}',
- // // '{0}'
- // // );
- // // ";
- // //LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPallet);
- // string sqlIsExistWorkingIrSheetTypeDtl = $"SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 0";
- // DataTable dtIsExistWorkingIrSheetTypeDtl = LeadDbHelperSQLite.Query(sqlIsExistWorkingIrSheetTypeDtl).Tables[0];
- // if (dtIsExistWorkingIrSheetTypeDtl != null && dtIsExistWorkingIrSheetTypeDtl.Rows.Count > 0)
- // {
- // string irMsg = dtIsExistWorkingIrSheetTypeDtl.Rows[0]["IR_CODE"].ToString();
- // string sheetTypeMsg = dtIsExistWorkingIrSheetTypeDtl.Rows[0]["SHEET_TYPE_CODE"].ToString();
- // string sqlUpdateWorkPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET INPUT_TIME = datetime('now', 'localtime'),UPDATE_BY = '{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1,WORKING_DTL_STATUS = 1 WHERE WORKING_PALLET_CODE = '{trayCode}' and IR_CODE = '{irMsg}' and SHEET_TYPE_CODE = '{sheetTypeMsg}'";
- // LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkPalletDtl);
- // }
-
- // foreach (BasCleanTypeMsg item in basCleanTypeMsgList)
- // {
- // string sqlInsertWorkPalletDtl = $@"
- // INSERT INTO [CM_WORKING_PALLET_DTL] (
- // [WORKING_PALLET_CODE],
- // [IR_CODE],
- // [SHEET_TYPE_CODE],
- // [INPUT_TIME],
- // [CLEAN_MODE_CODE],
- // [CONTAMINATION_TYPE_CODE],
- // [CONTAMINATION_DTL_CODE],
- // [CURRENT_NUMBER],
- // [OPERATE_USER_ID],
- // [OPERATE_USER_TIME],
- // [WORKING_DTL_STATUS],
- // [CREATE_BY],
- // [CREATE_TIME],
- // [UPDATE_BY],
- // [UPDATE_TIME],
- // [DATA_VERSION],
- // [REMARKS1],
- // [REMARKS2],
- // [REMARKS3],
- // [REMARKS4],
- // [REMARKS5]
- // )
- // VALUES
- // (
- // '{trayCode}',
- // '{ktb_IR.Text.Trim()}',
- // '{((ListItem)kcmb_SheetType.SelectedItem).Value}',
- // (datetime('now','localtime')),
- // '{item.CLEAN_MODE_CODE}',
- // '{item.CONTAMINATION_TYPE_CODE}',
- // '{item.CONTAMINATION_DTL_CODE}',
- // 0,
- // '{GlobalHelper.UserInfo.USER_ID}',
- // datetime('now', 'localtime'),
- // 0,
- // '{GlobalHelper.UserInfo.USER_ID}',
- // datetime('now', 'localtime'),
- // '{GlobalHelper.UserInfo.USER_ID}',
- // datetime('now', 'localtime'),
- // 0,
- // NULL,
- // NULL,
- // NULL,
- // NULL,
- // NULL
- // );
- // ";
- // LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPalletDtl);
- // }
-
- // LogHelper.WriteLog($"当前作业托盘:【{trayCode}】不存在板材:【{((ListItem)kcmb_SheetType.SelectedItem).Value}】,IR条码:【{ktb_IR.Text.Trim()}】的记录,切换新增板材、IR明细信息成功!", LogTypeEum.Run);
- // }
- // //保存完成后,只有满托,或者强制满托后才可继续操作
- // kcmb_SheetType.Enabled = false;
- // ktb_IR.Enabled = false;
- // kdtp_RecordDate.Enabled = false;
- // ktb_SaveIR.Enabled = false;
-
- // //kryptonGroupBox10.Enabled = true;
- // kryptonGroupBox2.Enabled = true;
- // kryptonGroupBox3.Enabled = true;
- // kryptonGroupBox4.Enabled = true;
- // kryptonGroupBox5.Enabled = true;
- // kbtn_Scrap.Enabled = true;
- // kbtn_Scrap_1.Enabled = true;
- // kbtn_forceFinish.Enabled = true;
-
- //}
- //else
- //{
-
- //没有待完成的批次任务,则新建当前批次任务
- //string trayCode = Guid.NewGuid().ToString("N");
-
string IRCode = this.ktb_IR.Text.Trim();
-
-
string strSql = $@"SELECT COUNT(*) FROM VW_WORKING_PALLET_MSG WHERE IR_CODE='{IRCode}'";
int count = Convert.ToInt32(LeadDbHelperSQLite.GetSingle(strSql));
if (count > 0)
{
KryptonMessageBox.Show("The IR code has been used");
-
}
else
{
-
-
string trayCode = Global.GetPalletCode();
string sqlInsertWorkPallet = $@"
INSERT INTO [CM_WORKING_PALLET] (
@@ -2295,13 +1100,7 @@ namespace CleanMachineHMI.FrmUserControl
);
";
LeadDbHelperSQLite.Execute(sqlInsertWorkPallet);
-
- //当前托盘流水号查询
- //string sqlWorkPalletSel = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_PALLET_CODE = '{trayCode}'";
- //DataTable dtWorkPalletSel = LeadDbHelperSQLite.Query(sqlWorkPalletSel).Tables[0];
- //curPalletid = dtWorkPalletSel.Rows[0]["WORKING_PALLET_CODE"].ToString();
curPalletid = trayCode;
-
foreach (CleanType item in basCleanTypeMsgList)
{
string sqlInsertWorkPalletDtl = $@"
@@ -2387,7 +1186,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2428,7 +1227,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2526,7 +1325,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2624,7 +1423,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2667,7 +1466,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2719,35 +1518,7 @@ namespace CleanMachineHMI.FrmUserControl
}
private bool _nextFullStop = false;
- public bool NextFullStop
- {
- get
- {
- return _nextFullStop;
-
- }
- set
- {
- _nextFullStop = value;
- this.BeginInvoke(new Action(() =>
- {
-
- this.labelNextFullStop.Visible = value;
- }));
-
- //if (value)
- //{
- //
- // thi
- //} else
- //{
-
- //}
-
- }
-
-
- }
+
@@ -2758,7 +1529,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2770,25 +1541,29 @@ namespace CleanMachineHMI.FrmUserControl
}
-
+
if (!Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StopSys", PlcItemTypeDesc.M))
&& !Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
{
- if (KryptonMessageBox.Show("是否在下次满料时停止", "是否在下次满料时停止", MessageBoxButtons.YesNo) == DialogResult.Yes)
+ if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
{
- NextFullStop = true;
+ //GlobalHelper.SysIsRunFlag = false;
+ LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
}
- else
- {
+ //var modelResult = KryptonMessageBox.Show("是否在下次满料时停止? \n Yes:下次满料自动停止 No:直接停止 Cancel:不停止继续运行", "是否在下次满料时停止", MessageBoxButtons.YesNoCancel);
- if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
- {
- //GlobalHelper.SysIsRunFlag = false;
- LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
- }
- }
+ //if (modelResult == DialogResult.Yes)
+ //{
+ // NextFullStop = true;
+ //}
+ //else if (modelResult == DialogResult.No)
+ //{
+
+
+
+ //}
}
@@ -2896,7 +1671,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_brush1.L_IsOpen = false;
@@ -2936,7 +1711,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_brush2.L_IsOpen = false;
@@ -2981,7 +1756,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_nozzle1.L_IsOpen = false;
@@ -3021,7 +1796,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_brush3.L_IsOpen = false;
@@ -3064,7 +1839,7 @@ namespace CleanMachineHMI.FrmUserControl
kryptonButton2.Enabled = false;
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3140,7 +1915,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3179,7 +1954,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3282,7 +2057,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3330,7 +2105,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3373,7 +2148,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3406,7 +2181,7 @@ namespace CleanMachineHMI.FrmUserControl
///
private void kryptonButton7_Click(object sender, EventArgs e)
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3438,7 +2213,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_staticBar.L_IsOpen = false;
@@ -3472,7 +2247,7 @@ namespace CleanMachineHMI.FrmUserControl
//满料方式选择 M223 交替 别名:FullPalletMode
private void swtbtn_fullPalletMod_LSwitched(object sender, LEventArgs e)
{
- //if (isManualStatus())
+ //if (isManualStatus)
//{
// KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
// swtbtn_fullPalletMod.L_IsOpen = false;
@@ -3530,20 +2305,21 @@ namespace CleanMachineHMI.FrmUserControl
knud_WorkedFullPalletNum.LostFocus += new EventHandler(txt_LostFocus); //失去焦点后发生事件
}
- private bool isManualStatus()
+ private bool isManualStatus
{
- if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
+ get
{
- return true;
+ return this._device.ManualOrAuto;
}
- return false;
}
+
+
private void kbtn_Others_1_Click(object sender, EventArgs e)
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3584,7 +2360,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3628,7 +2404,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -3706,7 +2482,7 @@ namespace CleanMachineHMI.FrmUserControl
try
{
#endif
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
@@ -3749,60 +2525,35 @@ namespace CleanMachineHMI.FrmUserControl
LeadDbHelperSQLite.Execute(sql2);
KryptonMessageBox.Show("Delete IR information success!");
- Invoke(new Action(() =>
- {
- //批次信息按钮可操作
- ktb_SaveIR.Enabled = true;
- kcmb_SheetType.Enabled = true;
- ktb_IR.Enabled = true;
- kdtp_RecordDate.Enabled = true;
- kbtn_forceFinish.Enabled = true;
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
+ //批次信息按钮可操作
+ ktb_SaveIR.Enabled = true;
+ kcmb_SheetType.Enabled = true;
+ ktb_IR.Enabled = true;
+ kdtp_RecordDate.Enabled = true;
+ kbtn_forceFinish.Enabled = true;
- //清空历史批次信息
- kcmb_SheetType.SelectedIndex = 0;
- ktb_IR.Text = "";
- kdtp_RecordDate.Text = "";
- kdtp_RecordDate.Checked = false;
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
+
+ //清空历史批次信息
+ kcmb_SheetType.SelectedIndex = 0;
+ ktb_IR.Text = "";
+ kdtp_RecordDate.Text = "";
+ kdtp_RecordDate.Checked = false;
+
+ ktb_CompleteNum.Text = "0";
+ ktb_ScrapNum.Text = "0";
- ktb_CompleteNum.Text = "0";
- ktb_ScrapNum.Text = "0";
- }));
//清空当前内存污染计数
- foreach (CleanType item in basCleanTypeMsgList)
- {
- if (string.IsNullOrEmpty(item.ContaminationDtlCode))
- {//常规清洗 清零(其他污染)
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- else
- {//特殊清洗 清零
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- }
+ ClearContamination();
}
}
else
@@ -3975,7 +2726,7 @@ namespace CleanMachineHMI.FrmUserControl
kryptonButton3.Enabled = false;
try
{
- if (isManualStatus())
+ if (isManualStatus)
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -4051,7 +2802,8 @@ namespace CleanMachineHMI.FrmUserControl
private void btnShiftCount_Click(object sender, EventArgs e)
{
- frmMainNew.SwitchFrmMenu(EnumFormType.ShiftCountRecord, false);
+ //frmMainNew.SwitchFrmMenu(EnumFormType.ShiftCountRecord, false);
+ frmMainNew.SwitchFrmMenu(EnumFormType.DayReport, false);
}
private void cbt_StopTran_Click(object sender, EventArgs e)
@@ -4059,9 +2811,25 @@ namespace CleanMachineHMI.FrmUserControl
}
- private void labelNextFullStop_Click(object sender, EventArgs e)
+
+ private void kryptonDropButton1_Click(object sender, EventArgs e)
{
- this.NextFullStop = false;
+
+ }
+
+ private void kryptonButton9_Click(object sender, EventArgs e)
+ {
+ frmMainNew.SwitchFrmMenu(EnumFormType.OperatorReport, false);
+ }
+
+ private void circleButton1_KeyUp(object sender, KeyEventArgs e)
+ {
+ _device.NextStop = true;
+ }
+
+ private void circleButton1_Click(object sender, EventArgs e)
+ {
+
}
}
}
diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetail.resx b/CleanMachineHMI/FrmUserControl/frmMainDetail.resx
index 1af7de1..1bc719d 100644
--- a/CleanMachineHMI/FrmUserControl/frmMainDetail.resx
+++ b/CleanMachineHMI/FrmUserControl/frmMainDetail.resx
@@ -117,4 +117,10 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 17, 17
+
+
+ 202, 17
+
\ No newline at end of file
diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetailNew.Designer.cs b/CleanMachineHMI/FrmUserControl/frmMainDetail_.Designer.cs
similarity index 93%
rename from CleanMachineHMI/FrmUserControl/frmMainDetailNew.Designer.cs
rename to CleanMachineHMI/FrmUserControl/frmMainDetail_.Designer.cs
index a3a92ad..567c9cd 100644
--- a/CleanMachineHMI/FrmUserControl/frmMainDetailNew.Designer.cs
+++ b/CleanMachineHMI/FrmUserControl/frmMainDetail_.Designer.cs
@@ -1,7 +1,7 @@
namespace CleanMachineHMI.FrmUserControl
{
- partial class frmMainDetailNew
+ partial class frmMainDetail_
{
///
/// 必需的设计器变量。
@@ -29,18 +29,12 @@ namespace CleanMachineHMI.FrmUserControl
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
this.kryptonGroupBox8 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonButton7 = new Krypton.Toolkit.KryptonButton();
this.label9_SE = new System.Windows.Forms.Label();
this.kbtn_forceFinish = new Krypton.Toolkit.KryptonButton();
this.label4_SD = new System.Windows.Forms.Label();
this.kryptonButton6 = new Krypton.Toolkit.KryptonButton();
- this.kryptonContextMenu1 = new Krypton.Toolkit.KryptonContextMenu();
- this.kryptonContextMenuHeading1 = new Krypton.Toolkit.KryptonContextMenuHeading();
- this.kryptonContextMenuItems1 = new Krypton.Toolkit.KryptonContextMenuItems();
- this.kryptonContextMenuItem1 = new Krypton.Toolkit.KryptonContextMenuItem();
- this.kryptonContextMenuItem2 = new Krypton.Toolkit.KryptonContextMenuItem();
this.kryptonGroupBox9 = new Krypton.Toolkit.KryptonGroupBox();
this.label6_SB = new System.Windows.Forms.Label();
this.label3_SA = new System.Windows.Forms.Label();
@@ -50,7 +44,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonButton3 = new Krypton.Toolkit.KryptonButton();
this.knud_WorkedFullPalletNum = new Krypton.Toolkit.KryptonTextBox();
this.kryptonGroupBox7 = new Krypton.Toolkit.KryptonGroupBox();
- this.circleButton1 = new CleanMachineHMI.CircleButton();
+ this.labelNextFullStop = new System.Windows.Forms.Label();
this.kryptonLabel12 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel11 = new Krypton.Toolkit.KryptonLabel();
this.cbt_fpalletmod = new CleanMachineHMI.CircleButton();
@@ -84,7 +78,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kbtn_Scrap = new Krypton.Toolkit.KryptonButton();
this.ktb_Scrap = new Krypton.Toolkit.KryptonTextBox();
this.kdtp_RecordDate = new Krypton.Toolkit.KryptonDateTimePicker();
- this.label8 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.kryptonButton8 = new Krypton.Toolkit.KryptonButton();
this.ktb_CurrPalletCode = new Krypton.Toolkit.KryptonTextBox();
@@ -97,6 +90,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_ScrapNum = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel14 = new Krypton.Toolkit.KryptonLabel();
this.ktb_CompleteNum = new Krypton.Toolkit.KryptonTextBox();
+ this.buttonSpecAny1 = new Krypton.Toolkit.ButtonSpecAny();
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.label7 = new System.Windows.Forms.Label();
@@ -192,7 +186,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel7 = new Krypton.Toolkit.KryptonPanel();
this.kryptonWrapLabel4 = new Krypton.Toolkit.KryptonWrapLabel();
this.panMenu = new Krypton.Toolkit.KryptonPanel();
- this.kryptonButton9 = new Krypton.Toolkit.KryptonButton();
this.btnShiftCount = new Krypton.Toolkit.KryptonButton();
this.btnParamater = new Krypton.Toolkit.KryptonButton();
this.btnLogin = new Krypton.Toolkit.KryptonButton();
@@ -203,7 +196,6 @@ namespace CleanMachineHMI.FrmUserControl
this.btnPLCConfig = new Krypton.Toolkit.KryptonButton();
this.btnIO = new Krypton.Toolkit.KryptonButton();
this.btnManual = new Krypton.Toolkit.KryptonButton();
- this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8.Panel)).BeginInit();
this.kryptonGroupBox8.Panel.SuspendLayout();
@@ -288,7 +280,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox8.CaptionOverlap = 0D;
this.kryptonGroupBox8.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox8.Location = new System.Drawing.Point(453, 3);
+ this.kryptonGroupBox8.Location = new System.Drawing.Point(459, 3);
this.kryptonGroupBox8.Name = "kryptonGroupBox8";
//
// kryptonGroupBox8.Panel
@@ -298,16 +290,16 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox8.Panel.Controls.Add(this.kbtn_forceFinish);
this.kryptonGroupBox8.Panel.Controls.Add(this.label4_SD);
this.kryptonGroupBox8.Panel.Controls.Add(this.kryptonButton6);
- this.kryptonGroupBox8.Size = new System.Drawing.Size(194, 401);
+ this.kryptonGroupBox8.Size = new System.Drawing.Size(189, 401);
this.kryptonGroupBox8.TabIndex = 8;
this.kryptonGroupBox8.Values.Heading = "";
//
// kryptonButton7
//
this.kryptonButton7.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.kryptonButton7.Location = new System.Drawing.Point(18, 288);
+ this.kryptonButton7.Location = new System.Drawing.Point(32, 268);
this.kryptonButton7.Name = "kryptonButton7";
- this.kryptonButton7.Size = new System.Drawing.Size(154, 54);
+ this.kryptonButton7.Size = new System.Drawing.Size(135, 52);
this.kryptonButton7.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton7.TabIndex = 49;
this.kryptonButton7.Values.Text = "Finished Print";
@@ -319,7 +311,7 @@ namespace CleanMachineHMI.FrmUserControl
this.label9_SE.BackColor = System.Drawing.Color.Transparent;
this.label9_SE.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9_SE.ForeColor = System.Drawing.Color.Black;
- this.label9_SE.Location = new System.Drawing.Point(36, 180);
+ this.label9_SE.Location = new System.Drawing.Point(29, 150);
this.label9_SE.Name = "label9_SE";
this.label9_SE.Size = new System.Drawing.Size(118, 21);
this.label9_SE.TabIndex = 48;
@@ -328,9 +320,9 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_forceFinish
//
this.kbtn_forceFinish.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.kbtn_forceFinish.Location = new System.Drawing.Point(18, 217);
+ this.kbtn_forceFinish.Location = new System.Drawing.Point(32, 189);
this.kbtn_forceFinish.Name = "kbtn_forceFinish";
- this.kbtn_forceFinish.Size = new System.Drawing.Size(154, 54);
+ this.kbtn_forceFinish.Size = new System.Drawing.Size(135, 52);
this.kbtn_forceFinish.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kbtn_forceFinish.TabIndex = 2;
this.kbtn_forceFinish.Values.Text = "End of IR job";
@@ -351,45 +343,21 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton6
//
this.kryptonButton6.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.kryptonButton6.Location = new System.Drawing.Point(18, 47);
+ this.kryptonButton6.Location = new System.Drawing.Point(32, 48);
this.kryptonButton6.Name = "kryptonButton6";
- this.kryptonButton6.Size = new System.Drawing.Size(154, 54);
+ this.kryptonButton6.Size = new System.Drawing.Size(135, 52);
this.kryptonButton6.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton6.TabIndex = 6;
this.kryptonButton6.Values.Text = "Conveyor On";
this.kryptonButton6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.kryptonButton6_MouseDown_1);
this.kryptonButton6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.kryptonButton6_MouseUp_1);
//
- // kryptonContextMenu1
- //
- this.kryptonContextMenu1.Items.AddRange(new Krypton.Toolkit.KryptonContextMenuItemBase[] {
- this.kryptonContextMenuHeading1,
- this.kryptonContextMenuItems1});
- //
- // kryptonContextMenuHeading1
- //
- this.kryptonContextMenuHeading1.ExtraText = "";
- //
- // kryptonContextMenuItems1
- //
- this.kryptonContextMenuItems1.Items.AddRange(new Krypton.Toolkit.KryptonContextMenuItemBase[] {
- this.kryptonContextMenuItem1,
- this.kryptonContextMenuItem2});
- //
- // kryptonContextMenuItem1
- //
- this.kryptonContextMenuItem1.Text = "Report1";
- //
- // kryptonContextMenuItem2
- //
- this.kryptonContextMenuItem2.Text = "Reoprt2";
- //
// kryptonGroupBox9
//
this.kryptonGroupBox9.CaptionOverlap = 0D;
this.kryptonGroupBox9.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox9.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox9.Location = new System.Drawing.Point(253, 3);
+ this.kryptonGroupBox9.Location = new System.Drawing.Point(259, 3);
this.kryptonGroupBox9.Name = "kryptonGroupBox9";
//
// kryptonGroupBox9.Panel
@@ -410,7 +378,7 @@ namespace CleanMachineHMI.FrmUserControl
this.label6_SB.BackColor = System.Drawing.Color.Transparent;
this.label6_SB.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6_SB.ForeColor = System.Drawing.Color.Black;
- this.label6_SB.Location = new System.Drawing.Point(43, 180);
+ this.label6_SB.Location = new System.Drawing.Point(43, 153);
this.label6_SB.Name = "label6_SB";
this.label6_SB.Size = new System.Drawing.Size(118, 21);
this.label6_SB.TabIndex = 47;
@@ -431,10 +399,10 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton5
//
this.kryptonButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton5.Location = new System.Drawing.Point(25, 288);
+ this.kryptonButton5.Location = new System.Drawing.Point(14, 265);
this.kryptonButton5.Name = "kryptonButton5";
this.kryptonButton5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.kryptonButton5.Size = new System.Drawing.Size(154, 54);
+ this.kryptonButton5.Size = new System.Drawing.Size(154, 47);
this.kryptonButton5.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton5.TabIndex = 5;
this.kryptonButton5.Values.Image = global::CleanMachineHMI.Properties.Resources.下降;
@@ -445,10 +413,10 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton4
//
this.kryptonButton4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton4.Location = new System.Drawing.Point(25, 217);
+ this.kryptonButton4.Location = new System.Drawing.Point(14, 194);
this.kryptonButton4.Name = "kryptonButton4";
this.kryptonButton4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.kryptonButton4.Size = new System.Drawing.Size(154, 54);
+ this.kryptonButton4.Size = new System.Drawing.Size(154, 47);
this.kryptonButton4.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton4.TabIndex = 4;
this.kryptonButton4.Values.Image = global::CleanMachineHMI.Properties.Resources.上升;
@@ -459,9 +427,9 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton2
//
this.kryptonButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton2.Location = new System.Drawing.Point(25, 117);
+ this.kryptonButton2.Location = new System.Drawing.Point(14, 99);
this.kryptonButton2.Name = "kryptonButton2";
- this.kryptonButton2.Size = new System.Drawing.Size(154, 54);
+ this.kryptonButton2.Size = new System.Drawing.Size(154, 35);
this.kryptonButton2.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton2.TabIndex = 3;
this.kryptonButton2.Values.Text = "Reverse On";
@@ -471,9 +439,9 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton3
//
this.kryptonButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton3.Location = new System.Drawing.Point(25, 47);
+ this.kryptonButton3.Location = new System.Drawing.Point(14, 47);
this.kryptonButton3.Name = "kryptonButton3";
- this.kryptonButton3.Size = new System.Drawing.Size(154, 54);
+ this.kryptonButton3.Size = new System.Drawing.Size(154, 35);
this.kryptonButton3.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton3.TabIndex = 3;
this.kryptonButton3.Values.Text = "Conveyor On";
@@ -482,7 +450,7 @@ namespace CleanMachineHMI.FrmUserControl
//
// knud_WorkedFullPalletNum
//
- this.knud_WorkedFullPalletNum.Location = new System.Drawing.Point(16, 276);
+ this.knud_WorkedFullPalletNum.Location = new System.Drawing.Point(91, 301);
this.knud_WorkedFullPalletNum.Name = "knud_WorkedFullPalletNum";
this.knud_WorkedFullPalletNum.Size = new System.Drawing.Size(54, 30);
this.knud_WorkedFullPalletNum.StateCommon.Content.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -500,7 +468,7 @@ namespace CleanMachineHMI.FrmUserControl
//
// kryptonGroupBox7.Panel
//
- this.kryptonGroupBox7.Panel.Controls.Add(this.circleButton1);
+ this.kryptonGroupBox7.Panel.Controls.Add(this.labelNextFullStop);
this.kryptonGroupBox7.Panel.Controls.Add(this.kryptonLabel12);
this.kryptonGroupBox7.Panel.Controls.Add(this.kryptonLabel11);
this.kryptonGroupBox7.Panel.Controls.Add(this.cbt_fpalletmod);
@@ -525,24 +493,23 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox7.Panel.Controls.Add(this.kryptonLabel9);
this.kryptonGroupBox7.Panel.Controls.Add(this.swtbtn_brush2);
this.kryptonGroupBox7.Panel.Controls.Add(this.cbt_Brush2StatusTran);
- this.kryptonGroupBox7.Size = new System.Drawing.Size(244, 401);
+ this.kryptonGroupBox7.Size = new System.Drawing.Size(250, 401);
this.kryptonGroupBox7.TabIndex = 5;
this.kryptonGroupBox7.Values.Heading = "";
//
- // circleButton1
+ // labelNextFullStop
//
- this.circleButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
- this.circleButton1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.circleButton1.ForeColor = System.Drawing.Color.White;
- this.circleButton1.Location = new System.Drawing.Point(68, 331);
- this.circleButton1.Name = "circleButton1";
- this.circleButton1.Size = new System.Drawing.Size(60, 60);
- this.circleButton1.TabIndex = 53;
- this.circleButton1.Text = "Auto Stop";
- this.circleButton1.UseVisualStyleBackColor = false;
- this.circleButton1.Visible = false;
- this.circleButton1.Click += new System.EventHandler(this.circleButton1_Click);
- this.circleButton1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.circleButton1_KeyUp);
+ this.labelNextFullStop.AutoSize = true;
+ this.labelNextFullStop.BackColor = System.Drawing.Color.Transparent;
+ this.labelNextFullStop.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labelNextFullStop.ForeColor = System.Drawing.Color.Red;
+ this.labelNextFullStop.Location = new System.Drawing.Point(17, 104);
+ this.labelNextFullStop.Name = "labelNextFullStop";
+ this.labelNextFullStop.Size = new System.Drawing.Size(203, 16);
+ this.labelNextFullStop.TabIndex = 52;
+ this.labelNextFullStop.Text = "下次满料将停止,点击取消";
+ this.labelNextFullStop.Visible = false;
+ this.labelNextFullStop.Click += new System.EventHandler(this.labelNextFullStop_Click);
//
// kryptonLabel12
//
@@ -693,7 +660,7 @@ namespace CleanMachineHMI.FrmUserControl
this.cbt_ResetSys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(153)))), ((int)(((byte)(0)))));
this.cbt_ResetSys.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbt_ResetSys.ForeColor = System.Drawing.Color.White;
- this.cbt_ResetSys.Location = new System.Drawing.Point(162, 41);
+ this.cbt_ResetSys.Location = new System.Drawing.Point(173, 41);
this.cbt_ResetSys.Name = "cbt_ResetSys";
this.cbt_ResetSys.Size = new System.Drawing.Size(60, 60);
this.cbt_ResetSys.TabIndex = 5;
@@ -715,7 +682,7 @@ namespace CleanMachineHMI.FrmUserControl
this.cbt_StopTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.cbt_StopTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbt_StopTran.ForeColor = System.Drawing.Color.White;
- this.cbt_StopTran.Location = new System.Drawing.Point(96, 41);
+ this.cbt_StopTran.Location = new System.Drawing.Point(98, 41);
this.cbt_StopTran.Name = "cbt_StopTran";
this.cbt_StopTran.Size = new System.Drawing.Size(60, 60);
this.cbt_StopTran.TabIndex = 5;
@@ -747,7 +714,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.cbt_StartTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(190)))), ((int)(((byte)(107)))));
this.cbt_StartTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cbt_StartTran.Location = new System.Drawing.Point(30, 41);
+ this.cbt_StartTran.Location = new System.Drawing.Point(23, 41);
this.cbt_StartTran.Name = "cbt_StartTran";
this.cbt_StartTran.Size = new System.Drawing.Size(60, 60);
this.cbt_StartTran.TabIndex = 5;
@@ -840,10 +807,10 @@ namespace CleanMachineHMI.FrmUserControl
//
this.tableLayoutPanel2.BackColor = System.Drawing.Color.Transparent;
this.tableLayoutPanel2.ColumnCount = 4;
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
- this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.10546F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.92655F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.45574F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 38.51224F));
this.tableLayoutPanel2.Controls.Add(this.kryptonGroupBox8, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.kryptonGroupBox9, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.kryptonGroupBox7, 0, 0);
@@ -853,14 +820,14 @@ namespace CleanMachineHMI.FrmUserControl
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel2.Size = new System.Drawing.Size(1000, 407);
+ this.tableLayoutPanel2.Size = new System.Drawing.Size(1062, 407);
this.tableLayoutPanel2.TabIndex = 10;
//
// kryptonGroupBox1
//
this.kryptonGroupBox1.CaptionOverlap = 0D;
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox1.Location = new System.Drawing.Point(653, 3);
+ this.kryptonGroupBox1.Location = new System.Drawing.Point(654, 3);
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
//
// kryptonGroupBox1.Panel
@@ -873,7 +840,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox1.Panel.Controls.Add(this.kbtn_Scrap);
this.kryptonGroupBox1.Panel.Controls.Add(this.ktb_Scrap);
this.kryptonGroupBox1.Panel.Controls.Add(this.kdtp_RecordDate);
- this.kryptonGroupBox1.Panel.Controls.Add(this.label8);
this.kryptonGroupBox1.Panel.Controls.Add(this.panel1);
this.kryptonGroupBox1.Panel.Controls.Add(this.label7);
this.kryptonGroupBox1.Panel.Controls.Add(this.ktb_SaveIR);
@@ -887,7 +853,7 @@ namespace CleanMachineHMI.FrmUserControl
//
// kryptonLabel13
//
- this.kryptonLabel13.Location = new System.Drawing.Point(67, 279);
+ this.kryptonLabel13.Location = new System.Drawing.Point(142, 304);
this.kryptonLabel13.Name = "kryptonLabel13";
this.kryptonLabel13.Size = new System.Drawing.Size(55, 20);
this.kryptonLabel13.StateCommon.ShortText.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -896,7 +862,7 @@ namespace CleanMachineHMI.FrmUserControl
//
// kbtn_WorkedFullPalletNum
//
- this.kbtn_WorkedFullPalletNum.Location = new System.Drawing.Point(120, 275);
+ this.kbtn_WorkedFullPalletNum.Location = new System.Drawing.Point(195, 300);
this.kbtn_WorkedFullPalletNum.Name = "kbtn_WorkedFullPalletNum";
this.kbtn_WorkedFullPalletNum.Size = new System.Drawing.Size(170, 30);
this.kbtn_WorkedFullPalletNum.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -913,16 +879,16 @@ namespace CleanMachineHMI.FrmUserControl
this.kcmb_SheetType.IntegralHeight = false;
this.kcmb_SheetType.Location = new System.Drawing.Point(106, 3);
this.kcmb_SheetType.Name = "kcmb_SheetType";
- this.kcmb_SheetType.Size = new System.Drawing.Size(140, 21);
+ this.kcmb_SheetType.Size = new System.Drawing.Size(184, 21);
this.kcmb_SheetType.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kcmb_SheetType.TabIndex = 10;
//
// kbtn_Scrap_1
//
this.kbtn_Scrap_1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kbtn_Scrap_1.Location = new System.Drawing.Point(252, 323);
+ this.kbtn_Scrap_1.Location = new System.Drawing.Point(289, 341);
this.kbtn_Scrap_1.Name = "kbtn_Scrap_1";
- this.kbtn_Scrap_1.Size = new System.Drawing.Size(60, 60);
+ this.kbtn_Scrap_1.Size = new System.Drawing.Size(107, 42);
this.kbtn_Scrap_1.StateCommon.Back.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap_1.StateCommon.Back.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap_1.StateCommon.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.Solid;
@@ -935,9 +901,9 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Scrap
//
this.kbtn_Scrap.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kbtn_Scrap.Location = new System.Drawing.Point(12, 323);
+ this.kbtn_Scrap.Location = new System.Drawing.Point(18, 341);
this.kbtn_Scrap.Name = "kbtn_Scrap";
- this.kbtn_Scrap.Size = new System.Drawing.Size(60, 60);
+ this.kbtn_Scrap.Size = new System.Drawing.Size(82, 42);
this.kbtn_Scrap.StateCommon.Back.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap.StateCommon.Back.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.kbtn_Scrap.StateCommon.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.Solid;
@@ -950,10 +916,10 @@ namespace CleanMachineHMI.FrmUserControl
// ktb_Scrap
//
this.ktb_Scrap.AlwaysActive = false;
- this.ktb_Scrap.Location = new System.Drawing.Point(100, 355);
+ this.ktb_Scrap.Location = new System.Drawing.Point(106, 356);
this.ktb_Scrap.Name = "ktb_Scrap";
this.ktb_Scrap.ReadOnly = true;
- this.ktb_Scrap.Size = new System.Drawing.Size(121, 23);
+ this.ktb_Scrap.Size = new System.Drawing.Size(177, 23);
this.ktb_Scrap.TabIndex = 1;
//
// kdtp_RecordDate
@@ -965,26 +931,12 @@ namespace CleanMachineHMI.FrmUserControl
this.kdtp_RecordDate.Location = new System.Drawing.Point(106, 52);
this.kdtp_RecordDate.Name = "kdtp_RecordDate";
this.kdtp_RecordDate.ShowCheckBox = true;
- this.kdtp_RecordDate.Size = new System.Drawing.Size(140, 21);
+ this.kdtp_RecordDate.Size = new System.Drawing.Size(184, 21);
this.kdtp_RecordDate.TabIndex = 4;
//
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.BackColor = System.Drawing.Color.Transparent;
- this.label8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label8.ForeColor = System.Drawing.Color.Black;
- this.label8.Location = new System.Drawing.Point(118, 323);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(75, 12);
- this.label8.TabIndex = 8;
- this.label8.Text = "Current IR";
- //
// panel1
//
- this.panel1.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.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.kryptonButton8);
this.panel1.Controls.Add(this.ktb_CurrPalletCode);
@@ -999,14 +951,14 @@ namespace CleanMachineHMI.FrmUserControl
this.panel1.Controls.Add(this.ktb_CompleteNum);
this.panel1.Controls.Add(this.kryptonLabel5);
this.panel1.Controls.Add(this.kryptonLabel4);
- this.panel1.Location = new System.Drawing.Point(6, 79);
+ this.panel1.Location = new System.Drawing.Point(67, 79);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(390, 190);
+ this.panel1.Size = new System.Drawing.Size(329, 219);
this.panel1.TabIndex = 3;
//
// kryptonButton8
//
- this.kryptonButton8.Location = new System.Drawing.Point(255, 158);
+ this.kryptonButton8.Location = new System.Drawing.Point(224, 161);
this.kryptonButton8.Name = "kryptonButton8";
this.kryptonButton8.Size = new System.Drawing.Size(73, 26);
this.kryptonButton8.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1021,7 +973,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_CurrPalletCode.Location = new System.Drawing.Point(147, 68);
this.ktb_CurrPalletCode.Name = "ktb_CurrPalletCode";
this.ktb_CurrPalletCode.ReadOnly = true;
- this.ktb_CurrPalletCode.Size = new System.Drawing.Size(181, 23);
+ this.ktb_CurrPalletCode.Size = new System.Drawing.Size(150, 23);
this.ktb_CurrPalletCode.TabIndex = 10;
this.ktb_CurrPalletCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@@ -1037,13 +989,19 @@ namespace CleanMachineHMI.FrmUserControl
// ktb_ShiftCount
//
this.ktb_ShiftCount.AlwaysActive = false;
+ this.ktb_ShiftCount.CueHint.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.ktb_ShiftCount.CueHint.Padding = new System.Windows.Forms.Padding(0);
+ this.ktb_ShiftCount.InputControlStyle = Krypton.Toolkit.InputControlStyle.Ribbon;
this.ktb_ShiftCount.Location = new System.Drawing.Point(147, 161);
this.ktb_ShiftCount.Name = "ktb_ShiftCount";
this.ktb_ShiftCount.ReadOnly = true;
- this.ktb_ShiftCount.Size = new System.Drawing.Size(71, 23);
+ this.ktb_ShiftCount.Size = new System.Drawing.Size(74, 26);
+ this.ktb_ShiftCount.StateCommon.Content.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.ktb_ShiftCount.StateNormal.Content.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.ktb_ShiftCount.StateNormal.Content.Padding = new System.Windows.Forms.Padding(5);
this.ktb_ShiftCount.TabIndex = 1;
this.ktb_ShiftCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
- this.ktb_ShiftCount.Visible = false;
+ this.ktb_ShiftCount.WordWrap = false;
//
// ktb_FinishedPalletNum
//
@@ -1051,7 +1009,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_FinishedPalletNum.Location = new System.Drawing.Point(147, 130);
this.ktb_FinishedPalletNum.Name = "ktb_FinishedPalletNum";
this.ktb_FinishedPalletNum.ReadOnly = true;
- this.ktb_FinishedPalletNum.Size = new System.Drawing.Size(181, 23);
+ this.ktb_FinishedPalletNum.Size = new System.Drawing.Size(150, 23);
this.ktb_FinishedPalletNum.TabIndex = 1;
this.ktb_FinishedPalletNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@@ -1061,7 +1019,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_CurrentPalletNum.Location = new System.Drawing.Point(147, 99);
this.ktb_CurrentPalletNum.Name = "ktb_CurrentPalletNum";
this.ktb_CurrentPalletNum.ReadOnly = true;
- this.ktb_CurrentPalletNum.Size = new System.Drawing.Size(181, 23);
+ this.ktb_CurrentPalletNum.Size = new System.Drawing.Size(150, 23);
this.ktb_CurrentPalletNum.TabIndex = 1;
this.ktb_CurrentPalletNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@@ -1073,7 +1031,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonLabel16.Size = new System.Drawing.Size(76, 20);
this.kryptonLabel16.TabIndex = 0;
this.kryptonLabel16.Values.Text = "Shift Count";
- this.kryptonLabel16.Visible = false;
//
// kryptonLabel15
//
@@ -1090,7 +1047,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_ScrapNum.Location = new System.Drawing.Point(147, 37);
this.ktb_ScrapNum.Name = "ktb_ScrapNum";
this.ktb_ScrapNum.ReadOnly = true;
- this.ktb_ScrapNum.Size = new System.Drawing.Size(181, 23);
+ this.ktb_ScrapNum.Size = new System.Drawing.Size(150, 23);
this.ktb_ScrapNum.TabIndex = 1;
this.ktb_ScrapNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@@ -1106,13 +1063,20 @@ namespace CleanMachineHMI.FrmUserControl
// ktb_CompleteNum
//
this.ktb_CompleteNum.AlwaysActive = false;
+ this.ktb_CompleteNum.ButtonSpecs.AddRange(new Krypton.Toolkit.ButtonSpecAny[] {
+ this.buttonSpecAny1});
this.ktb_CompleteNum.Location = new System.Drawing.Point(147, 6);
this.ktb_CompleteNum.Name = "ktb_CompleteNum";
this.ktb_CompleteNum.ReadOnly = true;
- this.ktb_CompleteNum.Size = new System.Drawing.Size(181, 23);
+ this.ktb_CompleteNum.Size = new System.Drawing.Size(150, 23);
+ this.ktb_CompleteNum.StateNormal.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ktb_CompleteNum.TabIndex = 1;
this.ktb_CompleteNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
+ // buttonSpecAny1
+ //
+ this.buttonSpecAny1.UniqueName = "8dcb0cfe3c3b47bfa4290fe4bbef0a3a";
+ //
// kryptonLabel5
//
this.kryptonLabel5.LabelStyle = Krypton.Toolkit.LabelStyle.BoldControl;
@@ -1137,19 +1101,19 @@ namespace CleanMachineHMI.FrmUserControl
this.label7.BackColor = System.Drawing.Color.Transparent;
this.label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label7.ForeColor = System.Drawing.Color.Black;
- this.label7.Location = new System.Drawing.Point(118, 341);
+ this.label7.Location = new System.Drawing.Point(116, 341);
this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(82, 12);
+ this.label7.Size = new System.Drawing.Size(166, 12);
this.label7.TabIndex = 8;
- this.label7.Text = "Scrap Count";
+ this.label7.Text = "Current IR Scrap Count";
//
// ktb_SaveIR
//
this.ktb_SaveIR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ktb_SaveIR.AutoSize = true;
- this.ktb_SaveIR.Location = new System.Drawing.Point(252, 3);
+ this.ktb_SaveIR.Location = new System.Drawing.Point(296, 3);
this.ktb_SaveIR.Name = "ktb_SaveIR";
- this.ktb_SaveIR.Size = new System.Drawing.Size(88, 70);
+ this.ktb_SaveIR.Size = new System.Drawing.Size(100, 70);
this.ktb_SaveIR.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ktb_SaveIR.TabIndex = 2;
this.ktb_SaveIR.Values.Text = "SAVE IR";
@@ -1170,7 +1134,7 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_IR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ktb_IR.Location = new System.Drawing.Point(106, 27);
this.ktb_IR.Name = "ktb_IR";
- this.ktb_IR.Size = new System.Drawing.Size(140, 23);
+ this.ktb_IR.Size = new System.Drawing.Size(184, 23);
this.ktb_IR.TabIndex = 1;
this.ktb_IR.TextChanged += new System.EventHandler(this.ktb_IR_TextChanged_1);
//
@@ -1197,7 +1161,7 @@ namespace CleanMachineHMI.FrmUserControl
// kryptonButton1
//
this.kryptonButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.kryptonButton1.Location = new System.Drawing.Point(139, 160);
+ this.kryptonButton1.Location = new System.Drawing.Point(156, 160);
this.kryptonButton1.Name = "kryptonButton1";
this.kryptonButton1.Size = new System.Drawing.Size(84, 25);
this.kryptonButton1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1211,7 +1175,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox5.CaptionOverlap = 0D;
this.kryptonGroupBox5.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox5.Location = new System.Drawing.Point(253, 3);
+ this.kryptonGroupBox5.Location = new System.Drawing.Point(268, 3);
this.kryptonGroupBox5.Name = "kryptonGroupBox5";
//
// kryptonGroupBox5.Panel
@@ -1221,7 +1185,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox5.Panel.Controls.Add(this.kryptonPanel20);
this.kryptonGroupBox5.Panel.Controls.Add(this.kryptonPanel18);
this.kryptonGroupBox5.Panel.Controls.Add(this.kryptonPanel6);
- this.kryptonGroupBox5.Size = new System.Drawing.Size(244, 207);
+ this.kryptonGroupBox5.Size = new System.Drawing.Size(259, 207);
this.kryptonGroupBox5.TabIndex = 3;
this.kryptonGroupBox5.Values.Heading = "";
//
@@ -1234,7 +1198,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel24.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel24.Location = new System.Drawing.Point(0, 100);
this.kryptonPanel24.Name = "kryptonPanel24";
- this.kryptonPanel24.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel24.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel24.TabIndex = 9;
//
// kryptonWrapLabel13
@@ -1242,11 +1206,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel13.AutoSize = false;
this.kryptonWrapLabel13.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel13.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel13.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel13.Name = "kryptonWrapLabel13";
- this.kryptonWrapLabel13.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel13.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel13.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel13.Text = "粘合剂";
this.kryptonWrapLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1254,7 +1218,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Adhesives
//
this.kbtn_Adhesives.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Adhesives.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_Adhesives.Location = new System.Drawing.Point(143, 0);
this.kbtn_Adhesives.Name = "kbtn_Adhesives";
this.kbtn_Adhesives.Size = new System.Drawing.Size(28, 25);
this.kbtn_Adhesives.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1266,7 +1230,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Adhesives.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Adhesives.Enabled = false;
- this.knud_Adhesives.Location = new System.Drawing.Point(156, 0);
+ this.knud_Adhesives.Location = new System.Drawing.Point(171, 0);
this.knud_Adhesives.Maximum = new decimal(new int[] {
200,
0,
@@ -1282,7 +1246,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Adhesives_1
//
this.kbtn_Adhesives_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Adhesives_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_Adhesives_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_Adhesives_1.Name = "kbtn_Adhesives_1";
this.kbtn_Adhesives_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Adhesives_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1299,7 +1263,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel22.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel22.Location = new System.Drawing.Point(0, 75);
this.kryptonPanel22.Name = "kryptonPanel22";
- this.kryptonPanel22.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel22.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel22.TabIndex = 7;
//
// kryptonWrapLabel12
@@ -1307,11 +1271,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel12.AutoSize = false;
this.kryptonWrapLabel12.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel12.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel12.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel12.Name = "kryptonWrapLabel12";
- this.kryptonWrapLabel12.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel12.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel12.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel12.Text = "溶剂";
this.kryptonWrapLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1319,7 +1283,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Solvents
//
this.kbtn_Solvents.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Solvents.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_Solvents.Location = new System.Drawing.Point(143, 0);
this.kbtn_Solvents.Name = "kbtn_Solvents";
this.kbtn_Solvents.Size = new System.Drawing.Size(28, 25);
this.kbtn_Solvents.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1331,7 +1295,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Solvents.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Solvents.Enabled = false;
- this.knud_Solvents.Location = new System.Drawing.Point(156, 0);
+ this.knud_Solvents.Location = new System.Drawing.Point(171, 0);
this.knud_Solvents.Maximum = new decimal(new int[] {
200,
0,
@@ -1347,7 +1311,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Solvents_1
//
this.kbtn_Solvents_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Solvents_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_Solvents_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_Solvents_1.Name = "kbtn_Solvents_1";
this.kbtn_Solvents_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Solvents_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1364,7 +1328,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel20.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel20.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel20.Name = "kryptonPanel20";
- this.kryptonPanel20.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel20.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel20.TabIndex = 5;
//
// kryptonWrapLabel11
@@ -1372,11 +1336,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel11.AutoSize = false;
this.kryptonWrapLabel11.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel11.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel11.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel11.Name = "kryptonWrapLabel11";
- this.kryptonWrapLabel11.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel11.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel11.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel11.Text = "强烈气味";
this.kryptonWrapLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1384,7 +1348,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_StrongOdor
//
this.kbtn_StrongOdor.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_StrongOdor.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_StrongOdor.Location = new System.Drawing.Point(143, 0);
this.kbtn_StrongOdor.Name = "kbtn_StrongOdor";
this.kbtn_StrongOdor.Size = new System.Drawing.Size(28, 25);
this.kbtn_StrongOdor.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1396,7 +1360,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_StrongOdor.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_StrongOdor.Enabled = false;
- this.knud_StrongOdor.Location = new System.Drawing.Point(156, 0);
+ this.knud_StrongOdor.Location = new System.Drawing.Point(171, 0);
this.knud_StrongOdor.Maximum = new decimal(new int[] {
200,
0,
@@ -1412,7 +1376,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_StrongOdor_1
//
this.kbtn_StrongOdor_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_StrongOdor_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_StrongOdor_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_StrongOdor_1.Name = "kbtn_StrongOdor_1";
this.kbtn_StrongOdor_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_StrongOdor_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1429,7 +1393,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel18.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel18.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel18.Name = "kryptonPanel18";
- this.kryptonPanel18.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel18.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel18.TabIndex = 3;
//
// kryptonWrapLabel10
@@ -1437,11 +1401,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel10.AutoSize = false;
this.kryptonWrapLabel10.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel10.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel10.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel10.Name = "kryptonWrapLabel10";
- this.kryptonWrapLabel10.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel10.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel10.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel10.Text = "油/油脂或油漆";
this.kryptonWrapLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1449,7 +1413,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OilOrGreaseOrPaint
//
this.kbtn_OilOrGreaseOrPaint.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OilOrGreaseOrPaint.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_OilOrGreaseOrPaint.Location = new System.Drawing.Point(143, 0);
this.kbtn_OilOrGreaseOrPaint.Name = "kbtn_OilOrGreaseOrPaint";
this.kbtn_OilOrGreaseOrPaint.Size = new System.Drawing.Size(28, 25);
this.kbtn_OilOrGreaseOrPaint.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1461,7 +1425,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_OilOrGreaseOrPaint.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_OilOrGreaseOrPaint.Enabled = false;
- this.knud_OilOrGreaseOrPaint.Location = new System.Drawing.Point(156, 0);
+ this.knud_OilOrGreaseOrPaint.Location = new System.Drawing.Point(171, 0);
this.knud_OilOrGreaseOrPaint.Maximum = new decimal(new int[] {
200,
0,
@@ -1477,7 +1441,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OilOrGreaseOrPaint_1
//
this.kbtn_OilOrGreaseOrPaint_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OilOrGreaseOrPaint_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_OilOrGreaseOrPaint_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_OilOrGreaseOrPaint_1.Name = "kbtn_OilOrGreaseOrPaint_1";
this.kbtn_OilOrGreaseOrPaint_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_OilOrGreaseOrPaint_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1491,7 +1455,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel6.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel6.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel6.Name = "kryptonPanel6";
- this.kryptonPanel6.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel6.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel6.TabIndex = 1;
//
// kryptonWrapLabel3
@@ -1499,11 +1463,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel3.AutoSize = false;
this.kryptonWrapLabel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel3.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel3.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel3.Name = "kryptonWrapLabel3";
- this.kryptonWrapLabel3.Size = new System.Drawing.Size(240, 25);
+ this.kryptonWrapLabel3.Size = new System.Drawing.Size(255, 25);
this.kryptonWrapLabel3.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel3.Text = "化学污染";
this.kryptonWrapLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1516,7 +1480,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonPanel3.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel3.Name = "kryptonPanel3";
- this.kryptonPanel3.Size = new System.Drawing.Size(1000, 679);
+ this.kryptonPanel3.Size = new System.Drawing.Size(1062, 679);
this.kryptonPanel3.TabIndex = 12;
//
// tableLayoutPanel1
@@ -1557,7 +1521,7 @@ namespace CleanMachineHMI.FrmUserControl
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
- this.tableLayoutPanel1.Size = new System.Drawing.Size(1000, 213);
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(1062, 213);
this.tableLayoutPanel1.TabIndex = 8;
//
// kryptonGroupBox2
@@ -1576,7 +1540,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox2.Panel.Controls.Add(this.kryptonPanel12);
this.kryptonGroupBox2.Panel.Controls.Add(this.kryptonPanel9);
this.kryptonGroupBox2.Panel.Controls.Add(this.kryptonPanel5);
- this.kryptonGroupBox2.Size = new System.Drawing.Size(244, 207);
+ this.kryptonGroupBox2.Size = new System.Drawing.Size(259, 207);
this.kryptonGroupBox2.TabIndex = 4;
this.kryptonGroupBox2.Values.Heading = "";
//
@@ -1589,7 +1553,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel33.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel33.Location = new System.Drawing.Point(0, 125);
this.kryptonPanel33.Name = "kryptonPanel33";
- this.kryptonPanel33.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel33.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel33.TabIndex = 9;
//
// kryptonWrapLabel21
@@ -1597,11 +1561,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel21.AutoSize = false;
this.kryptonWrapLabel21.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel21.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel21.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel21.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel21.Name = "kryptonWrapLabel21";
- this.kryptonWrapLabel21.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel21.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel21.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel21.Text = "胶带、贴纸";
this.kryptonWrapLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1609,7 +1573,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_TapeOrStickers
//
this.kbtn_TapeOrStickers.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_TapeOrStickers.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_TapeOrStickers.Location = new System.Drawing.Point(143, 0);
this.kbtn_TapeOrStickers.Name = "kbtn_TapeOrStickers";
this.kbtn_TapeOrStickers.Size = new System.Drawing.Size(28, 25);
this.kbtn_TapeOrStickers.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1621,7 +1585,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_TapeOrStickers.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_TapeOrStickers.Enabled = false;
- this.knud_TapeOrStickers.Location = new System.Drawing.Point(156, 0);
+ this.knud_TapeOrStickers.Location = new System.Drawing.Point(171, 0);
this.knud_TapeOrStickers.Maximum = new decimal(new int[] {
200,
0,
@@ -1637,7 +1601,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_TapeOrStickers_1
//
this.kbtn_TapeOrStickers_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_TapeOrStickers_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_TapeOrStickers_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_TapeOrStickers_1.Name = "kbtn_TapeOrStickers_1";
this.kbtn_TapeOrStickers_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_TapeOrStickers_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1654,7 +1618,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel16.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel16.Location = new System.Drawing.Point(0, 100);
this.kryptonPanel16.Name = "kryptonPanel16";
- this.kryptonPanel16.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel16.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel16.TabIndex = 7;
//
// kryptonWrapLabel9
@@ -1662,11 +1626,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel9.AutoSize = false;
this.kryptonWrapLabel9.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel9.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel9.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel9.Name = "kryptonWrapLabel9";
- this.kryptonWrapLabel9.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel9.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel9.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel9.Text = "啮齿动物、昆虫";
this.kryptonWrapLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1674,7 +1638,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_RodentsInsocts
//
this.kbtn_RodentsInsocts.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_RodentsInsocts.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_RodentsInsocts.Location = new System.Drawing.Point(143, 0);
this.kbtn_RodentsInsocts.Name = "kbtn_RodentsInsocts";
this.kbtn_RodentsInsocts.Size = new System.Drawing.Size(28, 25);
this.kbtn_RodentsInsocts.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1686,7 +1650,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_RodentsInsocts.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_RodentsInsocts.Enabled = false;
- this.knud_RodentsInsocts.Location = new System.Drawing.Point(156, 0);
+ this.knud_RodentsInsocts.Location = new System.Drawing.Point(171, 0);
this.knud_RodentsInsocts.Maximum = new decimal(new int[] {
200,
0,
@@ -1702,7 +1666,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_RodentsInsocts_1
//
this.kbtn_RodentsInsocts_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_RodentsInsocts_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_RodentsInsocts_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_RodentsInsocts_1.Name = "kbtn_RodentsInsocts_1";
this.kbtn_RodentsInsocts_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_RodentsInsocts_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1719,7 +1683,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel14.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel14.Location = new System.Drawing.Point(0, 75);
this.kryptonPanel14.Name = "kryptonPanel14";
- this.kryptonPanel14.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel14.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel14.TabIndex = 5;
//
// kryptonWrapLabel8
@@ -1727,11 +1691,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel8.AutoSize = false;
this.kryptonWrapLabel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel8.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel8.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel8.Name = "kryptonWrapLabel8";
- this.kryptonWrapLabel8.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel8.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel8.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel8.Text = "土、泥、草";
this.kryptonWrapLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1739,7 +1703,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_DirtMudGrass
//
this.kbtn_DirtMudGrass.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_DirtMudGrass.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_DirtMudGrass.Location = new System.Drawing.Point(143, 0);
this.kbtn_DirtMudGrass.Name = "kbtn_DirtMudGrass";
this.kbtn_DirtMudGrass.Size = new System.Drawing.Size(28, 25);
this.kbtn_DirtMudGrass.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1751,7 +1715,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_DirtMudGrass.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_DirtMudGrass.Enabled = false;
- this.knud_DirtMudGrass.Location = new System.Drawing.Point(156, 0);
+ this.knud_DirtMudGrass.Location = new System.Drawing.Point(171, 0);
this.knud_DirtMudGrass.Maximum = new decimal(new int[] {
200,
0,
@@ -1767,7 +1731,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_DirtMudGrass_1
//
this.kbtn_DirtMudGrass_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_DirtMudGrass_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_DirtMudGrass_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_DirtMudGrass_1.Name = "kbtn_DirtMudGrass_1";
this.kbtn_DirtMudGrass_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_DirtMudGrass_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1784,7 +1748,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel12.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel12.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel12.Name = "kryptonPanel12";
- this.kryptonPanel12.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel12.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel12.TabIndex = 3;
//
// kryptonWrapLabel7
@@ -1792,11 +1756,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel7.AutoSize = false;
this.kryptonWrapLabel7.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel7.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel7.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel7.Name = "kryptonWrapLabel7";
- this.kryptonWrapLabel7.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel7.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel7.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel7.Text = "金属刨花";
this.kryptonWrapLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1804,7 +1768,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MetalShaving
//
this.kbtn_MetalShaving.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MetalShaving.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_MetalShaving.Location = new System.Drawing.Point(143, 0);
this.kbtn_MetalShaving.Name = "kbtn_MetalShaving";
this.kbtn_MetalShaving.Size = new System.Drawing.Size(28, 25);
this.kbtn_MetalShaving.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1816,7 +1780,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_MetalShaving.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_MetalShaving.Enabled = false;
- this.knud_MetalShaving.Location = new System.Drawing.Point(156, 0);
+ this.knud_MetalShaving.Location = new System.Drawing.Point(171, 0);
this.knud_MetalShaving.Maximum = new decimal(new int[] {
200,
0,
@@ -1832,7 +1796,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MetalShaving_1
//
this.kbtn_MetalShaving_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MetalShaving_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_MetalShaving_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_MetalShaving_1.Name = "kbtn_MetalShaving_1";
this.kbtn_MetalShaving_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_MetalShaving_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1849,7 +1813,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel9.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel9.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel9.Name = "kryptonPanel9";
- this.kryptonPanel9.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel9.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel9.TabIndex = 1;
//
// kryptonWrapLabel6
@@ -1857,11 +1821,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel6.AutoSize = false;
this.kryptonWrapLabel6.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel6.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel6.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel6.Name = "kryptonWrapLabel6";
- this.kryptonWrapLabel6.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel6.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel6.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel6.Text = "玻璃/木屑";
this.kryptonWrapLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1869,7 +1833,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_GlassOrWoodShreds
//
this.kbtn_GlassOrWoodShreds.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_GlassOrWoodShreds.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_GlassOrWoodShreds.Location = new System.Drawing.Point(143, 0);
this.kbtn_GlassOrWoodShreds.Name = "kbtn_GlassOrWoodShreds";
this.kbtn_GlassOrWoodShreds.Size = new System.Drawing.Size(28, 25);
this.kbtn_GlassOrWoodShreds.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1881,7 +1845,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_GlassOrWoodShreds.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_GlassOrWoodShreds.Enabled = false;
- this.knud_GlassOrWoodShreds.Location = new System.Drawing.Point(156, 0);
+ this.knud_GlassOrWoodShreds.Location = new System.Drawing.Point(171, 0);
this.knud_GlassOrWoodShreds.Maximum = new decimal(new int[] {
200,
0,
@@ -1897,7 +1861,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_GlassOrWoodShreds_1
//
this.kbtn_GlassOrWoodShreds_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_GlassOrWoodShreds_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_GlassOrWoodShreds_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_GlassOrWoodShreds_1.Name = "kbtn_GlassOrWoodShreds_1";
this.kbtn_GlassOrWoodShreds_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_GlassOrWoodShreds_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1911,7 +1875,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel5.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel5.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel5.Name = "kryptonPanel5";
- this.kryptonPanel5.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel5.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel5.TabIndex = 0;
//
// kryptonWrapLabel2
@@ -1919,11 +1883,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel2.AutoSize = false;
this.kryptonWrapLabel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel2.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel2.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel2.Name = "kryptonWrapLabel2";
- this.kryptonWrapLabel2.Size = new System.Drawing.Size(240, 25);
+ this.kryptonWrapLabel2.Size = new System.Drawing.Size(255, 25);
this.kryptonWrapLabel2.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel2.Text = "物理污染";
this.kryptonWrapLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1933,7 +1897,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox4.CaptionOverlap = 0D;
this.kryptonGroupBox4.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox4.Location = new System.Drawing.Point(753, 3);
+ this.kryptonGroupBox4.Location = new System.Drawing.Point(798, 3);
this.kryptonGroupBox4.Name = "kryptonGroupBox4";
//
// kryptonGroupBox4.Panel
@@ -1942,7 +1906,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonPanel39);
this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonPanel8);
this.kryptonGroupBox4.Panel.Controls.Add(this.kryptonButton1);
- this.kryptonGroupBox4.Size = new System.Drawing.Size(244, 207);
+ this.kryptonGroupBox4.Size = new System.Drawing.Size(261, 207);
this.kryptonGroupBox4.TabIndex = 2;
this.kryptonGroupBox4.Values.Heading = "";
//
@@ -1951,7 +1915,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel23.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel23.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel23.Name = "kryptonPanel23";
- this.kryptonPanel23.Size = new System.Drawing.Size(240, 7);
+ this.kryptonPanel23.Size = new System.Drawing.Size(257, 7);
this.kryptonPanel23.TabIndex = 5;
//
// kryptonPanel39
@@ -1963,7 +1927,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel39.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel39.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel39.Name = "kryptonPanel39";
- this.kryptonPanel39.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel39.Size = new System.Drawing.Size(257, 25);
this.kryptonPanel39.TabIndex = 3;
//
// kryptonWrapLabel19
@@ -1971,11 +1935,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel19.AutoSize = false;
this.kryptonWrapLabel19.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel19.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel19.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel19.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel19.Name = "kryptonWrapLabel19";
- this.kryptonWrapLabel19.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel19.Size = new System.Drawing.Size(145, 25);
this.kryptonWrapLabel19.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel19.Text = "其它污染";
this.kryptonWrapLabel19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1983,7 +1947,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Others
//
this.kbtn_Others.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Others.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_Others.Location = new System.Drawing.Point(145, 0);
this.kbtn_Others.Name = "kbtn_Others";
this.kbtn_Others.Size = new System.Drawing.Size(28, 25);
this.kbtn_Others.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1995,7 +1959,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Others.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Others.Enabled = false;
- this.knud_Others.Location = new System.Drawing.Point(156, 0);
+ this.knud_Others.Location = new System.Drawing.Point(173, 0);
this.knud_Others.Maximum = new decimal(new int[] {
200,
0,
@@ -2011,7 +1975,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Others_1
//
this.kbtn_Others_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Others_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_Others_1.Location = new System.Drawing.Point(229, 0);
this.kbtn_Others_1.Name = "kbtn_Others_1";
this.kbtn_Others_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Others_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2025,7 +1989,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel8.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel8.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel8.Name = "kryptonPanel8";
- this.kryptonPanel8.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel8.Size = new System.Drawing.Size(257, 25);
this.kryptonPanel8.TabIndex = 1;
//
// kryptonWrapLabel5
@@ -2033,11 +1997,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel5.AutoSize = false;
this.kryptonWrapLabel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel5.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel5.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel5.Name = "kryptonWrapLabel5";
- this.kryptonWrapLabel5.Size = new System.Drawing.Size(240, 25);
+ this.kryptonWrapLabel5.Size = new System.Drawing.Size(257, 25);
this.kryptonWrapLabel5.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel5.Text = "其它污染";
this.kryptonWrapLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2047,7 +2011,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox3.CaptionOverlap = 0D;
this.kryptonGroupBox3.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.kryptonGroupBox3.Location = new System.Drawing.Point(503, 3);
+ this.kryptonGroupBox3.Location = new System.Drawing.Point(533, 3);
this.kryptonGroupBox3.Name = "kryptonGroupBox3";
//
// kryptonGroupBox3.Panel
@@ -2057,7 +2021,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox3.Panel.Controls.Add(this.kryptonPanel28);
this.kryptonGroupBox3.Panel.Controls.Add(this.kryptonPanel26);
this.kryptonGroupBox3.Panel.Controls.Add(this.kryptonPanel7);
- this.kryptonGroupBox3.Size = new System.Drawing.Size(244, 207);
+ this.kryptonGroupBox3.Size = new System.Drawing.Size(259, 207);
this.kryptonGroupBox3.TabIndex = 1;
this.kryptonGroupBox3.Values.Heading = "";
//
@@ -2070,7 +2034,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel32.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel32.Location = new System.Drawing.Point(0, 100);
this.kryptonPanel32.Name = "kryptonPanel32";
- this.kryptonPanel32.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel32.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel32.TabIndex = 9;
//
// kryptonWrapLabel17
@@ -2078,11 +2042,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel17.AutoSize = false;
this.kryptonWrapLabel17.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel17.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel17.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel17.Name = "kryptonWrapLabel17";
- this.kryptonWrapLabel17.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel17.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel17.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel17.Text = "霉菌";
this.kryptonWrapLabel17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2090,7 +2054,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Mold
//
this.kbtn_Mold.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Mold.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_Mold.Location = new System.Drawing.Point(143, 0);
this.kbtn_Mold.Name = "kbtn_Mold";
this.kbtn_Mold.Size = new System.Drawing.Size(28, 25);
this.kbtn_Mold.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2102,7 +2066,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_Mold.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_Mold.Enabled = false;
- this.knud_Mold.Location = new System.Drawing.Point(156, 0);
+ this.knud_Mold.Location = new System.Drawing.Point(171, 0);
this.knud_Mold.Maximum = new decimal(new int[] {
200,
0,
@@ -2118,7 +2082,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_Mold_1
//
this.kbtn_Mold_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_Mold_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_Mold_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_Mold_1.Name = "kbtn_Mold_1";
this.kbtn_Mold_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_Mold_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2135,7 +2099,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel30.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel30.Location = new System.Drawing.Point(0, 75);
this.kryptonPanel30.Name = "kryptonPanel30";
- this.kryptonPanel30.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel30.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel30.TabIndex = 7;
//
// kryptonWrapLabel16
@@ -2143,11 +2107,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel16.AutoSize = false;
this.kryptonWrapLabel16.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel16.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel16.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel16.Name = "kryptonWrapLabel16";
- this.kryptonWrapLabel16.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel16.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel16.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel16.Text = "臭味或异味";
this.kryptonWrapLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2155,7 +2119,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OdorOrAtypicalSmell
//
this.kbtn_OdorOrAtypicalSmell.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OdorOrAtypicalSmell.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_OdorOrAtypicalSmell.Location = new System.Drawing.Point(143, 0);
this.kbtn_OdorOrAtypicalSmell.Name = "kbtn_OdorOrAtypicalSmell";
this.kbtn_OdorOrAtypicalSmell.Size = new System.Drawing.Size(28, 25);
this.kbtn_OdorOrAtypicalSmell.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2167,7 +2131,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_OdorOrAtypicalSmell.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_OdorOrAtypicalSmell.Enabled = false;
- this.knud_OdorOrAtypicalSmell.Location = new System.Drawing.Point(156, 0);
+ this.knud_OdorOrAtypicalSmell.Location = new System.Drawing.Point(171, 0);
this.knud_OdorOrAtypicalSmell.Maximum = new decimal(new int[] {
200,
0,
@@ -2183,7 +2147,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_OdorOrAtypicalSmell_1
//
this.kbtn_OdorOrAtypicalSmell_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_OdorOrAtypicalSmell_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_OdorOrAtypicalSmell_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_OdorOrAtypicalSmell_1.Name = "kbtn_OdorOrAtypicalSmell_1";
this.kbtn_OdorOrAtypicalSmell_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_OdorOrAtypicalSmell_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2200,7 +2164,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel28.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel28.Location = new System.Drawing.Point(0, 50);
this.kryptonPanel28.Name = "kryptonPanel28";
- this.kryptonPanel28.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel28.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel28.TabIndex = 5;
//
// kryptonWrapLabel15
@@ -2208,11 +2172,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel15.AutoSize = false;
this.kryptonWrapLabel15.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel15.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel15.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel15.Name = "kryptonWrapLabel15";
- this.kryptonWrapLabel15.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel15.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel15.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel15.Text = "粪便、排泄物";
this.kryptonWrapLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2220,7 +2184,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_FecesExcreta
//
this.kbtn_FecesExcreta.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_FecesExcreta.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_FecesExcreta.Location = new System.Drawing.Point(143, 0);
this.kbtn_FecesExcreta.Name = "kbtn_FecesExcreta";
this.kbtn_FecesExcreta.Size = new System.Drawing.Size(28, 25);
this.kbtn_FecesExcreta.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2232,7 +2196,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_FecesExcreta.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_FecesExcreta.Enabled = false;
- this.knud_FecesExcreta.Location = new System.Drawing.Point(156, 0);
+ this.knud_FecesExcreta.Location = new System.Drawing.Point(171, 0);
this.knud_FecesExcreta.Maximum = new decimal(new int[] {
200,
0,
@@ -2248,7 +2212,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_FecesExcreta_1
//
this.kbtn_FecesExcreta_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_FecesExcreta_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_FecesExcreta_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_FecesExcreta_1.Name = "kbtn_FecesExcreta_1";
this.kbtn_FecesExcreta_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_FecesExcreta_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2265,7 +2229,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel26.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel26.Location = new System.Drawing.Point(0, 25);
this.kryptonPanel26.Name = "kryptonPanel26";
- this.kryptonPanel26.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel26.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel26.TabIndex = 3;
//
// kryptonWrapLabel14
@@ -2273,11 +2237,11 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel14.AutoSize = false;
this.kryptonWrapLabel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel14.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel14.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel14.Name = "kryptonWrapLabel14";
- this.kryptonWrapLabel14.Size = new System.Drawing.Size(128, 25);
+ this.kryptonWrapLabel14.Size = new System.Drawing.Size(143, 25);
this.kryptonWrapLabel14.StateCommon.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel14.Text = "有湿气或受潮";
this.kryptonWrapLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2285,7 +2249,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MoistureOrWet
//
this.kbtn_MoistureOrWet.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MoistureOrWet.Location = new System.Drawing.Point(128, 0);
+ this.kbtn_MoistureOrWet.Location = new System.Drawing.Point(143, 0);
this.kbtn_MoistureOrWet.Name = "kbtn_MoistureOrWet";
this.kbtn_MoistureOrWet.Size = new System.Drawing.Size(28, 25);
this.kbtn_MoistureOrWet.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2297,7 +2261,7 @@ namespace CleanMachineHMI.FrmUserControl
//
this.knud_MoistureOrWet.Dock = System.Windows.Forms.DockStyle.Right;
this.knud_MoistureOrWet.Enabled = false;
- this.knud_MoistureOrWet.Location = new System.Drawing.Point(156, 0);
+ this.knud_MoistureOrWet.Location = new System.Drawing.Point(171, 0);
this.knud_MoistureOrWet.Maximum = new decimal(new int[] {
200,
0,
@@ -2313,7 +2277,7 @@ namespace CleanMachineHMI.FrmUserControl
// kbtn_MoistureOrWet_1
//
this.kbtn_MoistureOrWet_1.Dock = System.Windows.Forms.DockStyle.Right;
- this.kbtn_MoistureOrWet_1.Location = new System.Drawing.Point(212, 0);
+ this.kbtn_MoistureOrWet_1.Location = new System.Drawing.Point(227, 0);
this.kbtn_MoistureOrWet_1.Name = "kbtn_MoistureOrWet_1";
this.kbtn_MoistureOrWet_1.Size = new System.Drawing.Size(28, 25);
this.kbtn_MoistureOrWet_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -2327,7 +2291,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel7.Dock = System.Windows.Forms.DockStyle.Top;
this.kryptonPanel7.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel7.Name = "kryptonPanel7";
- this.kryptonPanel7.Size = new System.Drawing.Size(240, 25);
+ this.kryptonPanel7.Size = new System.Drawing.Size(255, 25);
this.kryptonPanel7.TabIndex = 1;
//
// kryptonWrapLabel4
@@ -2335,18 +2299,17 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonWrapLabel4.AutoSize = false;
this.kryptonWrapLabel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonWrapLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonWrapLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
+ this.kryptonWrapLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
this.kryptonWrapLabel4.LabelStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonWrapLabel4.Location = new System.Drawing.Point(0, 0);
this.kryptonWrapLabel4.Name = "kryptonWrapLabel4";
- this.kryptonWrapLabel4.Size = new System.Drawing.Size(240, 25);
+ this.kryptonWrapLabel4.Size = new System.Drawing.Size(255, 25);
this.kryptonWrapLabel4.StateCommon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonWrapLabel4.Text = "微生物污染";
this.kryptonWrapLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// panMenu
//
- this.panMenu.Controls.Add(this.kryptonButton9);
this.panMenu.Controls.Add(this.btnShiftCount);
this.panMenu.Controls.Add(this.btnParamater);
this.panMenu.Controls.Add(this.btnLogin);
@@ -2360,57 +2323,18 @@ namespace CleanMachineHMI.FrmUserControl
this.panMenu.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panMenu.Location = new System.Drawing.Point(0, 620);
this.panMenu.Name = "panMenu";
- this.panMenu.Size = new System.Drawing.Size(1000, 59);
+ this.panMenu.Size = new System.Drawing.Size(1062, 59);
this.panMenu.TabIndex = 7;
//
- // kryptonButton9
- //
- this.kryptonButton9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.kryptonButton9.AutoSize = true;
- this.kryptonButton9.Location = new System.Drawing.Point(840, 6);
- this.kryptonButton9.Name = "kryptonButton9";
- this.kryptonButton9.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
- this.kryptonButton9.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.kryptonButton9.Size = new System.Drawing.Size(80, 47);
- this.kryptonButton9.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.kryptonButton9.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
- this.kryptonButton9.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.kryptonButton9.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
- this.kryptonButton9.StateNormal.Border.Color1 = System.Drawing.Color.CornflowerBlue;
- this.kryptonButton9.StateNormal.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
- | Krypton.Toolkit.PaletteDrawBorders.Left)
- | Krypton.Toolkit.PaletteDrawBorders.Right)));
- this.kryptonButton9.StateNormal.Border.Rounding = 3F;
- this.kryptonButton9.StatePressed.Back.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(240)))));
- this.kryptonButton9.StatePressed.Back.Color2 = System.Drawing.Color.RoyalBlue;
- this.kryptonButton9.StatePressed.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
- this.kryptonButton9.StatePressed.Border.Color1 = System.Drawing.Color.CornflowerBlue;
- this.kryptonButton9.StatePressed.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
- | Krypton.Toolkit.PaletteDrawBorders.Left)
- | Krypton.Toolkit.PaletteDrawBorders.Right)));
- this.kryptonButton9.StatePressed.Border.Rounding = 3F;
- this.kryptonButton9.StateTracking.Back.Color1 = System.Drawing.Color.WhiteSmoke;
- this.kryptonButton9.StateTracking.Back.Color2 = System.Drawing.Color.CornflowerBlue;
- this.kryptonButton9.StateTracking.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
- this.kryptonButton9.StateTracking.Border.Color1 = System.Drawing.Color.CornflowerBlue;
- this.kryptonButton9.StateTracking.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
- | Krypton.Toolkit.PaletteDrawBorders.Left)
- | Krypton.Toolkit.PaletteDrawBorders.Right)));
- this.kryptonButton9.StateTracking.Border.Rounding = 3F;
- this.kryptonButton9.TabIndex = 22;
- this.kryptonButton9.Tag = "frmPrinterMain";
- this.kryptonButton9.Values.Text = "个人报";
- this.kryptonButton9.Click += new System.EventHandler(this.kryptonButton9_Click);
- //
// btnShiftCount
//
this.btnShiftCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnShiftCount.AutoSize = true;
- this.btnShiftCount.Location = new System.Drawing.Point(755, 6);
+ this.btnShiftCount.Location = new System.Drawing.Point(818, 6);
this.btnShiftCount.Name = "btnShiftCount";
this.btnShiftCount.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnShiftCount.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.btnShiftCount.Size = new System.Drawing.Size(80, 47);
+ this.btnShiftCount.Size = new System.Drawing.Size(102, 47);
this.btnShiftCount.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnShiftCount.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnShiftCount.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2438,7 +2362,7 @@ namespace CleanMachineHMI.FrmUserControl
this.btnShiftCount.StateTracking.Border.Rounding = 3F;
this.btnShiftCount.TabIndex = 21;
this.btnShiftCount.Tag = "frmPrinterMain";
- this.btnShiftCount.Values.Text = "日报";
+ this.btnShiftCount.Values.Text = "班次记录";
this.btnShiftCount.Click += new System.EventHandler(this.btnShiftCount_Click);
//
// btnParamater
@@ -2601,11 +2525,11 @@ namespace CleanMachineHMI.FrmUserControl
//
this.btnPrinter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnPrinter.AutoSize = true;
- this.btnPrinter.Location = new System.Drawing.Point(667, 6);
+ this.btnPrinter.Location = new System.Drawing.Point(710, 6);
this.btnPrinter.Name = "btnPrinter";
this.btnPrinter.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnPrinter.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.btnPrinter.Size = new System.Drawing.Size(85, 47);
+ this.btnPrinter.Size = new System.Drawing.Size(102, 47);
this.btnPrinter.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnPrinter.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnPrinter.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2644,7 +2568,7 @@ namespace CleanMachineHMI.FrmUserControl
this.btnIR.Name = "btnIR";
this.btnIR.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnIR.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
- this.btnIR.Size = new System.Drawing.Size(61, 47);
+ this.btnIR.Size = new System.Drawing.Size(105, 47);
this.btnIR.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnIR.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
this.btnIR.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
@@ -2792,19 +2716,13 @@ namespace CleanMachineHMI.FrmUserControl
this.btnManual.Values.Text = "手动控制";
this.btnManual.Click += new System.EventHandler(this.btnManual_Click);
//
- // contextMenuStrip1
- //
- this.contextMenuStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
- this.contextMenuStrip1.Name = "contextMenuStrip1";
- this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
- //
- // frmMainDetailNew
+ // frmMainDetail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.kryptonPanel3);
- this.Name = "frmMainDetailNew";
- this.Size = new System.Drawing.Size(1000, 679);
+ this.Name = "frmMainDetail";
+ this.Size = new System.Drawing.Size(1062, 679);
this.Load += new System.EventHandler(this.frmMainDetail_Load);
this.Resize += new System.EventHandler(this.frmMainDetail_Resize);
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8.Panel)).EndInit();
@@ -2941,7 +2859,6 @@ namespace CleanMachineHMI.FrmUserControl
private Krypton.Toolkit.KryptonButton kbtn_Scrap;
private Krypton.Toolkit.KryptonTextBox ktb_Scrap;
private Krypton.Toolkit.KryptonDateTimePicker kdtp_RecordDate;
- private System.Windows.Forms.Label label8;
private System.Windows.Forms.Panel panel1;
private Krypton.Toolkit.KryptonTextBox ktb_CurrPalletCode;
private Krypton.Toolkit.KryptonLabel kryptonLabel10;
@@ -3063,13 +2980,7 @@ namespace CleanMachineHMI.FrmUserControl
private Krypton.Toolkit.KryptonTextBox ktb_ShiftCount;
private Krypton.Toolkit.KryptonLabel kryptonLabel16;
private Krypton.Toolkit.KryptonButton btnShiftCount;
- private Krypton.Toolkit.KryptonContextMenu kryptonContextMenu1;
- private Krypton.Toolkit.KryptonContextMenuItems kryptonContextMenuItems1;
- private Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem1;
- private Krypton.Toolkit.KryptonContextMenuHeading kryptonContextMenuHeading1;
- private Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem2;
- private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
- private Krypton.Toolkit.KryptonButton kryptonButton9;
- private CircleButton circleButton1;
+ private System.Windows.Forms.Label labelNextFullStop;
+ private Krypton.Toolkit.ButtonSpecAny buttonSpecAny1;
}
}
diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetailNew.cs b/CleanMachineHMI/FrmUserControl/frmMainDetail_.cs
similarity index 63%
rename from CleanMachineHMI/FrmUserControl/frmMainDetailNew.cs
rename to CleanMachineHMI/FrmUserControl/frmMainDetail_.cs
index 4e2a0c2..9fc0e18 100644
--- a/CleanMachineHMI/FrmUserControl/frmMainDetailNew.cs
+++ b/CleanMachineHMI/FrmUserControl/frmMainDetail_.cs
@@ -1,5 +1,5 @@
-
+//#define NewFun
using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.Utils;
@@ -24,18 +24,15 @@ using CleanMachine.Model.BAS;
namespace CleanMachineHMI.FrmUserControl
{
- [FormType(EnumFormType.MainDetail)]
- public partial class frmMainDetailNew : UserControl
+
+ public partial class frmMainDetail_ : UserControl
{
- public frmMainDetailNew()
+ public frmMainDetail_()
{
InitializeComponent();
- _device = new Device();
-
}
- private Device _device;
@@ -72,6 +69,22 @@ namespace CleanMachineHMI.FrmUserControl
+ //private void InitControl()
+ //{
+ // var menuControl = panMenu.Controls;
+ // var menuButCount = panMenu.Controls.Count;
+ // var menuButWeight = 170;
+ // var intervalCount = menuControl.Count + 1;
+ // var intervalWeight = (this.Width - menuButWeight * menuButCount) / intervalCount;
+ // //菜单
+ // for (int i = 0; i < menuControl.Count; i++)
+ // {
+ // menuControl[i].Left = intervalWeight * (i + 1) + menuButWeight * i;
+ // menuControl[i].Width = menuButWeight;
+ // (menuControl[i] as KryptonButton).StateCommon.Content.ShortText.Font = new Font("微软雅黑", 10, FontStyle.Regular);
+ // }
+
+ //}
private void frmMainDetail_Resize(object sender, EventArgs e)
{
@@ -89,8 +102,6 @@ namespace CleanMachineHMI.FrmUserControl
{
LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】注销登录!", LogTypeEum.Run);
Global.LoginForm.Show();
- Global.UserInfo = null;
- Global.SysThIsRunFlag = false;
//GlobalHelper.MainForm.Hide();
Global.MainFormNew.Hide();
@@ -108,16 +119,8 @@ namespace CleanMachineHMI.FrmUserControl
frmMainNew.SwitchFrmMenu(EnumFormType.Base, false);
}
- private bool isInit = false;
-
-
private void frmMainDetail_Load(object sender, EventArgs e)
{
-
- if (isInit) return;
- isInit = true;
-
-
this.SetFormControlText();
try
{
@@ -178,35 +181,132 @@ namespace CleanMachineHMI.FrmUserControl
//加载当前工作信息
LoadCurrentWorkingTray();
+#if NewFun
+
+ PlcOperationHelper.Instance.OnReadFinish += Instance_OnReadFinish;
+#else
+ Thread th1 = new Thread(MainDtlRunTh)
+ {
+ IsBackground = true
+ };
+ th1.Start();
+#endif
+
foreach (Control item in panMenu.Controls)
{
if (item.Tag != null && item.Tag.ToString() != "")
{
if (Global.RoleMenuPermission != null)
{
+ //var drs = GlobalHelper.RoleMenuPermission.FirstOrDefault(m => m.MenuUrl == item.Tag.ToString() && m.MenuPid == -1);
+ //item.Enabled = drs != null;
item.Enabled = Global.CheckRole(item.Tag.ToString());
+ //DataRow[] drs = GlobalHelper.RoleMenuPermission.Select($" MENU_URL = '{item.Tag.ToString()}' AND MENU_PID = '-1'");
+ //if (drs.Length > 0)
+ //{
+ // item.Enabled = true;
+ //}
+ //else
+ //{
+ // item.Enabled = false;
+ //}
}
}
}
new EnvironmentSettings().ReportSettings.ShowProgress = false;
- PlcOperationHelper.Instance.OnReadFinish += Instance_OnReadFinish;
- Instance_OnReadFinish();
- swtbtn_brush1.L_IsOpen = this._device.Hairbrush1Selection;
- swtbtn_brush2.L_IsOpen = this._device.Hairbrush2Selection;
- swtbtn_brush3.L_IsOpen = this._device.Hairbrush3Selection;
- swtbtn_staticBar.L_IsOpen = this._device.StaticbarsSel;
- knud_WorkedFullPalletNum.Text = _device.WorkedFullPalletNum.ToString();
+ //毛刷1运行状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush1Selection", PlcItemTypeDesc.M)))
+ {
+ swtbtn_brush1.L_IsOpen = true;
+ }
+ else
+ {
+ swtbtn_brush1.L_IsOpen = false;
+ }
+ //毛刷2启用状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush2Selection", PlcItemTypeDesc.M)))
+ {
+ swtbtn_brush2.L_IsOpen = true;
+ }
+ else
+ {
+ swtbtn_brush2.L_IsOpen = false;
+ }
+ //毛刷3启用状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush3Selection", PlcItemTypeDesc.M)))
+ {
+ swtbtn_brush3.L_IsOpen = true;
+ }
+ else
+ {
+ swtbtn_brush3.L_IsOpen = false;
+ }
+ //喷头选择状态
+ //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("NozzleSelection", PlcItemTypeDesc.M)))
+ //{
+ // swtbtn_nozzle1.L_IsOpen = true;
+ //}
+ //else
+ //{
+ // swtbtn_nozzle1.L_IsOpen = false;
+ //}
+
+ //静电棒选择状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StaticbarsSel", PlcItemTypeDesc.M)))
+ {
+ swtbtn_staticBar.L_IsOpen = true;
+ }
+ else
+ {
+ swtbtn_staticBar.L_IsOpen = false;
+ }
+
+ //计数方式选择状态
+ //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M)))
+ //{
+ // swtbtn_fullPalletMod.L_IsOpen = true;
+ //
+ // {
+ // kryptonLabel12.Text = "Delay Full";
+ // }
+ // else
+ // {
+ // kryptonLabel12.Text = "延时满料";
+ // }
+ //}
+ //else
+ //{
+ // swtbtn_fullPalletMod.L_IsOpen = false;
+ //
+ // {
+ // kryptonLabel12.Text = "Count Full";
+ // }
+ // else
+ // {
+ // kryptonLabel12.Text = "计数满料";
+ // }
+ //}
+ // knud_WorkedFullPalletNum.Text = PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D).ToString();
+
+ knud_WorkedFullPalletNum.Text = PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum").ToString();
RefreshCurrentWorkingDataFrmHost = new dlgCleanCurrentWorkingData(cleanCurrentworkingData);
kryptonGroupBox1.Focus();
Global.OnSyncFinishPalletData += SyncFinishPalletData;
-
-
- this.kryptonButton8_Click(null, null);
+ //if (isOk)
+ //{
+ // kryptonButton2.StateCommon.Back.Color1 = Color.Lime;
+ // kryptonButton2.Text = "停止运行";
+ //}
+ //else
+ //{
+ // kryptonButton2.StateCommon.Back.Color1 = Color.Red;
+ // kryptonButton2.Text = "运行";
+ //}
@@ -214,11 +314,11 @@ namespace CleanMachineHMI.FrmUserControl
catch (Exception ex)
{
KryptonMessageBox.Show(this.T("主业务界面加载发生异常", "LoadMainDetailFrmExp") + $":【{ex.Message}】!");
- LogHelper.WriteLog($"【{ex.Message}】", LogTypeEum.Err);
+ LogHelper.WriteLog($"1111【{ex.Message}】", LogTypeEum.Err);
}
}
-
+#if NewFun
private void FinishWorkingPallet1()
{
@@ -300,8 +400,8 @@ namespace CleanMachineHMI.FrmUserControl
{
string sql1 = $@"Update CM_WORKING_PALLET set WORKING_STATUS = 0 where WORKING_STATUS = '-1'";
string sql2 = $@"Update CM_WORKING_PALLET_DTL set WORKING_DTL_STATUS = 0 where WORKING_DTL_STATUS = '-1'";
- LeadDbHelperSQLite.Execute(sql1);
- LeadDbHelperSQLite.Execute(sql2);
+ LeadDbHelperSQLite.ExecuteSql(sql1);
+ LeadDbHelperSQLite.ExecuteSql(sql2);
//污染类型操作禁用
//kryptonGroupBox10.Enabled = false;
@@ -332,30 +432,145 @@ namespace CleanMachineHMI.FrmUserControl
private void Instance_OnReadFinish()
{
- Console.WriteLine("数据变化");
-
- cbt_RunStatusTran.BackColor = _device.CleanMacRunStatusNew ? Color.Lime : Color.Gray;
- cbt_Brush1StatusTran.BackColor = _device.Hairbrush1Selection ? Color.Lime : Color.Gray;
- cbt_Brush2StatusTran.BackColor = _device.Hairbrush2Selection ? Color.Lime : Color.Gray;
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("CleanMacRunStatusNew", PlcItemTypeDesc.M)))
+ {
+ cbt_RunStatusTran.BackColor = Color.Lime;
+ }
+ else
+ {
+ cbt_RunStatusTran.BackColor = Color.Gray;
+ }
+ //毛刷1运行状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush1Selection", PlcItemTypeDesc.M)))
+ {
- cbt_Brush3StatusTran.BackColor = _device.Hairbrush3Selection ? Color.Lime : Color.Gray;
+ cbt_Brush1StatusTran.BackColor = Color.Lime;
- cbt_staticbar.BackColor = _device.StaticbarsSel ? Color.Lime : Color.Gray;
+ }
+ else
+ {
+
+ cbt_Brush1StatusTran.BackColor = Color.Gray;
+
+ }
+
+ //毛刷2启用状态
+
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush2Selection", PlcItemTypeDesc.M)))
+ {
+
+ cbt_Brush2StatusTran.BackColor = Color.Lime;
+
+ }
+ else
+ {
+
+ cbt_Brush2StatusTran.BackColor = Color.Gray;
+
+ }
+ //毛刷3启用状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush3Selection", PlcItemTypeDesc.M)))
+ {
+
+ cbt_Brush3StatusTran.BackColor = Color.Lime;
+
+ }
+ else
+ {
+ cbt_Brush3StatusTran.BackColor = Color.Gray;
+
+ }
+ //喷头选择状态
+ //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("NozzleSelection", PlcItemTypeDesc.M)))
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_NozzleStatusTran.BackColor = Color.Lime;
+ // }));
+ //}
+ //else
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_NozzleStatusTran.BackColor = Color.Gray;
+ // }));
+ //}
+ //静电棒选择
+
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StaticbarsSel", PlcItemTypeDesc.M)))
+ {
+
+ cbt_staticbar.BackColor = Color.Lime;
+
+ }
+ else
+ {
+
+ cbt_staticbar.BackColor = Color.Gray;
+
+ }
+
+ //计数模式选择
+ //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M)))
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_fpalletmod.BackColor = Color.Lime;
+ // }));
+ //}
+ //else
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_fpalletmod.BackColor = Color.Gray;
+ // }));
+ //}
+
+
+
+ //显示托盘编号
+ if (ktb_IR.Text.Trim().Length > 0)
+ {
+ string sqlWorkPalletSel = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0 ORDER BY CREATE_TIME DESC";
+ DataTable dtWorkPalletSel = LeadDbHelperSQLite.Query(sqlWorkPalletSel).Tables[0];
+ if (dtWorkPalletSel.Rows.Count > 0)
+ {
+
+ ktb_CurrPalletCode.Text = dtWorkPalletSel.Rows[0]["WORKING_PALLET_CODE"].ToString();
+
+
+ }
+ else
+ {
+
+ ktb_CurrPalletCode.Text = "";
+
+
+ }
+ }
// 显示班次计数
//ShiftCount
+ var shiftCount = PlcOperationHelper.Instance.ReadPlcItem("ShiftCount").ToString();
+ this.ktb_ShiftCount.Text = shiftCount;
- this.ktb_ShiftCount.Text = _device.ShiftCount.ToString();
- string ktb_IRTest = this.ktb_IR.Text;
- string kcmb_SheetTypeText = this.kcmb_SheetType.Text;
- string CurrPalletCodeText = ktb_CurrPalletCode.Text.Trim();
+ string ktb_IRTest = "";
+ string kcmb_SheetTypeText = "";
+ string CurrPalletCodeText = "";
+
+ ktb_IRTest = this.ktb_IR.Text;
+ kcmb_SheetTypeText = this.kcmb_SheetType.Text;
+
+ CurrPalletCodeText = ktb_CurrPalletCode.Text.Trim();
+ // 显示班次计数
+ //ShiftCount
//防止中途关闭系统产生数据丢失,因此每周期都会更新数据
string sql = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
@@ -397,6 +612,10 @@ namespace CleanMachineHMI.FrmUserControl
}
+
+
+
+
string sqlPalletCount = $@"SELECT CURRENT_NUMBER,WORKING_DTL_STATUS FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
DataTable dtPalletCount = LeadDbHelperSQLite.Query(sqlPalletCount).Tables[0];
if (dtPalletCount != null && dtPalletCount.Rows.Count > 0)
@@ -429,9 +648,9 @@ namespace CleanMachineHMI.FrmUserControl
}
//读取PLC当前值-这个值带有初始值
- int currNum = _device.NozzleNum;
+ int currNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("NozzleNum", PlcItemTypeDesc.D));
- int fullPalletNum = _device.WorkedFullPalletNum;
+ int fullPalletNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D));
//
if (0 < (fullPalletNum - currNum) && (fullPalletNum - currNum) <= 10 && fullPalletNum != 0)
@@ -478,7 +697,7 @@ namespace CleanMachineHMI.FrmUserControl
AND WORKING_PALLET_CODE = '{CurrPalletCodeText}'
";
- int row = LeadDbHelperSQLite.Execute(sql12);
+ int row = LeadDbHelperSQLite.ExecuteSql(sql12);
//autoCleanNum = currNum - finishIrSheetTypeNum;
if (row > 0)
{
@@ -499,7 +718,7 @@ namespace CleanMachineHMI.FrmUserControl
FinishWorkingPallet1();
}
-
+#endif
private void SyncFinishPalletData(object sender, EventArgs e)
{
Invoke(new Action(() =>
@@ -508,42 +727,6 @@ namespace CleanMachineHMI.FrmUserControl
knud_WorkedFullPalletNum.Text = text;
}));
}
-
-
- private void ClearContamination()
- {
-
- //清空当前内存污染计数
- foreach (CleanType item in basCleanTypeMsgList)
- {
- if (string.IsNullOrEmpty(item.ContaminationDtlCode))
- {//常规清洗 清零(其他污染)
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- else
- {//特殊清洗 清零
- Invoke(new Action(() =>
- {
- if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
- {
- KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
- knudmd.Value = 0;
- }
- }));
- }
- }
-
-
- }
-
-
private void cleanCurrentworkingData()
{
Invoke(new Action(() =>
@@ -571,7 +754,32 @@ namespace CleanMachineHMI.FrmUserControl
ktb_ScrapNum.Text = "0";
}));
- ClearContamination();
+ //清空当前内存污染计数
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ if (string.IsNullOrEmpty(item.ContaminationDtlCode))
+ {//常规清洗 清零(其他污染)
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ else
+ {//特殊清洗 清零
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ }
}
///
/// 加载当前工作信息
@@ -584,10 +792,8 @@ namespace CleanMachineHMI.FrmUserControl
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
if (dt != null && dt.Rows.Count > 0)
{
-
string sheetType = dt.Rows[0]["SHEET_TYPE_CODE"].ToString();
string IrCode = dt.Rows[0]["IR_CODE"].ToString();
- string palletCode = dt.Rows[0]["WORKING_PALLET_CODE"].ToString();
DateTime InputTime = Convert.ToDateTime(dt.Rows[0]["INPUT_TIME"]);
foreach (DataRow item in dt.Rows)
{
@@ -618,8 +824,6 @@ namespace CleanMachineHMI.FrmUserControl
kcmb_SheetType.Text = sheetType;
ktb_IR.Text = IrCode;
kdtp_RecordDate.Value = InputTime;
- ktb_CurrPalletCode.Text = palletCode;
-
kdtp_RecordDate.Checked = true;
kcmb_SheetType.Enabled = false;
@@ -655,7 +859,7 @@ namespace CleanMachineHMI.FrmUserControl
int _RemainPallte = Convert.ToInt32(LeadDbHelperSQLite.GetSingle(LastPattleNumSql));
//读取PLC 当前计数值
- int currNum = _device.NozzleNum;
+ int currNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("NozzleNum", PlcItemTypeDesc.D));
if (currNum > 0)
{
@@ -697,7 +901,119 @@ namespace CleanMachineHMI.FrmUserControl
}
}
+#if !NewFun
+ ///
+ /// 满料检查,并打印处理
+ ///
+ private void FinishWorkingPallet()
+ {
+#if RELEASE
+ try
+ {
+#endif
+ //满料标识
+ bool isFinishWorkingPallet = Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FinishWorkingPallet", PlcItemTypeDesc.M));
+ //ToDo: 根据满料的方式,增加相应的满料判断代码
+ bool fullPalletMode = Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M));
+
+ int countFullNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D));
+ //是否强制满料
+ bool isForceFullPallet = Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ForceFullPallet", PlcItemTypeDesc.M));
+
+ string sql_CurrPalletmsg = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0";
+ DataTable dt_CurrPalletmsg = LeadDbHelperSQLite.Query(sql_CurrPalletmsg).Tables[0];
+
+ if (fullPalletMode)// 延时满料
+ {
+ //if (dt_CurrPalletmsg != null && dt_CurrPalletmsg.Rows.Count > 0 && isFinishWorkingPallet)
+ //{
+ // string palletCodeMsg = dt_CurrPalletmsg.Rows[0]["WORKING_PALLET_CODE"].ToString();
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,开始处理延时满料业务。", LogTypeEum.Run);
+ // string sqlWorkingIrMsg = $@"SELECT DISTINCT IR_CODE FROM VW_WORKING_PALLET_MSG WHERE WORKING_PALLET_CODE = '{palletCodeMsg}'";
+
+ // DataTable dt_workingIrMsg = LeadDbHelperSQLite.Query(sqlWorkingIrMsg).Tables[0];
+ // if (dt_workingIrMsg != null && dt_workingIrMsg.Rows.Count > 0)
+ // {
+ // PrintPalletData(dt_workingIrMsg, palletCodeMsg);
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,延时满料业务处理完成,数据打印完成。", LogTypeEum.Run);
+ // }
+ //}
+ }
+ else //计数满料
+ {
+ if (dt_CurrPalletmsg != null && dt_CurrPalletmsg.Rows.Count > 0)
+ {
+ string palletCodeMsg = dt_CurrPalletmsg.Rows[0]["WORKING_PALLET_CODE"].ToString();
+ string sqlCurrNumMsg = $@"SELECT ifnull(SUM(CURRENT_NUMBER),0) FROM VW_WORKING_PALLET_MSG WHERE WORKING_PALLET_CODE = '{palletCodeMsg}' and CLEAN_MODE_CODE = 'SortedCleaned'";
+ DataTable dt_CurrNumMsg = LeadDbHelperSQLite.Query(sqlCurrNumMsg).Tables[0];
+ if (dt_CurrNumMsg != null && dt_CurrNumMsg.Rows.Count > 0)
+ {
+ //这个值只包含托盘在这个IR下个数量
+ int currentNum = Convert.ToInt32(dt_CurrNumMsg.Rows[0][0]);
+
+ currentNum += this.lastPaltteRemain;
+
+ string sqlWorkingIrMsg = $@"SELECT DISTINCT IR_CODE FROM VW_WORKING_PALLET_MSG WHERE WORKING_PALLET_CODE = '{palletCodeMsg}'";
+ DataTable dt_workingIrMsg = LeadDbHelperSQLite.Query(sqlWorkingIrMsg).Tables[0];
+ if (currentNum >= countFullNum && isFinishWorkingPallet && countFullNum > 0) //正常满料
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,开始处理计数满料业务。满料方式:【正常满料】", LogTypeEum.Run);
+ if (dt_workingIrMsg != null && dt_workingIrMsg.Rows.Count > 0)
+ PrintPalletData(dt_workingIrMsg.Rows[0][0].ToString(), palletCodeMsg, false);
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,计数满料业务正常处理完成,数据打印完成。", LogTypeEum.Run);
+
+
+
+
+ }
+ else if (currentNum < countFullNum && isFinishWorkingPallet && isForceFullPallet && countFullNum > 0)//强制满料
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,开始处理计数满料业务。满料方式:【强制满料】", LogTypeEum.Run);
+ if (dt_workingIrMsg != null && dt_workingIrMsg.Rows.Count > 0)
+ PrintPalletData(dt_workingIrMsg.Rows[0][0].ToString(), palletCodeMsg, true);
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】,计数满料业务强制处理完成,数据打印完成。", LogTypeEum.Run);
+
+ }
+ }
+ }
+ }
+
+ if (!isFinishWorkingPallet)
+ {
+
+ string sql = $@"select * from CM_WORKING_PALLET where WORKING_STATUS = '-1'";
+ DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
+ if (dt != null && dt.Rows.Count > 0)
+ {
+ string sql1 = $@"Update CM_WORKING_PALLET set WORKING_STATUS = 0 where WORKING_STATUS = '-1'";
+ string sql2 = $@"Update CM_WORKING_PALLET_DTL set WORKING_DTL_STATUS = 0 where WORKING_DTL_STATUS = '-1'";
+ LeadDbHelperSQLite.Execute(sql1);
+ LeadDbHelperSQLite.Execute(sql2);
+ BeginInvoke(new Action(() =>
+ {
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = true;
+ kryptonGroupBox3.Enabled = true;
+ kryptonGroupBox4.Enabled = true;
+ kryptonGroupBox5.Enabled = true;
+ kbtn_Scrap.Enabled = true;
+ kbtn_Scrap_1.Enabled = true;
+ kbtn_forceFinish.Enabled = true;
+
+ }));
+ }
+ }
+#if RELEASE
+ }
+ catch (Exception ex)
+ {
+ LogHelper.WriteLog($"~~~~~~~~~~~~~~托盘结束发生异常!【{ex.Message}】。~~~~~~~~~~~~~~", LogTypeEum.Run);
+ }
+#endif
+ }
+#endif
///
/// 虚拟下盘
@@ -747,7 +1063,31 @@ namespace CleanMachineHMI.FrmUserControl
//清空当前内存污染计数
- ClearContamination();
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ if (string.IsNullOrEmpty(item.ContaminationDtlCode))
+ {//常规清洗 清零(其他污染)
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ else
+ {//特殊清洗 清零
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ }
LogHelper.WriteLog($"作业托盘:【{workingIRMsg}】已强制结束,作业主页面关键信息重置完成。", LogTypeEum.Run);
@@ -797,9 +1137,317 @@ namespace CleanMachineHMI.FrmUserControl
}
-
+#if NewFun
///
+ /// 打印托盘信息
+ ///
+ ///
+ ///
+ /// 是否强制满料
+ private void PrintPalletData(string workingIrMsg, string palletCodeMsg, bool isForceFinish)
+ {
+ //只有是满料了,就要清除托盘残余数量
+ this.lastPaltteRemain = 0;
+
+ string sqlUpdateWorkingPallet = $@"UPDATE CM_WORKING_PALLET SET WORKING_STATUS = 1,UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{palletCodeMsg}';";
+ string sqlUpdateWorkingPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET WORKING_DTL_STATUS = 1,UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{palletCodeMsg}';";
+ int row1 = LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkingPallet);
+ int row2 = LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkingPalletDtl);
+
+ if (isForceFinish)
+ {
+
+ //批次信息按钮可操作
+ ktb_SaveIR.Enabled = true;
+ kcmb_SheetType.Enabled = true;
+ ktb_IR.Enabled = true;
+ kdtp_RecordDate.Enabled = true;
+ kbtn_forceFinish.Enabled = true;
+
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
+
+ //清空历史批次信息
+ kcmb_SheetType.SelectedIndex = 0;
+ ktb_IR.Text = "";
+ kdtp_RecordDate.Text = "";
+ kdtp_RecordDate.Checked = false;
+
+ ktb_CompleteNum.Text = "0";
+ ktb_ScrapNum.Text = "0";
+ ktb_CurrPalletCode.Text = "";
+ ktb_CurrentPalletNum.Text = "0";
+ ktb_FinishedPalletNum.Text = "0";
+
+
+
+ //清空当前内存污染计数
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ if (string.IsNullOrEmpty(item.ContaminationDtlCode))
+ {//常规清洗 清零(其他污染)
+
+ if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+
+ }
+ else
+ {//特殊清洗 清零
+
+ if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+
+ }
+ }
+
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已强制结束,作业主页面关键信息重置完成。", LogTypeEum.Run);
+
+ string sql = $@"SELECT WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL GROUP BY WORKING_PALLET_CODE HAVING SUM(CURRENT_NUMBER) = 0";
+ DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
+ if (dt != null && dt.Rows.Count > 0)
+ {
+ foreach (DataRow item in dt.Rows)
+ {
+ string sqlTmp = $@"delete from CM_WORKING_PALLET where WORKING_PALLET_CODE = '{item["WORKING_PALLET_CODE"].ToString()}'";
+ string sqlTmp1 = $@"delete from CM_WORKING_PALLET_DTL where WORKING_PALLET_CODE = '{item["WORKING_PALLET_CODE"].ToString()}'";
+ LeadDbHelperSQLite.ExecuteSql(sqlTmp);
+ LeadDbHelperSQLite.ExecuteSql(sqlTmp1);
+ Thread.Sleep(10);
+ }
+ }
+ PrintWorkedIrMsg(workingIrMsg);
+ }
+ else
+ {
+#region 生成的新的组盘信息,等待计数作业。
+ string trayCode = Global.GetPalletCode();
+ string sqlInsertWorkPallet = $@" INSERT INTO [CM_WORKING_PALLET] (
+ [WORKING_PALLET_CODE],
+ [WORKING_PALLET_DESC],
+ [WORKING_STATUS],
+ [CREATE_BY],
+ [UPDATE_BY],
+ [DATA_VERSION]
+ )
+ VALUES
+ (
+ '{trayCode}',
+ '{trayCode}',
+ '{-1}',
+ '{Global.UserInfo.UserId}',
+ '{Global.UserInfo.UserId}',
+ '{0}'
+ );";
+ LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPallet);
+
+ string SheetTypeCode = "";
+ this.Invoke(new Action(() =>
+
+ {
+
+ SheetTypeCode = ((ListItem)kcmb_SheetType.SelectedItem).Value;
+ }));
+
+
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ string sqlInsertWorkPalletDtl = $@"
+ INSERT INTO [CM_WORKING_PALLET_DTL] (
+ [WORKING_PALLET_CODE],
+ [IR_CODE],
+ [SHEET_TYPE_CODE],
+ [INPUT_TIME],
+ [CLEAN_MODE_CODE],
+ [CONTAMINATION_TYPE_CODE],
+ [CONTAMINATION_DTL_CODE],
+ [CURRENT_NUMBER],
+ [OPERATE_USER_ID],
+ [OPERATE_USER_TIME],
+ [WORKING_DTL_STATUS],
+ [CREATE_BY],
+ [CREATE_TIME],
+ [UPDATE_BY],
+ [UPDATE_TIME],
+ [DATA_VERSION],
+ [REMARKS1],
+ [REMARKS2],
+ [REMARKS3],
+ [REMARKS4],
+ [REMARKS5]
+ )
+ VALUES
+ (
+ '{trayCode}',
+ '{workingIrMsg}',
+ '{SheetTypeCode}',
+ (datetime('now','localtime')),
+ '{item.CleanModeCode}',
+ '{item.ContaminationTypeCode}',
+ '{item.ContaminationDtlCode}',
+ 0,
+ '{Global.UserInfo.UserId}',
+ datetime('now', 'localtime'),
+ -1,
+ '{Global.UserInfo.UserId}',
+ datetime('now', 'localtime'),
+ '{Global.UserInfo.UserId}',
+ datetime('now', 'localtime'),
+ 0,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ );";
+ LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPalletDtl);
+ }
+ Invoke(new Action(() =>
+ {
+ ktb_CurrPalletCode.Text = trayCode;
+ }));
+ LogHelper.WriteLog($"新增作业托盘:【{trayCode}】数据成功!新增板材:【{SheetTypeCode}】,IR条码:【{workingIrMsg}】的作业明细记录成功!", LogTypeEum.Run);
+#endregion
+
+ Invoke(new Action(() =>
+ {
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
+ kbtn_forceFinish.Enabled = false;
+
+ }));
+
+ //清空当前内存污染计数
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ if (string.IsNullOrEmpty(item.ContaminationDtlCode))
+ {//常规清洗 清零(其他污染)
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ else
+ {//特殊清洗 清零
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ }
+ }
+ if (row1 > 0 && row2 > 0)
+ {
+ string sqlQueryCleanNum = $@"SELECT CURRENT_NUMBER FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 1 and CLEAN_MODE_CODE = 'SortedCleaned' AND WORKING_PALLET_CODE = '{palletCodeMsg}'";
+ DataTable dtQueryCleanNum = LeadDbHelperSQLite.Query(sqlQueryCleanNum).Tables[0];
+ if (dtQueryCleanNum != null && dtQueryCleanNum.Rows.Count > 0)
+ {
+ int currCleanNum = Convert.ToInt32(dtQueryCleanNum.Rows[0][0]);
+ string sqlUpdateParam = $@"UPDATE SYS_PARAMETER SET PARAMETER_VALUE = PARAMETER_VALUE + '{currCleanNum}',UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime') WHERE PARAMETER_CODE = 'CleaningMacTotalNum';";
+ LeadDbHelperSQLite.ExecuteSql(sqlUpdateParam);
+ }
+ }
+ //清除满料信号
+ //if (PlcOperationHelper.Instance.WritePlcItem("FinishWorkingPallet", "False", PlcItemTypeDesc.M))
+ //{
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号成功。", LogTypeEum.Run);
+ //}
+ //else
+ //{
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号失败。", LogTypeEum.Err);
+ //}
+
+ //打印完成信号
+ if (PlcOperationHelper.Instance.WritePlcItem("PrintFinish", "True", PlcItemTypeDesc.M))
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号成功。", LogTypeEum.Run);
+ }
+ else
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号失败。", LogTypeEum.Err);
+ }
+
+ //当前托盘板材计数清零
+ if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号成功。", LogTypeEum.Run);
+ }
+ else
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号失败。", LogTypeEum.Err);
+ }
+
+ if (isForceFinish)
+ {
+ //保存打印数据
+ string sqlInsertZbkWorkingPallet = $@"INSERT INTO ZBK_WORKING_PALLET SELECT * FROM CM_WORKING_PALLET WHERE WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where IR_CODE = '{workingIrMsg}' and WORKING_DTL_STATUS = 1)";
+ string sqlInsertZbkWorkingPalletDtl = $@"INSERT INTO ZBK_WORKING_PALLET_DTL SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 1 and IR_CODE = '{workingIrMsg}';";
+ string sqlDeleteWorkingPallet = $@"delete from CM_WORKING_PALLET where WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where IR_CODE = '{workingIrMsg}' and WORKING_DTL_STATUS = 1);";
+ string sqlDeleteWorkingPalletDtl = $@"delete from CM_WORKING_PALLET_DTL where WORKING_DTL_STATUS = 1 and IR_CODE = '{workingIrMsg}';";
+
+ LeadDbHelperSQLite.ExecuteSql(sqlInsertZbkWorkingPalletDtl);
+ LeadDbHelperSQLite.ExecuteSql(sqlInsertZbkWorkingPallet);
+ LeadDbHelperSQLite.ExecuteSql(sqlDeleteWorkingPallet);
+ LeadDbHelperSQLite.ExecuteSql(sqlDeleteWorkingPalletDtl);
+
+ LogHelper.WriteLog($"作业IR:【{workingIrMsg}】已经结束,数据库信息重置完成。", LogTypeEum.Run);
+ }
+
+ if (this.NextFullStop)
+ {
+ this.NextFullStop = false;
+ //
+
+
+ if (!Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StopSys", PlcItemTypeDesc.M))
+ && !Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
+ {
+ if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
+ {
+ //GlobalHelper.SysIsRunFlag = false;
+ LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
+ }
+
+ Thread.Sleep(200);
+
+ if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "False", PlcItemTypeDesc.M))
+ {
+ }
+ }
+
+
+ }
+
+
+ }
+#else
+ ///
/// 打印托盘信息
///
///
@@ -817,39 +1465,64 @@ namespace CleanMachineHMI.FrmUserControl
if (isForceFinish)
{
+ Invoke(new Action(() =>
+ {
+ //批次信息按钮可操作
+ ktb_SaveIR.Enabled = true;
+ kcmb_SheetType.Enabled = true;
+ ktb_IR.Enabled = true;
+ kdtp_RecordDate.Enabled = true;
+ kbtn_forceFinish.Enabled = true;
- //批次信息按钮可操作
- ktb_SaveIR.Enabled = true;
- kcmb_SheetType.Enabled = true;
- ktb_IR.Enabled = true;
- kdtp_RecordDate.Enabled = true;
- kbtn_forceFinish.Enabled = true;
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
-
- //清空历史批次信息
- kcmb_SheetType.SelectedIndex = 0;
- ktb_IR.Text = "";
- kdtp_RecordDate.Text = "";
- kdtp_RecordDate.Checked = false;
-
- ktb_CompleteNum.Text = "0";
- ktb_ScrapNum.Text = "0";
- ktb_CurrPalletCode.Text = "";
- ktb_CurrentPalletNum.Text = "0";
- ktb_FinishedPalletNum.Text = "0";
+ //清空历史批次信息
+ kcmb_SheetType.SelectedIndex = 0;
+ ktb_IR.Text = "";
+ kdtp_RecordDate.Text = "";
+ kdtp_RecordDate.Checked = false;
+ ktb_CompleteNum.Text = "0";
+ ktb_ScrapNum.Text = "0";
+ ktb_CurrPalletCode.Text = "";
+ ktb_CurrentPalletNum.Text = "0";
+ ktb_FinishedPalletNum.Text = "0";
+ }));
//清空当前内存污染计数
- ClearContamination();
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ if (string.IsNullOrEmpty(item.ContaminationDtlCode))
+ {//常规清洗 清零(其他污染)
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ else
+ {//特殊清洗 清零
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ }
LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已强制结束,作业主页面关键信息重置完成。", LogTypeEum.Run);
@@ -870,7 +1543,7 @@ namespace CleanMachineHMI.FrmUserControl
}
else
{
- #region 生成的新的组盘信息,等待计数作业。
+ #region 生成的新的组盘信息,等待计数作业。
string trayCode = Global.GetPalletCode();
string sqlInsertWorkPallet = $@" INSERT INTO [CM_WORKING_PALLET] (
[WORKING_PALLET_CODE],
@@ -892,9 +1565,12 @@ namespace CleanMachineHMI.FrmUserControl
LeadDbHelperSQLite.Execute(sqlInsertWorkPallet);
string SheetTypeCode = "";
+ this.Invoke(new Action(() =>
- SheetTypeCode = ((ListItem)kcmb_SheetType.SelectedItem).Value;
+ {
+ SheetTypeCode = ((ListItem)kcmb_SheetType.SelectedItem).Value;
+ }));
foreach (CleanType item in basCleanTypeMsgList)
@@ -949,26 +1625,53 @@ namespace CleanMachineHMI.FrmUserControl
);";
LeadDbHelperSQLite.Execute(sqlInsertWorkPalletDtl);
}
-
- ktb_CurrPalletCode.Text = trayCode;
-
+ Invoke(new Action(() =>
+ {
+ ktb_CurrPalletCode.Text = trayCode;
+ }));
LogHelper.WriteLog($"新增作业托盘:【{trayCode}】数据成功!新增板材:【{SheetTypeCode}】,IR条码:【{workingIrMsg}】的作业明细记录成功!", LogTypeEum.Run);
- #endregion
+ #endregion
+ Invoke(new Action(() =>
+ {
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
+ kbtn_forceFinish.Enabled = false;
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
- kbtn_forceFinish.Enabled = false;
-
+ }));
//清空当前内存污染计数
- ClearContamination();
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ if (string.IsNullOrEmpty(item.ContaminationDtlCode))
+ {//常规清洗 清零(其他污染)
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ else
+ {//特殊清洗 清零
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ }
}
if (row1 > 0 && row2 > 0)
{
@@ -981,27 +1684,35 @@ namespace CleanMachineHMI.FrmUserControl
LeadDbHelperSQLite.Execute(sqlUpdateParam);
}
}
+ //清除满料信号
+ //if (PlcOperationHelper.Instance.WritePlcItem("FinishWorkingPallet", "False", PlcItemTypeDesc.M))
+ //{
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号成功。", LogTypeEum.Run);
+ //}
+ //else
+ //{
+ // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC清除满料信号失败。", LogTypeEum.Err);
+ //}
- this._device.PrintFinish = true;
//打印完成信号
- //if (PlcOperationHelper.Instance.WritePlcItem("PrintFinish", "True", PlcItemTypeDesc.M))
- //{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号成功。", LogTypeEum.Run);
- //}
- //else
- //{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号失败。", LogTypeEum.Err);
- //}
- _device.NozzleNum = 0;
+ if (PlcOperationHelper.Instance.WritePlcItem("PrintFinish", "True", PlcItemTypeDesc.M))
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号成功。", LogTypeEum.Run);
+ }
+ else
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC打印完成信号失败。", LogTypeEum.Err);
+ }
+
//当前托盘板材计数清零
- //if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
- //{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号成功。", LogTypeEum.Run);
- //}
- //else
- //{
- // LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号失败。", LogTypeEum.Err);
- //}
+ if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号成功。", LogTypeEum.Run);
+ }
+ else
+ {
+ LogHelper.WriteLog($"作业托盘:【{palletCodeMsg}】已满料,发送PLC当前托盘板材计数清零信号失败。", LogTypeEum.Err);
+ }
if (isForceFinish)
{
@@ -1019,10 +1730,34 @@ namespace CleanMachineHMI.FrmUserControl
LogHelper.WriteLog($"作业IR:【{workingIrMsg}】已经结束,数据库信息重置完成。", LogTypeEum.Run);
}
+ if (this.NextFullStop)
+ {
+ this.NextFullStop = false;
+ //
+
+
+ if (!Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StopSys", PlcItemTypeDesc.M))
+ && !Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
+ {
+ if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
+ {
+ //GlobalHelper.SysIsRunFlag = false;
+ LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
+ }
+
+ Thread.Sleep(200);
+
+ if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "False", PlcItemTypeDesc.M))
+ {
+ }
+ }
+
+
+ }
}
-
+#endif
private void PrintWorkedIrMsg(string workingIrCodeMsg)
{
new CleanMachine.BLL.CM.IncomingReceipt().Print(workingIrCodeMsg, Global.MacCode, this._reportFolder);
@@ -1032,7 +1767,312 @@ namespace CleanMachineHMI.FrmUserControl
///
/// PLC 信号处理
///
+#if !NewFun
+ private void MainDtlRunTh()
+ {
+ while (Global.SysThIsRunFlag)
+ {
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("CleanMacRunStatusNew", PlcItemTypeDesc.M)))
+ {
+ BeginInvoke(new Action(() => { cbt_RunStatusTran.BackColor = Color.Lime; }));
+ }
+ else
+ {
+ BeginInvoke(new Action(() => { cbt_RunStatusTran.BackColor = Color.Gray; }));
+ }
+ //毛刷1运行状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush1Selection", PlcItemTypeDesc.M)))
+ {
+ BeginInvoke(new Action(() =>
+ {
+ cbt_Brush1StatusTran.BackColor = Color.Lime;
+ }));
+ }
+ else
+ {
+ Invoke(new Action(() =>
+ {
+ cbt_Brush1StatusTran.BackColor = Color.Gray;
+ }));
+ }
+
+ //毛刷2启用状态
+
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush2Selection", PlcItemTypeDesc.M)))
+ {
+ BeginInvoke(new Action(() =>
+ {
+ cbt_Brush2StatusTran.BackColor = Color.Lime;
+ }));
+ }
+ else
+ {
+ BeginInvoke(new Action(() =>
+ {
+ cbt_Brush2StatusTran.BackColor = Color.Gray;
+ }));
+ }
+ //毛刷3启用状态
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("Hairbrush3Selection", PlcItemTypeDesc.M)))
+ {
+ BeginInvoke(new Action(() =>
+ {
+ cbt_Brush3StatusTran.BackColor = Color.Lime;
+ }));
+ }
+ else
+ {
+
+ BeginInvoke(new Action(() =>
+ {
+ cbt_Brush3StatusTran.BackColor = Color.Gray;
+ }));
+ }
+ //喷头选择状态
+ //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("NozzleSelection", PlcItemTypeDesc.M)))
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_NozzleStatusTran.BackColor = Color.Lime;
+ // }));
+ //}
+ //else
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_NozzleStatusTran.BackColor = Color.Gray;
+ // }));
+ //}
+ //静电棒选择
+
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StaticbarsSel", PlcItemTypeDesc.M)))
+ {
+ BeginInvoke(new Action(() =>
+ {
+ cbt_staticbar.BackColor = Color.Lime;
+ }));
+ }
+ else
+ {
+ BeginInvoke(new Action(() =>
+ {
+ cbt_staticbar.BackColor = Color.Gray;
+ }));
+ }
+
+ //计数模式选择
+ //if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M)))
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_fpalletmod.BackColor = Color.Lime;
+ // }));
+ //}
+ //else
+ //{
+ // Invoke(new Action(() =>
+ // {
+ // cbt_fpalletmod.BackColor = Color.Gray;
+ // }));
+ //}
+
+ //显示托盘编号
+ if (ktb_IR.Text.Trim().Length > 0)
+ {
+ string sqlWorkPalletSel = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0 ORDER BY CREATE_TIME DESC";
+ DataTable dtWorkPalletSel = LeadDbHelperSQLite.Query(sqlWorkPalletSel).Tables[0];
+ if (dtWorkPalletSel.Rows.Count > 0)
+ {
+ BeginInvoke(new Action(() =>
+ {
+ ktb_CurrPalletCode.Text = dtWorkPalletSel.Rows[0]["WORKING_PALLET_CODE"].ToString();
+
+ }));
+ }
+ else
+ {
+ BeginInvoke(new Action(() =>
+ {
+ ktb_CurrPalletCode.Text = "";
+
+ }));
+ }
+ }
+
+ string ktb_IRTest = "";
+
+ string kcmb_SheetTypeText = "";
+ string CurrPalletCodeText = "";
+ this.Invoke(new Action(() =>
+ {
+ ktb_IRTest = this.ktb_IR.Text;
+ kcmb_SheetTypeText = this.kcmb_SheetType.Text;
+
+ CurrPalletCodeText = ktb_CurrPalletCode.Text.Trim();
+ }));
+
+
+ var shiftCount = PlcOperationHelper.Instance.ReadPlcItem("ShiftCount").ToString();
+ this.BeginInvoke(new Action(() =>
+ {
+ this.ktb_ShiftCount.Text = shiftCount;
+
+ }));
+
+
+
+
+ //防止中途关闭系统产生数据丢失,因此每周期都会更新数据
+ string sql = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
+ object obj = LeadDbHelperSQLite.GetSingle(sql);
+ if (obj == null)
+ {
+ BeginInvoke(new Action(() => { ktb_CompleteNum.Text = "0"; }));
+ }
+ else
+ {
+ BeginInvoke(new Action(() => { ktb_CompleteNum.Text = obj.ToString(); }));
+ }
+ string sql1 = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE <> 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
+ object obj1 = LeadDbHelperSQLite.GetSingle(sql1);
+ if (obj1 == null)
+ {
+ BeginInvoke(new Action(() =>
+ {
+ ktb_ScrapNum.Text = "0";
+ }));
+ }
+ else
+ {
+ BeginInvoke(new Action(() =>
+ {
+ ktb_ScrapNum.Text = obj1.ToString();
+ }));
+ }
+ string sql11 = $@"SELECT SUM(CURRENT_NUMBER) FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'Scrap' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}' AND WORKING_PALLET_CODE = '{CurrPalletCodeText}'";
+ object obj11 = LeadDbHelperSQLite.GetSingle(sql11);
+ if (obj11 == null)
+ {
+ BeginInvoke(new Action(() =>
+ {
+ ktb_Scrap.Text = "0";
+ }));
+ }
+ else
+ {
+ BeginInvoke(new Action(() =>
+ {
+ ktb_Scrap.Text = obj11.ToString();
+ }));
+ }
+
+ string sqlPalletCount = $@"SELECT CURRENT_NUMBER,WORKING_DTL_STATUS FROM CM_WORKING_PALLET_DTL WHERE CLEAN_MODE_CODE = 'SortedCleaned' AND IR_CODE = '{ktb_IRTest}' AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'";
+ DataTable dtPalletCount = LeadDbHelperSQLite.Query(sqlPalletCount).Tables[0];
+ if (dtPalletCount != null && dtPalletCount.Rows.Count > 0)
+ {
+ int finishedPalletNum = 0;
+ int currentPalletNum = 0;
+ foreach (DataRow item in dtPalletCount.Rows)
+ {
+ if (item["WORKING_DTL_STATUS"].ToString() == "1")
+ {
+ finishedPalletNum += Convert.ToInt32(item["CURRENT_NUMBER"]);
+ }
+ else
+ {
+ currentPalletNum += Convert.ToInt32(item["CURRENT_NUMBER"]);
+ }
+ }
+ this.BeginInvoke(new Action(() =>
+ {
+ ktb_CurrentPalletNum.Text = currentPalletNum.ToString();
+ ktb_FinishedPalletNum.Text = finishedPalletNum.ToString();
+ }));
+
+ }
+ else
+ {
+ this.BeginInvoke(new Action(() =>
+ {
+ ktb_CurrentPalletNum.Text = "0";
+ ktb_FinishedPalletNum.Text = "0";
+ }));
+
+ }
+ //读取PLC当前值-这个值带有初始值
+ int currNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("NozzleNum", PlcItemTypeDesc.D));
+
+ int fullPalletNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("WorkedFullPalletNum", PlcItemTypeDesc.D));
+ //
+
+ if (0 < (fullPalletNum - currNum) && (fullPalletNum - currNum) <= 10 && fullPalletNum != 0)
+ {
+ if ((fullPalletNum - currNum) != remainingQty)
+ {
+ frmMainNew.RefreshFrmHost($"The tray is about to fill up and the remaining quantity is [{fullPalletNum - currNum}]!!");
+ LogHelper.WriteLog($"托盘即将满料,剩余数量为【{fullPalletNum - currNum}】!!", LogTypeEum.Run);
+ remainingQty = fullPalletNum - currNum;
+ }
+ }
+ else
+ {
+
+ remainingQty = fullPalletNum - currNum;
+ frmMainNew.RefreshFrmHost(null);
+ }
+ //托盘在当前IR中的数量
+ currNum -= this.lastPaltteRemain;
+ if (currNum > 0)
+ {
+ //string sqlFinishIrSheetTypeDtl = $"select sum(CURRENT_NUMBER) from CM_WORKING_PALLET_DTL where CLEAN_MODE_CODE = 'SortedCleaned' and WORKING_DTL_STATUS = 1";
+ //DataTable dtFinishIrSheetTypeDtl = LeadDbHelperSQLite.Query(sqlFinishIrSheetTypeDtl).Tables[0];
+
+ //int finishIrSheetTypeNum = 0;
+ //if (dtFinishIrSheetTypeDtl != null && dtFinishIrSheetTypeDtl.Rows.Count > 0)
+ //{
+ // finishIrSheetTypeNum = Convert.ToInt32(dtFinishIrSheetTypeDtl.Rows[0][0] == DBNull.Value ? 0 : dtFinishIrSheetTypeDtl.Rows[0][0]);
+ //}
+ //if (autoCleanNum != (currNum - finishIrSheetTypeNum))
+ //{
+ //防止中途关闭系统后产生内存数据丢失
+ string sql12 = $@"
+ UPDATE CM_WORKING_PALLET_DTL
+ SET CURRENT_NUMBER = '{currNum }',
+ UPDATE_BY = '{Global.UserInfo.UserId}',
+ UPDATE_TIME = datetime('now', 'localtime'),
+ DATA_VERSION = DATA_VERSION + 1
+ WHERE
+ CLEAN_MODE_CODE = 'SortedCleaned'
+ AND IR_CODE = '{ktb_IRTest}'
+ AND SHEET_TYPE_CODE = '{kcmb_SheetTypeText}'
+ AND WORKING_DTL_STATUS = 0
+ AND WORKING_PALLET_CODE = '{CurrPalletCodeText}'
+ ";
+
+ int row = LeadDbHelperSQLite.Execute(sql12);
+ //autoCleanNum = currNum - finishIrSheetTypeNum;
+ if (row > 0)
+ {
+ //LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】作业托盘:【{ktb_CurrPalletCode.Text}】作业IR:【{ktb_IR.Text}】作业板材:【{kcmb_SheetType.Text}】顺序清洗计数+1成功,数量为:【{currNum}】。", LogTypeEum.Run);
+ }
+ else
+ {
+ //LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】作业托盘:【{ktb_CurrPalletCode.Text}】作业IR:【{ktb_IR.Text}】作业板材:【{kcmb_SheetType.Text}】顺序清洗计数+1失败。", LogTypeEum.Run);
+ }
+ //}
+ }
+ else
+ {
+ //autoCleanNum = 0;
+ }
+ FinishWorkingPallet();
+
+
+ Thread.Sleep(200);
+ }
+ }
+#endif
private void btnPrinter_Click(object sender, EventArgs e)
{
//GlobalHelper.MainForm.navigatorMain.SetNavPage(Domain.Enums.EnumFormType.PrintMain);
@@ -1069,16 +2109,171 @@ namespace CleanMachineHMI.FrmUserControl
//DataTable dtWorkPallet = LeadDbHelperSQLite.Query(sqlWorkPallet).Tables[0];
////当前托盘流水号
string curPalletid = "";
+
+ //if (dtWorkPallet != null && dtWorkPallet.Rows.Count > 0)
+ //{//存在未完成批次信息
+ // string trayCode = dtWorkPallet.Rows[0]["WORKING_PALLET_CODE"].ToString();
+ // curPalletid = dtWorkPallet.Rows[0]["WORKING_PALLET_CODE"].ToString();
+ // string sqlIsExistIR = $@"SELECT * FROM CM_WORKING_PALLET_DTL WHERE IR_CODE = '{ktb_IR.Text.Trim()}' AND SHEET_TYPE_CODE = '{((ListItem)kcmb_SheetType.SelectedItem).Value}'";
+ // DataTable dtIsExistIR = LeadDbHelperSQLite.Query(sqlIsExistIR).Tables[0];
+ // if (dtIsExistIR != null && dtIsExistIR.Rows.Count > 0)
+ // {//存在批次号对应记录则保存批次版本
+
+ // foreach (DataRow item in dtIsExistIR.Rows)
+ // {
+ // if (!string.IsNullOrEmpty(item["CONTAMINATION_DTL_CODE"].ToString()))
+ // {
+ // string controlCode = item["CONTAMINATION_DTL_CODE"].ToString();
+ // decimal num = Convert.ToDecimal(item["CURRENT_NUMBER"].ToString());
+ // Control[] cons = this.Controls.Find("knud_" + controlCode, true);
+ // if (cons.Length > 0)
+ // {
+ // KryptonNumericUpDown knudmd = cons[0] as KryptonNumericUpDown;
+ // knudmd.Value = num;
+ // }
+ // }
+ // else
+ // {
+ // string controlCode = item["CLEAN_MODE_CODE"].ToString();
+ // decimal num = Convert.ToDecimal(item["CURRENT_NUMBER"].ToString());
+ // Control[] cons = this.Controls.Find("knud_" + controlCode, true);
+ // if (cons.Length > 0)
+ // {
+ // KryptonNumericUpDown knudmd = cons[0] as KryptonNumericUpDown;
+ // knudmd.Value = num;
+ // }
+ // }
+ // }
+
+ // string sqlUpdateWorkPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET INPUT_TIME = datetime('now', 'localtime'),UPDATE_BY = '{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1,WORKING_DTL_STATUS = 0 WHERE WORKING_PALLET_CODE = '{trayCode}' and IR_CODE = '{ktb_IR.Text.Trim()}' and SHEET_TYPE_CODE = '{((ListItem)kcmb_SheetType.SelectedItem).Value}'";
+ // LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkPalletDtl);
+ // LogHelper.WriteLog($"当前作业托盘:【{trayCode}】存在板材:【{((ListItem)kcmb_SheetType.SelectedItem).Value}】,IR条码:【{ktb_IR.Text.Trim()}】的记录,切换板材、IR明细信息成功!", LogTypeEum.Run);
+ // }
+ // else
+ // {//不存在批次号对应记录则新建批次
+ // //string sqlInsertWorkPallet = $@"
+ // // INSERT INTO [CM_WORKING_PALLET] (
+ // // [WORKING_PALLET_CODE],
+ // // [WORKING_PALLET_DESC],
+ // // [WORKING_STATUS],
+ // // [CREATE_BY],
+ // // [UPDATE_BY],
+ // // [DATA_VERSION]
+ // // )
+ // // VALUES
+ // // (
+ // // '{trayCode}',
+ // // '{trayCode}',
+ // // '{0}',
+ // // '{GlobalHelper.UserInfo.USER_ID}',
+ // // '{GlobalHelper.UserInfo.USER_ID}',
+ // // '{0}'
+ // // );
+ // // ";
+ // //LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPallet);
+ // string sqlIsExistWorkingIrSheetTypeDtl = $"SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 0";
+ // DataTable dtIsExistWorkingIrSheetTypeDtl = LeadDbHelperSQLite.Query(sqlIsExistWorkingIrSheetTypeDtl).Tables[0];
+ // if (dtIsExistWorkingIrSheetTypeDtl != null && dtIsExistWorkingIrSheetTypeDtl.Rows.Count > 0)
+ // {
+ // string irMsg = dtIsExistWorkingIrSheetTypeDtl.Rows[0]["IR_CODE"].ToString();
+ // string sheetTypeMsg = dtIsExistWorkingIrSheetTypeDtl.Rows[0]["SHEET_TYPE_CODE"].ToString();
+ // string sqlUpdateWorkPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET INPUT_TIME = datetime('now', 'localtime'),UPDATE_BY = '{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1,WORKING_DTL_STATUS = 1 WHERE WORKING_PALLET_CODE = '{trayCode}' and IR_CODE = '{irMsg}' and SHEET_TYPE_CODE = '{sheetTypeMsg}'";
+ // LeadDbHelperSQLite.ExecuteSql(sqlUpdateWorkPalletDtl);
+ // }
+
+ // foreach (BasCleanTypeMsg item in basCleanTypeMsgList)
+ // {
+ // string sqlInsertWorkPalletDtl = $@"
+ // INSERT INTO [CM_WORKING_PALLET_DTL] (
+ // [WORKING_PALLET_CODE],
+ // [IR_CODE],
+ // [SHEET_TYPE_CODE],
+ // [INPUT_TIME],
+ // [CLEAN_MODE_CODE],
+ // [CONTAMINATION_TYPE_CODE],
+ // [CONTAMINATION_DTL_CODE],
+ // [CURRENT_NUMBER],
+ // [OPERATE_USER_ID],
+ // [OPERATE_USER_TIME],
+ // [WORKING_DTL_STATUS],
+ // [CREATE_BY],
+ // [CREATE_TIME],
+ // [UPDATE_BY],
+ // [UPDATE_TIME],
+ // [DATA_VERSION],
+ // [REMARKS1],
+ // [REMARKS2],
+ // [REMARKS3],
+ // [REMARKS4],
+ // [REMARKS5]
+ // )
+ // VALUES
+ // (
+ // '{trayCode}',
+ // '{ktb_IR.Text.Trim()}',
+ // '{((ListItem)kcmb_SheetType.SelectedItem).Value}',
+ // (datetime('now','localtime')),
+ // '{item.CLEAN_MODE_CODE}',
+ // '{item.CONTAMINATION_TYPE_CODE}',
+ // '{item.CONTAMINATION_DTL_CODE}',
+ // 0,
+ // '{GlobalHelper.UserInfo.USER_ID}',
+ // datetime('now', 'localtime'),
+ // 0,
+ // '{GlobalHelper.UserInfo.USER_ID}',
+ // datetime('now', 'localtime'),
+ // '{GlobalHelper.UserInfo.USER_ID}',
+ // datetime('now', 'localtime'),
+ // 0,
+ // NULL,
+ // NULL,
+ // NULL,
+ // NULL,
+ // NULL
+ // );
+ // ";
+ // LeadDbHelperSQLite.ExecuteSql(sqlInsertWorkPalletDtl);
+ // }
+
+ // LogHelper.WriteLog($"当前作业托盘:【{trayCode}】不存在板材:【{((ListItem)kcmb_SheetType.SelectedItem).Value}】,IR条码:【{ktb_IR.Text.Trim()}】的记录,切换新增板材、IR明细信息成功!", LogTypeEum.Run);
+ // }
+ // //保存完成后,只有满托,或者强制满托后才可继续操作
+ // kcmb_SheetType.Enabled = false;
+ // ktb_IR.Enabled = false;
+ // kdtp_RecordDate.Enabled = false;
+ // ktb_SaveIR.Enabled = false;
+
+ // //kryptonGroupBox10.Enabled = true;
+ // kryptonGroupBox2.Enabled = true;
+ // kryptonGroupBox3.Enabled = true;
+ // kryptonGroupBox4.Enabled = true;
+ // kryptonGroupBox5.Enabled = true;
+ // kbtn_Scrap.Enabled = true;
+ // kbtn_Scrap_1.Enabled = true;
+ // kbtn_forceFinish.Enabled = true;
+
+ //}
+ //else
+ //{
+
+ //没有待完成的批次任务,则新建当前批次任务
+ //string trayCode = Guid.NewGuid().ToString("N");
+
string IRCode = this.ktb_IR.Text.Trim();
+
+
string strSql = $@"SELECT COUNT(*) FROM VW_WORKING_PALLET_MSG WHERE IR_CODE='{IRCode}'";
int count = Convert.ToInt32(LeadDbHelperSQLite.GetSingle(strSql));
if (count > 0)
{
KryptonMessageBox.Show("The IR code has been used");
+
}
else
{
+
+
string trayCode = Global.GetPalletCode();
string sqlInsertWorkPallet = $@"
INSERT INTO [CM_WORKING_PALLET] (
@@ -1100,7 +2295,13 @@ namespace CleanMachineHMI.FrmUserControl
);
";
LeadDbHelperSQLite.Execute(sqlInsertWorkPallet);
+
+ //当前托盘流水号查询
+ //string sqlWorkPalletSel = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_PALLET_CODE = '{trayCode}'";
+ //DataTable dtWorkPalletSel = LeadDbHelperSQLite.Query(sqlWorkPalletSel).Tables[0];
+ //curPalletid = dtWorkPalletSel.Rows[0]["WORKING_PALLET_CODE"].ToString();
curPalletid = trayCode;
+
foreach (CleanType item in basCleanTypeMsgList)
{
string sqlInsertWorkPalletDtl = $@"
@@ -1186,7 +2387,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1227,7 +2428,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1325,7 +2526,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1423,7 +2624,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1466,7 +2667,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1518,7 +2719,35 @@ namespace CleanMachineHMI.FrmUserControl
}
private bool _nextFullStop = false;
-
+ public bool NextFullStop
+ {
+ get
+ {
+ return _nextFullStop;
+
+ }
+ set
+ {
+ _nextFullStop = value;
+ this.BeginInvoke(new Action(() =>
+ {
+
+ this.labelNextFullStop.Visible = value;
+ }));
+
+ //if (value)
+ //{
+ //
+ // thi
+ //} else
+ //{
+
+ //}
+
+ }
+
+
+ }
@@ -1529,7 +2758,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1541,29 +2770,25 @@ namespace CleanMachineHMI.FrmUserControl
}
-
+
if (!Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StopSys", PlcItemTypeDesc.M))
&& !Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
{
- if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
+ if (KryptonMessageBox.Show("是否在下次满料时停止", "是否在下次满料时停止", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
- //GlobalHelper.SysIsRunFlag = false;
- LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
+ NextFullStop = true;
}
- //var modelResult = KryptonMessageBox.Show("是否在下次满料时停止? \n Yes:下次满料自动停止 No:直接停止 Cancel:不停止继续运行", "是否在下次满料时停止", MessageBoxButtons.YesNoCancel);
+ else
+ {
+ if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
+ {
+ //GlobalHelper.SysIsRunFlag = false;
+ LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击停止设备按钮,停止信号发送PLC成功!", LogTypeEum.Run);
+ }
- //if (modelResult == DialogResult.Yes)
- //{
- // NextFullStop = true;
- //}
- //else if (modelResult == DialogResult.No)
- //{
-
-
-
- //}
+ }
}
@@ -1671,7 +2896,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_brush1.L_IsOpen = false;
@@ -1711,7 +2936,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_brush2.L_IsOpen = false;
@@ -1756,7 +2981,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_nozzle1.L_IsOpen = false;
@@ -1796,7 +3021,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_brush3.L_IsOpen = false;
@@ -1839,7 +3064,7 @@ namespace CleanMachineHMI.FrmUserControl
kryptonButton2.Enabled = false;
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1915,7 +3140,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -1954,7 +3179,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2057,7 +3282,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2105,7 +3330,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2148,7 +3373,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2181,7 +3406,7 @@ namespace CleanMachineHMI.FrmUserControl
///
private void kryptonButton7_Click(object sender, EventArgs e)
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2213,7 +3438,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
swtbtn_staticBar.L_IsOpen = false;
@@ -2247,7 +3472,7 @@ namespace CleanMachineHMI.FrmUserControl
//满料方式选择 M223 交替 别名:FullPalletMode
private void swtbtn_fullPalletMod_LSwitched(object sender, LEventArgs e)
{
- //if (isManualStatus)
+ //if (isManualStatus())
//{
// KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
// swtbtn_fullPalletMod.L_IsOpen = false;
@@ -2305,21 +3530,20 @@ namespace CleanMachineHMI.FrmUserControl
knud_WorkedFullPalletNum.LostFocus += new EventHandler(txt_LostFocus); //失去焦点后发生事件
}
- private bool isManualStatus
+ private bool isManualStatus()
{
- get
+ if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
{
- return this._device.ManualOrAuto;
+ return true;
}
+ return false;
}
-
-
private void kbtn_Others_1_Click(object sender, EventArgs e)
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2360,7 +3584,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2404,7 +3628,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2482,7 +3706,7 @@ namespace CleanMachineHMI.FrmUserControl
try
{
#endif
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
@@ -2525,35 +3749,60 @@ namespace CleanMachineHMI.FrmUserControl
LeadDbHelperSQLite.Execute(sql2);
KryptonMessageBox.Show("Delete IR information success!");
+ Invoke(new Action(() =>
+ {
+ //批次信息按钮可操作
+ ktb_SaveIR.Enabled = true;
+ kcmb_SheetType.Enabled = true;
+ ktb_IR.Enabled = true;
+ kdtp_RecordDate.Enabled = true;
+ kbtn_forceFinish.Enabled = true;
- //批次信息按钮可操作
- ktb_SaveIR.Enabled = true;
- kcmb_SheetType.Enabled = true;
- ktb_IR.Enabled = true;
- kdtp_RecordDate.Enabled = true;
- kbtn_forceFinish.Enabled = true;
+ //污染类型操作禁用
+ //kryptonGroupBox10.Enabled = false;
+ kryptonGroupBox2.Enabled = false;
+ kryptonGroupBox3.Enabled = false;
+ kryptonGroupBox4.Enabled = false;
+ kryptonGroupBox5.Enabled = false;
+ kbtn_Scrap.Enabled = false;
+ kbtn_Scrap_1.Enabled = false;
- //污染类型操作禁用
- //kryptonGroupBox10.Enabled = false;
- kryptonGroupBox2.Enabled = false;
- kryptonGroupBox3.Enabled = false;
- kryptonGroupBox4.Enabled = false;
- kryptonGroupBox5.Enabled = false;
- kbtn_Scrap.Enabled = false;
- kbtn_Scrap_1.Enabled = false;
-
- //清空历史批次信息
- kcmb_SheetType.SelectedIndex = 0;
- ktb_IR.Text = "";
- kdtp_RecordDate.Text = "";
- kdtp_RecordDate.Checked = false;
-
- ktb_CompleteNum.Text = "0";
- ktb_ScrapNum.Text = "0";
+ //清空历史批次信息
+ kcmb_SheetType.SelectedIndex = 0;
+ ktb_IR.Text = "";
+ kdtp_RecordDate.Text = "";
+ kdtp_RecordDate.Checked = false;
+ ktb_CompleteNum.Text = "0";
+ ktb_ScrapNum.Text = "0";
+ }));
//清空当前内存污染计数
- ClearContamination();
+ foreach (CleanType item in basCleanTypeMsgList)
+ {
+ if (string.IsNullOrEmpty(item.ContaminationDtlCode))
+ {//常规清洗 清零(其他污染)
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.CleanModeCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.CleanModeCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ else
+ {//特殊清洗 清零
+ Invoke(new Action(() =>
+ {
+ if (this.Controls.Find("knud_" + item.ContaminationDtlCode, true).Length > 0)
+ {
+ KryptonNumericUpDown knudmd = this.Controls.Find("knud_" + item.ContaminationDtlCode, true)[0] as KryptonNumericUpDown;
+ knudmd.Value = 0;
+ }
+ }));
+ }
+ }
}
}
else
@@ -2726,7 +3975,7 @@ namespace CleanMachineHMI.FrmUserControl
kryptonButton3.Enabled = false;
try
{
- if (isManualStatus)
+ if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
@@ -2802,8 +4051,7 @@ namespace CleanMachineHMI.FrmUserControl
private void btnShiftCount_Click(object sender, EventArgs e)
{
- //frmMainNew.SwitchFrmMenu(EnumFormType.ShiftCountRecord, false);
- frmMainNew.SwitchFrmMenu(EnumFormType.DayReport, false);
+ frmMainNew.SwitchFrmMenu(EnumFormType.ShiftCountRecord, false);
}
private void cbt_StopTran_Click(object sender, EventArgs e)
@@ -2811,25 +4059,9 @@ namespace CleanMachineHMI.FrmUserControl
}
-
- private void kryptonDropButton1_Click(object sender, EventArgs e)
+ private void labelNextFullStop_Click(object sender, EventArgs e)
{
-
- }
-
- private void kryptonButton9_Click(object sender, EventArgs e)
- {
- frmMainNew.SwitchFrmMenu(EnumFormType.OperatorReport, false);
- }
-
- private void circleButton1_KeyUp(object sender, KeyEventArgs e)
- {
- _device.NextStop = true;
- }
-
- private void circleButton1_Click(object sender, EventArgs e)
- {
-
+ this.NextFullStop = false;
}
}
}
diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetailNew.resx b/CleanMachineHMI/FrmUserControl/frmMainDetail_.resx
similarity index 93%
rename from CleanMachineHMI/FrmUserControl/frmMainDetailNew.resx
rename to CleanMachineHMI/FrmUserControl/frmMainDetail_.resx
index 1bc719d..1af7de1 100644
--- a/CleanMachineHMI/FrmUserControl/frmMainDetailNew.resx
+++ b/CleanMachineHMI/FrmUserControl/frmMainDetail_.resx
@@ -117,10 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 17, 17
-
-
- 202, 17
-
\ No newline at end of file