From a3f8e93810882caf8afe0b982e50c81b439175ea Mon Sep 17 00:00:00 2001 From: "DESKTOP-999R8N3\\CJY" Date: Fri, 31 Mar 2023 16:01:43 +0900 Subject: [PATCH] =?UTF-8?q?-=20=EB=A9=94=EC=9D=B8=ED=99=94=EB=A9=B4=20?= =?UTF-8?q?=EB=8B=A8=EA=B3=84=EB=B3=84=20=EB=9D=BC=EB=B2=A8=20=ED=81=AC?= =?UTF-8?q?=EA=B8=B0=20=EC=9C=84=EC=B9=98=20=EC=A1=B0=EC=A0=95=20=EC=9E=91?= =?UTF-8?q?=EC=97=85=20=EC=99=84=EB=A3=8C=20-=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=EB=8A=94=20=EC=B0=A8=EC=A3=BC=20=EC=9E=AC=EC=9E=91?= =?UTF-8?q?=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- INT_PT002/Forms/FormMainDisplay2.Designer.cs | 464 +++++++++---------- INT_PT002/Forms/FormMainDisplay2.cs | 325 +++++-------- 2 files changed, 358 insertions(+), 431 deletions(-) diff --git a/INT_PT002/Forms/FormMainDisplay2.Designer.cs b/INT_PT002/Forms/FormMainDisplay2.Designer.cs index cabaa50..9cb4caf 100644 --- a/INT_PT002/Forms/FormMainDisplay2.Designer.cs +++ b/INT_PT002/Forms/FormMainDisplay2.Designer.cs @@ -30,6 +30,16 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay2)); this.smartForm1 = new SmartX.SmartForm(); + this.smartLabel32 = new SmartX.SmartLabel(); + this.smartLabel33 = new SmartX.SmartLabel(); + this.smartLabel34 = new SmartX.SmartLabel(); + this.smartLabel35 = new SmartX.SmartLabel(); + this.smartLabel22 = new SmartX.SmartLabel(); + this.smartLabel23 = new SmartX.SmartLabel(); + this.smartLabel28 = new SmartX.SmartLabel(); + this.smartLabel21 = new SmartX.SmartLabel(); + this.smartLabel20 = new SmartX.SmartLabel(); + this.smartLabel19 = new SmartX.SmartLabel(); this.labelSbAlarm10 = new SmartX.SmartLabel(); this.labelSbAlarm5 = new SmartX.SmartLabel(); this.labelSbAlarm9 = new SmartX.SmartLabel(); @@ -121,16 +131,6 @@ this.buttonDisplay = new SmartX.SmartButton(); this.smartTimerAlarm = new SmartX.SmartTimer(); this.smartTimerMessageShow = new SmartX.SmartTimer(); - this.smartLabel32 = new SmartX.SmartLabel(); - this.smartLabel33 = new SmartX.SmartLabel(); - this.smartLabel34 = new SmartX.SmartLabel(); - this.smartLabel35 = new SmartX.SmartLabel(); - this.smartLabel22 = new SmartX.SmartLabel(); - this.smartLabel23 = new SmartX.SmartLabel(); - this.smartLabel28 = new SmartX.SmartLabel(); - this.smartLabel21 = new SmartX.SmartLabel(); - this.smartLabel20 = new SmartX.SmartLabel(); - this.smartLabel19 = new SmartX.SmartLabel(); this.smartForm1.SuspendLayout(); this.smartGroupBox1.SuspendLayout(); this.SuspendLayout(); @@ -251,6 +251,226 @@ this.smartForm1.SpecialFunctionClickPointSize = 100; this.smartForm1.UseMainMenu = false; // + // smartLabel32 + // + this.smartLabel32.BackGround = this.smartForm1; + this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel32.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel32.LineSpacing = 0F; + this.smartLabel32.Location = new System.Drawing.Point(174, 680); + this.smartLabel32.Name = "smartLabel32"; + this.smartLabel32.OverlapOptimize = true; + this.smartLabel32.PasswordChar = '\0'; + this.smartLabel32.Radius = 3; + this.smartLabel32.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel32.Size = new System.Drawing.Size(30, 29); + this.smartLabel32.TabIndex = 276; + this.smartLabel32.Text = "kPa"; + this.smartLabel32.TextColor = System.Drawing.Color.White; + this.smartLabel32.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel32.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel32.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel32.Wordwrap = false; + // + // smartLabel33 + // + this.smartLabel33.BackGround = this.smartForm1; + this.smartLabel33.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel33.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel33.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel33.LineSpacing = 0F; + this.smartLabel33.Location = new System.Drawing.Point(344, 680); + this.smartLabel33.Name = "smartLabel33"; + this.smartLabel33.OverlapOptimize = true; + this.smartLabel33.PasswordChar = '\0'; + this.smartLabel33.Radius = 3; + this.smartLabel33.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel33.Size = new System.Drawing.Size(30, 29); + this.smartLabel33.TabIndex = 275; + this.smartLabel33.Text = "kPa"; + this.smartLabel33.TextColor = System.Drawing.Color.White; + this.smartLabel33.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel33.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel33.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel33.Wordwrap = false; + // + // smartLabel34 + // + this.smartLabel34.BackGround = this.smartForm1; + this.smartLabel34.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel34.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel34.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel34.LineSpacing = 0F; + this.smartLabel34.Location = new System.Drawing.Point(174, 611); + this.smartLabel34.Name = "smartLabel34"; + this.smartLabel34.OverlapOptimize = true; + this.smartLabel34.PasswordChar = '\0'; + this.smartLabel34.Radius = 3; + this.smartLabel34.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel34.Size = new System.Drawing.Size(30, 29); + this.smartLabel34.TabIndex = 274; + this.smartLabel34.Text = "kPa"; + this.smartLabel34.TextColor = System.Drawing.Color.White; + this.smartLabel34.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel34.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel34.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel34.Wordwrap = false; + // + // smartLabel35 + // + this.smartLabel35.BackGround = this.smartForm1; + this.smartLabel35.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel35.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel35.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel35.LineSpacing = 0F; + this.smartLabel35.Location = new System.Drawing.Point(344, 611); + this.smartLabel35.Name = "smartLabel35"; + this.smartLabel35.OverlapOptimize = true; + this.smartLabel35.PasswordChar = '\0'; + this.smartLabel35.Radius = 3; + this.smartLabel35.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel35.Size = new System.Drawing.Size(30, 29); + this.smartLabel35.TabIndex = 273; + this.smartLabel35.Text = "kPa"; + this.smartLabel35.TextColor = System.Drawing.Color.White; + this.smartLabel35.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel35.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel35.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel35.Wordwrap = false; + // + // smartLabel22 + // + this.smartLabel22.BackGround = this.smartForm1; + this.smartLabel22.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel22.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel22.LineSpacing = 0F; + this.smartLabel22.Location = new System.Drawing.Point(514, 680); + this.smartLabel22.Name = "smartLabel22"; + this.smartLabel22.OverlapOptimize = true; + this.smartLabel22.PasswordChar = '\0'; + this.smartLabel22.Radius = 3; + this.smartLabel22.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel22.Size = new System.Drawing.Size(30, 29); + this.smartLabel22.TabIndex = 272; + this.smartLabel22.Text = "kPa"; + this.smartLabel22.TextColor = System.Drawing.Color.White; + this.smartLabel22.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel22.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel22.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel22.Wordwrap = false; + // + // smartLabel23 + // + this.smartLabel23.BackGround = this.smartForm1; + this.smartLabel23.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel23.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel23.LineSpacing = 0F; + this.smartLabel23.Location = new System.Drawing.Point(683, 680); + this.smartLabel23.Name = "smartLabel23"; + this.smartLabel23.OverlapOptimize = true; + this.smartLabel23.PasswordChar = '\0'; + this.smartLabel23.Radius = 3; + this.smartLabel23.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel23.Size = new System.Drawing.Size(30, 29); + this.smartLabel23.TabIndex = 271; + this.smartLabel23.Text = "kPa"; + this.smartLabel23.TextColor = System.Drawing.Color.White; + this.smartLabel23.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel23.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel23.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel23.Wordwrap = false; + // + // smartLabel28 + // + this.smartLabel28.BackGround = this.smartForm1; + this.smartLabel28.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel28.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel28.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel28.LineSpacing = 0F; + this.smartLabel28.Location = new System.Drawing.Point(852, 680); + this.smartLabel28.Name = "smartLabel28"; + this.smartLabel28.OverlapOptimize = true; + this.smartLabel28.PasswordChar = '\0'; + this.smartLabel28.Radius = 3; + this.smartLabel28.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel28.Size = new System.Drawing.Size(30, 29); + this.smartLabel28.TabIndex = 270; + this.smartLabel28.Text = "kPa"; + this.smartLabel28.TextColor = System.Drawing.Color.White; + this.smartLabel28.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel28.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel28.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel28.Wordwrap = false; + // + // smartLabel21 + // + this.smartLabel21.BackGround = this.smartForm1; + this.smartLabel21.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel21.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel21.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel21.LineSpacing = 0F; + this.smartLabel21.Location = new System.Drawing.Point(514, 611); + this.smartLabel21.Name = "smartLabel21"; + this.smartLabel21.OverlapOptimize = true; + this.smartLabel21.PasswordChar = '\0'; + this.smartLabel21.Radius = 3; + this.smartLabel21.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel21.Size = new System.Drawing.Size(30, 29); + this.smartLabel21.TabIndex = 269; + this.smartLabel21.Text = "kPa"; + this.smartLabel21.TextColor = System.Drawing.Color.White; + this.smartLabel21.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel21.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel21.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel21.Wordwrap = false; + // + // smartLabel20 + // + this.smartLabel20.BackGround = this.smartForm1; + this.smartLabel20.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel20.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel20.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel20.LineSpacing = 0F; + this.smartLabel20.Location = new System.Drawing.Point(683, 611); + this.smartLabel20.Name = "smartLabel20"; + this.smartLabel20.OverlapOptimize = true; + this.smartLabel20.PasswordChar = '\0'; + this.smartLabel20.Radius = 3; + this.smartLabel20.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel20.Size = new System.Drawing.Size(30, 29); + this.smartLabel20.TabIndex = 268; + this.smartLabel20.Text = "kPa"; + this.smartLabel20.TextColor = System.Drawing.Color.White; + this.smartLabel20.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel20.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel20.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel20.Wordwrap = false; + // + // smartLabel19 + // + this.smartLabel19.BackGround = this.smartForm1; + this.smartLabel19.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); + this.smartLabel19.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.smartLabel19.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel19.LineSpacing = 0F; + this.smartLabel19.Location = new System.Drawing.Point(852, 611); + this.smartLabel19.Name = "smartLabel19"; + this.smartLabel19.OverlapOptimize = true; + this.smartLabel19.PasswordChar = '\0'; + this.smartLabel19.Radius = 3; + this.smartLabel19.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.smartLabel19.Size = new System.Drawing.Size(30, 29); + this.smartLabel19.TabIndex = 267; + this.smartLabel19.Text = "kPa"; + this.smartLabel19.TextColor = System.Drawing.Color.White; + this.smartLabel19.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel19.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel19.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel19.Wordwrap = false; + // // labelSbAlarm10 // this.labelSbAlarm10.BackGround = null; @@ -790,7 +1010,7 @@ this.labelTime.BackGroundColor = System.Drawing.Color.SkyBlue; this.labelTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelTime.LineSpacing = 0F; this.labelTime.Location = new System.Drawing.Point(147, 119); this.labelTime.Name = "labelTime"; @@ -1507,7 +1727,7 @@ this.labelAlarm.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(51)))), ((int)(((byte)(53))))); this.labelAlarm.BorderColor = System.Drawing.Color.White; this.labelAlarm.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelAlarm.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelAlarm.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelAlarm.LineSpacing = 0F; this.labelAlarm.Location = new System.Drawing.Point(3, 27); this.labelAlarm.Name = "labelAlarm"; @@ -2274,226 +2494,6 @@ this.smartTimerMessageShow.TimeFormStringSeparator = ":"; this.smartTimerMessageShow.Tick += new System.EventHandler(this.smartTimerMessageShow_Tick); // - // smartLabel32 - // - this.smartLabel32.BackGround = this.smartForm1; - this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel32.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel32.LineSpacing = 0F; - this.smartLabel32.Location = new System.Drawing.Point(174, 680); - this.smartLabel32.Name = "smartLabel32"; - this.smartLabel32.OverlapOptimize = true; - this.smartLabel32.PasswordChar = '\0'; - this.smartLabel32.Radius = 3; - this.smartLabel32.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel32.Size = new System.Drawing.Size(30, 29); - this.smartLabel32.TabIndex = 276; - this.smartLabel32.Text = "kPa"; - this.smartLabel32.TextColor = System.Drawing.Color.White; - this.smartLabel32.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel32.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel32.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel32.Wordwrap = false; - // - // smartLabel33 - // - this.smartLabel33.BackGround = this.smartForm1; - this.smartLabel33.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel33.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel33.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel33.LineSpacing = 0F; - this.smartLabel33.Location = new System.Drawing.Point(344, 680); - this.smartLabel33.Name = "smartLabel33"; - this.smartLabel33.OverlapOptimize = true; - this.smartLabel33.PasswordChar = '\0'; - this.smartLabel33.Radius = 3; - this.smartLabel33.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel33.Size = new System.Drawing.Size(30, 29); - this.smartLabel33.TabIndex = 275; - this.smartLabel33.Text = "kPa"; - this.smartLabel33.TextColor = System.Drawing.Color.White; - this.smartLabel33.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel33.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel33.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel33.Wordwrap = false; - // - // smartLabel34 - // - this.smartLabel34.BackGround = this.smartForm1; - this.smartLabel34.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel34.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel34.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel34.LineSpacing = 0F; - this.smartLabel34.Location = new System.Drawing.Point(174, 611); - this.smartLabel34.Name = "smartLabel34"; - this.smartLabel34.OverlapOptimize = true; - this.smartLabel34.PasswordChar = '\0'; - this.smartLabel34.Radius = 3; - this.smartLabel34.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel34.Size = new System.Drawing.Size(30, 29); - this.smartLabel34.TabIndex = 274; - this.smartLabel34.Text = "kPa"; - this.smartLabel34.TextColor = System.Drawing.Color.White; - this.smartLabel34.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel34.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel34.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel34.Wordwrap = false; - // - // smartLabel35 - // - this.smartLabel35.BackGround = this.smartForm1; - this.smartLabel35.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel35.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel35.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel35.LineSpacing = 0F; - this.smartLabel35.Location = new System.Drawing.Point(344, 611); - this.smartLabel35.Name = "smartLabel35"; - this.smartLabel35.OverlapOptimize = true; - this.smartLabel35.PasswordChar = '\0'; - this.smartLabel35.Radius = 3; - this.smartLabel35.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel35.Size = new System.Drawing.Size(30, 29); - this.smartLabel35.TabIndex = 273; - this.smartLabel35.Text = "kPa"; - this.smartLabel35.TextColor = System.Drawing.Color.White; - this.smartLabel35.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel35.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel35.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel35.Wordwrap = false; - // - // smartLabel22 - // - this.smartLabel22.BackGround = this.smartForm1; - this.smartLabel22.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel22.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel22.LineSpacing = 0F; - this.smartLabel22.Location = new System.Drawing.Point(514, 680); - this.smartLabel22.Name = "smartLabel22"; - this.smartLabel22.OverlapOptimize = true; - this.smartLabel22.PasswordChar = '\0'; - this.smartLabel22.Radius = 3; - this.smartLabel22.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel22.Size = new System.Drawing.Size(30, 29); - this.smartLabel22.TabIndex = 272; - this.smartLabel22.Text = "kPa"; - this.smartLabel22.TextColor = System.Drawing.Color.White; - this.smartLabel22.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel22.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel22.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel22.Wordwrap = false; - // - // smartLabel23 - // - this.smartLabel23.BackGround = this.smartForm1; - this.smartLabel23.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel23.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel23.LineSpacing = 0F; - this.smartLabel23.Location = new System.Drawing.Point(683, 680); - this.smartLabel23.Name = "smartLabel23"; - this.smartLabel23.OverlapOptimize = true; - this.smartLabel23.PasswordChar = '\0'; - this.smartLabel23.Radius = 3; - this.smartLabel23.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel23.Size = new System.Drawing.Size(30, 29); - this.smartLabel23.TabIndex = 271; - this.smartLabel23.Text = "kPa"; - this.smartLabel23.TextColor = System.Drawing.Color.White; - this.smartLabel23.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel23.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel23.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel23.Wordwrap = false; - // - // smartLabel28 - // - this.smartLabel28.BackGround = this.smartForm1; - this.smartLabel28.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel28.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel28.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel28.LineSpacing = 0F; - this.smartLabel28.Location = new System.Drawing.Point(852, 680); - this.smartLabel28.Name = "smartLabel28"; - this.smartLabel28.OverlapOptimize = true; - this.smartLabel28.PasswordChar = '\0'; - this.smartLabel28.Radius = 3; - this.smartLabel28.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel28.Size = new System.Drawing.Size(30, 29); - this.smartLabel28.TabIndex = 270; - this.smartLabel28.Text = "kPa"; - this.smartLabel28.TextColor = System.Drawing.Color.White; - this.smartLabel28.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel28.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel28.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel28.Wordwrap = false; - // - // smartLabel21 - // - this.smartLabel21.BackGround = this.smartForm1; - this.smartLabel21.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel21.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel21.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel21.LineSpacing = 0F; - this.smartLabel21.Location = new System.Drawing.Point(514, 611); - this.smartLabel21.Name = "smartLabel21"; - this.smartLabel21.OverlapOptimize = true; - this.smartLabel21.PasswordChar = '\0'; - this.smartLabel21.Radius = 3; - this.smartLabel21.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel21.Size = new System.Drawing.Size(30, 29); - this.smartLabel21.TabIndex = 269; - this.smartLabel21.Text = "kPa"; - this.smartLabel21.TextColor = System.Drawing.Color.White; - this.smartLabel21.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel21.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel21.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel21.Wordwrap = false; - // - // smartLabel20 - // - this.smartLabel20.BackGround = this.smartForm1; - this.smartLabel20.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel20.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel20.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel20.LineSpacing = 0F; - this.smartLabel20.Location = new System.Drawing.Point(683, 611); - this.smartLabel20.Name = "smartLabel20"; - this.smartLabel20.OverlapOptimize = true; - this.smartLabel20.PasswordChar = '\0'; - this.smartLabel20.Radius = 3; - this.smartLabel20.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel20.Size = new System.Drawing.Size(30, 29); - this.smartLabel20.TabIndex = 268; - this.smartLabel20.Text = "kPa"; - this.smartLabel20.TextColor = System.Drawing.Color.White; - this.smartLabel20.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel20.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel20.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel20.Wordwrap = false; - // - // smartLabel19 - // - this.smartLabel19.BackGround = this.smartForm1; - this.smartLabel19.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); - this.smartLabel19.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.smartLabel19.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel19.LineSpacing = 0F; - this.smartLabel19.Location = new System.Drawing.Point(852, 611); - this.smartLabel19.Name = "smartLabel19"; - this.smartLabel19.OverlapOptimize = true; - this.smartLabel19.PasswordChar = '\0'; - this.smartLabel19.Radius = 3; - this.smartLabel19.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.smartLabel19.Size = new System.Drawing.Size(30, 29); - this.smartLabel19.TabIndex = 267; - this.smartLabel19.Text = "kPa"; - this.smartLabel19.TextColor = System.Drawing.Color.White; - this.smartLabel19.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel19.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel19.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel19.Wordwrap = false; - // // FormMainDisplay2 // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); diff --git a/INT_PT002/Forms/FormMainDisplay2.cs b/INT_PT002/Forms/FormMainDisplay2.cs index 281ebb2..efdbd2b 100644 --- a/INT_PT002/Forms/FormMainDisplay2.cs +++ b/INT_PT002/Forms/FormMainDisplay2.cs @@ -24,12 +24,15 @@ namespace INT_PT002.Forms private string MessageBoxRange; + private int LabelProcess0LocationX; + private int LabelProcess0LocationY; + private int LabelProcess0_1LocationX; + private int LabelProcess0_1LocationY; + private Color ColorProgressOn; private Size SizeProgressOn; - private List ListPointProgressOn; private Color ColorProgressOff; private Size SizeProgressOff; - private List ListPointProgressOff; private Color ColorResultPass; private Color ColorResultNG; private Color ColorResultNone; @@ -37,6 +40,8 @@ namespace INT_PT002.Forms private Color ColorSensorError; private Collection CollectionLabelResult; + private Collection CollectionLabelProgress; + private Collection CollectionLabelProgress2; private Collection CollectionLabelPressure; private Collection CollectionLabelLeakRatePerSec; private Collection CollectionLabelSbAlarm; @@ -72,28 +77,6 @@ namespace INT_PT002.Forms this.FlagIgnoreCNT = 0; this.MessageBoxRange = ""; - this.ListPointProgressOff = new List(); - this.ListPointProgressOff.Clear(); - this.ListPointProgressOff.Add(new Point(59, 203)); - this.ListPointProgressOff.Add(new Point(269, 203)); - this.ListPointProgressOff.Add(new Point(486, 203)); - this.ListPointProgressOff.Add(new Point(703, 203)); - this.ListPointProgressOff.Add(new Point(703, 398)); - this.ListPointProgressOff.Add(new Point(486, 398)); - this.ListPointProgressOff.Add(new Point(269, 398)); - this.ListPointProgressOff.Add(new Point(59, 398)); - - this.ListPointProgressOn = new List(); - this.ListPointProgressOn.Clear(); - this.ListPointProgressOn.Add(new Point(36, 188)); - this.ListPointProgressOn.Add(new Point(255, 188)); - this.ListPointProgressOn.Add(new Point(474, 188)); - this.ListPointProgressOn.Add(new Point(693, 188)); - this.ListPointProgressOn.Add(new Point(693, 383)); - this.ListPointProgressOn.Add(new Point(474, 383)); - this.ListPointProgressOn.Add(new Point(255, 383)); - this.ListPointProgressOn.Add(new Point(36, 383)); - this.ColorProgressOff = Color.FromArgb(231, 231, 231); this.SizeProgressOff = new Size(155, 140); this.ColorProgressOn = Color.FromArgb(95, 196, 188); @@ -105,6 +88,7 @@ namespace INT_PT002.Forms this.ColorSensorError = Color.FromArgb(254, 70, 70); this.CollectionLabelResult = new Collection(); + this.CollectionLabelResult.Clear(); this.CollectionLabelResult.Add(this.labelResult1); this.CollectionLabelResult.Add(this.labelResult2); this.CollectionLabelResult.Add(this.labelResult3); @@ -116,7 +100,30 @@ namespace INT_PT002.Forms this.CollectionLabelResult.Add(this.labelResult9); this.CollectionLabelResult.Add(this.labelResult10); + this.CollectionLabelProgress = new Collection(); + this.CollectionLabelProgress.Clear(); + this.CollectionLabelProgress.Add(this.labelProgress0); + this.CollectionLabelProgress.Add(this.labelProgress1); + this.CollectionLabelProgress.Add(this.labelProgress2); + this.CollectionLabelProgress.Add(this.labelProgress3); + this.CollectionLabelProgress.Add(this.labelProgress4); + this.CollectionLabelProgress.Add(this.labelProgress6); + this.CollectionLabelProgress.Add(this.labelProgress7); + this.CollectionLabelProgress.Add(this.labelProgress8); + + this.CollectionLabelProgress2 = new Collection(); + this.CollectionLabelProgress2.Clear(); + this.CollectionLabelProgress2.Add(this.labelProgress0_1); + this.CollectionLabelProgress2.Add(this.labelProgress1_1); + this.CollectionLabelProgress2.Add(this.labelProgress2_1); + this.CollectionLabelProgress2.Add(this.labelProgress3_1); + this.CollectionLabelProgress2.Add(this.labelProgress4_1); + this.CollectionLabelProgress2.Add(this.labelProgress6_1); + this.CollectionLabelProgress2.Add(this.labelProgress7_1); + this.CollectionLabelProgress2.Add(this.labelProgress8_1); + this.CollectionLabelPressure = new Collection(); + this.CollectionLabelPressure.Clear(); this.CollectionLabelPressure.Add(this.labelPressure1); this.CollectionLabelPressure.Add(this.labelPressure2); this.CollectionLabelPressure.Add(this.labelPressure3); @@ -129,6 +136,7 @@ namespace INT_PT002.Forms this.CollectionLabelPressure.Add(this.labelPressure10); this.CollectionLabelLeakRatePerSec = new Collection(); + this.CollectionLabelLeakRatePerSec.Clear(); this.CollectionLabelLeakRatePerSec.Add(this.labelLrSec1); this.CollectionLabelLeakRatePerSec.Add(this.labelLrSec2); this.CollectionLabelLeakRatePerSec.Add(this.labelLrSec3); @@ -159,6 +167,11 @@ namespace INT_PT002.Forms this.ChildControl.BringToFront(); this.ChildControl.Visible = false; + this.LabelProcess0LocationX = this.CollectionLabelProgress[0].Location.X; + this.LabelProcess0LocationY = this.CollectionLabelProgress[0].Location.Y; + this.LabelProcess0_1LocationX = this.CollectionLabelProgress2[0].Location.X; + this.LabelProcess0_1LocationY = this.CollectionLabelProgress2[0].Location.Y; + this.buttonRecipeNo.ButtonText = this.ParentForm.SystemConfig.RECIPE_NUMBER.ToString(); } private void InitializeData() @@ -171,6 +184,60 @@ namespace INT_PT002.Forms this.CollectionLabelSbAlarm[i].Visible = false; } } + private void labelImageLocation(Define.E_ProcessStatus process) + { + int gap = 219; + + for (int i = 0; i < this.CollectionLabelProgress.Count; i++) + { + if (i < this.CollectionLabelProgress.Count / 2) + { + this.CollectionLabelProgress[i].Location = new Point(this.LabelProcess0LocationX + (i * gap), this.LabelProcess0LocationY); + this.CollectionLabelProgress2[i].Location = new Point(this.LabelProcess0_1LocationX + (i * gap), this.LabelProcess0_1LocationY); + } + else + { + this.CollectionLabelProgress[i].Location = new Point( + this.LabelProcess0LocationX + ((this.CollectionLabelProgress.Count - i) * gap), this.LabelProcess0LocationY + 194); + this.CollectionLabelProgress2[i].Location = new Point( + this.LabelProcess0_1LocationX + ((this.CollectionLabelProgress.Count - i) * gap), this.LabelProcess0_1LocationY + 291); + } + } + + switch (process) + { + case Define.E_ProcessStatus._0_None: + break; + case Define.E_ProcessStatus._1_Initial: + this.CollectionLabelProgress[0].Location = new Point(this.CollectionLabelProgress[0].Location.X - 17, this.CollectionLabelProgress[0].Location.Y - 16); + break; + case Define.E_ProcessStatus._2_ProductEntry: + this.CollectionLabelProgress[1].Location = new Point(this.CollectionLabelProgress[1].Location.X - 17, this.CollectionLabelProgress[1].Location.Y - 16); + break; + case Define.E_ProcessStatus._3_ChamberConbined: + this.CollectionLabelProgress[2].Location = new Point(this.CollectionLabelProgress[2].Location.X - 17, this.CollectionLabelProgress[2].Location.Y - 16); + break; + case Define.E_ProcessStatus._4_VacuumStart: + this.CollectionLabelProgress[3].Location = new Point(this.CollectionLabelProgress[3].Location.X - 17, this.CollectionLabelProgress[3].Location.Y - 16); + break; + case Define.E_ProcessStatus._5_VacuumHold: + this.CollectionLabelProgress[4].Location = new Point(this.CollectionLabelProgress[4].Location.X - 17, this.CollectionLabelProgress[4].Location.Y - 15); + break; + case Define.E_ProcessStatus._6_Judgment: + break; + case Define.E_ProcessStatus._7_VacuumBreak: + this.CollectionLabelProgress[5].Location = new Point(this.CollectionLabelProgress[5].Location.X - 17, this.CollectionLabelProgress[5].Location.Y - 15); + break; + case Define.E_ProcessStatus._8_ChamberSeparation: + this.CollectionLabelProgress[6].Location = new Point(this.CollectionLabelProgress[6].Location.X - 17, this.CollectionLabelProgress[6].Location.Y - 15); + break; + case Define.E_ProcessStatus._9_ProductRelease: + this.CollectionLabelProgress[7].Location = new Point(this.CollectionLabelProgress[7].Location.X - 17, this.CollectionLabelProgress[7].Location.Y - 15); + break; + default: + break; + } + } private bool UI_Invoke(ThreadStart invoker) { @@ -376,208 +443,68 @@ namespace INT_PT002.Forms public void UpdateProcessStatusDisplay(Define.E_ProcessStatus status) { + for (int i = 0; i < this.CollectionLabelProgress.Count; i++) + { + this.CollectionLabelProgress[i].Size = this.SizeProgressOff; + this.CollectionLabelProgress[i].RoundRectFillColor = this.ColorProgressOff; + this.CollectionLabelProgress2[i].BackGroundColor = this.ColorProgressOff; + } + this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; + this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; + switch (status) { case Define.E_ProcessStatus._0_None: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; break; case Define.E_ProcessStatus._1_Initial: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOn; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOn; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; - - this.buttonInspection.Enabled = true; + this.CollectionLabelProgress[0].Size = this.SizeProgressOn; + this.CollectionLabelProgress[0].RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress2[0].BackGroundColor = this.ColorProgressOn; break; case Define.E_ProcessStatus._2_ProductEntry: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOn; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOn; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; - - this.buttonInspection.Enabled = false; - // Label Initialize - //this.InitializeLabel(); + this.CollectionLabelProgress[1].Size = this.SizeProgressOn; + this.CollectionLabelProgress[1].RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress2[1].BackGroundColor = this.ColorProgressOn; break; case Define.E_ProcessStatus._3_ChamberConbined: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOn; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOn; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; + this.CollectionLabelProgress[2].Size = this.SizeProgressOn; + this.CollectionLabelProgress[2].RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress2[2].BackGroundColor = this.ColorProgressOn; break; case Define.E_ProcessStatus._4_VacuumStart: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress[3].Size = this.SizeProgressOn; + this.CollectionLabelProgress[3].RoundRectFillColor = this.ColorProgressOn; this.labelProgress3sec.BackGroundColor = this.ColorProgressOn; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOn; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; + this.CollectionLabelProgress2[3].BackGroundColor = this.ColorProgressOn; break; case Define.E_ProcessStatus._5_VacuumHold: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress[4].Size = this.SizeProgressOn; + this.CollectionLabelProgress[4].RoundRectFillColor = this.ColorProgressOn; this.labelProgress4sec.BackGroundColor = this.ColorProgressOn; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOn; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; + this.CollectionLabelProgress2[4].BackGroundColor = this.ColorProgressOn; break; case Define.E_ProcessStatus._6_Judgment: break; case Define.E_ProcessStatus._7_VacuumBreak: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOn; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOn; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; + this.CollectionLabelProgress[5].Size = this.SizeProgressOn; + this.CollectionLabelProgress[5].RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress2[5].BackGroundColor = this.ColorProgressOn; break; case Define.E_ProcessStatus._8_ChamberSeparation: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOn; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOff; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOn; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOff; + this.CollectionLabelProgress[6].Size = this.SizeProgressOn; + this.CollectionLabelProgress[6].RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress2[6].BackGroundColor = this.ColorProgressOn; break; case Define.E_ProcessStatus._9_ProductRelease: - this.labelProgress0.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress1.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress2.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress3sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress4.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress4sec.BackGroundColor = this.ColorProgressOff; - this.labelProgress6.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress7.RoundRectFillColor = this.ColorProgressOff; - this.labelProgress8.RoundRectFillColor = this.ColorProgressOn; - - this.labelProgress0_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress1_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress2_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress3_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress4_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress6_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress7_1.BackGroundColor = this.ColorProgressOff; - this.labelProgress8_1.BackGroundColor = this.ColorProgressOn; + this.CollectionLabelProgress[7].Size = this.SizeProgressOn; + this.CollectionLabelProgress[7].RoundRectFillColor = this.ColorProgressOn; + this.CollectionLabelProgress2[7].BackGroundColor = this.ColorProgressOn; break; default: break; } + + this.labelImageLocation(status); } private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff) {