미국 전시회 최종

main
Seonjae 2025-01-08 15:01:16 +09:00
parent a70eedcf63
commit 4dcf8f13d4
51 changed files with 14811 additions and 10811 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

View File

@ -92,6 +92,8 @@
this.labelInput3 = new SmartX.SmartLabel();
this.labelInput1 = new SmartX.SmartLabel();
this.smartTimer = new SmartX.SmartTimer();
this.labeldispAlarm2 = new SmartX.SmartLabel();
this.labeldispAlarm1 = new SmartX.SmartLabel();
this.smartGroupBox1.SuspendLayout();
this.smartGroupBox3.SuspendLayout();
this.smartGroupBox5.SuspendLayout();
@ -166,10 +168,9 @@
// labelMotorChamber10
//
this.labelMotorChamber10.BackGround = null;
this.labelMotorChamber10.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber10.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber10.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber10.Enabled = false;
this.labelMotorChamber10.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber10.LineSpacing = 0F;
this.labelMotorChamber10.Location = new System.Drawing.Point(283, 363);
@ -198,7 +199,6 @@
this.buttonMotorChamber10.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber10.ButtonText = "Chamber 10";
this.buttonMotorChamber10.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber10.Enabled = false;
this.buttonMotorChamber10.GroupID = 0;
this.buttonMotorChamber10.ImageDisable = null;
this.buttonMotorChamber10.ImageDown = null;
@ -227,10 +227,9 @@
// labelMotorChamber9
//
this.labelMotorChamber9.BackGround = null;
this.labelMotorChamber9.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber9.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber9.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber9.Enabled = false;
this.labelMotorChamber9.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber9.LineSpacing = 0F;
this.labelMotorChamber9.Location = new System.Drawing.Point(283, 307);
@ -252,10 +251,9 @@
// labelMotorChamber8
//
this.labelMotorChamber8.BackGround = null;
this.labelMotorChamber8.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber8.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber8.Enabled = false;
this.labelMotorChamber8.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber8.LineSpacing = 0F;
this.labelMotorChamber8.Location = new System.Drawing.Point(283, 251);
@ -284,7 +282,6 @@
this.buttonMotorChamber9.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber9.ButtonText = "Chamber 9";
this.buttonMotorChamber9.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber9.Enabled = false;
this.buttonMotorChamber9.GroupID = 0;
this.buttonMotorChamber9.ImageDisable = null;
this.buttonMotorChamber9.ImageDown = null;
@ -320,7 +317,6 @@
this.buttonMotorChamber8.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber8.ButtonText = "Chamber 8";
this.buttonMotorChamber8.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber8.Enabled = false;
this.buttonMotorChamber8.GroupID = 0;
this.buttonMotorChamber8.ImageDisable = null;
this.buttonMotorChamber8.ImageDown = null;
@ -349,10 +345,9 @@
// labelMotorChamber7
//
this.labelMotorChamber7.BackGround = null;
this.labelMotorChamber7.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber7.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber7.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber7.Enabled = false;
this.labelMotorChamber7.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber7.LineSpacing = 0F;
this.labelMotorChamber7.Location = new System.Drawing.Point(283, 195);
@ -374,10 +369,9 @@
// labelMotorChamber6
//
this.labelMotorChamber6.BackGround = null;
this.labelMotorChamber6.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber6.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber6.Enabled = false;
this.labelMotorChamber6.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber6.LineSpacing = 0F;
this.labelMotorChamber6.Location = new System.Drawing.Point(283, 139);
@ -406,7 +400,6 @@
this.buttonMotorChamber7.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber7.ButtonText = "Chamber 7";
this.buttonMotorChamber7.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber7.Enabled = false;
this.buttonMotorChamber7.GroupID = 0;
this.buttonMotorChamber7.ImageDisable = null;
this.buttonMotorChamber7.ImageDown = null;
@ -442,7 +435,6 @@
this.buttonMotorChamber6.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber6.ButtonText = "Chamber 6";
this.buttonMotorChamber6.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber6.Enabled = false;
this.buttonMotorChamber6.GroupID = 0;
this.buttonMotorChamber6.ImageDisable = null;
this.buttonMotorChamber6.ImageDown = null;
@ -471,10 +463,9 @@
// labelMotorChamber5
//
this.labelMotorChamber5.BackGround = null;
this.labelMotorChamber5.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber5.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber5.Enabled = false;
this.labelMotorChamber5.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber5.LineSpacing = 0F;
this.labelMotorChamber5.Location = new System.Drawing.Point(35, 363);
@ -503,7 +494,6 @@
this.buttonMotorChamber5.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber5.ButtonText = "Chamber 5";
this.buttonMotorChamber5.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber5.Enabled = false;
this.buttonMotorChamber5.GroupID = 0;
this.buttonMotorChamber5.ImageDisable = null;
this.buttonMotorChamber5.ImageDown = null;
@ -532,10 +522,9 @@
// labelMotorChamber4
//
this.labelMotorChamber4.BackGround = null;
this.labelMotorChamber4.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber4.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber4.Enabled = false;
this.labelMotorChamber4.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber4.LineSpacing = 0F;
this.labelMotorChamber4.Location = new System.Drawing.Point(35, 307);
@ -557,10 +546,9 @@
// labelMotorChamber3
//
this.labelMotorChamber3.BackGround = null;
this.labelMotorChamber3.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber3.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber3.Enabled = false;
this.labelMotorChamber3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber3.LineSpacing = 0F;
this.labelMotorChamber3.Location = new System.Drawing.Point(35, 251);
@ -589,7 +577,6 @@
this.buttonMotorChamber4.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber4.ButtonText = "Chamber 4";
this.buttonMotorChamber4.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber4.Enabled = false;
this.buttonMotorChamber4.GroupID = 0;
this.buttonMotorChamber4.ImageDisable = null;
this.buttonMotorChamber4.ImageDown = null;
@ -625,7 +612,6 @@
this.buttonMotorChamber3.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber3.ButtonText = "Chamber 3";
this.buttonMotorChamber3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber3.Enabled = false;
this.buttonMotorChamber3.GroupID = 0;
this.buttonMotorChamber3.ImageDisable = null;
this.buttonMotorChamber3.ImageDown = null;
@ -661,7 +647,6 @@
this.buttonMotor1AlarmClear.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotor1AlarmClear.ButtonText = "Alarm Clear";
this.buttonMotor1AlarmClear.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotor1AlarmClear.Enabled = false;
this.buttonMotor1AlarmClear.GroupID = 0;
this.buttonMotor1AlarmClear.ImageDisable = null;
this.buttonMotor1AlarmClear.ImageDown = null;
@ -690,10 +675,9 @@
// labelMotorChamber2
//
this.labelMotorChamber2.BackGround = null;
this.labelMotorChamber2.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber2.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber2.Enabled = false;
this.labelMotorChamber2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber2.LineSpacing = 0F;
this.labelMotorChamber2.Location = new System.Drawing.Point(35, 195);
@ -715,10 +699,9 @@
// labelMotorChamber1
//
this.labelMotorChamber1.BackGround = null;
this.labelMotorChamber1.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotorChamber1.BackGroundColor = System.Drawing.Color.White;
this.labelMotorChamber1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotorChamber1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotorChamber1.Enabled = false;
this.labelMotorChamber1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotorChamber1.LineSpacing = 0F;
this.labelMotorChamber1.Location = new System.Drawing.Point(35, 139);
@ -740,10 +723,9 @@
// labelMotor1Origin
//
this.labelMotor1Origin.BackGround = null;
this.labelMotor1Origin.BackGroundColor = System.Drawing.Color.Gainsboro;
this.labelMotor1Origin.BackGroundColor = System.Drawing.Color.White;
this.labelMotor1Origin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMotor1Origin.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelMotor1Origin.Enabled = false;
this.labelMotor1Origin.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelMotor1Origin.LineSpacing = 0F;
this.labelMotor1Origin.Location = new System.Drawing.Point(35, 54);
@ -772,7 +754,6 @@
this.buttonMotor1Origin.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotor1Origin.ButtonText = "ORIGIN";
this.buttonMotor1Origin.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotor1Origin.Enabled = false;
this.buttonMotor1Origin.GroupID = 0;
this.buttonMotor1Origin.ImageDisable = null;
this.buttonMotor1Origin.ImageDown = null;
@ -808,7 +789,6 @@
this.buttonMotorChamber2.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber2.ButtonText = "Chamber 2";
this.buttonMotorChamber2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber2.Enabled = false;
this.buttonMotorChamber2.GroupID = 0;
this.buttonMotorChamber2.ImageDisable = null;
this.buttonMotorChamber2.ImageDown = null;
@ -844,7 +824,6 @@
this.buttonMotorChamber1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber1.ButtonText = "Chamber 1";
this.buttonMotorChamber1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber1.Enabled = false;
this.buttonMotorChamber1.GroupID = 0;
this.buttonMotorChamber1.ImageDisable = null;
this.buttonMotorChamber1.ImageDown = null;
@ -1326,6 +1305,8 @@
this.smartGroupBox4.BackGround = null;
this.smartGroupBox4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartGroupBox4.BackImage = null;
this.smartGroupBox4.Controls.Add(this.labeldispAlarm2);
this.smartGroupBox4.Controls.Add(this.labeldispAlarm1);
this.smartGroupBox4.Controls.Add(this.labelVacuum2);
this.smartGroupBox4.Controls.Add(this.labelDiff2);
this.smartGroupBox4.Controls.Add(this.labelDisp2);
@ -1374,7 +1355,6 @@
this.labelVacuum2.TextColorDisable = System.Drawing.Color.Gray;
this.labelVacuum2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelVacuum2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelVacuum2.Visible = false;
this.labelVacuum2.Wordwrap = false;
//
// labelDiff2
@ -1398,7 +1378,6 @@
this.labelDiff2.TextColorDisable = System.Drawing.Color.Gray;
this.labelDiff2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDiff2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDiff2.Visible = false;
this.labelDiff2.Wordwrap = false;
//
// labelDisp2
@ -1422,7 +1401,6 @@
this.labelDisp2.TextColorDisable = System.Drawing.Color.Gray;
this.labelDisp2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDisp2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDisp2.Visible = false;
this.labelDisp2.Wordwrap = false;
//
// labelVacuum1
@ -1566,16 +1544,16 @@
// labelSbAlarm2
//
this.labelSbAlarm2.BackGround = null;
this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.Red;
this.labelSbAlarm2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelSbAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelSbAlarm2.LineSpacing = 0F;
this.labelSbAlarm2.Location = new System.Drawing.Point(359, 49);
this.labelSbAlarm2.Location = new System.Drawing.Point(279, 49);
this.labelSbAlarm2.Name = "labelSbAlarm2";
this.labelSbAlarm2.OverlapOptimize = true;
this.labelSbAlarm2.PasswordChar = '\0';
this.labelSbAlarm2.Radius = 3;
this.labelSbAlarm2.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelSbAlarm2.RoundRectFillColor = System.Drawing.Color.Red;
this.labelSbAlarm2.Size = new System.Drawing.Size(20, 20);
this.labelSbAlarm2.TabIndex = 207;
this.labelSbAlarm2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
@ -1588,16 +1566,16 @@
// labelSbAlarm1
//
this.labelSbAlarm1.BackGround = null;
this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.Red;
this.labelSbAlarm1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelSbAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelSbAlarm1.LineSpacing = 0F;
this.labelSbAlarm1.Location = new System.Drawing.Point(253, 49);
this.labelSbAlarm1.Location = new System.Drawing.Point(173, 49);
this.labelSbAlarm1.Name = "labelSbAlarm1";
this.labelSbAlarm1.OverlapOptimize = true;
this.labelSbAlarm1.PasswordChar = '\0';
this.labelSbAlarm1.Radius = 3;
this.labelSbAlarm1.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelSbAlarm1.RoundRectFillColor = System.Drawing.Color.Red;
this.labelSbAlarm1.Size = new System.Drawing.Size(20, 20);
this.labelSbAlarm1.TabIndex = 208;
this.labelSbAlarm1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
@ -1627,7 +1605,6 @@
this.smartLabel36.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel36.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel36.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel36.Visible = false;
this.smartLabel36.Wordwrap = false;
//
// smartLabel37
@ -1906,6 +1883,49 @@
this.smartTimer.TimeFormStringSeparator = ":";
this.smartTimer.Tick += new System.EventHandler(this.smartTimer_Tick);
//
// labeldispAlarm2
//
this.labeldispAlarm2.BackGround = null;
this.labeldispAlarm2.BackGroundColor = System.Drawing.Color.Blue;
this.labeldispAlarm2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labeldispAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labeldispAlarm2.LineSpacing = 0F;
this.labeldispAlarm2.Location = new System.Drawing.Point(359, 49);
this.labeldispAlarm2.Name = "labeldispAlarm2";
this.labeldispAlarm2.OverlapOptimize = true;
this.labeldispAlarm2.PasswordChar = '\0';
this.labeldispAlarm2.Radius = 3;
this.labeldispAlarm2.RoundRectFillColor = System.Drawing.Color.Blue;
this.labeldispAlarm2.Size = new System.Drawing.Size(20, 20);
this.labeldispAlarm2.TabIndex = 209;
this.labeldispAlarm2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labeldispAlarm2.TextColorDisable = System.Drawing.Color.Gray;
this.labeldispAlarm2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labeldispAlarm2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
this.labeldispAlarm2.Visible = false;
this.labeldispAlarm2.Wordwrap = false;
//
// labeldispAlarm1
//
this.labeldispAlarm1.BackGround = null;
this.labeldispAlarm1.BackGroundColor = System.Drawing.Color.Blue;
this.labeldispAlarm1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labeldispAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labeldispAlarm1.LineSpacing = 0F;
this.labeldispAlarm1.Location = new System.Drawing.Point(253, 49);
this.labeldispAlarm1.Name = "labeldispAlarm1";
this.labeldispAlarm1.OverlapOptimize = true;
this.labeldispAlarm1.PasswordChar = '\0';
this.labeldispAlarm1.Radius = 3;
this.labeldispAlarm1.RoundRectFillColor = System.Drawing.Color.Blue;
this.labeldispAlarm1.Size = new System.Drawing.Size(20, 20);
this.labeldispAlarm1.TabIndex = 210;
this.labeldispAlarm1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labeldispAlarm1.TextColorDisable = System.Drawing.Color.Gray;
this.labeldispAlarm1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labeldispAlarm1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
this.labeldispAlarm1.Wordwrap = false;
//
// ControlMenuManualIoTest
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -1988,5 +2008,7 @@
private SmartX.SmartButton buttonMotorChamber5;
private SmartX.SmartButton buttonOut11;
private SmartX.SmartButton buttonOut12;
public SmartX.SmartLabel labeldispAlarm2;
public SmartX.SmartLabel labeldispAlarm1;
}
}

View File

@ -28,6 +28,7 @@ namespace INT_PT002.Controls
private Collection<SmartLabel> CollLabelVacu;
private Collection<SmartLabel> CollLabelInput;
private Collection<SmartLabel> CollLabelSbAlarm;
private Collection<SmartLabel> CollLabelDispAlarm;
#endregion
#region Constructor
@ -73,6 +74,11 @@ namespace INT_PT002.Controls
this.CollLabelSbAlarm.Add(this.labelSbAlarm1);
this.CollLabelSbAlarm.Add(this.labelSbAlarm2);
this.CollLabelDispAlarm = new Collection<SmartLabel>();
this.CollLabelDispAlarm.Clear();
this.CollLabelDispAlarm.Add(this.labeldispAlarm1);
this.CollLabelDispAlarm.Add(this.labeldispAlarm2);
this.CollLabelInput = new Collection<SmartLabel>();
this.CollLabelInput.Add(this.labelInput1);
this.CollLabelInput.Add(this.labelInput2);
@ -86,6 +92,7 @@ namespace INT_PT002.Controls
this.CollLabelDisp[i].Text = "0.00";
this.CollLabelVacu[i].Text = "0.0";
this.CollLabelSbAlarm[i].Visible = false;
this.CollLabelDispAlarm[i].Visible = false;
}
for (int i = 0; i < this.CollLabelInput.Count; i++)
@ -124,11 +131,6 @@ namespace INT_PT002.Controls
}
// 변위센서 데이터
public void UpdateDisplayDispData(Collection<DispData> datas)
{
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
this.CollLabelDisp[i].Text = datas[i].RData;
}
public void UpdateDisplayDispData1(LeakData1 data)
{
this.CollLabelDisp[0].Text = data.DispData.RData;
@ -138,11 +140,6 @@ namespace INT_PT002.Controls
this.CollLabelDisp[1].Text = data.DispData.RData;
}
// 차압센서 데이터
public void UpdateDisplayDiffData(Collection<DiffData> datas)
{
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
this.CollLabelDiff[i].Text = datas[i].MAdc;
}
public void UpdateDisplayDiffData1(LeakData1 data)
{
this.CollLabelDiff[0].Text = data.DiffData.MAdc;
@ -152,11 +149,6 @@ namespace INT_PT002.Controls
this.CollLabelDiff[1].Text = data.DiffData.MAdc;
}
// 압력센서 데이터
public void UpdateDisplayPresData(Collection<PressureData> datas)
{
for (int i = 0; i < this.CollLabelVacu.Count; i++)
this.CollLabelVacu[i].Text = datas[i].WorkingChamber;
}
public void UpdateDisplayPresData1(LeakData1 data)
{
this.CollLabelVacu[0].Text = data.PresData.WorkingChamber;
@ -181,28 +173,23 @@ namespace INT_PT002.Controls
}
public void UpdateDisplayAlarmView(AlarmList alarm)
{
this.CollLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0];
this.CollLabelSbAlarm[1].Visible = alarm.CollectionIsSensorBoardError[1];
this.CollLabelSbAlarm[2].Visible = alarm.CollectionIsSensorBoardError[2];
this.CollLabelSbAlarm[3].Visible = alarm.CollectionIsSensorBoardError[3];
this.CollLabelSbAlarm[4].Visible = alarm.CollectionIsSensorBoardError[4];
this.CollLabelSbAlarm[5].Visible = alarm.CollectionIsSensorBoardError[5];
this.CollLabelSbAlarm[6].Visible = alarm.CollectionIsSensorBoardError[6];
this.CollLabelSbAlarm[7].Visible = alarm.CollectionIsSensorBoardError[7];
this.CollLabelSbAlarm[8].Visible = alarm.CollectionIsSensorBoardError[8];
this.CollLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9];
for (int i = 0; i < this.CollLabelSbAlarm.Count; i++)
{
this.CollLabelSbAlarm[i].Visible = alarm.CollectionIsSensorBoardError[i];
this.CollLabelDispAlarm[i].Visible = alarm.CollectionIsDisplacementSensorError[i];
}
}
public void DisplayRefresh()
{
// 서보설정 읽는동안 Enable = false
//this.ParentForm.Enabled = false;
this.ParentForm.Enabled = false;
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.IOTest;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.IOTest);
// Servo Parameter Read
//this.smartTimer.Start();
this.smartTimer.Start();
}
#endregion

View File

@ -0,0 +1,800 @@
namespace INT_PT002.Controls
{
partial class ControlMenuRecipeData
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle chartPenStyle5 = new SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle();
this.groupBoxMeasuring1 = new SmartX.SmartGroupBox();
this.smartSeparatorLine6 = new SmartX.SmartSeparatorLine();
this.smartSeparatorLine5 = new SmartX.SmartSeparatorLine();
this.labelMesPressureWork = new SmartX.SmartLabel();
this.labelMesDiffSecMax = new SmartX.SmartLabel();
this.smartLabel41 = new SmartX.SmartLabel();
this.smartGroupBox2 = new SmartX.SmartGroupBox();
this.smartDrawDiff = new SmartX.SmartDraw();
this.smartLabel61 = new SmartX.SmartLabel();
this.labelMesPressureMaster = new SmartX.SmartLabel();
this.labelMesDiffSecSum = new SmartX.SmartLabel();
this.smartLabel45 = new SmartX.SmartLabel();
this.smartLabel8 = new SmartX.SmartLabel();
this.smartLabel9 = new SmartX.SmartLabel();
this.labelMesDispMDataMax = new SmartX.SmartLabel();
this.smartLabel48 = new SmartX.SmartLabel();
this.labelMesDispMDataDiff = new SmartX.SmartLabel();
this.smartLabel53 = new SmartX.SmartLabel();
this.labelMesDiffMadc = new SmartX.SmartLabel();
this.smartLabel23 = new SmartX.SmartLabel();
this.smartSeparatorLine4 = new SmartX.SmartSeparatorLine();
this.labelMesDiffSecDiff = new SmartX.SmartLabel();
this.smartLabel14 = new SmartX.SmartLabel();
this.labelMesDispMData = new SmartX.SmartLabel();
this.smartLabel30 = new SmartX.SmartLabel();
this.labelMesDispRData = new SmartX.SmartLabel();
this.smartLabel32 = new SmartX.SmartLabel();
this.labelMesResult = new SmartX.SmartLabel();
this.smartGroupBox11 = new SmartX.SmartGroupBox();
this.smartDrawDisp = new SmartX.SmartDraw();
this.smartDraw_ChartChannelPenStyle1 = new SmartX.SmartDraw_ChartChannelPenStyle();
this.groupBoxMeasuring1.SuspendLayout();
this.smartGroupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.smartDrawDiff)).BeginInit();
this.smartGroupBox11.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.smartDrawDisp)).BeginInit();
this.SuspendLayout();
//
// groupBoxMeasuring1
//
this.groupBoxMeasuring1.BackGround = null;
this.groupBoxMeasuring1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.groupBoxMeasuring1.BackImage = null;
this.groupBoxMeasuring1.Controls.Add(this.smartSeparatorLine6);
this.groupBoxMeasuring1.Controls.Add(this.smartSeparatorLine5);
this.groupBoxMeasuring1.Controls.Add(this.labelMesPressureWork);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDiffSecMax);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel41);
this.groupBoxMeasuring1.Controls.Add(this.labelMesPressureMaster);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDiffSecSum);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel45);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel8);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel9);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispMDataMax);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel48);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispMDataDiff);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel53);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDiffMadc);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel23);
this.groupBoxMeasuring1.Controls.Add(this.smartSeparatorLine4);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDiffSecDiff);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel14);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispMData);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel30);
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispRData);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel32);
this.groupBoxMeasuring1.Controls.Add(this.labelMesResult);
this.groupBoxMeasuring1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxMeasuring1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxMeasuring1.FrameLineThickness = 2;
this.groupBoxMeasuring1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
this.groupBoxMeasuring1.HeaderHeightOffset = 1;
this.groupBoxMeasuring1.Location = new System.Drawing.Point(442, 2);
this.groupBoxMeasuring1.Name = "groupBoxMeasuring1";
this.groupBoxMeasuring1.RoundRadius = 5;
this.groupBoxMeasuring1.Size = new System.Drawing.Size(175, 576);
this.groupBoxMeasuring1.TabIndex = 119;
this.groupBoxMeasuring1.Text = "Measuring";
this.groupBoxMeasuring1.TextColor = System.Drawing.Color.White;
//
// smartSeparatorLine6
//
this.smartSeparatorLine6.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartSeparatorLine6.Line1Width = 1F;
this.smartSeparatorLine6.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartSeparatorLine6.Line2Width = 1F;
this.smartSeparatorLine6.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
this.smartSeparatorLine6.Location = new System.Drawing.Point(2, 197);
this.smartSeparatorLine6.Name = "smartSeparatorLine6";
this.smartSeparatorLine6.Size = new System.Drawing.Size(171, 2);
this.smartSeparatorLine6.TabIndex = 51;
this.smartSeparatorLine6.Text = "smartSeparatorLine6";
//
// smartSeparatorLine5
//
this.smartSeparatorLine5.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartSeparatorLine5.Line1Width = 1F;
this.smartSeparatorLine5.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartSeparatorLine5.Line2Width = 1F;
this.smartSeparatorLine5.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
this.smartSeparatorLine5.Location = new System.Drawing.Point(2, 97);
this.smartSeparatorLine5.Name = "smartSeparatorLine5";
this.smartSeparatorLine5.Size = new System.Drawing.Size(171, 2);
this.smartSeparatorLine5.TabIndex = 50;
this.smartSeparatorLine5.Text = "smartSeparatorLine5";
//
// labelMesPressureWork
//
this.labelMesPressureWork.BackGround = null;
this.labelMesPressureWork.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesPressureWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesPressureWork.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesPressureWork.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesPressureWork.LineSpacing = 0F;
this.labelMesPressureWork.Location = new System.Drawing.Point(80, 149);
this.labelMesPressureWork.Name = "labelMesPressureWork";
this.labelMesPressureWork.OverlapOptimize = true;
this.labelMesPressureWork.PasswordChar = '\0';
this.labelMesPressureWork.Radius = 3;
this.labelMesPressureWork.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesPressureWork.Size = new System.Drawing.Size(90, 30);
this.labelMesPressureWork.TabIndex = 41;
this.labelMesPressureWork.Text = "0.0023";
this.labelMesPressureWork.TextColor = System.Drawing.Color.White;
this.labelMesPressureWork.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesPressureWork.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesPressureWork.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesPressureWork.Wordwrap = false;
//
// labelMesDiffSecMax
//
this.labelMesDiffSecMax.BackGround = null;
this.labelMesDiffSecMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDiffSecMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDiffSecMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDiffSecMax.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDiffSecMax.LineSpacing = 0F;
this.labelMesDiffSecMax.Location = new System.Drawing.Point(80, 327);
this.labelMesDiffSecMax.Name = "labelMesDiffSecMax";
this.labelMesDiffSecMax.OverlapOptimize = true;
this.labelMesDiffSecMax.PasswordChar = '\0';
this.labelMesDiffSecMax.Radius = 3;
this.labelMesDiffSecMax.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDiffSecMax.Size = new System.Drawing.Size(90, 30);
this.labelMesDiffSecMax.TabIndex = 49;
this.labelMesDiffSecMax.Text = "0.0023";
this.labelMesDiffSecMax.TextColor = System.Drawing.Color.White;
this.labelMesDiffSecMax.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDiffSecMax.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDiffSecMax.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDiffSecMax.Wordwrap = false;
//
// smartLabel41
//
this.smartLabel41.BackGround = this.smartGroupBox2;
this.smartLabel41.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel41.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel41.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel41.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel41.LineSpacing = 0F;
this.smartLabel41.Location = new System.Drawing.Point(4, 327);
this.smartLabel41.Name = "smartLabel41";
this.smartLabel41.OverlapOptimize = true;
this.smartLabel41.PasswordChar = '\0';
this.smartLabel41.Radius = 3;
this.smartLabel41.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel41.Size = new System.Drawing.Size(70, 30);
this.smartLabel41.TabIndex = 48;
this.smartLabel41.Text = "LR.Max";
this.smartLabel41.TextColor = System.Drawing.Color.White;
this.smartLabel41.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel41.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel41.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel41.Wordwrap = false;
//
// smartGroupBox2
//
this.smartGroupBox2.BackGround = null;
this.smartGroupBox2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartGroupBox2.BackImage = null;
this.smartGroupBox2.Controls.Add(this.smartDrawDiff);
this.smartGroupBox2.Controls.Add(this.smartLabel61);
this.smartGroupBox2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox2.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox2.FrameLineThickness = 2;
this.smartGroupBox2.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
this.smartGroupBox2.HeaderHeightOffset = 1;
this.smartGroupBox2.Location = new System.Drawing.Point(3, 2);
this.smartGroupBox2.Name = "smartGroupBox2";
this.smartGroupBox2.RoundRadius = 5;
this.smartGroupBox2.Size = new System.Drawing.Size(433, 285);
this.smartGroupBox2.TabIndex = 118;
this.smartGroupBox2.Text = "Pressure";
this.smartGroupBox2.TextColor = System.Drawing.Color.White;
//
// smartDrawDiff
//
this.smartDrawDiff.BackGround = null;
this.smartDrawDiff.BackGroundColor = System.Drawing.Color.Black;
this.smartDrawDiff.Chart.ChartAreaMarkingDesignTime = true;
this.smartDrawDiff.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
this.smartDrawDiff.Chart.ChartDrawStep = 1;
this.smartDrawDiff.Chart.ChartHeight = 230;
this.smartDrawDiff.Chart.ChartRefreshMode = SmartX.SmartDraw.ChartRefresh.LEFTSCROLL;
this.smartDrawDiff.Chart.ChartWidth = 405;
this.smartDrawDiff.Chart.OriginX = 10;
this.smartDrawDiff.Chart.OriginY = 242;
this.smartDrawDiff.Chart.XIncrement = 1;
this.smartDrawDiff.DrawUpdateOption = SmartX.SmartDraw.DrawUpdateOptions.DefaultAuto;
this.smartDrawDiff.LayerSupport = SmartX.SmartDraw.LayerSupportOption.BackAndDraw;
this.smartDrawDiff.Location = new System.Drawing.Point(3, 28);
this.smartDrawDiff.Name = "smartDrawDiff";
this.smartDrawDiff.OverlapOptimize = false;
this.smartDrawDiff.Size = new System.Drawing.Size(426, 254);
this.smartDrawDiff.TabIndex = 13;
this.smartDrawDiff.Text = "smartDraw1";
//
// smartLabel61
//
this.smartLabel61.BackGround = null;
this.smartLabel61.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel61.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel61.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel61.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel61.LineSpacing = 0F;
this.smartLabel61.Location = new System.Drawing.Point(399, 392);
this.smartLabel61.Name = "smartLabel61";
this.smartLabel61.OverlapOptimize = true;
this.smartLabel61.PasswordChar = '\0';
this.smartLabel61.Radius = 3;
this.smartLabel61.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel61.Size = new System.Drawing.Size(100, 20);
this.smartLabel61.TabIndex = 12;
this.smartLabel61.Text = "1.2345";
this.smartLabel61.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel61.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel61.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel61.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel61.Wordwrap = false;
//
// labelMesPressureMaster
//
this.labelMesPressureMaster.BackGround = null;
this.labelMesPressureMaster.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesPressureMaster.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesPressureMaster.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesPressureMaster.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesPressureMaster.LineSpacing = 0F;
this.labelMesPressureMaster.Location = new System.Drawing.Point(80, 113);
this.labelMesPressureMaster.Name = "labelMesPressureMaster";
this.labelMesPressureMaster.OverlapOptimize = true;
this.labelMesPressureMaster.PasswordChar = '\0';
this.labelMesPressureMaster.Radius = 3;
this.labelMesPressureMaster.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesPressureMaster.Size = new System.Drawing.Size(90, 30);
this.labelMesPressureMaster.TabIndex = 36;
this.labelMesPressureMaster.Text = "0.0023";
this.labelMesPressureMaster.TextColor = System.Drawing.Color.White;
this.labelMesPressureMaster.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesPressureMaster.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesPressureMaster.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesPressureMaster.Wordwrap = false;
//
// labelMesDiffSecSum
//
this.labelMesDiffSecSum.BackGround = null;
this.labelMesDiffSecSum.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDiffSecSum.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDiffSecSum.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDiffSecSum.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDiffSecSum.LineSpacing = 0F;
this.labelMesDiffSecSum.Location = new System.Drawing.Point(80, 291);
this.labelMesDiffSecSum.Name = "labelMesDiffSecSum";
this.labelMesDiffSecSum.OverlapOptimize = true;
this.labelMesDiffSecSum.PasswordChar = '\0';
this.labelMesDiffSecSum.Radius = 3;
this.labelMesDiffSecSum.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDiffSecSum.Size = new System.Drawing.Size(90, 30);
this.labelMesDiffSecSum.TabIndex = 47;
this.labelMesDiffSecSum.Text = "0.0023";
this.labelMesDiffSecSum.TextColor = System.Drawing.Color.White;
this.labelMesDiffSecSum.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDiffSecSum.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDiffSecSum.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDiffSecSum.Wordwrap = false;
//
// smartLabel45
//
this.smartLabel45.BackGround = this.smartGroupBox2;
this.smartLabel45.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel45.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel45.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel45.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel45.LineSpacing = 0F;
this.smartLabel45.Location = new System.Drawing.Point(4, 291);
this.smartLabel45.Name = "smartLabel45";
this.smartLabel45.OverlapOptimize = true;
this.smartLabel45.PasswordChar = '\0';
this.smartLabel45.Radius = 3;
this.smartLabel45.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel45.Size = new System.Drawing.Size(70, 30);
this.smartLabel45.TabIndex = 46;
this.smartLabel45.Text = "LR.Sum";
this.smartLabel45.TextColor = System.Drawing.Color.White;
this.smartLabel45.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel45.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel45.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel45.Wordwrap = false;
//
// smartLabel8
//
this.smartLabel8.BackGround = this.smartGroupBox2;
this.smartLabel8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel8.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel8.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel8.LineSpacing = 0F;
this.smartLabel8.Location = new System.Drawing.Point(4, 113);
this.smartLabel8.Name = "smartLabel8";
this.smartLabel8.OverlapOptimize = true;
this.smartLabel8.PasswordChar = '\0';
this.smartLabel8.Radius = 3;
this.smartLabel8.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel8.Size = new System.Drawing.Size(70, 30);
this.smartLabel8.TabIndex = 35;
this.smartLabel8.Text = "master";
this.smartLabel8.TextColor = System.Drawing.Color.White;
this.smartLabel8.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel8.Wordwrap = false;
//
// smartLabel9
//
this.smartLabel9.BackGround = this.smartGroupBox2;
this.smartLabel9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel9.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel9.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel9.LineSpacing = 0F;
this.smartLabel9.Location = new System.Drawing.Point(4, 149);
this.smartLabel9.Name = "smartLabel9";
this.smartLabel9.OverlapOptimize = true;
this.smartLabel9.PasswordChar = '\0';
this.smartLabel9.Radius = 3;
this.smartLabel9.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel9.Size = new System.Drawing.Size(70, 30);
this.smartLabel9.TabIndex = 34;
this.smartLabel9.Text = "work";
this.smartLabel9.TextColor = System.Drawing.Color.White;
this.smartLabel9.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel9.Wordwrap = false;
//
// labelMesDispMDataMax
//
this.labelMesDispMDataMax.BackGround = null;
this.labelMesDispMDataMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDispMDataMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDispMDataMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDispMDataMax.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDispMDataMax.LineSpacing = 0F;
this.labelMesDispMDataMax.Location = new System.Drawing.Point(80, 518);
this.labelMesDispMDataMax.Name = "labelMesDispMDataMax";
this.labelMesDispMDataMax.OverlapOptimize = true;
this.labelMesDispMDataMax.PasswordChar = '\0';
this.labelMesDispMDataMax.Radius = 3;
this.labelMesDispMDataMax.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDispMDataMax.Size = new System.Drawing.Size(90, 30);
this.labelMesDispMDataMax.TabIndex = 45;
this.labelMesDispMDataMax.Text = "9.2354";
this.labelMesDispMDataMax.TextColor = System.Drawing.Color.White;
this.labelMesDispMDataMax.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDispMDataMax.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDispMDataMax.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDispMDataMax.Wordwrap = false;
//
// smartLabel48
//
this.smartLabel48.BackGround = this.smartGroupBox2;
this.smartLabel48.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel48.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel48.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel48.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel48.LineSpacing = 0F;
this.smartLabel48.Location = new System.Drawing.Point(4, 518);
this.smartLabel48.Name = "smartLabel48";
this.smartLabel48.OverlapOptimize = true;
this.smartLabel48.PasswordChar = '\0';
this.smartLabel48.Radius = 3;
this.smartLabel48.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel48.Size = new System.Drawing.Size(70, 30);
this.smartLabel48.TabIndex = 44;
this.smartLabel48.Text = "MData max";
this.smartLabel48.TextColor = System.Drawing.Color.White;
this.smartLabel48.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel48.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel48.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel48.Wordwrap = false;
//
// labelMesDispMDataDiff
//
this.labelMesDispMDataDiff.BackGround = null;
this.labelMesDispMDataDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDispMDataDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDispMDataDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDispMDataDiff.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDispMDataDiff.LineSpacing = 0F;
this.labelMesDispMDataDiff.Location = new System.Drawing.Point(80, 482);
this.labelMesDispMDataDiff.Name = "labelMesDispMDataDiff";
this.labelMesDispMDataDiff.OverlapOptimize = true;
this.labelMesDispMDataDiff.PasswordChar = '\0';
this.labelMesDispMDataDiff.Radius = 3;
this.labelMesDispMDataDiff.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDispMDataDiff.Size = new System.Drawing.Size(90, 30);
this.labelMesDispMDataDiff.TabIndex = 43;
this.labelMesDispMDataDiff.Text = "9.2354";
this.labelMesDispMDataDiff.TextColor = System.Drawing.Color.White;
this.labelMesDispMDataDiff.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDispMDataDiff.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDispMDataDiff.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDispMDataDiff.Wordwrap = false;
//
// smartLabel53
//
this.smartLabel53.BackGround = this.smartGroupBox2;
this.smartLabel53.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel53.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel53.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel53.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel53.LineSpacing = 0F;
this.smartLabel53.Location = new System.Drawing.Point(4, 482);
this.smartLabel53.Name = "smartLabel53";
this.smartLabel53.OverlapOptimize = true;
this.smartLabel53.PasswordChar = '\0';
this.smartLabel53.Radius = 3;
this.smartLabel53.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel53.Size = new System.Drawing.Size(70, 30);
this.smartLabel53.TabIndex = 42;
this.smartLabel53.Text = "MData diff";
this.smartLabel53.TextColor = System.Drawing.Color.White;
this.smartLabel53.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel53.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel53.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel53.Wordwrap = false;
//
// labelMesDiffMadc
//
this.labelMesDiffMadc.BackGround = null;
this.labelMesDiffMadc.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDiffMadc.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDiffMadc.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDiffMadc.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDiffMadc.LineSpacing = 0F;
this.labelMesDiffMadc.Location = new System.Drawing.Point(80, 219);
this.labelMesDiffMadc.Name = "labelMesDiffMadc";
this.labelMesDiffMadc.OverlapOptimize = true;
this.labelMesDiffMadc.PasswordChar = '\0';
this.labelMesDiffMadc.Radius = 3;
this.labelMesDiffMadc.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDiffMadc.Size = new System.Drawing.Size(90, 30);
this.labelMesDiffMadc.TabIndex = 40;
this.labelMesDiffMadc.Text = "0.0023";
this.labelMesDiffMadc.TextColor = System.Drawing.Color.White;
this.labelMesDiffMadc.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDiffMadc.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDiffMadc.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDiffMadc.Wordwrap = false;
//
// smartLabel23
//
this.smartLabel23.BackGround = this.smartGroupBox2;
this.smartLabel23.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel23.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel23.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel23.LineSpacing = 0F;
this.smartLabel23.Location = new System.Drawing.Point(4, 219);
this.smartLabel23.Name = "smartLabel23";
this.smartLabel23.OverlapOptimize = true;
this.smartLabel23.PasswordChar = '\0';
this.smartLabel23.Radius = 3;
this.smartLabel23.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel23.Size = new System.Drawing.Size(70, 30);
this.smartLabel23.TabIndex = 39;
this.smartLabel23.Text = "ADC";
this.smartLabel23.TextColor = System.Drawing.Color.White;
this.smartLabel23.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel23.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel23.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel23.Wordwrap = false;
//
// smartSeparatorLine4
//
this.smartSeparatorLine4.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartSeparatorLine4.Line1Width = 1F;
this.smartSeparatorLine4.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartSeparatorLine4.Line2Width = 1F;
this.smartSeparatorLine4.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
this.smartSeparatorLine4.Location = new System.Drawing.Point(2, 384);
this.smartSeparatorLine4.Name = "smartSeparatorLine4";
this.smartSeparatorLine4.Size = new System.Drawing.Size(171, 2);
this.smartSeparatorLine4.TabIndex = 38;
this.smartSeparatorLine4.Text = "smartSeparatorLine4";
//
// labelMesDiffSecDiff
//
this.labelMesDiffSecDiff.BackGround = null;
this.labelMesDiffSecDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDiffSecDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDiffSecDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDiffSecDiff.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDiffSecDiff.LineSpacing = 0F;
this.labelMesDiffSecDiff.Location = new System.Drawing.Point(80, 255);
this.labelMesDiffSecDiff.Name = "labelMesDiffSecDiff";
this.labelMesDiffSecDiff.OverlapOptimize = true;
this.labelMesDiffSecDiff.PasswordChar = '\0';
this.labelMesDiffSecDiff.Radius = 3;
this.labelMesDiffSecDiff.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDiffSecDiff.Size = new System.Drawing.Size(90, 30);
this.labelMesDiffSecDiff.TabIndex = 33;
this.labelMesDiffSecDiff.Text = "0.0023";
this.labelMesDiffSecDiff.TextColor = System.Drawing.Color.White;
this.labelMesDiffSecDiff.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDiffSecDiff.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDiffSecDiff.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDiffSecDiff.Wordwrap = false;
//
// smartLabel14
//
this.smartLabel14.BackGround = this.smartGroupBox2;
this.smartLabel14.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel14.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel14.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel14.LineSpacing = 0F;
this.smartLabel14.Location = new System.Drawing.Point(4, 255);
this.smartLabel14.Name = "smartLabel14";
this.smartLabel14.OverlapOptimize = true;
this.smartLabel14.PasswordChar = '\0';
this.smartLabel14.Radius = 3;
this.smartLabel14.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel14.Size = new System.Drawing.Size(70, 30);
this.smartLabel14.TabIndex = 32;
this.smartLabel14.Text = "LR.Sec";
this.smartLabel14.TextColor = System.Drawing.Color.White;
this.smartLabel14.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel14.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel14.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel14.Wordwrap = false;
//
// labelMesDispMData
//
this.labelMesDispMData.BackGround = null;
this.labelMesDispMData.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDispMData.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDispMData.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDispMData.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDispMData.LineSpacing = 0F;
this.labelMesDispMData.Location = new System.Drawing.Point(80, 446);
this.labelMesDispMData.Name = "labelMesDispMData";
this.labelMesDispMData.OverlapOptimize = true;
this.labelMesDispMData.PasswordChar = '\0';
this.labelMesDispMData.Radius = 3;
this.labelMesDispMData.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDispMData.Size = new System.Drawing.Size(90, 30);
this.labelMesDispMData.TabIndex = 31;
this.labelMesDispMData.Text = "9.2354";
this.labelMesDispMData.TextColor = System.Drawing.Color.White;
this.labelMesDispMData.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDispMData.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDispMData.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDispMData.Wordwrap = false;
//
// smartLabel30
//
this.smartLabel30.BackGround = this.smartGroupBox2;
this.smartLabel30.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel30.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel30.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel30.LineSpacing = 0F;
this.smartLabel30.Location = new System.Drawing.Point(4, 446);
this.smartLabel30.Name = "smartLabel30";
this.smartLabel30.OverlapOptimize = true;
this.smartLabel30.PasswordChar = '\0';
this.smartLabel30.Radius = 3;
this.smartLabel30.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel30.Size = new System.Drawing.Size(70, 30);
this.smartLabel30.TabIndex = 30;
this.smartLabel30.Text = "MData";
this.smartLabel30.TextColor = System.Drawing.Color.White;
this.smartLabel30.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel30.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel30.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel30.Wordwrap = false;
//
// labelMesDispRData
//
this.labelMesDispRData.BackGround = null;
this.labelMesDispRData.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesDispRData.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesDispRData.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesDispRData.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMesDispRData.LineSpacing = 0F;
this.labelMesDispRData.Location = new System.Drawing.Point(80, 410);
this.labelMesDispRData.Name = "labelMesDispRData";
this.labelMesDispRData.OverlapOptimize = true;
this.labelMesDispRData.PasswordChar = '\0';
this.labelMesDispRData.Radius = 3;
this.labelMesDispRData.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesDispRData.Size = new System.Drawing.Size(90, 30);
this.labelMesDispRData.TabIndex = 28;
this.labelMesDispRData.Text = "-9.23 / -10.00";
this.labelMesDispRData.TextColor = System.Drawing.Color.White;
this.labelMesDispRData.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesDispRData.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesDispRData.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesDispRData.Wordwrap = false;
//
// smartLabel32
//
this.smartLabel32.BackGround = this.smartGroupBox2;
this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartLabel32.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel32.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel32.LineSpacing = 0F;
this.smartLabel32.Location = new System.Drawing.Point(4, 410);
this.smartLabel32.Name = "smartLabel32";
this.smartLabel32.OverlapOptimize = true;
this.smartLabel32.PasswordChar = '\0';
this.smartLabel32.Radius = 3;
this.smartLabel32.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel32.Size = new System.Drawing.Size(70, 30);
this.smartLabel32.TabIndex = 29;
this.smartLabel32.Text = "RData";
this.smartLabel32.TextColor = System.Drawing.Color.White;
this.smartLabel32.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel32.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel32.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel32.Wordwrap = false;
//
// labelMesResult
//
this.labelMesResult.BackGround = null;
this.labelMesResult.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelMesResult.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMesResult.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMesResult.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.labelMesResult.LineSpacing = 0F;
this.labelMesResult.Location = new System.Drawing.Point(4, 31);
this.labelMesResult.Name = "labelMesResult";
this.labelMesResult.OverlapOptimize = true;
this.labelMesResult.PasswordChar = '\0';
this.labelMesResult.Radius = 3;
this.labelMesResult.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelMesResult.Size = new System.Drawing.Size(167, 60);
this.labelMesResult.TabIndex = 24;
this.labelMesResult.Text = "제품 없음";
this.labelMesResult.TextColor = System.Drawing.Color.White;
this.labelMesResult.TextColorDisable = System.Drawing.Color.Gray;
this.labelMesResult.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelMesResult.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelMesResult.Wordwrap = false;
//
// smartGroupBox11
//
this.smartGroupBox11.BackGround = null;
this.smartGroupBox11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartGroupBox11.BackImage = null;
this.smartGroupBox11.Controls.Add(this.smartDrawDisp);
this.smartGroupBox11.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox11.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox11.FrameLineThickness = 2;
this.smartGroupBox11.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
this.smartGroupBox11.HeaderHeightOffset = 1;
this.smartGroupBox11.Location = new System.Drawing.Point(3, 293);
this.smartGroupBox11.Name = "smartGroupBox11";
this.smartGroupBox11.RoundRadius = 5;
this.smartGroupBox11.Size = new System.Drawing.Size(433, 285);
this.smartGroupBox11.TabIndex = 120;
this.smartGroupBox11.Text = "Displacement ";
this.smartGroupBox11.TextColor = System.Drawing.Color.White;
//
// smartDrawDisp
//
this.smartDrawDisp.BackGround = null;
this.smartDrawDisp.BackGroundColor = System.Drawing.Color.Black;
this.smartDrawDisp.Chart.ChartAreaMarkingDesignTime = true;
this.smartDrawDisp.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
this.smartDrawDisp.Chart.ChartDrawStep = 1;
this.smartDrawDisp.Chart.ChartHeight = 230;
this.smartDrawDisp.Chart.ChartRefreshMode = SmartX.SmartDraw.ChartRefresh.LEFTSCROLL;
this.smartDrawDisp.Chart.ChartWidth = 405;
this.smartDrawDisp.Chart.OriginX = 10;
this.smartDrawDisp.Chart.OriginY = 242;
this.smartDrawDisp.Chart.XIncrement = 1;
this.smartDrawDisp.DrawUpdateOption = SmartX.SmartDraw.DrawUpdateOptions.DefaultAuto;
this.smartDrawDisp.LayerSupport = SmartX.SmartDraw.LayerSupportOption.BackAndDraw;
this.smartDrawDisp.Location = new System.Drawing.Point(3, 28);
this.smartDrawDisp.Name = "smartDrawDisp";
this.smartDrawDisp.OverlapOptimize = false;
this.smartDrawDisp.Size = new System.Drawing.Size(426, 254);
this.smartDrawDisp.TabIndex = 14;
this.smartDrawDisp.Text = "smartDraw2";
//
// smartDraw_ChartChannelPenStyle1
//
chartPenStyle5.ChannelColor = System.Drawing.Color.White;
chartPenStyle5.PenStyle = SmartX.SmartDraw_ChartChannelPenStyle.PenStyles.SOLID;
chartPenStyle5.PenWidth = 3;
this.smartDraw_ChartChannelPenStyle1.ChartChannelPenStyle.Add(chartPenStyle5);
//
// ControlMenuRecipeData
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.Controls.Add(this.groupBoxMeasuring1);
this.Controls.Add(this.smartGroupBox2);
this.Controls.Add(this.smartGroupBox11);
this.Name = "ControlMenuRecipeData";
this.Size = new System.Drawing.Size(620, 580);
this.groupBoxMeasuring1.ResumeLayout(false);
this.smartGroupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.smartDrawDiff)).EndInit();
this.smartGroupBox11.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.smartDrawDisp)).EndInit();
this.ResumeLayout(false);
}
#endregion
private SmartX.SmartGroupBox groupBoxMeasuring1;
private SmartX.SmartSeparatorLine smartSeparatorLine6;
private SmartX.SmartSeparatorLine smartSeparatorLine5;
private SmartX.SmartLabel labelMesPressureWork;
private SmartX.SmartLabel labelMesDiffSecMax;
private SmartX.SmartLabel smartLabel41;
private SmartX.SmartGroupBox smartGroupBox2;
private SmartX.SmartDraw smartDrawDiff;
private SmartX.SmartLabel smartLabel61;
private SmartX.SmartLabel labelMesPressureMaster;
private SmartX.SmartLabel labelMesDiffSecSum;
private SmartX.SmartLabel smartLabel45;
private SmartX.SmartLabel smartLabel8;
private SmartX.SmartLabel smartLabel9;
private SmartX.SmartLabel labelMesDispMDataMax;
private SmartX.SmartLabel smartLabel48;
private SmartX.SmartLabel labelMesDispMDataDiff;
private SmartX.SmartLabel smartLabel53;
private SmartX.SmartLabel labelMesDiffMadc;
private SmartX.SmartLabel smartLabel23;
private SmartX.SmartSeparatorLine smartSeparatorLine4;
private SmartX.SmartLabel labelMesDiffSecDiff;
private SmartX.SmartLabel smartLabel14;
private SmartX.SmartLabel labelMesDispMData;
private SmartX.SmartLabel smartLabel30;
private SmartX.SmartLabel labelMesDispRData;
private SmartX.SmartLabel smartLabel32;
private SmartX.SmartLabel labelMesResult;
private SmartX.SmartGroupBox smartGroupBox11;
private SmartX.SmartDraw smartDrawDisp;
private SmartX.SmartDraw_ChartChannelPenStyle smartDraw_ChartChannelPenStyle1;
}
}

View File

@ -0,0 +1,342 @@
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using SmartX;
using INT_PT002.DataStore;
using INT_PT002.Forms;
namespace INT_PT002.Controls
{
public partial class ControlMenuRecipeData : UserControl
{
#region Field
private FormMenu m_ParentForm;
private double m_ScaleDiff;
#endregion
#region Constructor
public ControlMenuRecipeData(FormMenu parent)
{
InitializeComponent();
this.ParentForm = parent;
this.Initialize();
this.InitializeData();
this.InitializeDrawDiff();
this.InitializeDrawDisp();
}
#endregion
#region Property
public FormMenu ParentForm
{
get { return this.m_ParentForm; }
set { this.m_ParentForm = value; }
}
public double ScaleDiff
{
get { return this.m_ScaleDiff; }
set { this.m_ScaleDiff = value; }
}
#endregion
#region Method
private void Initialize()
{
}
public void InitializeData()
{
this.labelMesResult.Text = "-";
this.labelMesResult.TextColor = Define.ColorResultNone;
this.labelMesPressureMaster.Text = "0.0";
this.labelMesPressureWork.Text = "0.0";
this.labelMesDiffMadc.Text = "0.00";
this.labelMesDiffSecDiff.Text = "0.00";
this.labelMesDiffSecSum.Text = "0.00";
this.labelMesDiffSecMax.Text = "0.00";
this.labelMesDispRData.Text = "0.00";
this.labelMesDispMData.Text = "0.00";
this.labelMesDispMDataDiff.Text = "0.00";
this.labelMesDispMDataMax.Text = "0.00";
}
private void InitializeDrawDiff()
{
// SetChartConfig
this.smartDrawDiff.Chart.SetChartConfig(10, 242, 405, 230, 2, SmartDraw.ChartRefresh.LEFTSCROLL);
// BackLayer 기준선 표시
this.smartDrawDiff.BackLayer.SetPenStyle(Color.Gray, 2);
// BackLayer 세로
this.smartDrawDiff.BackLayer.Line(10, 12, 10, 242);
// BackLayer 가로
this.smartDrawDiff.BackLayer.Line(10, 242, 415, 242);
}
private void InitializeDrawDisp()
{
// SetChartConfig
this.smartDrawDisp.Chart.SetChartConfig(10, 242, 405, 230, 2, SmartDraw.ChartRefresh.LEFTSCROLL);
// BackLayer 기준선 표시
this.smartDrawDisp.BackLayer.SetPenStyle(Color.Gray, 2);
// BackLayer 세로
this.smartDrawDisp.BackLayer.Line(10, 12, 10, 242);
// BackLayer 가로
this.smartDrawDisp.BackLayer.Line(10, 242, 415, 242);
}
public void DrawPutDataAllClear()
{
this.smartDrawDiff.Chart.PutDataAllClear();
this.smartDrawDisp.Chart.PutDataAllClear();
}
public void CalScaleDiff(string limit)
{
int iValue = 0;
// Lr Limit 설정값
// double to int
// 소수점 2자리 고정
iValue = int.Parse(limit.Replace(".", ""));
// 그래프 높이 230
this.ScaleDiff = (iValue * 10) / 230;
}
/// <summary>
/// 차압센서 그래프 기준선
/// </summary>
/// <param name="value">Lr.Limit</param>
public void DrawDiffReferenceLine(string value)
{
string sValue = "";
int iValue = 0;
double dValue = 0.0;
sValue = value.Replace(".", "");
dValue = int.Parse(sValue) / this.ScaleDiff;
if (dValue > 230)
dValue = 230;
if (dValue < 1)
dValue = 3;
iValue = int.Parse(string.Format("{0:f0}", dValue));
this.smartDrawDiff.BackLayer.Erase();
this.InitializeDrawDiff();
// 가로 기준선
//this.smartDrawDiff.BackLayer.Line(10, 242, 415, 242);
this.smartDrawDiff.BackLayer.SetPenStyle(Color.Blue, 2);
this.smartDrawDiff.BackLayer.Line(10, 242 - iValue, 415, 242 - iValue);
}
/// <summary>
/// 변위센서 그래프 기준선
/// </summary>
/// <param name="value">Min Hight</param>
public void DrawDispReferenceLine(string value)
{
string sValue = "";
int iValue = 0;
double dValue = 0.0;
// 값 표시 범위
// 0.00 ~ 15.00
// 그래프 영역 높이 230
// 1500 / 230 = 6.521739130434783
sValue = value.Replace(".", "");
dValue = int.Parse(sValue) / 6.521739130434783;
if (dValue > 230)
dValue = 230;
if (dValue < 1)
dValue = 3;
iValue = int.Parse(string.Format("{0:f0}", dValue));
this.smartDrawDisp.BackLayer.Erase();
this.InitializeDrawDisp();
// 가로 기준선
//this.smartDrawDisp.BackLayer.Line(10, 242, 415, 242);
this.smartDrawDisp.BackLayer.SetPenStyle(Color.Blue, 2);
this.smartDrawDisp.BackLayer.Line(10, 242 - iValue, 415, 242 - iValue);
}
private void UpdateDisplayDotGraphDiff(DiffData diff)
{
string value = "";
int iValue = 0;
double dValue = 0.0;
value = diff.SecBuf.Replace(".", "");
dValue = int.Parse(value) / this.ScaleDiff;
if (dValue > 230)
dValue = 230;
if (dValue < 1)
dValue = 3;
iValue = int.Parse(string.Format("{0:f0}", dValue));
this.smartDrawDiff.Chart.PutData(iValue);
}
private void UpdateDisplayDotGraphDisp(DispData disp)
{
string value = "";
int iValue = 0;
double dValue = 0.0;
// 값 표시 범위
// 0.00 ~ 15.00
// 그래프 영역 높이 230
// 1500 / 230 = 6.521739130434783
value = disp.MData.Replace(".","");
dValue = int.Parse(value) / 6.521739130434783;
if (dValue > 230)
dValue = 230;
if (dValue < 1)
dValue = 3;
iValue = int.Parse(string.Format("{0:f0}", dValue));
this.smartDrawDisp.Chart.PutData(iValue);
}
private void GetJudgmentResult(Define.E_JudgmentStatus judg, SmartLabel label2)
{
string value = "";
switch (judg)
{
case Define.E_JudgmentStatus.None:
value = "-";
label2.TextColor = Define.ColorResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Pass:
value = "Pass";
label2.TextColor = Define.ColorResultPass;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Ng:
value = "Leak";
label2.TextColor = Define.ColorResultNG;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Error:
value = "Empty";
label2.TextColor = Define.ColorResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
default:
break;
}
if (label2.Text != value)
label2.Text = value;
}
public void UpdateDisplayMeasuringLeakDataDiff(DiffData data)
{
string value = "";
// 차압센서 데이터
value = data.MAdc;
if (this.labelMesDiffMadc.Text != value)
this.labelMesDiffMadc.Text = value;
value = data.SecBuf;
if (this.labelMesDiffSecDiff.Text != value)
this.labelMesDiffSecDiff.Text = value;
value = data.SecBufSum;
if (this.labelMesDiffSecSum.Text != value)
this.labelMesDiffSecSum.Text = value;
value = data.SecBufMax;
if (this.labelMesDiffSecMax.Text != value)
this.labelMesDiffSecMax.Text = value;
if (this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
this.UpdateDisplayDotGraphDiff(data);
}
public void UpdateDisplayMeasuringLeakDataDisp(DispData data)
{
string value = "";
// 변위센서 데이터
value = data.RData;
if (this.labelMesDispRData.Text != value)
this.labelMesDispRData.Text = value;
value = data.MData;
if (this.labelMesDispMData.Text != value)
this.labelMesDispMData.Text = value;
value = data.MDataDiff;
if (this.labelMesDispMDataDiff.Text != value)
this.labelMesDispMDataDiff.Text = value;
value = data.MDataMax;
if (this.labelMesDispMDataMax.Text != value)
this.labelMesDispMDataMax.Text = value;
if (this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
this.UpdateDisplayDotGraphDisp(data);
}
public void UpdateDisplayMeasuringLeakDataPres(PressureData data)
{
string value = "";
// 압력 데이터
value = data.WorkingChamber;
if (this.labelMesPressureWork.Text != value)
this.labelMesPressureWork.Text = value;
value = data.MasterChamber;
if (this.labelMesPressureMaster.Text != value)
this.labelMesPressureMaster.Text = value;
}
public void UpdateDisplayMeasuringLeadDataResult(LeakData1 data)
{
this.GetJudgmentResult(data.Judgment, this.labelMesResult);
}
public void UpdateDisplayDispControl(bool enable)
{
if (enable == false)
{
this.labelMesDispRData.Enabled = false;
this.labelMesDispMData.Enabled = false;
this.labelMesDispMDataDiff.Enabled = false;
this.labelMesDispMDataMax.Enabled = false;
this.smartLabel32.Enabled = false;
this.smartLabel30.Enabled = false;
this.smartLabel53.Enabled = false;
this.smartLabel48.Enabled = false;
}
else
{
this.labelMesDispRData.Enabled = true;
this.labelMesDispMData.Enabled = true;
this.labelMesDispMDataDiff.Enabled = true;
this.labelMesDispMDataMax.Enabled = true;
this.smartLabel32.Enabled = true;
this.smartLabel30.Enabled = true;
this.smartLabel53.Enabled = true;
this.smartLabel48.Enabled = true;
}
}
#endregion
}
}

View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -130,7 +130,7 @@ namespace INT_PT002.Controls
if (check == Define.E_UpdateCheck.Success)
{
DialogFormProgressBar progressBar = new DialogFormProgressBar(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
DialogFormProgressBar progressBar = new DialogFormProgressBar(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.ParentForm.ParentForm);
DialogResult dialogResult = progressBar.ShowDialog();
}
else if (check == Define.E_UpdateCheck.NoUsbMomery)
@ -238,7 +238,7 @@ namespace INT_PT002.Controls
{
this.ParentForm.ParentForm.CloseSmartUartLink();
DialogFormProgressBar progressBar = new DialogFormProgressBar(2, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.ParentForm.ParentForm.UpdateForMain);
DialogFormProgressBar progressBar = new DialogFormProgressBar(2, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.ParentForm.ParentForm.UpdateForMain, this.ParentForm.ParentForm);
DialogResult dialogResult = progressBar.ShowDialog();
if (dialogResult == DialogResult.OK)
{

View File

@ -0,0 +1,537 @@
namespace INT_PT002.Controls
{
partial class ControlMenuSystemSetting
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.labelCheckLane = new SmartX.SmartLabel();
this.smartLabel39 = new SmartX.SmartLabel();
this.labelEquipmentLane = new SmartX.SmartLabel();
this.smartLabel37 = new SmartX.SmartLabel();
this.smartLabel32 = new SmartX.SmartLabel();
this.smartLabel31 = new SmartX.SmartLabel();
this.smartLabel30 = new SmartX.SmartLabel();
this.smartLabel29 = new SmartX.SmartLabel();
this.labelSbDiffFilter = new SmartX.SmartLabel();
this.smartLabel27 = new SmartX.SmartLabel();
this.labelBuzzer = new SmartX.SmartLabel();
this.smartLabel23 = new SmartX.SmartLabel();
this.labelCutWait = new SmartX.SmartLabel();
this.smartLabel20 = new SmartX.SmartLabel();
this.labelChattering = new SmartX.SmartLabel();
this.smartLabel18 = new SmartX.SmartLabel();
this.labelLcdDataPeriod = new SmartX.SmartLabel();
this.smartLabel14 = new SmartX.SmartLabel();
this.smartTimerMessageShow = new SmartX.SmartTimer();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
//
// smartGroupBox1
//
this.smartGroupBox1.BackGround = null;
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.BackImage = null;
this.smartGroupBox1.Controls.Add(this.labelCheckLane);
this.smartGroupBox1.Controls.Add(this.smartLabel39);
this.smartGroupBox1.Controls.Add(this.labelEquipmentLane);
this.smartGroupBox1.Controls.Add(this.smartLabel14);
this.smartGroupBox1.Controls.Add(this.smartLabel37);
this.smartGroupBox1.Controls.Add(this.labelLcdDataPeriod);
this.smartGroupBox1.Controls.Add(this.smartLabel32);
this.smartGroupBox1.Controls.Add(this.smartLabel18);
this.smartGroupBox1.Controls.Add(this.smartLabel31);
this.smartGroupBox1.Controls.Add(this.labelChattering);
this.smartGroupBox1.Controls.Add(this.smartLabel30);
this.smartGroupBox1.Controls.Add(this.smartLabel20);
this.smartGroupBox1.Controls.Add(this.smartLabel29);
this.smartGroupBox1.Controls.Add(this.labelCutWait);
this.smartGroupBox1.Controls.Add(this.labelSbDiffFilter);
this.smartGroupBox1.Controls.Add(this.smartLabel23);
this.smartGroupBox1.Controls.Add(this.smartLabel27);
this.smartGroupBox1.Controls.Add(this.labelBuzzer);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
this.smartGroupBox1.HeaderHeightOffset = 9;
this.smartGroupBox1.Location = new System.Drawing.Point(0, 0);
this.smartGroupBox1.Name = "smartGroupBox1";
this.smartGroupBox1.RoundRadius = 5;
this.smartGroupBox1.Size = new System.Drawing.Size(909, 664);
this.smartGroupBox1.TabIndex = 2;
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// labelCheckLane
//
this.labelCheckLane.BackGround = null;
this.labelCheckLane.BackGroundColor = System.Drawing.Color.White;
this.labelCheckLane.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelCheckLane.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelCheckLane.LineSpacing = 0F;
this.labelCheckLane.Location = new System.Drawing.Point(668, 181);
this.labelCheckLane.Name = "labelCheckLane";
this.labelCheckLane.OverlapOptimize = true;
this.labelCheckLane.PasswordChar = '\0';
this.labelCheckLane.Radius = 3;
this.labelCheckLane.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelCheckLane.Size = new System.Drawing.Size(100, 30);
this.labelCheckLane.TabIndex = 135;
this.labelCheckLane.Text = "12345.45";
this.labelCheckLane.TextColor = System.Drawing.Color.Black;
this.labelCheckLane.TextColorDisable = System.Drawing.Color.Gray;
this.labelCheckLane.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelCheckLane.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelCheckLane.Wordwrap = false;
this.labelCheckLane.Click += new System.EventHandler(this.labelCheckLane_Click);
//
// smartLabel39
//
this.smartLabel39.BackGround = null;
this.smartLabel39.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel39.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel39.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel39.LineSpacing = 0F;
this.smartLabel39.Location = new System.Drawing.Point(512, 181);
this.smartLabel39.Name = "smartLabel39";
this.smartLabel39.OverlapOptimize = true;
this.smartLabel39.PasswordChar = '\0';
this.smartLabel39.Radius = 3;
this.smartLabel39.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel39.Size = new System.Drawing.Size(150, 30);
this.smartLabel39.TabIndex = 134;
this.smartLabel39.Text = "Check Lane";
this.smartLabel39.TextColor = System.Drawing.Color.White;
this.smartLabel39.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel39.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel39.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel39.Wordwrap = false;
//
// labelEquipmentLane
//
this.labelEquipmentLane.BackGround = null;
this.labelEquipmentLane.BackGroundColor = System.Drawing.Color.White;
this.labelEquipmentLane.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelEquipmentLane.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelEquipmentLane.LineSpacing = 0F;
this.labelEquipmentLane.Location = new System.Drawing.Point(277, 181);
this.labelEquipmentLane.Name = "labelEquipmentLane";
this.labelEquipmentLane.OverlapOptimize = true;
this.labelEquipmentLane.PasswordChar = '\0';
this.labelEquipmentLane.Radius = 3;
this.labelEquipmentLane.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelEquipmentLane.Size = new System.Drawing.Size(100, 30);
this.labelEquipmentLane.TabIndex = 133;
this.labelEquipmentLane.Text = "12345.45";
this.labelEquipmentLane.TextColor = System.Drawing.Color.Black;
this.labelEquipmentLane.TextColorDisable = System.Drawing.Color.Gray;
this.labelEquipmentLane.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelEquipmentLane.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelEquipmentLane.Wordwrap = false;
this.labelEquipmentLane.Click += new System.EventHandler(this.labelEquipmentLane_Click);
//
// smartLabel37
//
this.smartLabel37.BackGround = null;
this.smartLabel37.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel37.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel37.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel37.LineSpacing = 0F;
this.smartLabel37.Location = new System.Drawing.Point(121, 181);
this.smartLabel37.Name = "smartLabel37";
this.smartLabel37.OverlapOptimize = true;
this.smartLabel37.PasswordChar = '\0';
this.smartLabel37.Radius = 3;
this.smartLabel37.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel37.Size = new System.Drawing.Size(150, 30);
this.smartLabel37.TabIndex = 132;
this.smartLabel37.Text = "Equipment Lane";
this.smartLabel37.TextColor = System.Drawing.Color.White;
this.smartLabel37.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel37.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel37.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel37.Wordwrap = false;
//
// smartLabel32
//
this.smartLabel32.BackGround = null;
this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel32.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel32.LineSpacing = 0F;
this.smartLabel32.Location = new System.Drawing.Point(774, 217);
this.smartLabel32.Name = "smartLabel32";
this.smartLabel32.OverlapOptimize = true;
this.smartLabel32.PasswordChar = '\0';
this.smartLabel32.Radius = 3;
this.smartLabel32.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel32.Size = new System.Drawing.Size(40, 30);
this.smartLabel32.TabIndex = 131;
this.smartLabel32.Text = "msec";
this.smartLabel32.TextColor = System.Drawing.Color.White;
this.smartLabel32.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel32.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel32.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel32.Wordwrap = false;
//
// smartLabel31
//
this.smartLabel31.BackGround = null;
this.smartLabel31.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel31.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel31.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel31.LineSpacing = 0F;
this.smartLabel31.Location = new System.Drawing.Point(383, 289);
this.smartLabel31.Name = "smartLabel31";
this.smartLabel31.OverlapOptimize = true;
this.smartLabel31.PasswordChar = '\0';
this.smartLabel31.Radius = 3;
this.smartLabel31.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel31.Size = new System.Drawing.Size(40, 30);
this.smartLabel31.TabIndex = 130;
this.smartLabel31.Text = "msec";
this.smartLabel31.TextColor = System.Drawing.Color.White;
this.smartLabel31.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel31.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel31.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel31.Wordwrap = false;
//
// smartLabel30
//
this.smartLabel30.BackGround = null;
this.smartLabel30.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel30.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel30.LineSpacing = 0F;
this.smartLabel30.Location = new System.Drawing.Point(383, 253);
this.smartLabel30.Name = "smartLabel30";
this.smartLabel30.OverlapOptimize = true;
this.smartLabel30.PasswordChar = '\0';
this.smartLabel30.Radius = 3;
this.smartLabel30.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel30.Size = new System.Drawing.Size(40, 30);
this.smartLabel30.TabIndex = 129;
this.smartLabel30.Text = "msec";
this.smartLabel30.TextColor = System.Drawing.Color.White;
this.smartLabel30.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel30.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel30.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel30.Wordwrap = false;
//
// smartLabel29
//
this.smartLabel29.BackGround = null;
this.smartLabel29.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel29.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel29.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel29.LineSpacing = 0F;
this.smartLabel29.Location = new System.Drawing.Point(383, 217);
this.smartLabel29.Name = "smartLabel29";
this.smartLabel29.OverlapOptimize = true;
this.smartLabel29.PasswordChar = '\0';
this.smartLabel29.Radius = 3;
this.smartLabel29.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel29.Size = new System.Drawing.Size(40, 30);
this.smartLabel29.TabIndex = 128;
this.smartLabel29.Text = "msec";
this.smartLabel29.TextColor = System.Drawing.Color.White;
this.smartLabel29.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel29.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel29.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel29.Wordwrap = false;
//
// labelSbDiffFilter
//
this.labelSbDiffFilter.BackGround = null;
this.labelSbDiffFilter.BackGroundColor = System.Drawing.Color.White;
this.labelSbDiffFilter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelSbDiffFilter.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelSbDiffFilter.LineSpacing = 0F;
this.labelSbDiffFilter.Location = new System.Drawing.Point(668, 253);
this.labelSbDiffFilter.Name = "labelSbDiffFilter";
this.labelSbDiffFilter.OverlapOptimize = true;
this.labelSbDiffFilter.PasswordChar = '\0';
this.labelSbDiffFilter.Radius = 3;
this.labelSbDiffFilter.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelSbDiffFilter.Size = new System.Drawing.Size(100, 30);
this.labelSbDiffFilter.TabIndex = 112;
this.labelSbDiffFilter.Text = "12345.45";
this.labelSbDiffFilter.TextColor = System.Drawing.Color.Black;
this.labelSbDiffFilter.TextColorDisable = System.Drawing.Color.Gray;
this.labelSbDiffFilter.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelSbDiffFilter.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSbDiffFilter.Wordwrap = false;
this.labelSbDiffFilter.Click += new System.EventHandler(this.labelSbDiffFilter_Click);
//
// smartLabel27
//
this.smartLabel27.BackGround = null;
this.smartLabel27.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel27.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel27.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel27.LineSpacing = 0F;
this.smartLabel27.Location = new System.Drawing.Point(512, 253);
this.smartLabel27.Name = "smartLabel27";
this.smartLabel27.OverlapOptimize = true;
this.smartLabel27.PasswordChar = '\0';
this.smartLabel27.Radius = 3;
this.smartLabel27.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel27.Size = new System.Drawing.Size(150, 30);
this.smartLabel27.TabIndex = 111;
this.smartLabel27.Text = "SB diff filter";
this.smartLabel27.TextColor = System.Drawing.Color.White;
this.smartLabel27.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel27.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel27.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel27.Wordwrap = false;
//
// labelBuzzer
//
this.labelBuzzer.BackGround = null;
this.labelBuzzer.BackGroundColor = System.Drawing.Color.White;
this.labelBuzzer.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelBuzzer.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelBuzzer.LineSpacing = 0F;
this.labelBuzzer.Location = new System.Drawing.Point(668, 217);
this.labelBuzzer.Name = "labelBuzzer";
this.labelBuzzer.OverlapOptimize = true;
this.labelBuzzer.PasswordChar = '\0';
this.labelBuzzer.Radius = 3;
this.labelBuzzer.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelBuzzer.Size = new System.Drawing.Size(100, 30);
this.labelBuzzer.TabIndex = 110;
this.labelBuzzer.Text = "12345.45";
this.labelBuzzer.TextColor = System.Drawing.Color.Black;
this.labelBuzzer.TextColorDisable = System.Drawing.Color.Gray;
this.labelBuzzer.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelBuzzer.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelBuzzer.Wordwrap = false;
this.labelBuzzer.Click += new System.EventHandler(this.labelBuzzer_Click);
//
// smartLabel23
//
this.smartLabel23.BackGround = null;
this.smartLabel23.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel23.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel23.LineSpacing = 0F;
this.smartLabel23.Location = new System.Drawing.Point(512, 217);
this.smartLabel23.Name = "smartLabel23";
this.smartLabel23.OverlapOptimize = true;
this.smartLabel23.PasswordChar = '\0';
this.smartLabel23.Radius = 3;
this.smartLabel23.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel23.Size = new System.Drawing.Size(150, 30);
this.smartLabel23.TabIndex = 109;
this.smartLabel23.Text = "Buzzer";
this.smartLabel23.TextColor = System.Drawing.Color.White;
this.smartLabel23.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel23.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel23.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel23.Wordwrap = false;
//
// labelCutWait
//
this.labelCutWait.BackGround = null;
this.labelCutWait.BackGroundColor = System.Drawing.Color.White;
this.labelCutWait.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelCutWait.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelCutWait.LineSpacing = 0F;
this.labelCutWait.Location = new System.Drawing.Point(277, 289);
this.labelCutWait.Name = "labelCutWait";
this.labelCutWait.OverlapOptimize = true;
this.labelCutWait.PasswordChar = '\0';
this.labelCutWait.Radius = 3;
this.labelCutWait.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelCutWait.Size = new System.Drawing.Size(100, 30);
this.labelCutWait.TabIndex = 108;
this.labelCutWait.Text = "12345.45";
this.labelCutWait.TextColor = System.Drawing.Color.Black;
this.labelCutWait.TextColorDisable = System.Drawing.Color.Gray;
this.labelCutWait.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelCutWait.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelCutWait.Wordwrap = false;
this.labelCutWait.Click += new System.EventHandler(this.labelCutWait_Click);
//
// smartLabel20
//
this.smartLabel20.BackGround = null;
this.smartLabel20.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel20.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel20.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel20.LineSpacing = 0F;
this.smartLabel20.Location = new System.Drawing.Point(121, 289);
this.smartLabel20.Name = "smartLabel20";
this.smartLabel20.OverlapOptimize = true;
this.smartLabel20.PasswordChar = '\0';
this.smartLabel20.Radius = 3;
this.smartLabel20.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel20.Size = new System.Drawing.Size(150, 30);
this.smartLabel20.TabIndex = 107;
this.smartLabel20.Text = "Cut wait";
this.smartLabel20.TextColor = System.Drawing.Color.White;
this.smartLabel20.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel20.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel20.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel20.Wordwrap = false;
//
// labelChattering
//
this.labelChattering.BackGround = null;
this.labelChattering.BackGroundColor = System.Drawing.Color.White;
this.labelChattering.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelChattering.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelChattering.LineSpacing = 0F;
this.labelChattering.Location = new System.Drawing.Point(277, 253);
this.labelChattering.Name = "labelChattering";
this.labelChattering.OverlapOptimize = true;
this.labelChattering.PasswordChar = '\0';
this.labelChattering.Radius = 3;
this.labelChattering.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelChattering.Size = new System.Drawing.Size(100, 30);
this.labelChattering.TabIndex = 106;
this.labelChattering.Text = "12345.45";
this.labelChattering.TextColor = System.Drawing.Color.Black;
this.labelChattering.TextColorDisable = System.Drawing.Color.Gray;
this.labelChattering.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelChattering.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelChattering.Wordwrap = false;
this.labelChattering.Click += new System.EventHandler(this.labelChattering_Click);
//
// smartLabel18
//
this.smartLabel18.BackGround = null;
this.smartLabel18.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel18.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel18.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel18.LineSpacing = 0F;
this.smartLabel18.Location = new System.Drawing.Point(121, 253);
this.smartLabel18.Name = "smartLabel18";
this.smartLabel18.OverlapOptimize = true;
this.smartLabel18.PasswordChar = '\0';
this.smartLabel18.Radius = 3;
this.smartLabel18.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel18.Size = new System.Drawing.Size(150, 30);
this.smartLabel18.TabIndex = 105;
this.smartLabel18.Text = "Chattering";
this.smartLabel18.TextColor = System.Drawing.Color.White;
this.smartLabel18.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel18.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel18.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel18.Wordwrap = false;
//
// labelLcdDataPeriod
//
this.labelLcdDataPeriod.BackGround = null;
this.labelLcdDataPeriod.BackGroundColor = System.Drawing.Color.White;
this.labelLcdDataPeriod.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelLcdDataPeriod.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLcdDataPeriod.LineSpacing = 0F;
this.labelLcdDataPeriod.Location = new System.Drawing.Point(277, 217);
this.labelLcdDataPeriod.Name = "labelLcdDataPeriod";
this.labelLcdDataPeriod.OverlapOptimize = true;
this.labelLcdDataPeriod.PasswordChar = '\0';
this.labelLcdDataPeriod.Radius = 3;
this.labelLcdDataPeriod.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelLcdDataPeriod.Size = new System.Drawing.Size(100, 30);
this.labelLcdDataPeriod.TabIndex = 104;
this.labelLcdDataPeriod.Text = "12345.45";
this.labelLcdDataPeriod.TextColor = System.Drawing.Color.Black;
this.labelLcdDataPeriod.TextColorDisable = System.Drawing.Color.Gray;
this.labelLcdDataPeriod.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelLcdDataPeriod.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelLcdDataPeriod.Wordwrap = false;
this.labelLcdDataPeriod.Click += new System.EventHandler(this.labelLcdDataPeriod_Click);
//
// smartLabel14
//
this.smartLabel14.BackGround = null;
this.smartLabel14.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel14.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel14.LineSpacing = 0F;
this.smartLabel14.Location = new System.Drawing.Point(121, 217);
this.smartLabel14.Name = "smartLabel14";
this.smartLabel14.OverlapOptimize = true;
this.smartLabel14.PasswordChar = '\0';
this.smartLabel14.Radius = 3;
this.smartLabel14.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel14.Size = new System.Drawing.Size(150, 30);
this.smartLabel14.TabIndex = 103;
this.smartLabel14.Text = "LCD data period";
this.smartLabel14.TextColor = System.Drawing.Color.White;
this.smartLabel14.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel14.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel14.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel14.Wordwrap = false;
//
// smartTimerMessageShow
//
this.smartTimerMessageShow.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter;
this.smartTimerMessageShow.Interval = 10;
this.smartTimerMessageShow.IntervalSeries = null;
this.smartTimerMessageShow.TimeCount = ((long)(1000000));
this.smartTimerMessageShow.TimeFormStringSeparator = ":";
this.smartTimerMessageShow.Tick += new System.EventHandler(this.smartTimerMessageShow_Tick);
//
// ControlMenuSystemSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.smartGroupBox1);
this.Name = "ControlMenuSystemSetting";
this.Size = new System.Drawing.Size(909, 664);
this.smartGroupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private SmartX.SmartGroupBox smartGroupBox1;
private SmartX.SmartLabel labelSbDiffFilter;
private SmartX.SmartLabel smartLabel27;
private SmartX.SmartLabel labelBuzzer;
private SmartX.SmartLabel smartLabel23;
private SmartX.SmartLabel labelCutWait;
private SmartX.SmartLabel smartLabel20;
private SmartX.SmartLabel labelChattering;
private SmartX.SmartLabel smartLabel18;
private SmartX.SmartLabel labelLcdDataPeriod;
private SmartX.SmartLabel smartLabel14;
private SmartX.SmartLabel smartLabel32;
private SmartX.SmartLabel smartLabel31;
private SmartX.SmartLabel smartLabel30;
private SmartX.SmartLabel smartLabel29;
private SmartX.SmartTimer smartTimerMessageShow;
private SmartX.SmartLabel labelCheckLane;
private SmartX.SmartLabel smartLabel39;
private SmartX.SmartLabel labelEquipmentLane;
private SmartX.SmartLabel smartLabel37;
}
}

View File

@ -0,0 +1,352 @@
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using SmartX;
using INT_PT002.Forms;
using INT_PT002.DataStore;
using INT_PT002.DialogForms;
namespace INT_PT002.Controls
{
public partial class ControlMenuSystemSetting : UserControl
{
#region Field
private FormMenu m_ParentForm;
private string MessageBoxRange;
private Collection<SmartLabel> CollLabel;
#endregion
#region Constructor
public ControlMenuSystemSetting(FormMenu parent)
{
InitializeComponent();
this.ParentForm = parent;
this.Initialize();
}
#endregion
#region Property
public FormMenu ParentForm
{
get { return this.m_ParentForm; }
private set { this.m_ParentForm = value; }
}
#endregion
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "System > Setting";
this.MessageBoxRange = "";
this.CollLabel = new Collection<SmartLabel>();
this.CollLabel.Add(this.labelLcdDataPeriod);
this.CollLabel.Add(this.labelChattering);
this.CollLabel.Add(this.labelCutWait);
this.CollLabel.Add(this.labelBuzzer);
this.CollLabel.Add(this.labelSbDiffFilter);
}
private void UpdateDisplauUserControls(bool enable)
{
for (int i = 0; i < this.CollLabel.Count; i++)
this.CollLabel[i].Enabled = enable;
}
private void UpdateDisplayUser(UserItem user)
{
switch (user.Group)
{
case Define.E_UserGroup.None:
this.UpdateDisplauUserControls(false);
break;
case Define.E_UserGroup.Level1:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuRecipe);
break;
case Define.E_UserGroup.Level2:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuRecipe);
break;
case Define.E_UserGroup.Level3:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe);
break;
case Define.E_UserGroup.Admin:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe);
break;
case Define.E_UserGroup.Developer:
this.UpdateDisplauUserControls(true);
break;
case Define.E_UserGroup.NotLogin:
this.UpdateDisplauUserControls(false);
break;
case Define.E_UserGroup.LogOut:
this.UpdateDisplauUserControls(false);
break;
default:
break;
}
}
private void UpdateDisplayControlData(SystemConfiguration item)
{
string value = "";
// LCD data period
value = item.LCD_DATA_PERIOD.ToString();
if (this.labelLcdDataPeriod.Text != value)
this.labelLcdDataPeriod.Text = value;
// Chattering
value = item.CHATTERING.ToString();
if (this.labelChattering.Text != value)
this.labelChattering.Text = value;
// Cut wait
value = item.JUDGMENT_DELAY_MSEC.ToString();
if (this.labelCutWait.Text != value)
this.labelCutWait.Text = value;
// Buzzer
value = item.BUZZER_OP.ToString();
if (this.labelBuzzer.Text != value)
this.labelBuzzer.Text = value;
// Diff filter
value = item.SB_DIFF_FILTER.ToString();
if (this.labelSbDiffFilter.Text != value)
this.labelSbDiffFilter.Text = value;
// Equipment Lane
value = item.EQUIPMENT_LANE.ToString();
if (this.labelEquipmentLane.Text != value)
this.labelEquipmentLane.Text = value;
// Check Lane
value = item.CHECK_LANE.ToString();
if (this.labelCheckLane.Text != value)
this.labelCheckLane.Text = value;
}
public void DisplayRefresh()
{
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.UpdateDisplayControlData(this.ParentForm.ParentForm.SystemConfig);
this.UpdateDisplayUser(this.ParentForm.ParentForm.CurrentSystemStatus.CurrentUser);
}
#endregion
#region Event Handler
private void labelLcdDataPeriod_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "";
before = this.labelLcdDataPeriod.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel14.Text, this.labelLcdDataPeriod.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
if (myKeypad.IntValue < 100 || myKeypad.IntValue > 5000)
{
this.MessageBoxRange = "100 ~ 5000";
this.labelLcdDataPeriod.Text = before;
this.smartTimerMessageShow.Start();
return;
}
this.labelLcdDataPeriod.Text = myKeypad.StringValue;
this.ParentForm.ParentForm.SystemConfig.LCD_DATA_PERIOD = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
after = myKeypad.StringValue;
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1710_LcdDataPeriod, value);
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_LcdDataPeriod, "", before, after);
}
}
private void labelChattering_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "";
before = this.labelChattering.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel18.Text, this.labelChattering.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
if (myKeypad.IntValue < 50 || myKeypad.IntValue > 500)
{
this.MessageBoxRange = "50 ~ 500";
this.labelChattering.Text = before;
this.smartTimerMessageShow.Start();
return;
}
this.labelChattering.Text = myKeypad.StringValue;
this.ParentForm.ParentForm.SystemConfig.CHATTERING = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
after = myKeypad.StringValue;
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._6006_Chattering, value);
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_Chattering, "", before, after);
}
}
private void labelCutWait_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "";
before = this.labelCutWait.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel20.Text, this.labelCutWait.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
if (myKeypad.IntValue < 100 || myKeypad.IntValue > 9999)
{
this.MessageBoxRange = "100 ~ 9999";
this.labelCutWait.Text = before;
this.smartTimerMessageShow.Start();
return;
}
this.labelCutWait.Text = myKeypad.StringValue;
this.ParentForm.ParentForm.SystemConfig.JUDGMENT_DELAY_MSEC = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
after = myKeypad.StringValue;
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5508_CuttingWait, value);
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_CutWait, "", before, after);
}
}
private void labelBuzzer_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "";
before = this.labelBuzzer.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel23.Text, this.labelBuzzer.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
if (myKeypad.IntValue < 0 || myKeypad.IntValue > 9999)
{
this.MessageBoxRange = "0 ~ 9999";
this.labelBuzzer.Text = before;
this.smartTimerMessageShow.Start();
return;
}
this.labelBuzzer.Text = myKeypad.StringValue;
this.ParentForm.ParentForm.SystemConfig.BUZZER_OP = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
after = myKeypad.StringValue;
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._6001_BuzzerOP, value);
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_Buzzer, "", before, after);
}
}
private void labelSbDiffFilter_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "";
before = this.labelSbDiffFilter.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel27.Text, this.labelSbDiffFilter.Text, 2, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
if (myKeypad.IntValue < 1 || myKeypad.IntValue > 16)
{
this.MessageBoxRange = "1 ~ 16";
this.labelSbDiffFilter.Text = before;
this.smartTimerMessageShow.Start();
return;
}
this.labelSbDiffFilter.Text = myKeypad.StringValue;
this.ParentForm.ParentForm.SystemConfig.SB_DIFF_FILTER = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
after = myKeypad.StringValue;
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1706_SbDiffFilter, value);
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_SbDiffFilter, "", before, after);
}
}
private void labelEquipmentLane_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "";
before = this.labelEquipmentLane.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel37.Text, this.labelEquipmentLane.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
if (myKeypad.IntValue < 1 || myKeypad.IntValue > 16)
{
this.MessageBoxRange = "1 ~ 16";
this.labelEquipmentLane.Text = before;
this.smartTimerMessageShow.Start();
return;
}
this.labelEquipmentLane.Text = myKeypad.StringValue;
this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
after = myKeypad.StringValue;
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1003_EquipmentLane, value);
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_EquipmentLane, "", before, after);
}
}
private void labelCheckLane_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "";
before = this.labelCheckLane.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel39.Text, this.labelCheckLane.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
if (myKeypad.IntValue < 1 || myKeypad.IntValue > this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE)
{
this.MessageBoxRange = string.Format("1 ~ {0}", this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE);
this.labelEquipmentLane.Text = before;
this.smartTimerMessageShow.Start();
return;
}
this.labelCheckLane.Text = myKeypad.StringValue;
this.ParentForm.ParentForm.SystemConfig.CHECK_LANE = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
after = myKeypad.StringValue;
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1711_CheckLane, value);
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_CheckLane, "", before, after);
}
}
private void smartTimerMessageShow_Tick(object sender, EventArgs e)
{
this.smartTimerMessageShow.Stop();
DialogFormMessage msg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.MessageBoxRange);
msg.ShowDialog();
}
#endregion
}
}

View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="smartTimerMessageShow.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>52</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

View File

@ -18,13 +18,6 @@ namespace INT_PT002.Controls
{
#region Field
private FormMenu m_ParentForm;
private Define.E_ProcessStatus PreviousStageNum;
private Color ColorProgressOn;
private Color ColorProgressOff;
private Color ColorResultPass;
private Color ColorResultNG;
private Color ColorResultNone;
private Collection<SmartLabel> CollectionLabelResult;
private Collection<SmartLabel> CollectionLabelProgress;
@ -32,15 +25,17 @@ namespace INT_PT002.Controls
private Collection<SmartLabel> CollectionDispRData;
private Collection<SmartLabel> CollectionDispMData;
private Collection<SmartLabel> CollectionDispMDataDiff;
private Collection<SmartLabel> CollectionDispSTD;
private Collection<SmartLabel> CollectionDispMDataMax;
private Collection<SmartLabel> CollectionDiffMadc;
private Collection<SmartLabel> CollectionDiffSecDiff;
private Collection<SmartLabel> CollectionDiffSecSum;
private Collection<SmartLabel> CollectionDiffMean;
private Collection<SmartLabel> CollectionDiffSecMax;
private Collection<SmartLabel> CollectionPressureWork;
private Collection<SmartLabel> CollectionPressureMaster;
private Collection<SmartLabel> CollectionTitleDisp;
#endregion
#region Constructor
@ -67,12 +62,6 @@ namespace INT_PT002.Controls
{
this.smartGroupBox1.Text = "System > Equipment";
this.ColorProgressOff = Color.Azure;
this.ColorProgressOn = Color.Lime;
this.ColorResultPass = Color.Green;
this.ColorResultNG = Color.Red;
this.ColorResultNone = Color.White;
this.CollectionLabelProgress = new Collection<SmartLabel>();
this.CollectionLabelProgress.Clear();
this.CollectionLabelProgress.Add(this.labelProgress1);
@ -133,17 +122,17 @@ namespace INT_PT002.Controls
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff9);
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff10);
this.CollectionDispSTD = new Collection<SmartLabel>();
this.CollectionDispSTD.Add(this.labelDispSTD1);
this.CollectionDispSTD.Add(this.labelDispSTD2);
this.CollectionDispSTD.Add(this.labelDispSTD3);
this.CollectionDispSTD.Add(this.labelDispSTD4);
this.CollectionDispSTD.Add(this.labelDispSTD5);
this.CollectionDispSTD.Add(this.labelDispSTD6);
this.CollectionDispSTD.Add(this.labelDispSTD7);
this.CollectionDispSTD.Add(this.labelDispSTD8);
this.CollectionDispSTD.Add(this.labelDispSTD9);
this.CollectionDispSTD.Add(this.labelDispSTD10);
this.CollectionDispMDataMax = new Collection<SmartLabel>();
this.CollectionDispMDataMax.Add(this.labelDispMDataMax1);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax2);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax3);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax4);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax5);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax6);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax7);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax8);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax9);
this.CollectionDispMDataMax.Add(this.labelDispMDataMax10);
this.CollectionDiffMadc = new Collection<SmartLabel>();
this.CollectionDiffMadc.Add(this.labelDiffMadc1);
@ -181,17 +170,17 @@ namespace INT_PT002.Controls
this.CollectionDiffSecSum.Add(this.labelDiffSecSum9);
this.CollectionDiffSecSum.Add(this.labelDiffSecSum10);
this.CollectionDiffMean = new Collection<SmartLabel>();
this.CollectionDiffMean.Add(this.labelDiffMean1);
this.CollectionDiffMean.Add(this.labelDiffMean2);
this.CollectionDiffMean.Add(this.labelDiffMean3);
this.CollectionDiffMean.Add(this.labelDiffMean4);
this.CollectionDiffMean.Add(this.labelDiffMean5);
this.CollectionDiffMean.Add(this.labelDiffMean6);
this.CollectionDiffMean.Add(this.labelDiffMean7);
this.CollectionDiffMean.Add(this.labelDiffMean8);
this.CollectionDiffMean.Add(this.labelDiffMean9);
this.CollectionDiffMean.Add(this.labelDiffMean10);
this.CollectionDiffSecMax = new Collection<SmartLabel>();
this.CollectionDiffSecMax.Add(this.labelDiffSecMax1);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax2);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax3);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax4);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax5);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax6);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax7);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax8);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax9);
this.CollectionDiffSecMax.Add(this.labelDiffSecMax10);
this.CollectionPressureWork = new Collection<SmartLabel>();
this.CollectionPressureWork.Add(this.labelPressureWork1);
@ -216,21 +205,63 @@ namespace INT_PT002.Controls
this.CollectionPressureMaster.Add(this.labelPressureMaster8);
this.CollectionPressureMaster.Add(this.labelPressureMaster9);
this.CollectionPressureMaster.Add(this.labelPressureMaster10);
this.CollectionTitleDisp = new Collection<SmartLabel>();
this.CollectionTitleDisp.Add(this.labelTitleDispRData1);
this.CollectionTitleDisp.Add(this.labelTitleDispRData2);
this.CollectionTitleDisp.Add(this.labelTitleDispRData3);
this.CollectionTitleDisp.Add(this.labelTitleDispRData4);
this.CollectionTitleDisp.Add(this.labelTitleDispRData5);
this.CollectionTitleDisp.Add(this.labelTitleDispRData6);
this.CollectionTitleDisp.Add(this.labelTitleDispRData7);
this.CollectionTitleDisp.Add(this.labelTitleDispRData8);
this.CollectionTitleDisp.Add(this.labelTitleDispRData9);
this.CollectionTitleDisp.Add(this.labelTitleDispRData10);
this.CollectionTitleDisp.Add(this.labelTitleDispMData1);
this.CollectionTitleDisp.Add(this.labelTitleDispMData2);
this.CollectionTitleDisp.Add(this.labelTitleDispMData3);
this.CollectionTitleDisp.Add(this.labelTitleDispMData4);
this.CollectionTitleDisp.Add(this.labelTitleDispMData5);
this.CollectionTitleDisp.Add(this.labelTitleDispMData6);
this.CollectionTitleDisp.Add(this.labelTitleDispMData7);
this.CollectionTitleDisp.Add(this.labelTitleDispMData8);
this.CollectionTitleDisp.Add(this.labelTitleDispMData9);
this.CollectionTitleDisp.Add(this.labelTitleDispMData10);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD1);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD2);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD3);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD4);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD5);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD6);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD7);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD8);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD9);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataD10);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM1);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM2);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM3);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM4);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM5);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM6);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM7);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM8);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM9);
this.CollectionTitleDisp.Add(this.labelTitleDispMDataM10);
}
private void InitializeData()
public void InitializeData()
{
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CollectionLabelResult[i].Text = "-";
this.CollectionLabelResult[i].TextColor = this.ColorResultNone;
this.CollectionLabelResult[i].TextColor = Define.ColorResultNone;
this.CollectionDispRData[i].Text = "0.00";
this.CollectionDispMData[i].Text = "0.00";
this.CollectionDispMDataDiff[i].Text = "0.00";
this.CollectionDispSTD[i].Text = "0.00";
this.CollectionDispMDataMax[i].Text = "0.00";
this.CollectionDiffMadc[i].Text = "0.00";
this.CollectionDiffSecDiff[i].Text = "0.00";
this.CollectionDiffSecSum[i].Text = "0.00";
this.CollectionDiffMean[i].Text = "0.00";
this.CollectionDiffSecMax[i].Text = "0.00";
this.CollectionPressureWork[i].Text = "0.0";
this.CollectionPressureMaster[i].Text = "0.0";
}
@ -244,22 +275,22 @@ namespace INT_PT002.Controls
{
case Define.E_JudgmentStatus.None:
value = "-";
label2.TextColor = this.ColorResultNone;
label2.TextColor = Define.ColorResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Pass:
value = "Pass";
label2.TextColor = this.ColorResultPass;
label2.TextColor = Define.ColorResultPass;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Ng:
value = "Leak";
label2.TextColor = this.ColorResultNG;
label2.TextColor = Define.ColorResultNG;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Error:
value = "Empty";
label2.TextColor = this.ColorResultNone;
label2.TextColor = Define.ColorResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
default:
@ -272,11 +303,11 @@ namespace INT_PT002.Controls
private void SelectProcessLabelRefresh(int index)
{
this.CollectionLabelProgress[index].BackGroundColor = this.ColorProgressOn;
this.CollectionLabelProgress[index].BackGroundColor = Define.ColorProgressOn;
}
private void UnselectProcessLabelRefresh(int index)
{
this.CollectionLabelProgress[index].BackGroundColor = this.ColorProgressOff;
this.CollectionLabelProgress[index].BackGroundColor = Define.ColorProgressOff;
}
public void UpdateDisplayProcessStatus(Define.E_ProcessStatus status)
@ -286,138 +317,138 @@ namespace INT_PT002.Controls
case Define.E_ProcessStatus._0_None:
break;
case Define.E_ProcessStatus._1_Ready:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOn) this.labelProgress1.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOn) this.labelProgress1.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._2_ProductEntry:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOn) this.labelProgress2.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOn) this.labelProgress2.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
this.InitializeData();
break;
case Define.E_ProcessStatus._3_MoveToLeak:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOn) this.labelProgress3.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOn) this.labelProgress3.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._4_MoveToCheck:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOn) this.labelProgress3.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOn) this.labelProgress3.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._5_ChamberMerge:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOn) this.labelProgress4.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOn) this.labelProgress4.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._6_VacuumStart:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOn) this.labelProgress5.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOn) this.labelProgress5.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._7_VacuumHold:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOn) this.labelProgress6.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOn) this.labelProgress6.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._8_Judgment:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOn) this.labelProgress7.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOn) this.labelProgress7.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._9_VacuumBreak:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOn) this.labelProgress8.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOn) this.labelProgress8.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._10_ChamberRelease:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOn) this.labelProgress9.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOn) this.labelProgress9.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._11_MoveToReady:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOn) this.labelProgress10.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOn) this.labelProgress10.BackGroundColor = Define.ColorProgressOn;
break;
default:
break;
@ -496,7 +527,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[i].Text != value)
this.CollectionDiffMadc[i].Text = value;
value = datas[i].SecBufDiff;
value = datas[i].SecBuf;
if (this.CollectionDiffSecDiff[i].Text != value)
this.CollectionDiffSecDiff[i].Text = value;
@ -504,9 +535,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[i].Text != value)
this.CollectionDiffSecSum[i].Text = value;
value = datas[i].DiffMean;
if (this.CollectionDiffMean[i].Text != value)
this.CollectionDiffMean[i].Text = value;
value = datas[i].SecBufMax;
if (this.CollectionDiffSecMax[i].Text != value)
this.CollectionDiffSecMax[i].Text = value;
}
}
public void UpdateDisplayDiffData1(LeakData1 data)
@ -517,7 +548,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[0].Text != value)
this.CollectionDiffMadc[0].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[0].Text != value)
this.CollectionDiffSecDiff[0].Text = value;
@ -525,9 +556,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[0].Text != value)
this.CollectionDiffSecSum[0].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[0].Text != value)
this.CollectionDiffMean[0].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[0].Text != value)
this.CollectionDiffSecMax[0].Text = value;
}
public void UpdateDisplayDiffData2(LeakData1 data)
{
@ -537,7 +568,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[1].Text != value)
this.CollectionDiffMadc[1].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[1].Text != value)
this.CollectionDiffSecDiff[1].Text = value;
@ -545,9 +576,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[1].Text != value)
this.CollectionDiffSecSum[1].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[1].Text != value)
this.CollectionDiffMean[1].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[1].Text != value)
this.CollectionDiffSecMax[1].Text = value;
}
public void UpdateDisplayDiffData3(LeakData1 data)
{
@ -557,7 +588,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[2].Text != value)
this.CollectionDiffMadc[2].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[2].Text != value)
this.CollectionDiffSecDiff[2].Text = value;
@ -565,9 +596,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[2].Text != value)
this.CollectionDiffSecSum[2].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[2].Text != value)
this.CollectionDiffMean[2].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[2].Text != value)
this.CollectionDiffSecMax[2].Text = value;
}
public void UpdateDisplayDiffData4(LeakData1 data)
{
@ -577,7 +608,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[3].Text != value)
this.CollectionDiffMadc[3].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[3].Text != value)
this.CollectionDiffSecDiff[3].Text = value;
@ -585,9 +616,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[3].Text != value)
this.CollectionDiffSecSum[3].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[3].Text != value)
this.CollectionDiffMean[3].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[3].Text != value)
this.CollectionDiffSecMax[3].Text = value;
}
public void UpdateDisplayDiffData5(LeakData1 data)
{
@ -597,7 +628,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[4].Text != value)
this.CollectionDiffMadc[4].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[4].Text != value)
this.CollectionDiffSecDiff[4].Text = value;
@ -605,9 +636,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[4].Text != value)
this.CollectionDiffSecSum[4].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[4].Text != value)
this.CollectionDiffMean[4].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[4].Text != value)
this.CollectionDiffSecMax[4].Text = value;
}
public void UpdateDisplayDiffData6(LeakData1 data)
{
@ -617,7 +648,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[5].Text != value)
this.CollectionDiffMadc[5].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[5].Text != value)
this.CollectionDiffSecDiff[5].Text = value;
@ -625,9 +656,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[5].Text != value)
this.CollectionDiffSecSum[5].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[5].Text != value)
this.CollectionDiffMean[5].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[5].Text != value)
this.CollectionDiffSecMax[5].Text = value;
}
public void UpdateDisplayDiffData7(LeakData1 data)
{
@ -637,7 +668,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[6].Text != value)
this.CollectionDiffMadc[6].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[6].Text != value)
this.CollectionDiffSecDiff[6].Text = value;
@ -645,9 +676,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[6].Text != value)
this.CollectionDiffSecSum[6].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[6].Text != value)
this.CollectionDiffMean[6].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[6].Text != value)
this.CollectionDiffSecMax[6].Text = value;
}
public void UpdateDisplayDiffData8(LeakData1 data)
{
@ -657,7 +688,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[7].Text != value)
this.CollectionDiffMadc[7].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[7].Text != value)
this.CollectionDiffSecDiff[7].Text = value;
@ -665,9 +696,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[7].Text != value)
this.CollectionDiffSecSum[7].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[7].Text != value)
this.CollectionDiffMean[7].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[7].Text != value)
this.CollectionDiffSecMax[7].Text = value;
}
public void UpdateDisplayDiffData9(LeakData1 data)
{
@ -677,7 +708,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[8].Text != value)
this.CollectionDiffMadc[8].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[8].Text != value)
this.CollectionDiffSecDiff[8].Text = value;
@ -685,9 +716,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[8].Text != value)
this.CollectionDiffSecSum[8].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[8].Text != value)
this.CollectionDiffMean[8].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[8].Text != value)
this.CollectionDiffSecMax[8].Text = value;
}
public void UpdateDisplayDiffData10(LeakData1 data)
{
@ -697,7 +728,7 @@ namespace INT_PT002.Controls
if (this.CollectionDiffMadc[9].Text != value)
this.CollectionDiffMadc[9].Text = value;
value = data.DiffData.SecBufDiff;
value = data.DiffData.SecBuf;
if (this.CollectionDiffSecDiff[9].Text != value)
this.CollectionDiffSecDiff[9].Text = value;
@ -705,9 +736,9 @@ namespace INT_PT002.Controls
if (this.CollectionDiffSecSum[9].Text != value)
this.CollectionDiffSecSum[9].Text = value;
value = data.DiffData.DiffMean;
if (this.CollectionDiffMean[9].Text != value)
this.CollectionDiffMean[9].Text = value;
value = data.DiffData.SecBufMax;
if (this.CollectionDiffSecMax[9].Text != value)
this.CollectionDiffSecMax[9].Text = value;
}
// 변위센서 데이터
@ -729,9 +760,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[i].Text != value)
this.CollectionDispMDataDiff[i].Text = value;
value = datas[i].STD;
if (this.CollectionDispSTD[i].Text != value)
this.CollectionDispSTD[i].Text = value;
value = datas[i].MDataMax;
if (this.CollectionDispMDataMax[i].Text != value)
this.CollectionDispMDataMax[i].Text = value;
}
}
public void UpdateDisplayDispData1(LeakData1 data)
@ -750,9 +781,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[0].Text != value)
this.CollectionDispMDataDiff[0].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[0].Text != value)
this.CollectionDispSTD[0].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[0].Text != value)
this.CollectionDispMDataMax[0].Text = value;
}
public void UpdateDisplayDispData2(LeakData1 data)
{
@ -770,9 +801,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[1].Text != value)
this.CollectionDispMDataDiff[1].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[1].Text != value)
this.CollectionDispSTD[1].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[1].Text != value)
this.CollectionDispMDataMax[1].Text = value;
}
public void UpdateDisplayDispData3(LeakData1 data)
{
@ -790,9 +821,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[2].Text != value)
this.CollectionDispMDataDiff[2].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[2].Text != value)
this.CollectionDispSTD[2].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[2].Text != value)
this.CollectionDispMDataMax[2].Text = value;
}
public void UpdateDisplayDispData4(LeakData1 data)
{
@ -810,9 +841,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[3].Text != value)
this.CollectionDispMDataDiff[3].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[3].Text != value)
this.CollectionDispSTD[3].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[3].Text != value)
this.CollectionDispMDataMax[3].Text = value;
}
public void UpdateDisplayDispData5(LeakData1 data)
{
@ -830,9 +861,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[4].Text != value)
this.CollectionDispMDataDiff[4].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[4].Text != value)
this.CollectionDispSTD[4].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[4].Text != value)
this.CollectionDispMDataMax[4].Text = value;
}
public void UpdateDisplayDispData6(LeakData1 data)
{
@ -850,9 +881,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[5].Text != value)
this.CollectionDispMDataDiff[5].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[5].Text != value)
this.CollectionDispSTD[5].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[5].Text != value)
this.CollectionDispMDataMax[5].Text = value;
}
public void UpdateDisplayDispData7(LeakData1 data)
{
@ -870,9 +901,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[6].Text != value)
this.CollectionDispMDataDiff[6].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[6].Text != value)
this.CollectionDispSTD[6].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[6].Text != value)
this.CollectionDispMDataMax[6].Text = value;
}
public void UpdateDisplayDispData8(LeakData1 data)
{
@ -890,9 +921,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[7].Text != value)
this.CollectionDispMDataDiff[7].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[7].Text != value)
this.CollectionDispSTD[7].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[7].Text != value)
this.CollectionDispMDataMax[7].Text = value;
}
public void UpdateDisplayDispData9(LeakData1 data)
{
@ -910,9 +941,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[8].Text != value)
this.CollectionDispMDataDiff[8].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[8].Text != value)
this.CollectionDispSTD[8].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[8].Text != value)
this.CollectionDispMDataMax[8].Text = value;
}
public void UpdateDisplayDispData10(LeakData1 data)
{
@ -930,9 +961,9 @@ namespace INT_PT002.Controls
if (this.CollectionDispMDataDiff[9].Text != value)
this.CollectionDispMDataDiff[9].Text = value;
value = data.DispData.STD;
if (this.CollectionDispSTD[9].Text != value)
this.CollectionDispSTD[9].Text = value;
value = data.DispData.MDataMax;
if (this.CollectionDispMDataMax[9].Text != value)
this.CollectionDispMDataMax[9].Text = value;
}
// 압력센서 데이터
@ -1075,100 +1106,81 @@ namespace INT_PT002.Controls
// 판정결과
public void UpdateDisplayJudgmentData(LeakData datas)
{
this.timerOn.Stop();
this.timerOff.Stop();
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
this.CollectionLabelResult[i].Visible = true;
}
}
public void UpdateDisplayJudgmentData1(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[0]);
this.CollectionLabelResult[0].Visible = true;
}
public void UpdateDisplayJudgmentData2(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[1]);
this.CollectionLabelResult[1].Visible = true;
}
public void UpdateDisplayJudgmentData3(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[2]);
this.CollectionLabelResult[2].Visible = true;
}
public void UpdateDisplayJudgmentData4(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[3]);
this.CollectionLabelResult[3].Visible = true;
}
public void UpdateDisplayJudgmentData5(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[4]);
this.CollectionLabelResult[4].Visible = true;
}
public void UpdateDisplayJudgmentData6(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[5]);
this.CollectionLabelResult[5].Visible = true;
}
public void UpdateDisplayJudgmentData7(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[6]);
this.CollectionLabelResult[6].Visible = true;
}
public void UpdateDisplayJudgmentData8(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[7]);
this.CollectionLabelResult[7].Visible = true;
}
public void UpdateDisplayJudgmentData9(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[8]);
this.CollectionLabelResult[8].Visible = true;
}
public void UpdateDisplayJudgmentData10(LeakData1 data)
{
this.timerOn.Stop();
this.timerOff.Stop();
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[9]);
this.CollectionLabelResult[9].Visible = true;
}
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Equipment;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
if (this.ParentForm.ParentForm.CurrentRecipe.DISP_JUDG_ENABLE == false)
{
for (int i = 0; i < this.CollectionTitleDisp.Count; i++)
this.CollectionTitleDisp[i].Enabled = false;
for (int i = 0; i < 10; i++)
{
this.CollectionDispRData[i].Enabled = false;
this.CollectionDispMData[i].Enabled = false;
this.CollectionDispMDataDiff[i].Enabled = false;
this.CollectionDispMDataMax[i].Enabled = false;
}
}
else
{
for (int i = 0; i < this.CollectionTitleDisp.Count; i++)
this.CollectionTitleDisp[i].Enabled = true;
for (int i = 0; i < 10; i++)
{
this.CollectionDispRData[i].Enabled = true;
this.CollectionDispMData[i].Enabled = true;
this.CollectionDispMDataDiff[i].Enabled = true;
this.CollectionDispMDataMax[i].Enabled = true;
}
}
}
#endregion
@ -1176,31 +1188,13 @@ namespace INT_PT002.Controls
private void buttonInspection_Click(object sender, EventArgs e)
{
this.InitializeData();
this.ParentForm.Child_System_Status1.InitializeData();
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
}
private void buttonDisplay_Click(object sender, EventArgs e)
{
this.ParentForm.UpdateDisplayEquipmentTest();
}
private void timerOn_Tick(object sender, EventArgs e)
{
this.timerOn.Stop();
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
this.CollectionLabelResult[i].Visible = false;
this.timerOff.Start();
}
private void timerOff_Tick(object sender, EventArgs e)
{
this.timerOff.Stop();
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
this.CollectionLabelResult[i].Visible = true;
this.timerOn.Start();
}
#endregion
}
}

View File

@ -117,12 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timerOn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="timerOff.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>114, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>47</value>
</metadata>

File diff suppressed because it is too large Load Diff

View File

@ -19,13 +19,8 @@ namespace INT_PT002.Controls
#region Field
private FormMenu m_ParentForm;
private Color ColorProgressOn;
private Color ColorProgressOff;
private Color ColorResultPass;
private Color ColorResultNG;
private Color ColorResultNone;
private int CheckLane;
private double m_ScaleDiff;
private Collection<SmartLabel> CollectionLabelResult;
private Collection<SmartLabel> CollectionLabelProgress;
@ -53,6 +48,12 @@ namespace INT_PT002.Controls
get { return this.m_ParentForm; }
private set { this.m_ParentForm = value; }
}
public double ScaleDiff
{
get { return this.m_ScaleDiff; }
set { this.m_ScaleDiff = value; }
}
#endregion
#region Method
@ -60,12 +61,6 @@ namespace INT_PT002.Controls
{
this.smartGroupBox1.Text = "System > Equipment";
this.ColorProgressOff = Color.Azure;
this.ColorProgressOn = Color.Lime;
this.ColorResultPass = Color.Green;
this.ColorResultNG = Color.Red;
this.ColorResultNone = Color.White;
this.CheckLane = 0;
this.CollectionLabelProgress = new Collection<SmartLabel>();
@ -129,12 +124,12 @@ namespace INT_PT002.Controls
this.CollectionPressureMaster.Add(this.labelPressureMaster9);
this.CollectionPressureMaster.Add(this.labelPressureMaster10);
}
private void InitializeData()
public void InitializeData()
{
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CollectionLabelResult[i].Text = "-";
this.CollectionLabelResult[i].TextColor = this.ColorResultNone;
this.CollectionLabelResult[i].TextColor = Define.ColorResultNone;
this.CollectionLabelResult[i].Visible = false;
this.CollectionDiffSecDiff[i].Text = "0.00";
this.CollectionPressureWork[i].Text = "0.0";
@ -169,11 +164,11 @@ namespace INT_PT002.Controls
this.labelMesDispRData1.Text = "0.00";
this.labelMesDispMData1.Text = "0.00";
this.labelMesDispMDataDiff1.Text = "0.00";
this.labelMesDispSTD1.Text = "0.00";
this.labelMesDispMDataMax1.Text = "0.00";
this.labelMesDiffMadc1.Text = "0.00";
this.labelMesDiffSecDiff1.Text = "0.00";
this.labelMesDiffSecSum1.Text = "0.00";
this.labelMesDiffMean1.Text = "0.00";
this.labelMesDiffSecMax1.Text = "0.00";
this.labelMesPressureMaster1.Text = "0.0";
this.labelMesPressureWork1.Text = "0.0";
@ -182,11 +177,11 @@ namespace INT_PT002.Controls
this.labelMesDispRData2.Text = "0.00";
this.labelMesDispMData2.Text = "0.00";
this.labelMesDispMDataDiff2.Text = "0.00";
this.labelMesDispSTD2.Text = "0.00";
this.labelMesDispMDataMax2.Text = "0.00";
this.labelMesDiffMadc2.Text = "0.00";
this.labelMesDiffSecDiff2.Text = "0.00";
this.labelMesDiffSecSum2.Text = "0.00";
this.labelMesDiffMean2.Text = "0.00";
this.labelMesDiffSecMax2.Text = "0.00";
this.labelMesPressureMaster2.Text = "0.0";
this.labelMesPressureWork2.Text = "0.0";
@ -202,22 +197,22 @@ namespace INT_PT002.Controls
{
case Define.E_JudgmentStatus.None:
value = "-";
label2.TextColor = this.ColorResultNone;
label2.TextColor = Define.ColorResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Pass:
value = "Pass";
label2.TextColor = this.ColorResultPass;
label2.TextColor = Define.ColorResultPass;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Ng:
value = "Leak";
label2.TextColor = this.ColorResultNG;
label2.TextColor = Define.ColorResultNG;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Error:
value = "Empty";
label2.TextColor = this.ColorResultNone;
label2.TextColor = Define.ColorResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
default:
@ -228,24 +223,30 @@ namespace INT_PT002.Controls
label2.Text = value;
}
private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff)
public void CalScaleDiff(string limit)
{
int iValue = 0;
double dValue = 0.0, value = 0.0;
//// 값 표시 범위
//// 1000 ~ 0
//// 그래프 영역 높이 230
//// 1000 / 230 = 4.347826086956522
//value = double.Parse(diff.SecBufDiff);
//dValue = int.Parse(string.Format("{0:0}", value)) / 4.347826086956522;
// Lr Limit 설정값
// double to int
// 소수점 2자리 고정
iValue = int.Parse(limit.Replace(".", ""));
// 값 표시 범위
// 200 ~ 0
// 그래프 영역 높이 230
// 200 / 230 = 0.8695652173913043
value = double.Parse(diff.SecBufDiff);
dValue = int.Parse(string.Format("{0:0}", value)) / 0.8695652173913043;
// 그래프 높이 230
this.ScaleDiff = (iValue * 10) / 230;
}
/// <summary>
/// 차압센서 그래프 기준선
/// </summary>
/// <param name="value">Lr.Limit</param>
public void DrawDiffReferenceLine(string value)
{
string sValue = "";
int iValue = 0;
double dValue = 0.0;
sValue = value.Replace(".", "");
dValue = int.Parse(sValue) / this.ScaleDiff;
if (dValue > 230)
dValue = 230;
@ -254,8 +255,52 @@ namespace INT_PT002.Controls
iValue = int.Parse(string.Format("{0:f0}", dValue));
draw.Chart.PutData(iValue);
this.smartDraw1.BackLayer.Erase();
this.smartDraw2.BackLayer.Erase();
this.InitializeDraw();
// 가로 기준선
this.smartDraw1.BackLayer.SetPenStyle(Color.Blue, 2);
this.smartDraw1.BackLayer.Line(10, 242 - iValue, 415, 242 - iValue);
this.smartDraw2.BackLayer.SetPenStyle(Color.Blue, 2);
this.smartDraw2.BackLayer.Line(10, 242 - iValue, 415, 242 - iValue);
}
private void UpdateDisplayDotGraphDiff1(DiffData diff)
{
string value = "";
int iValue = 0;
double dValue = 0.0;
value = diff.SecBuf.Replace(".", "");
dValue = int.Parse(value) / this.ScaleDiff;
if (dValue > 230)
dValue = 230;
if (dValue < 1)
dValue = 3;
iValue = int.Parse(string.Format("{0:f0}", dValue));
this.smartDraw2.Chart.PutData(iValue);
}
private void UpdateDisplayDotGraphDiff2(DiffData diff)
{
string value = "";
int iValue = 0;
double dValue = 0.0;
value = diff.SecBuf.Replace(".", "");
dValue = int.Parse(value) / this.ScaleDiff;
if (dValue > 230)
dValue = 230;
if (dValue < 1)
dValue = 3;
iValue = int.Parse(string.Format("{0:f0}", dValue));
this.smartDraw2.Chart.PutData(iValue);
}
private void UpdateDisplayDotGraphDisp(SmartDraw draw, DispData disp)
{
int iValue = 0;
@ -306,141 +351,142 @@ namespace INT_PT002.Controls
case Define.E_ProcessStatus._0_None:
break;
case Define.E_ProcessStatus._1_Ready:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOn) this.labelProgress1.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOn) this.labelProgress1.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._2_ProductEntry:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOn) this.labelProgress2.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOn) this.labelProgress2.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
this.InitializeData();
break;
case Define.E_ProcessStatus._3_MoveToLeak:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOn) this.labelProgress3.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOn) this.labelProgress3.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._4_MoveToCheck:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOn) this.labelProgress3.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOn) this.labelProgress3.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
this.smartDraw1.Chart.PutDataAllClear();
this.smartDraw2.Chart.PutDataAllClear();
//this.smartDraw1.Chart.PutDataAllClear();
//this.smartDraw2.Chart.PutDataAllClear();
this.InitializeMeasuringData();
break;
case Define.E_ProcessStatus._5_ChamberMerge:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOn) this.labelProgress4.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOn) this.labelProgress4.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._6_VacuumStart:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOn) this.labelProgress5.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOn) this.labelProgress5.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._7_VacuumHold:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOn) this.labelProgress6.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOn) this.labelProgress6.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._8_Judgment:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOn) this.labelProgress7.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOn) this.labelProgress7.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._9_VacuumBreak:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOn) this.labelProgress8.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOn) this.labelProgress8.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._10_ChamberRelease:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOn) this.labelProgress9.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOn) this.labelProgress9.BackGroundColor = Define.ColorProgressOn;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOff) this.labelProgress10.BackGroundColor = Define.ColorProgressOff;
break;
case Define.E_ProcessStatus._11_MoveToReady:
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != this.ColorProgressOn) this.labelProgress10.BackGroundColor = this.ColorProgressOn;
if (this.labelProgress1.BackGroundColor != Define.ColorProgressOff) this.labelProgress1.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress2.BackGroundColor != Define.ColorProgressOff) this.labelProgress2.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress3.BackGroundColor != Define.ColorProgressOff) this.labelProgress3.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress4.BackGroundColor != Define.ColorProgressOff) this.labelProgress4.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress5.BackGroundColor != Define.ColorProgressOff) this.labelProgress5.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress6.BackGroundColor != Define.ColorProgressOff) this.labelProgress6.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress7.BackGroundColor != Define.ColorProgressOff) this.labelProgress7.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress8.BackGroundColor != Define.ColorProgressOff) this.labelProgress8.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress9.BackGroundColor != Define.ColorProgressOff) this.labelProgress9.BackGroundColor = Define.ColorProgressOff;
if (this.labelProgress10.BackGroundColor != Define.ColorProgressOn) this.labelProgress10.BackGroundColor = Define.ColorProgressOn;
break;
default:
break;
@ -454,7 +500,10 @@ namespace INT_PT002.Controls
{
value = string.Format("Lane {0}", lane);
if (this.labelMesResult1.Text != value)
{
this.labelMesResult1.Text = value;
this.smartGroupBox2.Text = value;
}
}
}
public void UpdateDisplayProcessStatusMeasuring2(Define.E_ProcessStatus status, string lane)
@ -465,7 +514,10 @@ namespace INT_PT002.Controls
{
value = string.Format("Lane {0}", lane);
if (this.labelMesResult2.Text != value)
{
this.labelMesResult2.Text = value;
this.smartGroupBox11.Text = value;
}
}
}
@ -478,7 +530,7 @@ namespace INT_PT002.Controls
if (this.labelMesDiffMadc1.Text != value)
this.labelMesDiffMadc1.Text = value;
value = data.SecBufDiff;
value = data.SecBuf;
if (this.labelMesDiffSecDiff1.Text != value)
this.labelMesDiffSecDiff1.Text = value;
@ -486,9 +538,9 @@ namespace INT_PT002.Controls
if (this.labelMesDiffSecSum1.Text != value)
this.labelMesDiffSecSum1.Text = value;
value = data.DiffMean;
if (this.labelMesDiffMean1.Text != value)
this.labelMesDiffMean1.Text = value;
value = data.SecBufMax;
if (this.labelMesDiffSecMax1.Text != value)
this.labelMesDiffSecMax1.Text = value;
}
private void UpdateDisplayMeasuringLeakDataDisp1(DispData data)
{
@ -507,9 +559,9 @@ namespace INT_PT002.Controls
if (this.labelMesDispMDataDiff1.Text != value)
this.labelMesDispMDataDiff1.Text = value;
value = data.STD;
if (this.labelMesDispSTD1.Text != value)
this.labelMesDispSTD1.Text = value;
value = data.MDataMax;
if (this.labelMesDispMDataMax1.Text != value)
this.labelMesDispMDataMax1.Text = value;
}
private void UpdateDisplayMeasuringLeakDataPres1(PressureData data)
@ -534,7 +586,7 @@ namespace INT_PT002.Controls
if (this.labelMesDiffMadc2.Text != value)
this.labelMesDiffMadc2.Text = value;
value = data.SecBufDiff;
value = data.SecBuf;
if (this.labelMesDiffSecDiff2.Text != value)
this.labelMesDiffSecDiff2.Text = value;
@ -542,9 +594,9 @@ namespace INT_PT002.Controls
if (this.labelMesDiffSecSum2.Text != value)
this.labelMesDiffSecSum2.Text = value;
value = data.DiffMean;
if (this.labelMesDiffMean2.Text != value)
this.labelMesDiffMean2.Text = value;
value = data.SecBufMax;
if (this.labelMesDiffSecMax2.Text != value)
this.labelMesDiffSecMax2.Text = value;
}
private void UpdateDisplayMeasuringLeakDataDisp2(DispData data)
{
@ -563,9 +615,9 @@ namespace INT_PT002.Controls
if (this.labelMesDispMDataDiff2.Text != value)
this.labelMesDispMDataDiff2.Text = value;
value = data.STD;
if (this.labelMesDispSTD2.Text != value)
this.labelMesDispSTD2.Text = value;
value = data.MDataMax;
if (this.labelMesDispMDataMax2.Text != value)
this.labelMesDispMDataMax2.Text = value;
}
private void UpdateDisplayMeasuringLeakDataPres2(PressureData data)
@ -582,17 +634,6 @@ namespace INT_PT002.Controls
this.labelMesPressureMaster2.Text = value;
}
// 차압센서 데이터
public void UpdateDisplayDiffData(Collection<DiffData> datas)
{
string value = "";
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
value = datas[i].SecBufDiff;
if (this.CollectionDiffSecDiff[i].Text != value)
this.CollectionDiffSecDiff[i].Text = value;
}
}
public void UpdateDisplayDiffData1(LeakData1 data)
{
string value = "";
@ -602,7 +643,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[0].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
this.UpdateDisplayDotGraphDiff1(data.DiffData);
}
public void UpdateDisplayDiffData2(LeakData1 data)
{
@ -613,7 +654,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[1].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
this.UpdateDisplayDotGraphDiff2(data.DiffData);
}
public void UpdateDisplayDiffData3(LeakData1 data)
{
@ -624,7 +665,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[2].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
this.UpdateDisplayDotGraphDiff1(data.DiffData);
}
public void UpdateDisplayDiffData4(LeakData1 data)
{
@ -635,7 +676,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[3].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
this.UpdateDisplayDotGraphDiff2(data.DiffData);
}
public void UpdateDisplayDiffData5(LeakData1 data)
{
@ -646,7 +687,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[4].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
this.UpdateDisplayDotGraphDiff1(data.DiffData);
}
public void UpdateDisplayDiffData6(LeakData1 data)
{
@ -657,7 +698,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[5].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
this.UpdateDisplayDotGraphDiff2(data.DiffData);
}
public void UpdateDisplayDiffData7(LeakData1 data)
{
@ -668,7 +709,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[6].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
this.UpdateDisplayDotGraphDiff1(data.DiffData);
}
public void UpdateDisplayDiffData8(LeakData1 data)
{
@ -679,7 +720,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[7].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
this.UpdateDisplayDotGraphDiff2(data.DiffData);
}
public void UpdateDisplayDiffData9(LeakData1 data)
{
@ -690,7 +731,7 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[8].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
this.UpdateDisplayDotGraphDiff1(data.DiffData);
}
public void UpdateDisplayDiffData10(LeakData1 data)
{
@ -701,12 +742,9 @@ namespace INT_PT002.Controls
this.CollectionDiffSecDiff[9].Text = value;
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
this.UpdateDisplayDotGraphDiff2(data.DiffData);
}
// 변위센서 데이터
public void UpdateDisplayDispData(Collection<DispData> datas)
{
}
public void UpdateDisplayDispData1(LeakData1 data)
{
this.UpdateDisplayMeasuringLeakDataDisp1(data.DispData);
@ -748,21 +786,6 @@ namespace INT_PT002.Controls
this.UpdateDisplayMeasuringLeakDataDisp2(data.DispData);
}
// 압력센서 데이터
public void UpdateDisplayPresData(Collection<PressureData> datas)
{
string value = "";
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
value = datas[i].WorkingChamber;
if (this.CollectionPressureWork[i].Text != value)
this.CollectionPressureWork[i].Text = value;
value = datas[i].MasterChamber;
if (this.CollectionPressureMaster[i].Text != value)
this.CollectionPressureMaster[i].Text = value;
}
}
public void UpdateDisplayPresData1(LeakData1 data)
{
string value = "";
@ -904,14 +927,6 @@ namespace INT_PT002.Controls
this.UpdateDisplayMeasuringLeakDataPres2(data.PresData);
}
// 판정결과
public void UpdateDisplayJudgmentData(LeakData datas)
{
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
this.CollectionLabelResult[i].Visible = true;
}
}
public void UpdateDisplayJudgmentData1(LeakData1 data)
{
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[0]);
@ -978,7 +993,54 @@ namespace INT_PT002.Controls
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Equipment1;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
this.InitializeData();
if (this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Stop)
{
this.CalScaleDiff(this.ParentForm.ParentForm.CurrentRecipe.DIFF_LR_LIMIT);
this.DrawDiffReferenceLine(this.ParentForm.ParentForm.CurrentRecipe.DIFF_LR_LIMIT);
}
if (this.ParentForm.ParentForm.CurrentRecipe.DISP_JUDG_ENABLE == false)
{
this.labelMesDispMData1.Enabled = false;
this.labelMesDispMData2.Enabled = false;
this.labelMesDispMDataDiff1.Enabled = false;
this.labelMesDispMDataDiff2.Enabled = false;
this.labelMesDispMDataMax1.Enabled = false;
this.labelMesDispMDataMax2.Enabled = false;
this.labelMesDispRData1.Enabled = false;
this.labelMesDispRData2.Enabled = false;
this.smartLabel32.Enabled = false;
this.smartLabel30.Enabled = false;
this.smartLabel53.Enabled = false;
this.smartLabel48.Enabled = false;
this.smartLabel93.Enabled = false;
this.smartLabel91.Enabled = false;
this.smartLabel126.Enabled = false;
this.smartLabel124.Enabled = false;
}
else
{
this.labelMesDispMData1.Enabled = true;
this.labelMesDispMData2.Enabled = true;
this.labelMesDispMDataDiff1.Enabled = true;
this.labelMesDispMDataDiff2.Enabled = true;
this.labelMesDispMDataMax1.Enabled = true;
this.labelMesDispMDataMax2.Enabled = true;
this.labelMesDispRData1.Enabled = true;
this.labelMesDispRData2.Enabled = true;
this.smartLabel32.Enabled = true;
this.smartLabel30.Enabled = true;
this.smartLabel53.Enabled = true;
this.smartLabel48.Enabled = true;
this.smartLabel93.Enabled = true;
this.smartLabel91.Enabled = true;
this.smartLabel126.Enabled = true;
this.smartLabel124.Enabled = true;
}
}
#endregion
@ -986,6 +1048,7 @@ namespace INT_PT002.Controls
private void buttonInspection_Click(object sender, EventArgs e)
{
this.InitializeData();
this.ParentForm.Child_System_Status.InitializeData();
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
}
private void buttonDisplay_Click(object sender, EventArgs e)
@ -1010,56 +1073,5 @@ namespace INT_PT002.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
}
#endregion
private void smartGroupBox14_Click(object sender, EventArgs e)
{
}
private void smartGroupBox12_Click(object sender, EventArgs e)
{
}
private void smartGroupBox15_Click(object sender, EventArgs e)
{
}
private void smartGroupBox8_Click(object sender, EventArgs e)
{
}
private void smartGroupBox13_Click(object sender, EventArgs e)
{
}
private void smartGroupBox6_Click(object sender, EventArgs e)
{
}
private void smartGroupBox10_Click(object sender, EventArgs e)
{
}
private void smartGroupBox5_Click(object sender, EventArgs e)
{
}
private void smartGroupBox7_Click(object sender, EventArgs e)
{
}
private void smartGroupBox3_Click(object sender, EventArgs e)
{
}
}
}

View File

@ -186,7 +186,7 @@ namespace INT_PT002.Controls
// 100 ~ 0
// 그래프 영역 높이 340
// 100 / 340 = 0.2941176470588235
value = double.Parse(diff.SecBufDiff);
value = double.Parse(diff.SecBuf);
dValue = int.Parse(string.Format("{0:0}", value)) / 0.2941176470588235;
if (dValue > 340)
@ -397,7 +397,7 @@ namespace INT_PT002.Controls
if (this.labelMesDiffMadc1.Text != value)
this.labelMesDiffMadc1.Text = value;
value = data.SecBufDiff;
value = data.SecBuf;
if (this.labelMesDiffSecDiff1.Text != value)
this.labelMesDiffSecDiff1.Text = value;
@ -405,7 +405,7 @@ namespace INT_PT002.Controls
if (this.labelMesDiffSecSum1.Text != value)
this.labelMesDiffSecSum1.Text = value;
value = data.DiffMean;
value = data.SecBufMax;
if (this.labelMesDiffMean1.Text != value)
this.labelMesDiffMean1.Text = value;
}
@ -426,7 +426,7 @@ namespace INT_PT002.Controls
if (this.labelMesDispMDataDiff1.Text != value)
this.labelMesDispMDataDiff1.Text = value;
value = data.STD;
value = data.MDataMax;
if (this.labelMesDispSTD1.Text != value)
this.labelMesDispSTD1.Text = value;

View File

@ -9,14 +9,14 @@ namespace INT_PT002.DataStore
public class AlarmList
{
#region Field
private bool m_IsServo1Alarm;
private bool m_IsServo2Alarm;
private bool m_IsServo1TorqueAlarm;
private bool m_IsServo2TorqueAlarm;
private bool m_IsPressureError;
private bool m_IsServoEmergencyStop;
private bool m_IsServoAlarm;
private bool m_IsServoTorqueAlarm;
private bool m_IsPressureError;
private bool m_IsPressureSensorError;
private Collection<bool> m_CollectionIsSensorBoardError;
private Collection<bool> m_CollectionIsDisplacementSensorError;
public event Define.EventHandlerAlarmStateChange EventAlarmStateChange;
#endregion
@ -29,35 +29,30 @@ namespace INT_PT002.DataStore
#endregion
#region Property
public bool IsServo1Alarm
public bool IsServoEmergencyStop
{
get { return this.m_IsServo1Alarm; }
set { this.m_IsServo1Alarm = value; }
get { return this.m_IsServoEmergencyStop; }
set { this.m_IsServoEmergencyStop = value; }
}
public bool IsServo2Alarm
public bool IsServoAlarm
{
get { return this.m_IsServo2Alarm; }
set { this.m_IsServo2Alarm = value; }
get { return this.m_IsServoAlarm; }
set { this.m_IsServoAlarm = value; }
}
public bool IsServoTorque1AlarmTorque
public bool IsServoTorqueAlarmTorque
{
get { return this.m_IsServo1TorqueAlarm; }
set { this.m_IsServo1TorqueAlarm = value; }
}
public bool IsServoTorque2AlarmTorque
{
get { return this.m_IsServo2TorqueAlarm; }
set { this.m_IsServo2TorqueAlarm = value; }
get { return this.m_IsServoTorqueAlarm; }
set { this.m_IsServoTorqueAlarm = value; }
}
public bool IsPressureError
{
get { return this.m_IsPressureError; }
set { this.m_IsPressureError = value; }
}
public bool IsServoEmergencyStop
public bool IsPressureSensorError
{
get { return this.m_IsServoEmergencyStop; }
set { this.m_IsServoEmergencyStop = value; }
get { return this.m_IsPressureSensorError; }
set { this.m_IsPressureSensorError = value; }
}
public Collection<bool> CollectionIsSensorBoardError
@ -65,21 +60,29 @@ namespace INT_PT002.DataStore
get { return this.m_CollectionIsSensorBoardError; }
set { this.m_CollectionIsSensorBoardError = value; }
}
public Collection<bool> CollectionIsDisplacementSensorError
{
get { return this.m_CollectionIsDisplacementSensorError; }
set { this.m_CollectionIsDisplacementSensorError = value; }
}
#endregion
#region Method
private void Initialize()
{
this.IsServo1Alarm = false;
this.IsServo2Alarm = false;
this.IsServoTorque1AlarmTorque = false;
this.IsServoTorque2AlarmTorque = false;
this.IsPressureError = false;
this.IsServoEmergencyStop = false;
this.IsServoAlarm = false;
this.IsServoTorqueAlarmTorque = false;
this.IsPressureError = false;
this.IsPressureSensorError = false;
this.CollectionIsSensorBoardError = new Collection<bool>();
this.CollectionIsDisplacementSensorError = new Collection<bool>();
for (int i = 0; i < 10; i++)
{
this.CollectionIsSensorBoardError.Add(false);
this.CollectionIsDisplacementSensorError.Add(false);
}
}
public void SetAlarm(string alarm)
@ -98,13 +101,214 @@ namespace INT_PT002.DataStore
sValue7 = Convert.ToString(Convert.ToInt16(alarm.Substring(6, 1), 16), 2).PadLeft((4 <= 1) ? 1 : 4, '0');
sValue8 = Convert.ToString(Convert.ToInt16(alarm.Substring(7, 1), 16), 2).PadLeft((4 <= 1) ? 1 : 4, '0');
// 알람 16-센서보드10 에러
if (sValue4[0] == '0')
// 알람 32-
if (sValue8[0] == '0')
{
}
else
{
}
// 알람 31-
if (sValue8[1] == '0')
{
}
else
{
}
// 알람 30-변위센서10 에러
if (sValue8[2] == '0')
{
if (this.CollectionIsDisplacementSensorError[9] != false)
{
this.CollectionIsDisplacementSensorError[9] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a30_DisplacementSensor10Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[9] != true)
{
this.CollectionIsDisplacementSensorError[9] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a30_DisplacementSensor10Error, "ON");
}
}
// 알람 29-변위센서9 에러
if (sValue8[3] == '0')
{
if (this.CollectionIsDisplacementSensorError[8] != false)
{
this.CollectionIsDisplacementSensorError[8] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a29_DisplacementSensor9Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[8] != true)
{
this.CollectionIsDisplacementSensorError[8] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a29_DisplacementSensor9Error, "ON");
}
}
// 알람 28-변위센서8 에러
if (sValue7[0] == '0')
{
if (this.CollectionIsDisplacementSensorError[7] != false)
{
this.CollectionIsDisplacementSensorError[7] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a28_DisplacementSensor8Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[7] != true)
{
this.CollectionIsDisplacementSensorError[7] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a28_DisplacementSensor8Error, "ON");
}
}
// 알람 27-변위센서7 에러
if (sValue7[1] == '0')
{
if (this.CollectionIsDisplacementSensorError[6] != false)
{
this.CollectionIsDisplacementSensorError[6] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a27_DisplacementSensor7Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[6] != true)
{
this.CollectionIsDisplacementSensorError[6] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a27_DisplacementSensor7Error, "ON");
}
}
// 알람 26-변위센서6 에러
if (sValue7[2] == '0')
{
if (this.CollectionIsDisplacementSensorError[5] != false)
{
this.CollectionIsDisplacementSensorError[5] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a26_DisplacementSensor6Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[5] != true)
{
this.CollectionIsDisplacementSensorError[5] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a26_DisplacementSensor6Error, "ON");
}
}
// 알람 25-변위센서5 에러
if (sValue7[3] == '0')
{
if (this.CollectionIsDisplacementSensorError[4] != false)
{
this.CollectionIsDisplacementSensorError[4] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a25_DisplacementSensor5Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[4] != true)
{
this.CollectionIsDisplacementSensorError[4] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a25_DisplacementSensor5Error, "ON");
}
}
// 알람 24-변위센서4 에러
if (sValue6[0] == '0')
{
if (this.CollectionIsDisplacementSensorError[3] != false)
{
this.CollectionIsDisplacementSensorError[3] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a24_DisplacementSensor4Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[3] != true)
{
this.CollectionIsDisplacementSensorError[3] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a24_DisplacementSensor4Error, "ON");
}
}
// 알람 23-변위센서3 에러
if (sValue6[1] == '0')
{
if (this.CollectionIsDisplacementSensorError[2] != false)
{
this.CollectionIsDisplacementSensorError[2] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a23_DisplacementSensor3Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[2] != true)
{
this.CollectionIsDisplacementSensorError[2] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a23_DisplacementSensor3Error, "ON");
}
}
// 알람 22-변위센서2 에러
if (sValue6[2] == '0')
{
if (this.CollectionIsDisplacementSensorError[1] != false)
{
this.CollectionIsDisplacementSensorError[1] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a22_DisplacementSensor2Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[1] != true)
{
this.CollectionIsDisplacementSensorError[1] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a22_DisplacementSensor2Error, "ON");
}
}
// 알람 21-변위센서1 에러
if (sValue6[3] == '0')
{
if (this.CollectionIsDisplacementSensorError[0] != false)
{
this.CollectionIsDisplacementSensorError[0] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a21_DisplacementSensor1Error, "OFF");
}
}
else
{
if (this.CollectionIsDisplacementSensorError[0] != true)
{
this.CollectionIsDisplacementSensorError[0] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a21_DisplacementSensor1Error, "ON");
}
}
// 알람 20-
if (sValue5[0] == '0')
{
}
else
{
}
// 알람 19-
if (sValue5[1] == '0')
{
}
else
{
}
// 알람 18-센서보드10 에러
if (sValue5[2] == '0')
{
if (this.CollectionIsSensorBoardError[9] != false)
{
this.CollectionIsSensorBoardError[9] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard10Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a18_SensorBoard10Error, "OFF");
}
}
else
@ -112,16 +316,16 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[9] != true)
{
this.CollectionIsSensorBoardError[9] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard10Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a18_SensorBoard10Error, "ON");
}
}
// 알람 15-센서보드9 에러
if (sValue4[1] == '0')
// 알람 17-센서보드9 에러
if (sValue5[3] == '0')
{
if (this.CollectionIsSensorBoardError[8] != false)
{
this.CollectionIsSensorBoardError[8] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard9Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a17_SensorBoard9Error, "OFF");
}
}
else
@ -129,16 +333,17 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[8] != true)
{
this.CollectionIsSensorBoardError[8] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard9Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a17_SensorBoard9Error, "ON");
}
}
// 알람 14-센서보드8 에러
if (sValue4[2] == '0')
// 알람 16-센서보드8 에러
if (sValue4[0] == '0')
{
if (this.CollectionIsSensorBoardError[7] != false)
{
this.CollectionIsSensorBoardError[7] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard8Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard8Error, "OFF");
}
}
else
@ -146,16 +351,16 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[7] != true)
{
this.CollectionIsSensorBoardError[7] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard8Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard8Error, "ON");
}
}
// 알람 13-센서보드7 에러
if (sValue4[3] == '0')
// 알람 15-센서보드7 에러
if (sValue4[1] == '0')
{
if (this.CollectionIsSensorBoardError[6] != false)
{
this.CollectionIsSensorBoardError[6] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard7Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard7Error, "OFF");
}
}
else
@ -163,17 +368,16 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[6] != true)
{
this.CollectionIsSensorBoardError[6] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard7Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard7Error, "ON");
}
}
// 알람 12-센서보드6 에러
if (sValue3[0] == '0')
// 알람 14-센서보드6 에러
if (sValue4[2] == '0')
{
if (this.CollectionIsSensorBoardError[5] != false)
{
this.CollectionIsSensorBoardError[5] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard6Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard6Error, "OFF");
}
}
else
@ -181,16 +385,16 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[5] != true)
{
this.CollectionIsSensorBoardError[5] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard6Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard6Error, "ON");
}
}
// 알람 11-센서보드5 에러
if (sValue3[1] == '0')
// 알람 13-센서보드5 에러
if (sValue4[3] == '0')
{
if (this.CollectionIsSensorBoardError[4] != false)
{
this.CollectionIsSensorBoardError[4] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard5Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard5Error, "OFF");
}
}
else
@ -198,16 +402,17 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[4] != true)
{
this.CollectionIsSensorBoardError[4] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard5Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard5Error, "ON");
}
}
// 알람 10-센서보드4 에러
if (sValue3[2] == '0')
// 알람 12-센서보드4 에러
if (sValue3[0] == '0')
{
if (this.CollectionIsSensorBoardError[3] != false)
{
this.CollectionIsSensorBoardError[3] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard4Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard4Error, "OFF");
}
}
else
@ -215,16 +420,16 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[3] != true)
{
this.CollectionIsSensorBoardError[3] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard4Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard4Error, "ON");
}
}
// 알람 9-센서보드3 에러
if (sValue3[3] == '0')
// 알람 11-센서보드3 에러
if (sValue3[1] == '0')
{
if (this.CollectionIsSensorBoardError[2] != false)
{
this.CollectionIsSensorBoardError[2] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard3Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard3Error, "OFF");
}
}
else
@ -232,17 +437,16 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[2] != true)
{
this.CollectionIsSensorBoardError[2] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard3Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard3Error, "ON");
}
}
// 알람 8-센서보드2 에러
if (sValue2[0] == '0')
// 알람 10-센서보드2 에러
if (sValue3[2] == '0')
{
if (this.CollectionIsSensorBoardError[1] != false)
{
this.CollectionIsSensorBoardError[1] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a8_SensorBoard2Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard2Error, "OFF");
}
}
else
@ -250,16 +454,16 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[1] != true)
{
this.CollectionIsSensorBoardError[1] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a8_SensorBoard2Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard2Error, "ON");
}
}
// 알람 7-센서보드1 에러
if (sValue2[1] == '0')
// 알람 9-센서보드1 에러
if (sValue3[3] == '0')
{
if (this.CollectionIsSensorBoardError[0] != false)
{
this.CollectionIsSensorBoardError[0] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a7_SensorBoard1Error, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard1Error, "OFF");
}
}
else
@ -267,16 +471,56 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[0] != true)
{
this.CollectionIsSensorBoardError[0] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a7_SensorBoard1Error, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard1Error, "ON");
}
}
// 알람 6-압력에러
// 알람 8-
if (sValue2[0] == '0')
{
}
else
{
}
// 알람 7-
if (sValue2[1] == '0')
{
}
else
{
}
// 알람 6-
if (sValue2[2] == '0')
{
}
else
{
}
// 알람 5-압력게이지 에러
if (sValue2[3] == '0')
{
if (this.IsPressureSensorError != false)
{
this.IsPressureSensorError = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_PressureSensorError, "OFF");
}
}
else
{
if (this.IsPressureSensorError != true)
{
this.IsPressureSensorError = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_PressureSensorError, "ON");
}
}
// 알람 4-압력에러
if (sValue1[0] == '0')
{
if (this.IsPressureError != false)
{
this.IsPressureError = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a6_PressureError, "OFF");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_PressureError, "OFF");
}
}
else
@ -284,76 +528,41 @@ namespace INT_PT002.DataStore
if (this.IsPressureError != true)
{
this.IsPressureError = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a6_PressureError, "ON");
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_PressureError, "ON");
}
}
// 알람 5-서보2 토크
if (sValue2[3] == '0')
{
if (this.IsServoTorque2AlarmTorque != false)
{
this.IsServoTorque2AlarmTorque = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_Servo2TorqueAlarm, "OFF");
}
}
else
{
if (this.IsServoTorque2AlarmTorque != true)
{
this.IsServoTorque2AlarmTorque = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_Servo2TorqueAlarm, "ON");
}
}
// 알람 4-서보1 토크
if (sValue1[0] == '0')
{
if (this.IsServoTorque1AlarmTorque != false)
{
this.IsServoTorque1AlarmTorque = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_Servo1TorqueAlarm, "OFF");
}
}
else
{
if (this.IsServoTorque1AlarmTorque != true)
{
this.IsServoTorque1AlarmTorque = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_Servo1TorqueAlarm, "ON");
}
}
// 알람 3-서보2 알람
// 알람 3-서보 토크
if (sValue1[1] == '0')
{
if (this.IsServo2Alarm != false)
if (this.IsServoTorqueAlarmTorque != false)
{
this.IsServo2Alarm = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_Servo2Alarm, "OFF");
this.IsServoTorqueAlarmTorque = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_ServoTorqueAlarm, "OFF");
}
}
else
{
if (this.IsServo2Alarm != true)
if (this.IsServoTorqueAlarmTorque != true)
{
this.IsServo2Alarm = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_Servo2Alarm, "ON");
this.IsServoTorqueAlarmTorque = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_ServoTorqueAlarm, "ON");
}
}
// 알람 2-서보1 알람
// 알람 2-서보 알람
if (sValue1[2] == '0')
{
if (this.IsServo1Alarm != false)
if (this.IsServoAlarm != false)
{
this.IsServo1Alarm = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_Servo1Alarm, "OFF");
this.IsServoAlarm = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_ServoAlarm, "OFF");
}
}
else
{
if (this.IsServo1Alarm != true)
if (this.IsServoAlarm != true)
{
this.IsServo1Alarm = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_Servo1Alarm, "ON");
this.IsServoAlarm = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_ServoAlarm, "ON");
}
}
// 알람 1-서보OFF

View File

@ -93,35 +93,37 @@ namespace INT_PT002.DataStore
public static readonly string _2301_OverRange = "2301";
// 진공시간
public static readonly string _5504_VacuumRelief = "5504";
public static readonly string _5504_VacuumStart = "5504";
// 진공유지시간1
public static readonly string _5505_VacuumHold1 = "5505";
// 진공유지시간2
public static readonly string _5506_VacuumHold2 = "5506";
// 진공파기시간
public static readonly string _5507_VacuumBlowoff = "5507";
public static readonly string _5507_VacuumBreak = "5507";
// 동작 지연시간
public static readonly string _5508_CuttingWait = "5508";
// 변위센서 - std level
public static readonly string _5509_DispStdLevel = "5509";
// 변위센서 - min level
public static readonly string _5510_DispMinLevel = "5510";
// 변위센서 - Max Diff
public static readonly string _5509_DispMaxDiff = "5509";
// 변위센서 - Min Hight
public static readonly string _5510_DispMinHight = "5510";
// 변위센서 - empty level
public static readonly string _5511_DispEmptyLevel = "5511";
// 변위센서 - delay
public static readonly string _5512_DispHoldDelay = "5512";
// 차압센서 - lr second
public static readonly string _5513_DiffLrSecond = "5513";
// 차압센서 - lr total
public static readonly string _5514_DiffLrTotal = "5514";
// 차압센서 - lr mean
public static readonly string _5515_DiffLrMean = "5515";
//
public static readonly string _5512_ = "5512";
// 차압센서 - Lr Limit
public static readonly string _5513_DiffLrLimit = "5513";
// 차압센서 -
public static readonly string _5514_ = "5514";
// 차압센서 -
public static readonly string _5515_ = "5515";
// 차압센서 - delay
public static readonly string _5516_DiffHoldDelay = "5516";
// 압력게이지 기준압력
public static readonly string _5517_VacuumGaugeStdLevel = "5517";
// 변위센서 - OPT1
public static readonly string _5518_DispOPT1 = "5518";
// 변위센서 - 사용유무
public static readonly string _5518_DispSensorEnable = "5518";
// 차압센서 - Cycle
public static readonly string _5519_DiffCycle = "5519";
// 옵션 - 부저 동작 시간
public static readonly string _6001_BuzzerOP = "6001";

View File

@ -1,4 +1,5 @@
using System;
using System.Drawing;
using System.Linq;
using System.Collections.Generic;
using System.Text;
@ -7,6 +8,16 @@ namespace INT_PT002.DataStore
{
public class Define
{
public static readonly Color ColorSelected = Color.MediumSeaGreen;
public static readonly Color ColorNoneSelected = Color.White;
public static readonly Color ColorProgressOff = Color.Azure;
public static readonly Color ColorProgressOn = Color.Lime;
public static readonly Color ColorResultPass = Color.Green;
public static readonly Color ColorResultNG = Color.Red;
public static readonly Color ColorResultNone = Color.White;
public delegate void EventHandlerAlarmStateChange(Define.E_TrackingAlarm alarm, string status);
public enum E_EquipmentStatus
@ -68,6 +79,7 @@ namespace INT_PT002.DataStore
_2_Equipment,
_3_Ethernet,
_4_Equipment1,
_5_Setting,
}
public enum E_DisplayModeStore
@ -82,8 +94,8 @@ namespace INT_PT002.DataStore
LogHistory,
LogAlarm,
Information,
Equipment,
Ethernet,
Equipment,
Equipment1,
}
@ -187,17 +199,14 @@ namespace INT_PT002.DataStore
Pressure,
Disp_STD,
Disp_IPH1,
Disp_IPH2,
Disp_Min1,
Disp_Min2,
Disp_WaitingTime,
Disp_OPT1,
Disp_EmptyLevel,
Disp_MaxDiff,
Disp_MinHight,
Disp_Enable,
Diff_SEC,
Diff_AVG,
Diff_SUM,
Diff_WaitingTime,
Diff_LrLimit,
Diff_Cycle,
Diff_HoldDelay,
P_reliefTime,
P_HlodingTime,
@ -243,21 +252,35 @@ namespace INT_PT002.DataStore
{
None,
a1_ServoEmergencyStop,
a2_Servo1Alarm,
a3_Servo2Alarm,
a4_Servo1TorqueAlarm,
a5_Servo2TorqueAlarm,
a6_PressureError,
a7_SensorBoard1Error,
a8_SensorBoard2Error,
a9_SensorBoard3Error,
a10_SensorBoard4Error,
a11_SensorBoard5Error,
a12_SensorBoard6Error,
a13_SensorBoard7Error,
a14_SensorBoard8Error,
a15_SensorBoard9Error,
a16_SensorBoard10Error,
a2_ServoAlarm,
a3_ServoTorqueAlarm,
a4_PressureError,
a5_PressureSensorError,
a6_,
a7_,
a8_,
a9_SensorBoard1Error,
a10_SensorBoard2Error,
a11_SensorBoard3Error,
a12_SensorBoard4Error,
a13_SensorBoard5Error,
a14_SensorBoard6Error,
a15_SensorBoard7Error,
a16_SensorBoard8Error,
a17_SensorBoard9Error,
a18_SensorBoard10Error,
a19_,
a20_,
a21_DisplacementSensor1Error,
a22_DisplacementSensor2Error,
a23_DisplacementSensor3Error,
a24_DisplacementSensor4Error,
a25_DisplacementSensor5Error,
a26_DisplacementSensor6Error,
a27_DisplacementSensor7Error,
a28_DisplacementSensor8Error,
a29_DisplacementSensor9Error,
a30_DisplacementSensor10Error,
}
public enum E_TrackingType

View File

@ -12,9 +12,9 @@ namespace INT_PT002.DataStore
{
#region Field
private string m_MAdc;
private string m_SecBufDiff;
private string m_SecBuf;
private string m_SecBufSum;
private string m_DiffMean;
private string m_SecBufMax;
#endregion
#region Constructor
@ -30,20 +30,20 @@ namespace INT_PT002.DataStore
get { return this.m_MAdc; }
set { this.m_MAdc = value; }
}
public string SecBufDiff
public string SecBuf
{
get { return this.m_SecBufDiff; }
set { this.m_SecBufDiff = value; }
get { return this.m_SecBuf; }
set { this.m_SecBuf = value; }
}
public string SecBufSum
{
get { return this.m_SecBufSum; }
set { this.m_SecBufSum = value; }
}
public string DiffMean
public string SecBufMax
{
get { return this.m_DiffMean; }
set { this.m_DiffMean = value; }
get { return this.m_SecBufMax; }
set { this.m_SecBufMax = value; }
}
#endregion
@ -51,9 +51,9 @@ namespace INT_PT002.DataStore
private void Initialize()
{
this.MAdc = "0.00";
this.SecBufDiff = "0.00";
this.SecBuf = "0.00";
this.SecBufSum = "0.00";
this.DiffMean = "0.00";
this.SecBufMax = "0.00";
}
#endregion
}

View File

@ -14,7 +14,7 @@ namespace INT_PT002.DataStore
private string m_RData;
private string m_MData;
private string m_MDataDiff;
private string m_STD;
private string m_MDataMax;
#endregion
#region Constructor
@ -40,10 +40,10 @@ namespace INT_PT002.DataStore
get { return this.m_MDataDiff; }
set { this.m_MDataDiff = value; }
}
public string STD
public string MDataMax
{
get { return this.m_STD; }
set { this.m_STD = value; }
get { return this.m_MDataMax; }
set { this.m_MDataMax = value; }
}
#endregion
@ -53,7 +53,7 @@ namespace INT_PT002.DataStore
this.RData = "0.00";
this.MData = "0.00";
this.MDataDiff = "0.00";
this.STD = "0.00";
this.MDataMax = "0.00";
}
#endregion
}

View File

@ -148,7 +148,7 @@ namespace INT_PT002.DataStore
#endregion
#region Method
public void Initialize()
private void Initialize()
{
this.ProcessStatus = Define.E_ProcessStatus._0_None;
this.Judgment = Define.E_JudgmentStatus.None;
@ -156,6 +156,13 @@ namespace INT_PT002.DataStore
this.DiffData = new DiffData();
this.PresData = new PressureData();
}
public void Initialize1()
{
this.Judgment = Define.E_JudgmentStatus.None;
this.DispData = new DispData();
this.DiffData = new DiffData();
this.PresData = new PressureData();
}
#endregion
}
}

View File

@ -6,30 +6,28 @@ using System.Text;
namespace INT_PT002.DataStore
{
#region Recipe
public class Recipe
{
#region Field
private int m_NUMBER;
private string m_NAME;
private string m_LOT;
private string m_DISP_JUDG_STD_LEVEL;
private string m_DISP_JUDG_MIN_LEVEL1;
private string m_DISP_JUDG_MIN_LEVEL2;
private string m_DISP_JUDG_EMPTY_LEVEL1;
private string m_DISP_JUDG_EMPTY_LEVEL2;
private int m_DISP_HOLD_DELAY_MSEC;
private bool m_DISP_OPT1;
private string m_DIFF_LR_LIMIT;
private string m_DIFF_LR_DELAY_SEC;
private int m_DIFF_LR_CYCLE;
private string m_DIFF_LR_SECOND;
private string m_DIFF_LR_TOTAL;
private string m_DIFF_LR_MEAN;
private int m_DIFF_HOLD_DELAY_MSEC;
private string m_DISP_JUDG_EMPTY_LEVEL;
private string m_DISP_JUDG_MAX_DIFF;
private string m_DISP_JUDG_MIN_HEIGHT;
private bool m_DISP_JUDG_ENABLE;
private int m_VACUUM_RELIEF;
private int m_VACUUM_HOLD1;
private int m_VACUUM_HOLD2;
private int m_VACUUM_BLOWOFF;
private int m_VACUUM_START_SEC;
private int m_VACUUM_HOLD1_SEC;
private int m_VACUUM_HOLD2_SEC;
private int m_VACUUM_BREAK_SEC;
private string m_VACUUM_GUAGE_LEVEL;
#endregion
@ -46,6 +44,7 @@ namespace INT_PT002.DataStore
get { return this.m_NUMBER; }
set { this.m_NUMBER = value; }
}
public string NAME
{
get { return this.m_NAME; }
@ -57,82 +56,62 @@ namespace INT_PT002.DataStore
set { this.m_LOT = value; }
}
public string DISP_JUDG_STD_LEVEL
public string DIFF_LR_LIMIT
{
get { return this.m_DISP_JUDG_STD_LEVEL; }
set { this.m_DISP_JUDG_STD_LEVEL = value; }
get { return this.m_DIFF_LR_LIMIT; }
set { this.m_DIFF_LR_LIMIT = value; }
}
public string DISP_JUDG_MIN_LEVEL1
public string DIFF_LR_DELAY_SEC
{
get { return this.m_DISP_JUDG_MIN_LEVEL1; }
set { this.m_DISP_JUDG_MIN_LEVEL1 = value; }
get { return this.m_DIFF_LR_DELAY_SEC; }
set { this.m_DIFF_LR_DELAY_SEC = value; }
}
public string DISP_JUDG_MIN_LEVEL2
public int DIFF_LR_CYCLE
{
get { return this.m_DISP_JUDG_MIN_LEVEL2; }
set { this.m_DISP_JUDG_MIN_LEVEL2 = value; }
}
public string DISP_JUDG_EMPTY_LEVEL1
{
get { return this.m_DISP_JUDG_EMPTY_LEVEL1; }
set { this.m_DISP_JUDG_EMPTY_LEVEL1 = value; }
}
public string DISP_JUDG_EMPTY_LEVEL2
{
get { return this.m_DISP_JUDG_EMPTY_LEVEL2; }
set { this.m_DISP_JUDG_EMPTY_LEVEL2 = value; }
}
public int DISP_HOLD_DELAY_MSEC
{
get { return this.m_DISP_HOLD_DELAY_MSEC; }
set { this.m_DISP_HOLD_DELAY_MSEC = value; }
}
public bool DISP_OPT1
{
get { return this.m_DISP_OPT1; }
set { this.m_DISP_OPT1 = value; }
get { return this.m_DIFF_LR_CYCLE; }
set { this.m_DIFF_LR_CYCLE = value; }
}
public string DIFF_LR_SECOND
public string DISP_JUDG_EMPTY_LEVEL
{
get { return this.m_DIFF_LR_SECOND; }
set { this.m_DIFF_LR_SECOND = value; }
get { return this.m_DISP_JUDG_EMPTY_LEVEL; }
set { this.m_DISP_JUDG_EMPTY_LEVEL = value; }
}
public string DIFF_LR_TOTAL
public string DISP_JUDG_MAX_DIFF
{
get { return this.m_DIFF_LR_TOTAL; }
set { this.m_DIFF_LR_TOTAL = value; }
get { return this.m_DISP_JUDG_MAX_DIFF; }
set { this.m_DISP_JUDG_MAX_DIFF = value; }
}
public string DIFF_LR_MEAN
public string DISP_JUDG_MIN_HEIGHT
{
get { return this.m_DIFF_LR_MEAN; }
set { this.m_DIFF_LR_MEAN = value; }
get { return this.m_DISP_JUDG_MIN_HEIGHT; }
set { this.m_DISP_JUDG_MIN_HEIGHT = value; }
}
public int DIFF_HOLD_DELAY_MSEC
public bool DISP_JUDG_ENABLE
{
get { return this.m_DIFF_HOLD_DELAY_MSEC; }
set { this.m_DIFF_HOLD_DELAY_MSEC = value; }
get { return this.m_DISP_JUDG_ENABLE; }
set { this.m_DISP_JUDG_ENABLE = value; }
}
public int VACUUM_RELIEF
public int VACUUM_START_SEC
{
get { return this.m_VACUUM_RELIEF; }
set { this.m_VACUUM_RELIEF = value; }
get { return this.m_VACUUM_START_SEC; }
set { this.m_VACUUM_START_SEC = value; }
}
public int VACUUM_HOLD1
public int VACUUM_HOLD1_SEC
{
get { return this.m_VACUUM_HOLD1; }
set { this.m_VACUUM_HOLD1 = value; }
get { return this.m_VACUUM_HOLD1_SEC; }
set { this.m_VACUUM_HOLD1_SEC = value; }
}
public int VACUUM_HOLD2
public int VACUUM_HOLD2_SEC
{
get { return this.m_VACUUM_HOLD2; }
set { this.m_VACUUM_HOLD2 = value; }
get { return this.m_VACUUM_HOLD2_SEC; }
set { this.m_VACUUM_HOLD2_SEC = value; }
}
public int VACUUM_BLOWOFF
public int VACUUM_BREAK_SEC
{
get { return this.m_VACUUM_BLOWOFF; }
set { this.m_VACUUM_BLOWOFF = value; }
get { return this.m_VACUUM_BREAK_SEC; }
set { this.m_VACUUM_BREAK_SEC = value; }
}
public string VACUUM_GUAGE_LEVEL
{
@ -145,30 +124,27 @@ namespace INT_PT002.DataStore
public void Initialize()
{
this.NUMBER = 1;
this.NAME = "INTECH 1";
this.LOT = "LOT 1";
this.NAME = "INTECH";
this.LOT = "LOT";
this.DISP_JUDG_STD_LEVEL = "0.15";
this.DISP_JUDG_MIN_LEVEL1 = "2.50";
this.DISP_JUDG_MIN_LEVEL2 = "2.50";
this.DISP_JUDG_EMPTY_LEVEL1 = "80.00";
this.DISP_JUDG_EMPTY_LEVEL2 = "80.00";
this.DISP_HOLD_DELAY_MSEC = 100;
this.DISP_OPT1 = false;
this.DIFF_LR_LIMIT = "10.00";
this.DIFF_LR_DELAY_SEC = "0.5";
this.DIFF_LR_CYCLE = 5;
this.DIFF_LR_SECOND = "500.00";
this.DIFF_LR_TOTAL = "5000.00";
this.DIFF_LR_MEAN = "2.00";
this.DIFF_HOLD_DELAY_MSEC = 1500;
this.DISP_JUDG_EMPTY_LEVEL = "70.00";
this.DISP_JUDG_MAX_DIFF = "0.5";
this.DISP_JUDG_MIN_HEIGHT = "3.00";
this.DISP_JUDG_ENABLE = true;
this.VACUUM_RELIEF = 20;
this.VACUUM_HOLD1 = 40;
this.VACUUM_HOLD2 = 1;
this.VACUUM_BLOWOFF = 5;
this.VACUUM_GUAGE_LEVEL = "-88.0";
this.VACUUM_START_SEC = 20;
this.VACUUM_HOLD1_SEC = 15;
this.VACUUM_HOLD2_SEC = 1;
this.VACUUM_BREAK_SEC = 5;
this.VACUUM_GUAGE_LEVEL = "-85.0";
}
#endregion
}
#endregion
#region StructRecipe
[StructLayout(LayoutKind.Sequential)]
@ -181,30 +157,23 @@ namespace INT_PT002.DataStore
public string LOT;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DISP_JUDG_STD_LEVEL;
public string DIFF_LR_LIMIT;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DISP_JUDG_MIN_LEVEL1;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DISP_JUDG_MIN_LEVEL2;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DISP_JUDG_EMPTY_LEVEL1;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DISP_JUDG_EMPTY_LEVEL2;
public int DISP_HOLD_DELAY_MSEC;
public bool DISP_OPT1;
public string DIFF_LR_DELAY_SEC;
public int DIFF_LR_CYCLE;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DIFF_LR_SECOND;
public string DISP_JUDG_EMPTY_LEVEL;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DIFF_LR_TOTAL;
public string DISP_JUDG_MAX_DIFF;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
public string DIFF_LR_MEAN;
public int DIFF_HOLD_DELAY_MSEC;
public string DISP_JUDG_MIN_HEIGHT;
public bool DISP_JUDG_ENABLE;
public int VACUUM_RELIEF;
public int VACUUM_HOLD1;
public int VACUUM_HOLD2;
public int VACUUM_BLOWOFF;
public int VACUUM_START_SEC;
public int VACUUM_HOLD1_SEC;
public int VACUUM_HOLD2_SEC;
public int VACUUM_BREAK_SEC;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 10)]
public string VACUUM_GUAGE_LEVEL;
}

View File

@ -38,7 +38,7 @@ namespace INT_PT002.DialogForms
#endregion
#region Constructor
public DialogFormProgressBar(int code, Define.E_LanguageID language)
public DialogFormProgressBar(int code, Define.E_LanguageID language, FormMain parent)
{
InitializeComponent();
@ -46,6 +46,7 @@ namespace INT_PT002.DialogForms
this.labelMessage1.Text = "";
this.labelMessage2.Text = "";
this.ParentForm = parent;
this.Code = code;
this.Language = language;
this.buttonCancel.Visible = false;
@ -91,7 +92,7 @@ namespace INT_PT002.DialogForms
}
}
public DialogFormProgressBar(int code, Define.E_LanguageID language, UpdateForMainBoard updateForMain)
public DialogFormProgressBar(int code, Define.E_LanguageID language, UpdateForMainBoard updateForMain, FormMain parent)
{
InitializeComponent();
@ -99,6 +100,7 @@ namespace INT_PT002.DialogForms
this.labelMessage1.Text = "";
this.labelMessage2.Text = "";
this.ParentForm = parent;
this.Code = code;
this.UpdateForMain = updateForMain;
this.Language = language;
@ -531,7 +533,11 @@ namespace INT_PT002.DialogForms
}
this.Refresh();
if (this.Code == 1)
this.TransferData(CommunicationCommand.MainboardReboot, CommunicationID.MainBoard);
{
this.ParentForm.TransferData(CommunicationCommand.MainboardReboot, CommunicationID.MainBoard);
//this.smartTimerReboot.Start();
}
this.smartTimerReboot.Start();
}
#endregion

View File

@ -55,6 +55,8 @@ namespace INT_PT002.Forms
public SystemConfiguration SystemConfig;
// Current Recipe
public Recipe CurrentRecipe;
// Loading Recipe
private Recipe LoadingRecipe;
// Leak Data
private LeakData CurrentLeakData;
public Collection<LeakData1> CurrentLeakDatas;
@ -68,8 +70,7 @@ namespace INT_PT002.Forms
private AlarmList CurrentAlarmList;
// Modbus
public Modbus Modbus;
// Loading Recipe
private Recipe LoadingRecipe;
// Modbus Data
public _30000_ModbusData Current30000ModbusData;
@ -289,6 +290,7 @@ namespace INT_PT002.Forms
break;
}
}
this.ChildFormMainDisplay3.InitialEthernetIcon();
}
}
@ -363,60 +365,30 @@ namespace INT_PT002.Forms
this.LoadRecipeFile(ref this.LoadingRecipe, number - 1);
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.NUMBER.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_RELIEF.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_HOLD1.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_HOLD2.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_BLOWOFF.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_START_SEC.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_HOLD1_SEC.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_HOLD2_SEC.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_BREAK_SEC.ToString()));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_HOLD_DELAY_MSEC.ToString()));
sb.Append(Helper.StringBlankFillDigits6(this.LoadingRecipe.DISP_JUDG_MAX_DIFF));
sb.Append(Helper.StringBlankFillDigits6(this.LoadingRecipe.DISP_JUDG_MIN_HEIGHT));
sb.Append(Helper.StringBlankFillDigits6(this.LoadingRecipe.DISP_JUDG_EMPTY_LEVEL));
sb.Append(Helper.StringBlankFillDigits8(this.LoadingRecipe.DIFF_LR_SECOND));
sb.Append(Helper.StringBlankFillDigits8(this.LoadingRecipe.DIFF_LR_TOTAL));
sb.Append(Helper.StringBlankFillDigits8(this.LoadingRecipe.DIFF_LR_MEAN));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DIFF_HOLD_DELAY_MSEC.ToString()));
sb.Append(Helper.StringBlankFillDigits6(this.LoadingRecipe.DIFF_LR_LIMIT));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DIFF_LR_DELAY_SEC));
sb.Append(Helper.StringBlankFillDigits6(this.LoadingRecipe.VACUUM_GUAGE_LEVEL));
if (this.LoadingRecipe.DISP_OPT1 == false)
if (this.LoadingRecipe.DISP_JUDG_ENABLE == false)
value = "0";
else
value = "1";
sb.Append(Helper.StringBlankFillDigits4(value));
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DIFF_LR_CYCLE.ToString()));
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9043_RecipeParameter, sb.ToString());
}
public void TransferRecipeParameter5510_A()
{
StringBuilder sb = new StringBuilder();
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_MIN_LEVEL1.ToString()));
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard1, CommunicationAddress._5510_DispMinLevel, sb.ToString());
}
public void TransferRecipeParameter5510_B()
{
StringBuilder sb = new StringBuilder();
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_MIN_LEVEL2.ToString()));
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard2, CommunicationAddress._5510_DispMinLevel, sb.ToString());
}
public void TransferRecipeParameter5511_A()
{
StringBuilder sb = new StringBuilder();
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_EMPTY_LEVEL1.ToString()));
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard1, CommunicationAddress._5511_DispEmptyLevel, sb.ToString());
}
public void TransferRecipeParameter5511_B()
{
StringBuilder sb = new StringBuilder();
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_EMPTY_LEVEL2.ToString()));
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard2, CommunicationAddress._5511_DispEmptyLevel, sb.ToString());
}
public void FormChange(int index)
{
@ -775,23 +747,19 @@ namespace INT_PT002.Forms
structItem.NAME = string.Format("INTECH {0}", i + 1);
structItem.LOT = string.Format("LOT {0}", i + 1);
structItem.DISP_JUDG_STD_LEVEL = this.CurrentRecipe.DISP_JUDG_STD_LEVEL;
structItem.DISP_JUDG_MIN_LEVEL1 = this.CurrentRecipe.DISP_JUDG_MIN_LEVEL1;
structItem.DISP_JUDG_MIN_LEVEL2 = this.CurrentRecipe.DISP_JUDG_MIN_LEVEL2;
structItem.DISP_JUDG_EMPTY_LEVEL1 = this.CurrentRecipe.DISP_JUDG_EMPTY_LEVEL1;
structItem.DISP_JUDG_EMPTY_LEVEL2 = this.CurrentRecipe.DISP_JUDG_EMPTY_LEVEL2;
structItem.DISP_HOLD_DELAY_MSEC = this.CurrentRecipe.DISP_HOLD_DELAY_MSEC;
structItem.DISP_OPT1 = this.CurrentRecipe.DISP_OPT1;
structItem.DIFF_LR_LIMIT = this.CurrentRecipe.DIFF_LR_LIMIT;
structItem.DIFF_LR_DELAY_SEC = this.LoadingRecipe.DIFF_LR_DELAY_SEC;
structItem.DIFF_LR_CYCLE = this.LoadingRecipe.DIFF_LR_CYCLE;
structItem.DIFF_LR_SECOND = this.CurrentRecipe.DIFF_LR_SECOND;
structItem.DIFF_LR_TOTAL = this.CurrentRecipe.DIFF_LR_TOTAL;
structItem.DIFF_LR_MEAN = this.CurrentRecipe.DIFF_LR_MEAN;
structItem.DIFF_HOLD_DELAY_MSEC = this.CurrentRecipe.DIFF_HOLD_DELAY_MSEC;
structItem.DISP_JUDG_EMPTY_LEVEL = this.LoadingRecipe.DISP_JUDG_EMPTY_LEVEL;
structItem.DISP_JUDG_ENABLE = this.LoadingRecipe.DISP_JUDG_ENABLE;
structItem.DISP_JUDG_MAX_DIFF = this.LoadingRecipe.DISP_JUDG_MAX_DIFF;
structItem.DISP_JUDG_MIN_HEIGHT = this.LoadingRecipe.DISP_JUDG_MIN_HEIGHT;
structItem.VACUUM_RELIEF = this.CurrentRecipe.VACUUM_RELIEF;
structItem.VACUUM_HOLD1 = this.CurrentRecipe.VACUUM_HOLD1;
structItem.VACUUM_HOLD2 = this.CurrentRecipe.VACUUM_HOLD2;
structItem.VACUUM_BLOWOFF = this.CurrentRecipe.VACUUM_BLOWOFF;
structItem.VACUUM_START_SEC = this.CurrentRecipe.VACUUM_START_SEC;
structItem.VACUUM_HOLD1_SEC = this.CurrentRecipe.VACUUM_HOLD1_SEC;
structItem.VACUUM_HOLD2_SEC = this.CurrentRecipe.VACUUM_HOLD2_SEC;
structItem.VACUUM_BREAK_SEC = this.CurrentRecipe.VACUUM_BREAK_SEC;
structItem.VACUUM_GUAGE_LEVEL = this.CurrentRecipe.VACUUM_GUAGE_LEVEL;
this.smartFileIO.StructType.WriteBuffer(structItem, i, SmartFile.WriteMode.Append);
@ -820,23 +788,19 @@ namespace INT_PT002.Forms
structItem.NAME = item.NAME;
structItem.LOT = item.LOT;
structItem.DISP_JUDG_STD_LEVEL = item.DISP_JUDG_STD_LEVEL;
structItem.DISP_JUDG_MIN_LEVEL1 = item.DISP_JUDG_MIN_LEVEL1;
structItem.DISP_JUDG_MIN_LEVEL2 = item.DISP_JUDG_MIN_LEVEL2;
structItem.DISP_JUDG_EMPTY_LEVEL1 = item.DISP_JUDG_EMPTY_LEVEL1;
structItem.DISP_JUDG_EMPTY_LEVEL2 = item.DISP_JUDG_EMPTY_LEVEL2;
structItem.DISP_HOLD_DELAY_MSEC = item.DISP_HOLD_DELAY_MSEC;
structItem.DISP_OPT1 = item.DISP_OPT1;
structItem.DIFF_LR_CYCLE = item.DIFF_LR_CYCLE;
structItem.DIFF_LR_DELAY_SEC = item.DIFF_LR_DELAY_SEC;
structItem.DIFF_LR_LIMIT = item.DIFF_LR_LIMIT;
structItem.DIFF_LR_SECOND = item.DIFF_LR_SECOND;
structItem.DIFF_LR_TOTAL = item.DIFF_LR_TOTAL;
structItem.DIFF_LR_MEAN = item.DIFF_LR_MEAN;
structItem.DIFF_HOLD_DELAY_MSEC = item.DIFF_HOLD_DELAY_MSEC;
structItem.DISP_JUDG_EMPTY_LEVEL = item.DISP_JUDG_EMPTY_LEVEL;
structItem.DISP_JUDG_ENABLE = item.DISP_JUDG_ENABLE;
structItem.DISP_JUDG_MAX_DIFF = item.DISP_JUDG_MAX_DIFF;
structItem.DISP_JUDG_MIN_HEIGHT = item.DISP_JUDG_MIN_HEIGHT;
structItem.VACUUM_RELIEF = item.VACUUM_RELIEF;
structItem.VACUUM_HOLD1 = item.VACUUM_HOLD1;
structItem.VACUUM_HOLD2 = item.VACUUM_HOLD2;
structItem.VACUUM_BLOWOFF = item.VACUUM_BLOWOFF;
structItem.VACUUM_START_SEC = item.VACUUM_START_SEC;
structItem.VACUUM_HOLD1_SEC = item.VACUUM_HOLD1_SEC;
structItem.VACUUM_HOLD2_SEC = item.VACUUM_HOLD2_SEC;
structItem.VACUUM_BREAK_SEC = item.VACUUM_BREAK_SEC;
structItem.VACUUM_GUAGE_LEVEL = item.VACUUM_GUAGE_LEVEL;
this.smartFileIO.StructType.Write(structItem, item.NUMBER - 1, SmartFile.WriteMode.Overwrite);
@ -866,23 +830,19 @@ namespace INT_PT002.Forms
item.NAME = structItem.NAME;
item.LOT = structItem.LOT;
item.DISP_JUDG_STD_LEVEL = structItem.DISP_JUDG_STD_LEVEL;
item.DISP_JUDG_MIN_LEVEL1 = structItem.DISP_JUDG_MIN_LEVEL1;
item.DISP_JUDG_MIN_LEVEL2 = structItem.DISP_JUDG_MIN_LEVEL2;
item.DISP_JUDG_EMPTY_LEVEL1 = structItem.DISP_JUDG_EMPTY_LEVEL1;
item.DISP_JUDG_EMPTY_LEVEL2 = structItem.DISP_JUDG_EMPTY_LEVEL2;
item.DISP_HOLD_DELAY_MSEC = structItem.DISP_HOLD_DELAY_MSEC;
item.DISP_OPT1 = structItem.DISP_OPT1;
item.DIFF_LR_CYCLE = structItem.DIFF_LR_CYCLE;
item.DIFF_LR_DELAY_SEC = structItem.DIFF_LR_DELAY_SEC;
item.DIFF_LR_LIMIT = structItem.DIFF_LR_LIMIT;
item.DIFF_LR_SECOND = structItem.DIFF_LR_SECOND;
item.DIFF_LR_TOTAL = structItem.DIFF_LR_TOTAL;
item.DIFF_LR_MEAN = structItem.DIFF_LR_MEAN;
item.DIFF_HOLD_DELAY_MSEC = structItem.DIFF_HOLD_DELAY_MSEC;
item.DISP_JUDG_EMPTY_LEVEL = structItem.DISP_JUDG_EMPTY_LEVEL;
item.DISP_JUDG_ENABLE = structItem.DISP_JUDG_ENABLE;
item.DISP_JUDG_MAX_DIFF = structItem.DISP_JUDG_MAX_DIFF;
item.DISP_JUDG_MIN_HEIGHT = structItem.DISP_JUDG_MIN_HEIGHT;
item.VACUUM_RELIEF = structItem.VACUUM_RELIEF;
item.VACUUM_HOLD1 = structItem.VACUUM_HOLD1;
item.VACUUM_HOLD2 = structItem.VACUUM_HOLD2;
item.VACUUM_BLOWOFF = structItem.VACUUM_BLOWOFF;
item.VACUUM_START_SEC = structItem.VACUUM_START_SEC;
item.VACUUM_HOLD1_SEC = structItem.VACUUM_HOLD1_SEC;
item.VACUUM_HOLD2_SEC = structItem.VACUUM_HOLD2_SEC;
item.VACUUM_BREAK_SEC = structItem.VACUUM_BREAK_SEC;
item.VACUUM_GUAGE_LEVEL = structItem.VACUUM_GUAGE_LEVEL;
this.smartFileIO.Close();
@ -1379,6 +1339,7 @@ namespace INT_PT002.Forms
this.ChangeModeRecipe = false;
#endregion
this.SaveSystemConfigurationFile(this.SystemConfig);
this.LoadRecipeFile(ref this.CurrentRecipe, this.SystemConfig.RECIPE_NUMBER - 1);
if (this.SystemConfig.EQUIPMENT_LANE == 10)
@ -1423,42 +1384,6 @@ namespace INT_PT002.Forms
if (response == Define.E_ResponseData.ACK)
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._2001_ProductNumber, "");
break;
case "5510":
if (this.ChangeModeRecipe == true)
{
switch (lane)
{
case "A":
if (response == Define.E_ResponseData.ACK)
this.TransferRecipeParameter5510_B();
break;
case "B":
if (response == Define.E_ResponseData.ACK)
this.TransferRecipeParameter5511_A();
break;
default:
break;
}
}
break;
case "5511":
if (this.ChangeModeRecipe == true)
{
switch (lane)
{
case "A":
if (response == Define.E_ResponseData.ACK)
this.TransferRecipeParameter5511_B();
break;
case "B":
if (response == Define.E_ResponseData.ACK)
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._2001_ProductNumber, "");
break;
default:
break;
}
}
break;
default:
break;
}
@ -1583,14 +1508,6 @@ namespace INT_PT002.Forms
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData10(this.CurrentLeakDatas[9]);
#endregion
break;
case "Z":
#region Value Assign
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
this.CurrentLeakData.CollJudgment[i] = Helper.StringToJudgmentStatus(receiveData.Substring(i * 1, 1));
#endregion
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData(this.CurrentLeakData);
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData(this.CurrentLeakData);
break;
default:
break;
}
@ -1695,20 +1612,6 @@ namespace INT_PT002.Forms
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring1(this.CurrentLeakDatas[8].ProcessStatus, "9");
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring2(this.CurrentLeakDatas[8].ProcessStatus, "10");
break;
case "Z":
#region Value Assign
Define.E_ProcessStatus process = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
this.CurrentLeakDatas[i].ProcessStatus = process;
#endregion
// MainDisplay
if (this.SystemConfig.EQUIPMENT_LANE == 10)
this.ChildFormMainDisplay3.UpdateDisplayProcessStatus(this.CurrentLeakDatas[0].ProcessStatus);
else
this.ChildFormMainDisplay4.UpdateDisplayProcessStatus(this.CurrentLeakDatas[0].ProcessStatus);
// Equipment
this.ChildFormMenu.UpdateDisplay_Equipment_ProcessStatus(this.CurrentLeakDatas[0].ProcessStatus);
break;
default:
break;
}
@ -1733,9 +1636,9 @@ namespace INT_PT002.Forms
#region 1열
#region Value Assign
this.CurrentLeakDatas[0].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[0].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[0].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[0].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[0].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[0].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
if (this.SystemConfig.EQUIPMENT_LANE == 1)
@ -1750,9 +1653,9 @@ namespace INT_PT002.Forms
#region 2열
#region Value Assign
this.CurrentLeakDatas[1].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[1].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[1].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[1].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[1].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[1].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData2(this.CurrentLeakDatas[1]);
@ -1764,9 +1667,9 @@ namespace INT_PT002.Forms
#region 3열
#region Value Assign
this.CurrentLeakDatas[2].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[2].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[2].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[2].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[2].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[2].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData3(this.CurrentLeakDatas[2]);
@ -1777,9 +1680,9 @@ namespace INT_PT002.Forms
#region 4열
#region Value Assign
this.CurrentLeakDatas[3].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[3].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[3].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[3].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[3].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[3].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData4(this.CurrentLeakDatas[3]);
@ -1790,9 +1693,9 @@ namespace INT_PT002.Forms
#region 5열
#region Value Assign
this.CurrentLeakDatas[4].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[4].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[4].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[4].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[4].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[4].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData5(this.CurrentLeakDatas[4]);
@ -1803,9 +1706,9 @@ namespace INT_PT002.Forms
#region 6열
#region Value Assign
this.CurrentLeakDatas[5].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[5].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[5].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[5].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[5].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[5].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData6(this.CurrentLeakDatas[5]);
@ -1816,9 +1719,9 @@ namespace INT_PT002.Forms
#region 7열
#region Value Assign
this.CurrentLeakDatas[6].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[6].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[6].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[6].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[6].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[6].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData7(this.CurrentLeakDatas[6]);
@ -1829,9 +1732,9 @@ namespace INT_PT002.Forms
#region 8열
#region Value Assign
this.CurrentLeakDatas[7].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[7].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[7].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[7].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[7].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[7].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData8(this.CurrentLeakDatas[7]);
@ -1842,9 +1745,9 @@ namespace INT_PT002.Forms
#region 9열
#region Value Assign
this.CurrentLeakDatas[8].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[8].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[8].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[8].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[8].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[8].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData9(this.CurrentLeakDatas[8]);
@ -1855,30 +1758,15 @@ namespace INT_PT002.Forms
#region 10열
#region Value Assign
this.CurrentLeakDatas[9].DiffData.MAdc = receiveData.Substring(0, 8).Trim();
this.CurrentLeakDatas[9].DiffData.SecBufDiff = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[9].DiffData.SecBuf = receiveData.Substring(8, 8).Trim();
this.CurrentLeakDatas[9].DiffData.SecBufSum = receiveData.Substring(16, 8).Trim();
this.CurrentLeakDatas[9].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
this.CurrentLeakDatas[9].DiffData.SecBufMax = receiveData.Substring(24, 8).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData10(this.CurrentLeakDatas[9]);
this.ChildFormMenu.UpdateDisplayEquipmentDiffData10(this.CurrentLeakDatas[9]);
#endregion
break;
case "Z":
#region Value Assign
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CurrentLeakData.CollDiffData[i].MAdc = receiveData.Substring(i * 32, 8).Trim();
this.CurrentLeakData.CollDiffData[i].SecBufDiff = receiveData.Substring((i * 32) + 8, 8).Trim();
this.CurrentLeakData.CollDiffData[i].SecBufSum = receiveData.Substring((i * 32) + 16, 8).Trim();
this.CurrentLeakData.CollDiffData[i].DiffMean = receiveData.Substring((i * 32) + 24, 8).Trim();
}
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDiffData(this.CurrentLeakData.CollDiffData);
this.ChildFormMenu.UpdateDisplayIOTestDiffData(this.CurrentLeakData.CollDiffData);
this.ChildFormMenu.UpdateDisplayEquipmentDiffData(this.CurrentLeakData.CollDiffData);
break;
default:
break;
}
@ -1905,7 +1793,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[0].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[0].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[0].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[0].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[0].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
if (this.SystemConfig.EQUIPMENT_LANE == 1)
@ -1922,7 +1810,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[1].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[1].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[1].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[1].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[1].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData2(this.CurrentLeakDatas[1]);
@ -1936,7 +1824,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[2].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[2].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[2].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[2].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[2].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData3(this.CurrentLeakDatas[2]);
@ -1949,7 +1837,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[3].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[3].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[3].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[3].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[3].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData4(this.CurrentLeakDatas[3]);
@ -1962,7 +1850,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[4].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[4].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[4].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[4].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[4].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData5(this.CurrentLeakDatas[4]);
@ -1975,7 +1863,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[5].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[5].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[5].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[5].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[5].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData6(this.CurrentLeakDatas[5]);
@ -1988,7 +1876,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[6].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[6].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[6].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[6].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[6].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData7(this.CurrentLeakDatas[6]);
@ -2001,7 +1889,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[7].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[7].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[7].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[7].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[7].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData8(this.CurrentLeakDatas[7]);
@ -2014,7 +1902,7 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[8].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[8].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[8].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[8].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[8].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData9(this.CurrentLeakDatas[8]);
@ -2027,28 +1915,13 @@ namespace INT_PT002.Forms
this.CurrentLeakDatas[9].DispData.RData = receiveData.Substring(0, 6).Trim();
this.CurrentLeakDatas[9].DispData.MData = receiveData.Substring(6, 6).Trim();
this.CurrentLeakDatas[9].DispData.MDataDiff = receiveData.Substring(12, 6).Trim();
this.CurrentLeakDatas[9].DispData.STD = receiveData.Substring(18, 6).Trim();
this.CurrentLeakDatas[9].DispData.MDataMax = receiveData.Substring(18, 6).Trim();
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData10(this.CurrentLeakDatas[9]);
this.ChildFormMenu.UpdateDisplayEquipmentDispData10(this.CurrentLeakDatas[9]);
#endregion
break;
case "Z":
#region Value Assign
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CurrentLeakData.CollDispData[i].RData = receiveData.Substring(i * 24, 6).Trim();
this.CurrentLeakData.CollDispData[i].MData = receiveData.Substring((i * 24) + 6, 6).Trim();
this.CurrentLeakData.CollDispData[i].MDataDiff = receiveData.Substring((i * 24) + 12, 6).Trim();
this.CurrentLeakData.CollDispData[i].STD = receiveData.Substring((i * 24) + 18, 6).Trim();
}
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayDispData(this.CurrentLeakData.CollDispData);
this.ChildFormMenu.UpdateDisplayIOTestDispData(this.CurrentLeakData.CollDispData);
this.ChildFormMenu.UpdateDisplayEquipmentDispData(this.CurrentLeakData.CollDispData);
break;
default:
break;
}
@ -2204,21 +2077,6 @@ namespace INT_PT002.Forms
this.ChildFormMenu.UpdateDisplayEquipmentPresData10(this.CurrentLeakDatas[9]);
#endregion
break;
case "Z":
#region Value Assign
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CurrentLeakData.CollPresData[i].WorkingChamber =
string.Format("{0}{1}", receiveData.Substring(i * 6, 1), receiveData.Substring((i * 6) + 1, 5).Trim());
this.CurrentLeakData.CollPresData[i].MasterChamber =
string.Format("{0}{1}", receiveData.Substring((i * 6) + 60, 1), receiveData.Substring((i * 6) + 61, 5).Trim());
}
#endregion
// 화면 표시
this.ChildFormMainDisplay3.UpdateDisplayPresData(this.CurrentLeakData.CollPresData);
this.ChildFormMenu.UpdateDisplayIOTestPresData(this.CurrentLeakData.CollPresData);
this.ChildFormMenu.UpdateDisplayEquipmentPresData(this.CurrentLeakData.CollPresData);
break;
default:
break;
}

View File

@ -587,7 +587,7 @@ namespace INT_PT002.Forms
if (this.CollectionDiffMadc[i].Text != value)
this.CollectionDiffMadc[i].Text = value;
value = datas[i].SecBufDiff;
value = datas[i].SecBuf;
if (this.CollectionDiffSecDiff[i].Text != value)
this.CollectionDiffSecDiff[i].Text = value;
@ -595,7 +595,7 @@ namespace INT_PT002.Forms
if (this.CollectionDiffSecSum[i].Text != value)
this.CollectionDiffSecSum[i].Text = value;
value = datas[i].DiffMean;
value = datas[i].SecBufMax;
if (this.CollectionDiffMean[i].Text != value)
this.CollectionDiffMean[i].Text = value;
}
@ -627,7 +627,7 @@ namespace INT_PT002.Forms
if (this.CollectionDispMDataDiff[i].Text != value)
this.CollectionDispMDataDiff[i].Text = value;
value = datas[i].STD;
value = datas[i].MDataMax;
if (this.CollectionDispSTD[i].Text != value)
this.CollectionDispSTD[i].Text = value;
}

View File

@ -551,14 +551,14 @@ namespace INT_PT002.Forms
this.smartTimerProgressBar.Stop();
break;
case Define.E_ProcessStatus._4_MoveToCheck:
this.progressBar3.Maximum = this.ParentForm.CurrentRecipe.VACUUM_RELIEF * 10;
this.progressBar3.Maximum = this.ParentForm.CurrentRecipe.VACUUM_START_SEC * 10;
this.progressBar3.Value = this.progressBar3.Maximum;
this.progressBar3.Visible = true;
this.smartTimerProgressBar.Start();
break;
case Define.E_ProcessStatus._5_ChamberMerge:
this.progressBar4.Maximum = this.ParentForm.CurrentRecipe.VACUUM_HOLD1 * 10;
this.progressBar4.Maximum = this.ParentForm.CurrentRecipe.VACUUM_HOLD1_SEC * 10;
this.progressBar4.Value = this.progressBar4.Maximum;
if (this.smartTimerProgressBar.IsStart == true)
@ -568,7 +568,7 @@ namespace INT_PT002.Forms
this.smartTimerProgressBar.Start();
break;
case Define.E_ProcessStatus._7_VacuumHold:
this.progressBar6.Maximum = this.ParentForm.CurrentRecipe.VACUUM_BLOWOFF * 10;
this.progressBar6.Maximum = this.ParentForm.CurrentRecipe.VACUUM_BREAK_SEC * 10;
this.progressBar6.Value = this.progressBar6.Maximum;
if (this.smartTimerProgressBar.IsStart == true)
@ -716,20 +716,9 @@ namespace INT_PT002.Forms
if (alarm.IsServoEmergencyStop == true)
value = "a1_Servo emergency stop ";
// Servo1Alarm
if (alarm.IsServo1Alarm == true)
if (alarm.IsServoAlarm == true)
value += "a2_Servo1 ";
// Servo2Alarm
if (alarm.IsServo2Alarm == true)
value += "a3_Servo2 ";
// ServoTorque1AlarmTorque
if (alarm.IsServoTorque1AlarmTorque == true)
value += "a4_Servo1 Torque ";
// ServoTorque2AlarmTorque
if (alarm.IsServoTorque2AlarmTorque == true)
value += "a5_Servo2 Torque ";
// PressureError
if (alarm.IsPressureError == true)
value += "a6_Pressure ";
// SB Alarm
this.CollectionLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0];
@ -780,7 +769,7 @@ namespace INT_PT002.Forms
public void UpdateDisplayDiffData(Collection<DiffData> datas)
{
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBufDiff;
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBuf;
}
public void UpdateDisplayDispData(Collection<DispData> datas)
{

File diff suppressed because it is too large Load Diff

View File

@ -42,10 +42,11 @@ namespace INT_PT002.Forms
private Collection<SmartLabel> CollectionLabelResult;
private Collection<SmartLabel> CollectionLabelPressureWorking;
private Collection<SmartLabel> CollectionLabelPressureMaster;
private Collection<SmartLabel> CollectionLabelLeakRatePerSec;
private Collection<SmartLabel> CollectionLabelDisplacement;
private Collection<SmartLabel> CollectionLabelSbAlarm;
private Collection<SmartLabel> CollectionLabelNumber;
private Collection<SmartLabel> CollectionLabelDispAlarm;
private FormMain m_ParentForm;
@ -124,18 +125,18 @@ namespace INT_PT002.Forms
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking9);
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking10);
this.CollectionLabelPressureMaster = new Collection<SmartLabel>();
this.CollectionLabelPressureMaster.Clear();
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster1);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster2);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster3);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster4);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster5);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster6);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster7);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster8);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster9);
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster10);
this.CollectionLabelDisplacement = new Collection<SmartLabel>();
this.CollectionLabelDisplacement.Clear();
this.CollectionLabelDisplacement.Add(this.labelDisplacement1);
this.CollectionLabelDisplacement.Add(this.labelDisplacement2);
this.CollectionLabelDisplacement.Add(this.labelDisplacement3);
this.CollectionLabelDisplacement.Add(this.labelDisplacement4);
this.CollectionLabelDisplacement.Add(this.labelDisplacement5);
this.CollectionLabelDisplacement.Add(this.labelDisplacement6);
this.CollectionLabelDisplacement.Add(this.labelDisplacement7);
this.CollectionLabelDisplacement.Add(this.labelDisplacement8);
this.CollectionLabelDisplacement.Add(this.labelDisplacement9);
this.CollectionLabelDisplacement.Add(this.labelDisplacement10);
this.CollectionLabelLeakRatePerSec = new Collection<SmartLabel>();
this.CollectionLabelLeakRatePerSec.Clear();
@ -176,6 +177,19 @@ namespace INT_PT002.Forms
this.CollectionLabelNumber.Add(this.labelNumber9);
this.CollectionLabelNumber.Add(this.labelNumber10);
this.CollectionLabelDispAlarm = new Collection<SmartLabel>();
this.CollectionLabelDispAlarm.Clear();
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm1);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm2);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm3);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm4);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm5);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm6);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm7);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm8);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm9);
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm10);
this.ChildControl = new ControlMainDisplay(this.ParentForm);
this.Controls.Add(this.ChildControl);
this.ChildControl.Location = new Point(0, 118);
@ -197,9 +211,10 @@ namespace INT_PT002.Forms
{
this.CollectionLabelResult[i].Visible = false;
this.CollectionLabelPressureWorking[i].Text = "0.0";
this.CollectionLabelPressureMaster[i].Text = "0.0";
this.CollectionLabelDisplacement[i].Text = "0.00/0.00";
this.CollectionLabelLeakRatePerSec[i].Text = "0.0";
this.CollectionLabelSbAlarm[i].Visible = false;
this.CollectionLabelDispAlarm[i].Visible = false;
this.SetLabelNumberColor(i, this.ColorNumberUnSelected);
}
}
@ -227,8 +242,12 @@ namespace INT_PT002.Forms
private void InitializeProcessStatus()
{
this.pictureBoxProgress0_1.Visible = false;
this.pictureBoxProgress0_2.Visible = false;
this.pictureBoxProgress1_34.Visible = false;
this.pictureBoxProgress2_5.Visible = false;
this.pictureBoxProgress2_6.Visible = false;
this.pictureBoxProgress2_78.Visible = false;
this.pictureBoxProgress2_910.Visible = false;
this.pictureBoxProgress3_11.Visible = false;
this.progressBar1.Value = this.progressBar1.Minimum;
@ -408,11 +427,16 @@ namespace INT_PT002.Forms
break;
}
// button Color
this.buttonRecipeNo.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonRecipeNo.Enabled);
this.buttonClear.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonClear.Enabled);
this.buttonInspection.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonInspection.Enabled);
this.buttonMenu.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonMenu.Enabled);
if (this.buttonInspection.Enabled == true)
this.buttonInspection.ButtonColor = Color.DarkGreen;
else
this.buttonInspection.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonInspection.Enabled);
expireDate = this.DisplayExpireOfPassword(user.Group);
if (expireDate != "-")
{
@ -791,21 +815,18 @@ namespace INT_PT002.Forms
// ServoEmergencyStop
if (alarm.IsServoEmergencyStop == true)
value = "a1_Servo emergency stop ";
// Servo1Alarm
if (alarm.IsServo1Alarm == true)
value += "a2_Servo1 ";
// Servo2Alarm
if (alarm.IsServo2Alarm == true)
value += "a3_Servo2 ";
// ServoTorque1AlarmTorque
if (alarm.IsServoTorque1AlarmTorque == true)
value += "a4_Servo1 Torque ";
// ServoTorque2AlarmTorque
if (alarm.IsServoTorque2AlarmTorque == true)
value += "a5_Servo2 Torque ";
// ServoAlarm
if (alarm.IsServoAlarm == true)
value += "a2_Servo ";
// ServoTorqueAlarmTorque
if (alarm.IsServoTorqueAlarmTorque == true)
value += "a3_Servo Torque ";
// PressureError
if (alarm.IsPressureError == true)
value += "a6_Pressure ";
value += "a4_Pressure ";
// PressureSensorError
if (alarm.IsPressureError == true)
value += "a5_Pressure Sensor ";
// SB Alarm
this.CollectionLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0];
@ -819,6 +840,18 @@ namespace INT_PT002.Forms
this.CollectionLabelSbAlarm[8].Visible = alarm.CollectionIsSensorBoardError[8];
this.CollectionLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9];
// Displacement Alarm
this.CollectionLabelDispAlarm[0].Visible = alarm.CollectionIsDisplacementSensorError[0];
this.CollectionLabelDispAlarm[1].Visible = alarm.CollectionIsDisplacementSensorError[1];
this.CollectionLabelDispAlarm[2].Visible = alarm.CollectionIsDisplacementSensorError[2];
this.CollectionLabelDispAlarm[3].Visible = alarm.CollectionIsDisplacementSensorError[3];
this.CollectionLabelDispAlarm[4].Visible = alarm.CollectionIsDisplacementSensorError[4];
this.CollectionLabelDispAlarm[5].Visible = alarm.CollectionIsDisplacementSensorError[5];
this.CollectionLabelDispAlarm[6].Visible = alarm.CollectionIsDisplacementSensorError[6];
this.CollectionLabelDispAlarm[7].Visible = alarm.CollectionIsDisplacementSensorError[7];
this.CollectionLabelDispAlarm[8].Visible = alarm.CollectionIsDisplacementSensorError[8];
this.CollectionLabelDispAlarm[9].Visible = alarm.CollectionIsDisplacementSensorError[9];
value = value.Trim();
this.labelAlarm.Size = new Size(value.Length * 9, 30);
this.labelAlarm.Text = value;
@ -835,7 +868,6 @@ namespace INT_PT002.Forms
}
}
private void ProcessStatusPicturBox(Define.E_ProcessStatus status)
{
switch (status)
@ -1028,6 +1060,9 @@ namespace INT_PT002.Forms
case Define.E_ProcessStatus._1_Ready:
this.ProcessStatusStep1(status);
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
this.ParentForm.CurrentLeakDatas[i].ProcessStatus = Define.E_ProcessStatus._1_Ready;
this.pictureBoxProgress0_1.Visible = true;
this.pictureBoxProgress0_1.BringToFront();
this.pictureBoxProgress0_2.Visible = false;
@ -1042,6 +1077,18 @@ namespace INT_PT002.Forms
this.InitializeData();
this.ProcessStatusStep1(status);
// Modbus
if (this.ParentForm.SystemConfig.ETHERNET_COMM_MODE == 1)
{
this.ParentForm.Current30000ModbusData.Initialization();
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.ParentForm.Current30000ModbusData.CollectionIsProcessing[i] = 0;
this.ParentForm.Current30000ModbusData.CollectionIsLeak[i] = 0;
this.ParentForm.CurrentLeakDatas[i].Initialize1();
}
}
this.pictureBoxProgress0_1.Visible = false;
this.pictureBoxProgress0_2.Visible = true;
this.pictureBoxProgress0_2.BringToFront();
@ -1123,6 +1170,9 @@ namespace INT_PT002.Forms
case Define.E_ProcessStatus._11_MoveToReady:
this.ProcessStatusStep4(status);
// Modbus
this.ParentForm.ChildFormMainDisplay3.UpdateDisplayJudgmentTrackingData(this.ParentForm.CurrentLeakDatas);
this.pictureBoxProgress0_1.Visible = false;
this.pictureBoxProgress0_2.Visible = false;
this.pictureBoxProgress1_34.Visible = false;
@ -1136,6 +1186,10 @@ namespace INT_PT002.Forms
default:
break;
}
// Modbus
if (this.ParentForm.SystemConfig.ETHERNET_COMM_MODE == 1)
this.ParentForm.Update30000ModbusItem();
}
public void UpdateDisplayProcessStatus1(Define.E_ProcessStatus status)
{
@ -1197,170 +1251,152 @@ namespace INT_PT002.Forms
}
// 차압센서 데이터
public void UpdateDisplayDiffData(Collection<DiffData> datas)
{
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBufDiff;
}
public void UpdateDisplayDiffData1(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[0].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[0].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData2(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[1].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[1].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData3(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[2].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[2].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData4(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[3].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[3].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData5(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[4].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[4].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData6(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[5].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[5].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData7(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[6].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[6].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData8(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[7].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[7].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData9(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[8].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[8].Text = data.DiffData.SecBuf;
}
public void UpdateDisplayDiffData10(LeakData1 data)
{
this.CollectionLabelLeakRatePerSec[9].Text = data.DiffData.SecBufDiff;
this.CollectionLabelLeakRatePerSec[9].Text = data.DiffData.SecBuf;
}
// 변위센서 데이터
public void UpdateDisplayDispData(Collection<DispData> datas)
{
}
public void UpdateDisplayDispData1(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[0].Text = value;
}
public void UpdateDisplayDispData2(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[1].Text = value;
}
public void UpdateDisplayDispData3(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[2].Text = value;
}
public void UpdateDisplayDispData4(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[3].Text = value;
}
public void UpdateDisplayDispData5(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[4].Text = value;
}
public void UpdateDisplayDispData6(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[5].Text = value;
}
public void UpdateDisplayDispData7(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[6].Text = value;
}
public void UpdateDisplayDispData8(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[7].Text = value;
}
public void UpdateDisplayDispData9(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[8].Text = value;
}
public void UpdateDisplayDispData10(LeakData1 data)
{
string value = "";
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
this.CollectionLabelDisplacement[9].Text = value;
}
// 압력센서 데이터
public void UpdateDisplayPresData(Collection<PressureData> datas)
{
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CollectionLabelPressureWorking[i].Text = datas[i].WorkingChamber.Trim();
this.CollectionLabelPressureMaster[i].Text = datas[i].MasterChamber.Trim();
}
}
public void UpdateDisplayPresData1(LeakData1 data)
{
this.CollectionLabelPressureWorking[0].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[0].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData2(LeakData1 data)
{
this.CollectionLabelPressureWorking[1].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[1].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData3(LeakData1 data)
{
this.CollectionLabelPressureWorking[2].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[2].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData4(LeakData1 data)
{
this.CollectionLabelPressureWorking[3].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[3].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData5(LeakData1 data)
{
this.CollectionLabelPressureWorking[4].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[4].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData6(LeakData1 data)
{
this.CollectionLabelPressureWorking[5].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[5].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData7(LeakData1 data)
{
this.CollectionLabelPressureWorking[6].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[6].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData8(LeakData1 data)
{
this.CollectionLabelPressureWorking[7].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[7].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData9(LeakData1 data)
{
this.CollectionLabelPressureWorking[8].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[8].Text = data.PresData.MasterChamber.Trim();
}
public void UpdateDisplayPresData10(LeakData1 data)
{
this.CollectionLabelPressureWorking[9].Text = data.PresData.WorkingChamber.Trim();
this.CollectionLabelPressureMaster[9].Text = data.PresData.MasterChamber.Trim();
}
// 판정결과
public void UpdateDisplayJudgmentData(LeakData datas)
{
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
this.CollectionLabelResult[i].Visible = true;
}
this.ParentForm.TrackingInspectionData(datas);
this.ChildControl.UpdateStartLeakDataDisplay(datas);
}
public void UpdateDisplayJudgmentData1(LeakData1 data)
{
if (this.IsTestMode == false)
@ -1521,6 +1557,17 @@ namespace INT_PT002.Forms
public void UpdateDisplayRecipeData(Recipe data)
{
this.buttonRecipeNo.ButtonText = data.NUMBER.ToString();
if (data.DISP_JUDG_ENABLE == false)
{
for (int i = 0; i < this.CollectionLabelDisplacement.Count; i++)
this.CollectionLabelDisplacement[i].TextColor = Color.Gray;
}
else
{
for (int i = 0; i < this.CollectionLabelDisplacement.Count; i++)
this.CollectionLabelDisplacement[i].TextColor = Color.White;
}
}
public void UpdateDisplayTime(DateTime time)
{
@ -1533,12 +1580,11 @@ namespace INT_PT002.Forms
this.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.MainDisplay;
this.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
this.buttonRecipeNo.ButtonText = this.ParentForm.CurrentRecipe.NUMBER.ToString();
this.InitializeProcessStatus();
this.ChildModbus.Visible = false;
this.InitializeProcessStatus();
this.UpdateDisplayUser(this.ParentForm.CurrentSystemStatus.CurrentUser);
this.UpdateDisplayRecipeData(this.ParentForm.CurrentRecipe);
}
#endregion

File diff suppressed because it is too large Load Diff

View File

@ -699,20 +699,9 @@ namespace INT_PT002.Forms
if (alarm.IsServoEmergencyStop == true)
value = "a1_Servo emergency stop ";
// Servo1Alarm
if (alarm.IsServo1Alarm == true)
if (alarm.IsServoAlarm == true)
value += "a2_Servo1 ";
// Servo2Alarm
if (alarm.IsServo2Alarm == true)
value += "a3_Servo2 ";
// ServoTorque1AlarmTorque
if (alarm.IsServoTorque1AlarmTorque == true)
value += "a4_Servo1 Torque ";
// ServoTorque2AlarmTorque
if (alarm.IsServoTorque2AlarmTorque == true)
value += "a5_Servo2 Torque ";
// PressureError
if (alarm.IsPressureError == true)
value += "a6_Pressure ";
value = value.Trim();
this.labelAlarm.Size = new Size(value.Length * 9, 30);
@ -894,7 +883,7 @@ namespace INT_PT002.Forms
// 차압센서 데이터
public void UpdateDisplayDiffData1(LeakData1 data)
{
this.labelLrSec1.Text = data.DiffData.SecBufDiff;
this.labelLrSec1.Text = data.DiffData.SecBuf;
}
// 변위센서 데이터

File diff suppressed because it is too large Load Diff