1차 완료, 메인화면, 레시피 메뉴

main
Seonjae 2023-03-08 11:36:16 +09:00
parent 5a4ecf08be
commit eebe0140da
16 changed files with 5354 additions and 3649 deletions

View File

@ -100,17 +100,17 @@ namespace INT_PT002.Controls
this.CollectionChildControl.Add(this.ChildControl10);
}
public void UpdateNomalLeakDataDisplay(Collection<LeakData> datas)
public void UpdateNomalLeakDataDisplay(LeakData datas)
{
for (int i = 0; i < datas.Count; i++)
for (int i = 0; i < datas.CollDiffData.Count; i++)
{
this.CollectionChildControl[i].UpdateNomalLeakDataDisplay(datas[i]);
this.CollectionChildControl[i].UpdateNomalLeakDataDisplay(datas.CollDiffData[i], datas.CollDispData[i]);
}
}
public void UpdateStartLeakDataDisplay(Collection<LeakData> datas)
public void UpdateStartLeakDataDisplay(LeakData datas)
{
for (int i = 0; i < 10; i++)
this.CollectionChildControl[i].UpdateStartLeakDataDisplay(datas[i]);
this.CollectionChildControl[i].UpdateStartLeakDataDisplay(datas.CollDiffData[i], datas.CollDispData[i], datas.CollJudgment[i]);
}
public void ClearAllData()
{

View File

@ -125,7 +125,7 @@ namespace INT_PT002.Controls
this.smartDraw.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
}
private void UpdateDotGraphDisplay(LeakData data)
private void UpdateDotGraphDisplay(DiffData diff, DispData disp)
{
int iValue = 0;
double dValue = 0.0;
@ -145,7 +145,7 @@ namespace INT_PT002.Controls
this.smartDraw.Chart.PutData(iValue);
}
public void UpdateNomalLeakDataDisplay(LeakData data)
public void UpdateNomalLeakDataDisplay(DiffData diff, DispData disp)
{
string value = "";
bool bValue = false;
@ -186,13 +186,13 @@ namespace INT_PT002.Controls
// Draw
if (bValue == true)
this.UpdateDotGraphDisplay(data);
this.UpdateDotGraphDisplay(diff, disp);
}
public void UpdateStartLeakDataDisplay(LeakData data)
public void UpdateStartLeakDataDisplay(DiffData diff, DispData disp, Define.E_JudgmentStatus judg)
{
string value = "";
value = data.JudgmentStatus.ToString();
value = judg.ToString();
if (this.labelResult.Text != value)
this.labelResult.Text = value;

View File

@ -29,6 +29,41 @@
private void InitializeComponent()
{
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.smartGroupBox3 = new SmartX.SmartGroupBox();
this.labelVacuumHold2 = new SmartX.SmartLabel();
this.smartLabel26 = new SmartX.SmartLabel();
this.labelVacuumHold1 = new SmartX.SmartLabel();
this.smartLabel24 = new SmartX.SmartLabel();
this.labelVacuumRelief = new SmartX.SmartLabel();
this.smartLabel22 = new SmartX.SmartLabel();
this.labelVacuumBlowoff = new SmartX.SmartLabel();
this.smartLabel2 = new SmartX.SmartLabel();
this.labelDispHoldDelay = new SmartX.SmartLabel();
this.smartLabel3 = new SmartX.SmartLabel();
this.labelDispEmptyLevel = new SmartX.SmartLabel();
this.smartLabel5 = new SmartX.SmartLabel();
this.labelDispMinLevel = new SmartX.SmartLabel();
this.smartLabel7 = new SmartX.SmartLabel();
this.labelDispStdLevel = new SmartX.SmartLabel();
this.smartLabel9 = new SmartX.SmartLabel();
this.smartGroupBox4 = new SmartX.SmartGroupBox();
this.labelDiffHoldDelay = new SmartX.SmartLabel();
this.smartLabel4 = new SmartX.SmartLabel();
this.labelDiffLrMean = new SmartX.SmartLabel();
this.smartLabel8 = new SmartX.SmartLabel();
this.labelDiffLrTotal = new SmartX.SmartLabel();
this.smartLabel11 = new SmartX.SmartLabel();
this.labelDiffLrSecond = new SmartX.SmartLabel();
this.smartLabel13 = new SmartX.SmartLabel();
this.labelPressureLevel = new SmartX.SmartLabel();
this.smartLabel15 = new SmartX.SmartLabel();
this.labelNumber = new SmartX.SmartLabel();
this.smartLabel17 = new SmartX.SmartLabel();
this.smartGroupBox2 = new SmartX.SmartGroupBox();
this.smartGroupBox1.SuspendLayout();
this.smartGroupBox3.SuspendLayout();
this.smartGroupBox4.SuspendLayout();
this.smartGroupBox2.SuspendLayout();
this.SuspendLayout();
//
// smartGroupBox1
@ -36,6 +71,13 @@
this.smartGroupBox1.BackGround = null;
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartGroupBox1.BackImage = null;
this.smartGroupBox1.Controls.Add(this.labelPressureLevel);
this.smartGroupBox1.Controls.Add(this.smartLabel15);
this.smartGroupBox1.Controls.Add(this.smartGroupBox4);
this.smartGroupBox1.Controls.Add(this.labelNumber);
this.smartGroupBox1.Controls.Add(this.smartGroupBox2);
this.smartGroupBox1.Controls.Add(this.smartLabel17);
this.smartGroupBox1.Controls.Add(this.smartGroupBox3);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -49,6 +91,714 @@
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// smartGroupBox3
//
this.smartGroupBox3.BackGround = null;
this.smartGroupBox3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartGroupBox3.BackImage = null;
this.smartGroupBox3.Controls.Add(this.labelVacuumBlowoff);
this.smartGroupBox3.Controls.Add(this.smartLabel2);
this.smartGroupBox3.Controls.Add(this.labelVacuumHold2);
this.smartGroupBox3.Controls.Add(this.smartLabel26);
this.smartGroupBox3.Controls.Add(this.labelVacuumHold1);
this.smartGroupBox3.Controls.Add(this.smartLabel24);
this.smartGroupBox3.Controls.Add(this.labelVacuumRelief);
this.smartGroupBox3.Controls.Add(this.smartLabel22);
this.smartGroupBox3.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox3.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox3.FrameLineThickness = 2;
this.smartGroupBox3.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
this.smartGroupBox3.HeaderHeightOffset = 12;
this.smartGroupBox3.Location = new System.Drawing.Point(68, 449);
this.smartGroupBox3.Name = "smartGroupBox3";
this.smartGroupBox3.RoundRadius = 5;
this.smartGroupBox3.Size = new System.Drawing.Size(390, 198);
this.smartGroupBox3.TabIndex = 112;
this.smartGroupBox3.Text = "밸브 설정";
this.smartGroupBox3.TextColor = System.Drawing.Color.White;
//
// labelVacuumHold2
//
this.labelVacuumHold2.BackGround = null;
this.labelVacuumHold2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelVacuumHold2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumHold2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelVacuumHold2.LineSpacing = 0F;
this.labelVacuumHold2.Location = new System.Drawing.Point(203, 112);
this.labelVacuumHold2.Name = "labelVacuumHold2";
this.labelVacuumHold2.OverlapOptimize = true;
this.labelVacuumHold2.PasswordChar = '\0';
this.labelVacuumHold2.Radius = 3;
this.labelVacuumHold2.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelVacuumHold2.Size = new System.Drawing.Size(100, 30);
this.labelVacuumHold2.TabIndex = 106;
this.labelVacuumHold2.Text = "12345.45";
this.labelVacuumHold2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumHold2.TextColorDisable = System.Drawing.Color.Gray;
this.labelVacuumHold2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelVacuumHold2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelVacuumHold2.Wordwrap = false;
this.labelVacuumHold2.Click += new System.EventHandler(this.labelVacuumHold2_Click);
//
// smartLabel26
//
this.smartLabel26.BackGround = null;
this.smartLabel26.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel26.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel26.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel26.LineSpacing = 0F;
this.smartLabel26.Location = new System.Drawing.Point(47, 112);
this.smartLabel26.Name = "smartLabel26";
this.smartLabel26.OverlapOptimize = true;
this.smartLabel26.PasswordChar = '\0';
this.smartLabel26.Radius = 3;
this.smartLabel26.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel26.Size = new System.Drawing.Size(150, 30);
this.smartLabel26.TabIndex = 105;
this.smartLabel26.Text = "Hold Valve2";
this.smartLabel26.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel26.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel26.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel26.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel26.Wordwrap = false;
//
// labelVacuumHold1
//
this.labelVacuumHold1.BackGround = null;
this.labelVacuumHold1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelVacuumHold1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumHold1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelVacuumHold1.LineSpacing = 0F;
this.labelVacuumHold1.Location = new System.Drawing.Point(203, 76);
this.labelVacuumHold1.Name = "labelVacuumHold1";
this.labelVacuumHold1.OverlapOptimize = true;
this.labelVacuumHold1.PasswordChar = '\0';
this.labelVacuumHold1.Radius = 3;
this.labelVacuumHold1.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelVacuumHold1.Size = new System.Drawing.Size(100, 30);
this.labelVacuumHold1.TabIndex = 104;
this.labelVacuumHold1.Text = "12345.45";
this.labelVacuumHold1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumHold1.TextColorDisable = System.Drawing.Color.Gray;
this.labelVacuumHold1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelVacuumHold1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelVacuumHold1.Wordwrap = false;
this.labelVacuumHold1.Click += new System.EventHandler(this.labelVacuumHold1_Click);
//
// smartLabel24
//
this.smartLabel24.BackGround = null;
this.smartLabel24.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel24.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel24.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel24.LineSpacing = 0F;
this.smartLabel24.Location = new System.Drawing.Point(47, 76);
this.smartLabel24.Name = "smartLabel24";
this.smartLabel24.OverlapOptimize = true;
this.smartLabel24.PasswordChar = '\0';
this.smartLabel24.Radius = 3;
this.smartLabel24.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel24.Size = new System.Drawing.Size(150, 30);
this.smartLabel24.TabIndex = 103;
this.smartLabel24.Text = "Hold Valve1";
this.smartLabel24.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel24.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel24.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel24.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel24.Wordwrap = false;
//
// labelVacuumRelief
//
this.labelVacuumRelief.BackGround = null;
this.labelVacuumRelief.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelVacuumRelief.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumRelief.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelVacuumRelief.LineSpacing = 0F;
this.labelVacuumRelief.Location = new System.Drawing.Point(203, 40);
this.labelVacuumRelief.Name = "labelVacuumRelief";
this.labelVacuumRelief.OverlapOptimize = true;
this.labelVacuumRelief.PasswordChar = '\0';
this.labelVacuumRelief.Radius = 3;
this.labelVacuumRelief.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelVacuumRelief.Size = new System.Drawing.Size(100, 30);
this.labelVacuumRelief.TabIndex = 102;
this.labelVacuumRelief.Text = "12345.45";
this.labelVacuumRelief.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumRelief.TextColorDisable = System.Drawing.Color.Gray;
this.labelVacuumRelief.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelVacuumRelief.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelVacuumRelief.Wordwrap = false;
this.labelVacuumRelief.Click += new System.EventHandler(this.labelVacuumRelief_Click);
//
// smartLabel22
//
this.smartLabel22.BackGround = null;
this.smartLabel22.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel22.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel22.LineSpacing = 0F;
this.smartLabel22.Location = new System.Drawing.Point(47, 40);
this.smartLabel22.Name = "smartLabel22";
this.smartLabel22.OverlapOptimize = true;
this.smartLabel22.PasswordChar = '\0';
this.smartLabel22.Radius = 3;
this.smartLabel22.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel22.Size = new System.Drawing.Size(150, 30);
this.smartLabel22.TabIndex = 101;
this.smartLabel22.Text = "Relief Valve";
this.smartLabel22.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel22.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel22.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel22.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel22.Wordwrap = false;
//
// labelVacuumBlowoff
//
this.labelVacuumBlowoff.BackGround = null;
this.labelVacuumBlowoff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelVacuumBlowoff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumBlowoff.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelVacuumBlowoff.LineSpacing = 0F;
this.labelVacuumBlowoff.Location = new System.Drawing.Point(203, 148);
this.labelVacuumBlowoff.Name = "labelVacuumBlowoff";
this.labelVacuumBlowoff.OverlapOptimize = true;
this.labelVacuumBlowoff.PasswordChar = '\0';
this.labelVacuumBlowoff.Radius = 3;
this.labelVacuumBlowoff.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelVacuumBlowoff.Size = new System.Drawing.Size(100, 30);
this.labelVacuumBlowoff.TabIndex = 108;
this.labelVacuumBlowoff.Text = "12345.45";
this.labelVacuumBlowoff.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelVacuumBlowoff.TextColorDisable = System.Drawing.Color.Gray;
this.labelVacuumBlowoff.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelVacuumBlowoff.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelVacuumBlowoff.Wordwrap = false;
this.labelVacuumBlowoff.Click += new System.EventHandler(this.labelVacuumBlowoff_Click);
//
// smartLabel2
//
this.smartLabel2.BackGround = null;
this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(47, 148);
this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.OverlapOptimize = true;
this.smartLabel2.PasswordChar = '\0';
this.smartLabel2.Radius = 3;
this.smartLabel2.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel2.Size = new System.Drawing.Size(150, 30);
this.smartLabel2.TabIndex = 107;
this.smartLabel2.Text = "Blowoff Valve";
this.smartLabel2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel2.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel2.Wordwrap = false;
//
// labelDispHoldDelay
//
this.labelDispHoldDelay.BackGround = null;
this.labelDispHoldDelay.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDispHoldDelay.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispHoldDelay.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDispHoldDelay.LineSpacing = 0F;
this.labelDispHoldDelay.Location = new System.Drawing.Point(203, 148);
this.labelDispHoldDelay.Name = "labelDispHoldDelay";
this.labelDispHoldDelay.OverlapOptimize = true;
this.labelDispHoldDelay.PasswordChar = '\0';
this.labelDispHoldDelay.Radius = 3;
this.labelDispHoldDelay.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDispHoldDelay.Size = new System.Drawing.Size(100, 30);
this.labelDispHoldDelay.TabIndex = 108;
this.labelDispHoldDelay.Text = "12345.45";
this.labelDispHoldDelay.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispHoldDelay.TextColorDisable = System.Drawing.Color.Gray;
this.labelDispHoldDelay.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDispHoldDelay.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDispHoldDelay.Wordwrap = false;
this.labelDispHoldDelay.Click += new System.EventHandler(this.labelDispHoldDelay_Click);
//
// smartLabel3
//
this.smartLabel3.BackGround = null;
this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(47, 148);
this.smartLabel3.Name = "smartLabel3";
this.smartLabel3.OverlapOptimize = true;
this.smartLabel3.PasswordChar = '\0';
this.smartLabel3.Radius = 3;
this.smartLabel3.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel3.Size = new System.Drawing.Size(150, 30);
this.smartLabel3.TabIndex = 107;
this.smartLabel3.Text = "HOLD_DELAY";
this.smartLabel3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel3.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel3.Wordwrap = false;
//
// labelDispEmptyLevel
//
this.labelDispEmptyLevel.BackGround = null;
this.labelDispEmptyLevel.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDispEmptyLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispEmptyLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDispEmptyLevel.LineSpacing = 0F;
this.labelDispEmptyLevel.Location = new System.Drawing.Point(203, 112);
this.labelDispEmptyLevel.Name = "labelDispEmptyLevel";
this.labelDispEmptyLevel.OverlapOptimize = true;
this.labelDispEmptyLevel.PasswordChar = '\0';
this.labelDispEmptyLevel.Radius = 3;
this.labelDispEmptyLevel.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDispEmptyLevel.Size = new System.Drawing.Size(100, 30);
this.labelDispEmptyLevel.TabIndex = 106;
this.labelDispEmptyLevel.Text = "12345.45";
this.labelDispEmptyLevel.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispEmptyLevel.TextColorDisable = System.Drawing.Color.Gray;
this.labelDispEmptyLevel.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDispEmptyLevel.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDispEmptyLevel.Wordwrap = false;
this.labelDispEmptyLevel.Click += new System.EventHandler(this.labelDispEmptyLevel_Click);
//
// smartLabel5
//
this.smartLabel5.BackGround = null;
this.smartLabel5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel5.LineSpacing = 0F;
this.smartLabel5.Location = new System.Drawing.Point(47, 112);
this.smartLabel5.Name = "smartLabel5";
this.smartLabel5.OverlapOptimize = true;
this.smartLabel5.PasswordChar = '\0';
this.smartLabel5.Radius = 3;
this.smartLabel5.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel5.Size = new System.Drawing.Size(150, 30);
this.smartLabel5.TabIndex = 105;
this.smartLabel5.Text = "EMPTY_LEVEL";
this.smartLabel5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel5.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel5.Wordwrap = false;
//
// labelDispMinLevel
//
this.labelDispMinLevel.BackGround = null;
this.labelDispMinLevel.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDispMinLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispMinLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDispMinLevel.LineSpacing = 0F;
this.labelDispMinLevel.Location = new System.Drawing.Point(203, 76);
this.labelDispMinLevel.Name = "labelDispMinLevel";
this.labelDispMinLevel.OverlapOptimize = true;
this.labelDispMinLevel.PasswordChar = '\0';
this.labelDispMinLevel.Radius = 3;
this.labelDispMinLevel.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDispMinLevel.Size = new System.Drawing.Size(100, 30);
this.labelDispMinLevel.TabIndex = 104;
this.labelDispMinLevel.Text = "12345.45";
this.labelDispMinLevel.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispMinLevel.TextColorDisable = System.Drawing.Color.Gray;
this.labelDispMinLevel.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDispMinLevel.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDispMinLevel.Wordwrap = false;
this.labelDispMinLevel.Click += new System.EventHandler(this.labelDispMinLevel_Click);
//
// smartLabel7
//
this.smartLabel7.BackGround = null;
this.smartLabel7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel7.LineSpacing = 0F;
this.smartLabel7.Location = new System.Drawing.Point(47, 76);
this.smartLabel7.Name = "smartLabel7";
this.smartLabel7.OverlapOptimize = true;
this.smartLabel7.PasswordChar = '\0';
this.smartLabel7.Radius = 3;
this.smartLabel7.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel7.Size = new System.Drawing.Size(150, 30);
this.smartLabel7.TabIndex = 103;
this.smartLabel7.Text = "MIN_LEVEL";
this.smartLabel7.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel7.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel7.Wordwrap = false;
//
// labelDispStdLevel
//
this.labelDispStdLevel.BackGround = null;
this.labelDispStdLevel.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDispStdLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispStdLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDispStdLevel.LineSpacing = 0F;
this.labelDispStdLevel.Location = new System.Drawing.Point(203, 40);
this.labelDispStdLevel.Name = "labelDispStdLevel";
this.labelDispStdLevel.OverlapOptimize = true;
this.labelDispStdLevel.PasswordChar = '\0';
this.labelDispStdLevel.Radius = 3;
this.labelDispStdLevel.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDispStdLevel.Size = new System.Drawing.Size(100, 30);
this.labelDispStdLevel.TabIndex = 102;
this.labelDispStdLevel.Text = "12345.45";
this.labelDispStdLevel.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDispStdLevel.TextColorDisable = System.Drawing.Color.Gray;
this.labelDispStdLevel.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDispStdLevel.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDispStdLevel.Wordwrap = false;
this.labelDispStdLevel.Click += new System.EventHandler(this.labelDispStdLevel_Click);
//
// smartLabel9
//
this.smartLabel9.BackGround = null;
this.smartLabel9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
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.LineSpacing = 0F;
this.smartLabel9.Location = new System.Drawing.Point(47, 40);
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(150, 30);
this.smartLabel9.TabIndex = 101;
this.smartLabel9.Text = "STD_LEVEL";
this.smartLabel9.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
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;
//
// smartGroupBox4
//
this.smartGroupBox4.BackGround = null;
this.smartGroupBox4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartGroupBox4.BackImage = null;
this.smartGroupBox4.Controls.Add(this.labelDiffHoldDelay);
this.smartGroupBox4.Controls.Add(this.smartLabel4);
this.smartGroupBox4.Controls.Add(this.labelDiffLrMean);
this.smartGroupBox4.Controls.Add(this.smartLabel8);
this.smartGroupBox4.Controls.Add(this.labelDiffLrTotal);
this.smartGroupBox4.Controls.Add(this.smartLabel11);
this.smartGroupBox4.Controls.Add(this.labelDiffLrSecond);
this.smartGroupBox4.Controls.Add(this.smartLabel13);
this.smartGroupBox4.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox4.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox4.FrameLineThickness = 2;
this.smartGroupBox4.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
this.smartGroupBox4.HeaderHeightOffset = 12;
this.smartGroupBox4.Location = new System.Drawing.Point(474, 231);
this.smartGroupBox4.Name = "smartGroupBox4";
this.smartGroupBox4.RoundRadius = 5;
this.smartGroupBox4.Size = new System.Drawing.Size(390, 198);
this.smartGroupBox4.TabIndex = 114;
this.smartGroupBox4.Text = "차압센서";
this.smartGroupBox4.TextColor = System.Drawing.Color.White;
//
// labelDiffHoldDelay
//
this.labelDiffHoldDelay.BackGround = null;
this.labelDiffHoldDelay.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDiffHoldDelay.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffHoldDelay.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDiffHoldDelay.LineSpacing = 0F;
this.labelDiffHoldDelay.Location = new System.Drawing.Point(203, 148);
this.labelDiffHoldDelay.Name = "labelDiffHoldDelay";
this.labelDiffHoldDelay.OverlapOptimize = true;
this.labelDiffHoldDelay.PasswordChar = '\0';
this.labelDiffHoldDelay.Radius = 3;
this.labelDiffHoldDelay.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDiffHoldDelay.Size = new System.Drawing.Size(100, 30);
this.labelDiffHoldDelay.TabIndex = 108;
this.labelDiffHoldDelay.Text = "12345.45";
this.labelDiffHoldDelay.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffHoldDelay.TextColorDisable = System.Drawing.Color.Gray;
this.labelDiffHoldDelay.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDiffHoldDelay.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDiffHoldDelay.Wordwrap = false;
this.labelDiffHoldDelay.Click += new System.EventHandler(this.labelDiffHoldDelay_Click);
//
// smartLabel4
//
this.smartLabel4.BackGround = null;
this.smartLabel4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel4.LineSpacing = 0F;
this.smartLabel4.Location = new System.Drawing.Point(47, 148);
this.smartLabel4.Name = "smartLabel4";
this.smartLabel4.OverlapOptimize = true;
this.smartLabel4.PasswordChar = '\0';
this.smartLabel4.Radius = 3;
this.smartLabel4.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel4.Size = new System.Drawing.Size(150, 30);
this.smartLabel4.TabIndex = 107;
this.smartLabel4.Text = "HOLD_DELAY";
this.smartLabel4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel4.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel4.Wordwrap = false;
//
// labelDiffLrMean
//
this.labelDiffLrMean.BackGround = null;
this.labelDiffLrMean.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDiffLrMean.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffLrMean.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDiffLrMean.LineSpacing = 0F;
this.labelDiffLrMean.Location = new System.Drawing.Point(203, 112);
this.labelDiffLrMean.Name = "labelDiffLrMean";
this.labelDiffLrMean.OverlapOptimize = true;
this.labelDiffLrMean.PasswordChar = '\0';
this.labelDiffLrMean.Radius = 3;
this.labelDiffLrMean.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDiffLrMean.Size = new System.Drawing.Size(100, 30);
this.labelDiffLrMean.TabIndex = 106;
this.labelDiffLrMean.Text = "12345.45";
this.labelDiffLrMean.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffLrMean.TextColorDisable = System.Drawing.Color.Gray;
this.labelDiffLrMean.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDiffLrMean.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDiffLrMean.Wordwrap = false;
this.labelDiffLrMean.Click += new System.EventHandler(this.labelDiffLrMean_Click);
//
// smartLabel8
//
this.smartLabel8.BackGround = null;
this.smartLabel8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
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.LineSpacing = 0F;
this.smartLabel8.Location = new System.Drawing.Point(47, 112);
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(150, 30);
this.smartLabel8.TabIndex = 105;
this.smartLabel8.Text = "LR_MEAN";
this.smartLabel8.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
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;
//
// labelDiffLrTotal
//
this.labelDiffLrTotal.BackGround = null;
this.labelDiffLrTotal.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDiffLrTotal.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffLrTotal.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDiffLrTotal.LineSpacing = 0F;
this.labelDiffLrTotal.Location = new System.Drawing.Point(203, 76);
this.labelDiffLrTotal.Name = "labelDiffLrTotal";
this.labelDiffLrTotal.OverlapOptimize = true;
this.labelDiffLrTotal.PasswordChar = '\0';
this.labelDiffLrTotal.Radius = 3;
this.labelDiffLrTotal.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDiffLrTotal.Size = new System.Drawing.Size(100, 30);
this.labelDiffLrTotal.TabIndex = 104;
this.labelDiffLrTotal.Text = "12345.45";
this.labelDiffLrTotal.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffLrTotal.TextColorDisable = System.Drawing.Color.Gray;
this.labelDiffLrTotal.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDiffLrTotal.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDiffLrTotal.Wordwrap = false;
this.labelDiffLrTotal.Click += new System.EventHandler(this.labelDiffLrTotal_Click);
//
// smartLabel11
//
this.smartLabel11.BackGround = null;
this.smartLabel11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel11.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel11.LineSpacing = 0F;
this.smartLabel11.Location = new System.Drawing.Point(47, 76);
this.smartLabel11.Name = "smartLabel11";
this.smartLabel11.OverlapOptimize = true;
this.smartLabel11.PasswordChar = '\0';
this.smartLabel11.Radius = 3;
this.smartLabel11.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel11.Size = new System.Drawing.Size(150, 30);
this.smartLabel11.TabIndex = 103;
this.smartLabel11.Text = "LR_TOTAL";
this.smartLabel11.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel11.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel11.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel11.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel11.Wordwrap = false;
//
// labelDiffLrSecond
//
this.labelDiffLrSecond.BackGround = null;
this.labelDiffLrSecond.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelDiffLrSecond.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffLrSecond.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelDiffLrSecond.LineSpacing = 0F;
this.labelDiffLrSecond.Location = new System.Drawing.Point(203, 40);
this.labelDiffLrSecond.Name = "labelDiffLrSecond";
this.labelDiffLrSecond.OverlapOptimize = true;
this.labelDiffLrSecond.PasswordChar = '\0';
this.labelDiffLrSecond.Radius = 3;
this.labelDiffLrSecond.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelDiffLrSecond.Size = new System.Drawing.Size(100, 30);
this.labelDiffLrSecond.TabIndex = 102;
this.labelDiffLrSecond.Text = "12345.45";
this.labelDiffLrSecond.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelDiffLrSecond.TextColorDisable = System.Drawing.Color.Gray;
this.labelDiffLrSecond.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelDiffLrSecond.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDiffLrSecond.Wordwrap = false;
this.labelDiffLrSecond.Click += new System.EventHandler(this.labelDiffLrSecond_Click);
//
// smartLabel13
//
this.smartLabel13.BackGround = null;
this.smartLabel13.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel13.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel13.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel13.LineSpacing = 0F;
this.smartLabel13.Location = new System.Drawing.Point(47, 40);
this.smartLabel13.Name = "smartLabel13";
this.smartLabel13.OverlapOptimize = true;
this.smartLabel13.PasswordChar = '\0';
this.smartLabel13.Radius = 3;
this.smartLabel13.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel13.Size = new System.Drawing.Size(150, 30);
this.smartLabel13.TabIndex = 101;
this.smartLabel13.Text = "LR_SECOND";
this.smartLabel13.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel13.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel13.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel13.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel13.Wordwrap = false;
//
// labelPressureLevel
//
this.labelPressureLevel.BackGround = null;
this.labelPressureLevel.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelPressureLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelPressureLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPressureLevel.LineSpacing = 0F;
this.labelPressureLevel.Location = new System.Drawing.Point(271, 123);
this.labelPressureLevel.Name = "labelPressureLevel";
this.labelPressureLevel.OverlapOptimize = true;
this.labelPressureLevel.PasswordChar = '\0';
this.labelPressureLevel.Radius = 3;
this.labelPressureLevel.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelPressureLevel.Size = new System.Drawing.Size(100, 30);
this.labelPressureLevel.TabIndex = 104;
this.labelPressureLevel.Text = "12345.45";
this.labelPressureLevel.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelPressureLevel.TextColorDisable = System.Drawing.Color.Gray;
this.labelPressureLevel.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelPressureLevel.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelPressureLevel.Wordwrap = false;
this.labelPressureLevel.Click += new System.EventHandler(this.labelPressureLevel_Click);
//
// smartLabel15
//
this.smartLabel15.BackGround = null;
this.smartLabel15.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel15.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel15.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel15.LineSpacing = 0F;
this.smartLabel15.Location = new System.Drawing.Point(115, 123);
this.smartLabel15.Name = "smartLabel15";
this.smartLabel15.OverlapOptimize = true;
this.smartLabel15.PasswordChar = '\0';
this.smartLabel15.Radius = 3;
this.smartLabel15.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel15.Size = new System.Drawing.Size(150, 30);
this.smartLabel15.TabIndex = 103;
this.smartLabel15.Text = "Pressure Level";
this.smartLabel15.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel15.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel15.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel15.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel15.Wordwrap = false;
//
// labelNumber
//
this.labelNumber.BackGround = null;
this.labelNumber.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelNumber.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelNumber.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelNumber.LineSpacing = 0F;
this.labelNumber.Location = new System.Drawing.Point(271, 74);
this.labelNumber.Name = "labelNumber";
this.labelNumber.OverlapOptimize = true;
this.labelNumber.PasswordChar = '\0';
this.labelNumber.Radius = 3;
this.labelNumber.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelNumber.Size = new System.Drawing.Size(100, 30);
this.labelNumber.TabIndex = 102;
this.labelNumber.Text = "12345.45";
this.labelNumber.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelNumber.TextColorDisable = System.Drawing.Color.Gray;
this.labelNumber.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelNumber.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelNumber.Wordwrap = false;
this.labelNumber.Click += new System.EventHandler(this.labelNumber_Click);
//
// smartLabel17
//
this.smartLabel17.BackGround = null;
this.smartLabel17.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel17.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel17.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel17.LineSpacing = 0F;
this.smartLabel17.Location = new System.Drawing.Point(115, 74);
this.smartLabel17.Name = "smartLabel17";
this.smartLabel17.OverlapOptimize = true;
this.smartLabel17.PasswordChar = '\0';
this.smartLabel17.Radius = 3;
this.smartLabel17.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel17.Size = new System.Drawing.Size(150, 30);
this.smartLabel17.TabIndex = 101;
this.smartLabel17.Text = "NUMBER";
this.smartLabel17.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel17.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel17.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel17.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel17.Wordwrap = false;
//
// smartGroupBox2
//
this.smartGroupBox2.BackGround = null;
this.smartGroupBox2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartGroupBox2.BackImage = null;
this.smartGroupBox2.Controls.Add(this.labelDispHoldDelay);
this.smartGroupBox2.Controls.Add(this.smartLabel3);
this.smartGroupBox2.Controls.Add(this.labelDispEmptyLevel);
this.smartGroupBox2.Controls.Add(this.smartLabel5);
this.smartGroupBox2.Controls.Add(this.labelDispMinLevel);
this.smartGroupBox2.Controls.Add(this.smartLabel7);
this.smartGroupBox2.Controls.Add(this.labelDispStdLevel);
this.smartGroupBox2.Controls.Add(this.smartLabel9);
this.smartGroupBox2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
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 = 12;
this.smartGroupBox2.Location = new System.Drawing.Point(68, 231);
this.smartGroupBox2.Name = "smartGroupBox2";
this.smartGroupBox2.RoundRadius = 5;
this.smartGroupBox2.Size = new System.Drawing.Size(390, 198);
this.smartGroupBox2.TabIndex = 113;
this.smartGroupBox2.Text = "변위센서";
this.smartGroupBox2.TextColor = System.Drawing.Color.White;
//
// ControlMenuRecipeSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -56,6 +806,10 @@
this.Controls.Add(this.smartGroupBox1);
this.Name = "ControlMenuRecipeSetting";
this.Size = new System.Drawing.Size(909, 664);
this.smartGroupBox1.ResumeLayout(false);
this.smartGroupBox3.ResumeLayout(false);
this.smartGroupBox4.ResumeLayout(false);
this.smartGroupBox2.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -63,5 +817,36 @@
#endregion
private SmartX.SmartGroupBox smartGroupBox1;
private SmartX.SmartGroupBox smartGroupBox3;
private SmartX.SmartLabel labelVacuumBlowoff;
private SmartX.SmartLabel smartLabel2;
private SmartX.SmartLabel labelVacuumHold2;
private SmartX.SmartLabel smartLabel26;
private SmartX.SmartLabel labelVacuumHold1;
private SmartX.SmartLabel smartLabel24;
private SmartX.SmartLabel labelVacuumRelief;
private SmartX.SmartLabel smartLabel22;
private SmartX.SmartLabel labelDispHoldDelay;
private SmartX.SmartLabel smartLabel3;
private SmartX.SmartLabel labelDispEmptyLevel;
private SmartX.SmartLabel smartLabel5;
private SmartX.SmartLabel labelDispMinLevel;
private SmartX.SmartLabel smartLabel7;
private SmartX.SmartLabel labelDispStdLevel;
private SmartX.SmartLabel smartLabel9;
private SmartX.SmartGroupBox smartGroupBox4;
private SmartX.SmartLabel labelDiffHoldDelay;
private SmartX.SmartLabel smartLabel4;
private SmartX.SmartLabel labelDiffLrMean;
private SmartX.SmartLabel smartLabel8;
private SmartX.SmartLabel labelDiffLrTotal;
private SmartX.SmartLabel smartLabel11;
private SmartX.SmartLabel labelDiffLrSecond;
private SmartX.SmartLabel smartLabel13;
private SmartX.SmartLabel labelPressureLevel;
private SmartX.SmartLabel smartLabel15;
private SmartX.SmartLabel labelNumber;
private SmartX.SmartLabel smartLabel17;
private SmartX.SmartGroupBox smartGroupBox2;
}
}

View File

@ -8,6 +8,8 @@ using System.Text;
using System.Windows.Forms;
using INT_PT002.Forms;
using INT_PT002.DataStore;
using INT_PT002.DialogForms;
namespace INT_PT002.Controls
{
@ -15,6 +17,7 @@ namespace INT_PT002.Controls
{
#region Field
private FormMenu m_ParentForm;
private Recipe SelectedRecipe;
#endregion
#region Constructor
@ -39,16 +42,297 @@ namespace INT_PT002.Controls
private void Initialize()
{
this.smartGroupBox1.Text = "Recipe > Setting";
this.SelectedRecipe = new Recipe();
}
private void UpdateDisplayContnrolData(Recipe item)
{
string value = "";
// Number
value = item.NUMBER.ToString();
if (this.labelNumber.Text != value)
this.labelNumber.Text = value;
// Pressure Level
value = item.VACUUM_GUAGE_LEVEL;
if (this.labelPressureLevel.Text != value)
this.labelPressureLevel.Text = value;
// Displacement Sensor
// STD_Level
value = item.DISP_JUDG_STD_LEVEL;
if (this.labelDispStdLevel.Text != value)
this.labelDispStdLevel.Text = value;
// Min_Level
value = item.DISP_JUDG_MIN_LEVEL;
if (this.labelDispMinLevel.Text != value)
this.labelDispMinLevel.Text = value;
// Empty_Level
value = item.DISP_JUDG_EMPTY_LEVEL;
if (this.labelDispEmptyLevel.Text != value)
this.labelDispEmptyLevel.Text = value;
// Hold_Delay
value = item.DISP_HOLD_DELAY_MSEC.ToString();
if (this.labelDispHoldDelay.Text != value)
this.labelDispHoldDelay.Text = value;
// Differential Pressure Sensor
// LR_Second
value = item.DIFF_LR_SECOND;
if (this.labelDiffLrSecond.Text != value)
this.labelDiffLrSecond.Text = value;
// LR_Total
value = item.DIFF_LR_TOTAL;
if (this.labelDiffLrTotal.Text != value)
this.labelDiffLrTotal.Text = value;
// LR_Mean
value = item.DIFF_LR_MEAN;
if (this.labelDiffLrMean.Text != value)
this.labelDiffLrMean.Text = value;
// Hold_Delay
value = item.DIFF_HOLD_DELAY_MSEC.ToString();
if (this.labelDiffHoldDelay.Text != value)
this.labelDiffHoldDelay.Text = value;
}
public void UpdateDisplayRecipeData(Recipe item)
{
this.SelectedRecipe.NUMBER = item.NUMBER;
this.SelectedRecipe.NAME = item.NAME;
this.SelectedRecipe.LOT = item.LOT;
this.SelectedRecipe.DISP_JUDG_STD_LEVEL = item.DISP_JUDG_STD_LEVEL;
this.SelectedRecipe.DISP_JUDG_MIN_LEVEL = item.DISP_JUDG_MIN_LEVEL;
this.SelectedRecipe.DISP_JUDG_EMPTY_LEVEL = item.DISP_JUDG_EMPTY_LEVEL;
this.SelectedRecipe.DISP_HOLD_DELAY_MSEC = item.DISP_HOLD_DELAY_MSEC;
this.SelectedRecipe.DIFF_LR_SECOND = item.DIFF_LR_SECOND;
this.SelectedRecipe.DIFF_LR_TOTAL = item.DIFF_LR_TOTAL;
this.SelectedRecipe.DIFF_LR_MEAN = item.DIFF_LR_MEAN;
this.SelectedRecipe.DIFF_HOLD_DELAY_MSEC = item.DIFF_HOLD_DELAY_MSEC;
this.SelectedRecipe.VACUUM_RELIEF = item.VACUUM_RELIEF;
this.SelectedRecipe.VACUUM_HOLD1 = item.VACUUM_HOLD1;
this.SelectedRecipe.VACUUM_HOLD2 = item.VACUUM_HOLD2;
this.SelectedRecipe.VACUUM_BLOWOFF = item.VACUUM_BLOWOFF;
this.SelectedRecipe.VACUUM_GUAGE_LEVEL = item.VACUUM_GUAGE_LEVEL;
this.UpdateDisplayContnrolData(this.SelectedRecipe);
}
public void DisplayRefresh()
{
this.UpdateDisplayRecipeData(this.ParentForm.ParentForm.CurrentRecipe);
}
#endregion
#region Event Handler
private void labelNumber_Click(object sender, EventArgs e)
{
}
private void labelPressureLevel_Click(object sender, EventArgs e)
{
}
// 밸브
private void labelVacuumRelief_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel22.Text, this.labelVacuumRelief.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelVacuumRelief.Text = myKeypad.StringValue;
this.SelectedRecipe.VACUUM_RELIEF = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5504_VacuumRelief, value);
}
}
private void labelVacuumHold1_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel24.Text, this.labelVacuumHold1.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelVacuumHold1.Text = myKeypad.StringValue;
this.SelectedRecipe.VACUUM_HOLD1 = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5505_VacuumHold1, value);
}
}
private void labelVacuumHold2_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel26.Text, this.labelVacuumHold2.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelVacuumHold2.Text = myKeypad.StringValue;
this.SelectedRecipe.VACUUM_HOLD2 = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5506_VacuumHold2, value);
}
}
private void labelVacuumBlowoff_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel2.Text, this.labelVacuumBlowoff.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelVacuumBlowoff.Text = myKeypad.StringValue;
this.SelectedRecipe.VACUUM_BLOWOFF = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5507_VacuumBlowoff, value);
}
}
// 변위센서
private void labelDispStdLevel_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel9.Text, this.labelDispStdLevel.Text, 6, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDispStdLevel.Text = myKeypad.StringValue;
this.SelectedRecipe.DISP_JUDG_STD_LEVEL = myKeypad.StringValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5509_DispStdLevel, value);
}
}
private void labelDispMinLevel_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel7.Text, this.labelDispMinLevel.Text, 6, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDispMinLevel.Text = myKeypad.StringValue;
this.SelectedRecipe.DISP_JUDG_MIN_LEVEL = myKeypad.StringValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5510_DispMinLevel, value);
}
}
private void labelDispEmptyLevel_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel5.Text, this.labelDispEmptyLevel.Text, 6, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDispEmptyLevel.Text = myKeypad.StringValue;
this.SelectedRecipe.DISP_JUDG_EMPTY_LEVEL = myKeypad.StringValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5511_DispEmptyLevel, value);
}
}
private void labelDispHoldDelay_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel3.Text, this.labelDispHoldDelay.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDispHoldDelay.Text = myKeypad.StringValue;
this.SelectedRecipe.DISP_HOLD_DELAY_MSEC = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5512_DispHoldDelay, value);
}
}
// 차압센서
private void labelDiffLrSecond_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel13.Text, this.labelDiffLrSecond.Text, 8, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDiffLrSecond.Text = myKeypad.StringValue;
this.SelectedRecipe.DIFF_LR_SECOND = myKeypad.StringValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits8(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5513_DiffLrSecond, value);
}
}
private void labelDiffLrTotal_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel11.Text, this.labelDiffLrTotal.Text, 8, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDiffLrTotal.Text = myKeypad.StringValue;
this.SelectedRecipe.DIFF_LR_TOTAL = myKeypad.StringValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits8(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5514_DiffLrTotal, value);
}
}
private void labelDiffLrMean_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel8.Text, this.labelDiffLrMean.Text, 8, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDiffLrMean.Text = myKeypad.StringValue;
this.SelectedRecipe.DIFF_LR_MEAN = myKeypad.StringValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits8(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5515_DiffLrMean, value);
}
}
private void labelDiffHoldDelay_Click(object sender, EventArgs e)
{
string value = "";
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel4.Text, this.labelDiffHoldDelay.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
this.labelDiffHoldDelay.Text = myKeypad.StringValue;
this.SelectedRecipe.DIFF_HOLD_DELAY_MSEC = myKeypad.IntValue;
this.ParentForm.ParentForm.SaveRecipeFile(this.SelectedRecipe, this.SelectedRecipe.NUMBER - 1);
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5516_DiffHoldDelay, value);
}
}
#endregion
}
}

View File

@ -70,15 +70,38 @@ namespace INT_PT002.DataStore
// 메인보드 버전 읽기
public static readonly string _1502_ProgramVersion = "1502";
// 품번
public static readonly string _2001_ProductNumber = "2001";
// 상한 설정값
public static readonly string _2301_OverRange = "2301";
// 진공시간
public static readonly string _5504_VacuumStartTime = "5504";
// 진공유지시간
public static readonly string _5505_VacuumHoldTime = "5505";
public static readonly string _5504_VacuumRelief = "5504";
// 진공유지시간1
public static readonly string _5505_VacuumHold1 = "5505";
// 진공유지시간2
public static readonly string _5506_VacuumHold2 = "5506";
// 진공파기시간
public static readonly string _5506_VacuumBreakTime = "5506";
public static readonly string _5507_VacuumBlowoff = "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";
// 변위센서 - 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";
// 차압센서 - delay
public static readonly string _5516_DiffHoldDelay = "5516";
// 통신,IO설정 - INPUT ALL
public static readonly string _7500_InputAll = "7500";
@ -115,7 +138,9 @@ namespace INT_PT002.DataStore
// 통신,IO설정 = OUTPUT16
public static readonly string _7716_Output16 = "7716";
// 파라미터 모두 쓰기
// 시스템 파라미터 모두 쓰기
public static readonly string _9039_ParameterAll = "9039";
// Recipe 파라미터 모두 쓰기
public static readonly string _9043_RecipeParameter = "9043";
}
}

View File

@ -63,7 +63,7 @@ namespace INT_PT002.DataStore
_4_Update,
};
public enum E_ProgressStatus
public enum E_ProcessStatus
{
None = 0,
Initial,

View File

@ -15,7 +15,6 @@ namespace INT_PT002.DataStore
private string m_MData;
private string m_MDataDiff;
private string m_STD;
#endregion
#region Constructor

View File

@ -9,9 +9,9 @@ namespace INT_PT002.DataStore
public class LeakData
{
#region Field
private Define.E_ProgressStatus m_ProgressStatus;
private Define.E_JudgmentStatus m_JudgmentStatus;
private Define.E_ProcessStatus m_ProcessStatus;
private Collection<Define.E_JudgmentStatus> m_CollJudgment;
private Collection<DispData> m_CollDispData;
private Collection<DiffData> m_CollDiffData;
@ -25,22 +25,26 @@ namespace INT_PT002.DataStore
#endregion
#region Property
public Define.E_ProgressStatus ProgressStatus
public Define.E_ProcessStatus ProcessStatus
{
get { return this.m_ProgressStatus; }
set { this.m_ProgressStatus = value; }
}
public Define.E_JudgmentStatus JudgmentStatus
{
get { return this.m_JudgmentStatus; }
set { this.m_JudgmentStatus = value; }
get { return this.m_ProcessStatus; }
set { this.m_ProcessStatus = value; }
}
public Collection<Define.E_JudgmentStatus> CollJudgment
{
get { return this.m_CollJudgment; }
set { this.m_CollJudgment = value; }
}
// 변위센서 데이터
public Collection<DispData> CollDispData
{
get { return this.m_CollDispData; }
set { this.m_CollDispData = value; }
}
/// <summary>
/// 차압센서 데이터
/// </summary>
public Collection<DiffData> CollDiffData
{
get { return this.m_CollDiffData; }
@ -51,14 +55,15 @@ namespace INT_PT002.DataStore
#region Method
private void Initialize(int column)
{
this.ProgressStatus = Define.E_ProgressStatus.None;
this.JudgmentStatus = Define.E_JudgmentStatus.None;
this.ProcessStatus = Define.E_ProcessStatus.None;
this.CollJudgment = new Collection<Define.E_JudgmentStatus>();
this.CollDispData = new Collection<DispData>();
this.CollDiffData = new Collection<DiffData>();
for (int i = 0; i < column; i++)
{
this.CollJudgment.Add(Define.E_JudgmentStatus.None);
this.CollDispData.Add(new DispData());
this.CollDiffData.Add(new DiffData());
}

View File

@ -42,7 +42,7 @@
this.buttonNumber7 = new System.Windows.Forms.Button();
this.buttonNumber4 = new System.Windows.Forms.Button();
this.buttonNumber1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.labelCaption = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// labelScreen
@ -58,7 +58,7 @@
// buttonEnter
//
this.buttonEnter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonEnter.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonEnter.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonEnter.ForeColor = System.Drawing.Color.White;
this.buttonEnter.Location = new System.Drawing.Point(13, 382);
this.buttonEnter.Name = "buttonEnter";
@ -71,7 +71,7 @@
// buttonCancel
//
this.buttonCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonCancel.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonCancel.ForeColor = System.Drawing.Color.White;
this.buttonCancel.Location = new System.Drawing.Point(165, 306);
this.buttonCancel.Name = "buttonCancel";
@ -84,7 +84,7 @@
// buttonNumber9
//
this.buttonNumber9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber9.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber9.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber9.ForeColor = System.Drawing.Color.White;
this.buttonNumber9.Location = new System.Drawing.Point(165, 230);
this.buttonNumber9.Name = "buttonNumber9";
@ -97,7 +97,7 @@
// buttonNumber6
//
this.buttonNumber6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber6.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber6.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber6.ForeColor = System.Drawing.Color.White;
this.buttonNumber6.Location = new System.Drawing.Point(165, 154);
this.buttonNumber6.Name = "buttonNumber6";
@ -110,7 +110,7 @@
// buttonNumber3
//
this.buttonNumber3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber3.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber3.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber3.ForeColor = System.Drawing.Color.White;
this.buttonNumber3.Location = new System.Drawing.Point(165, 78);
this.buttonNumber3.Name = "buttonNumber3";
@ -123,7 +123,7 @@
// buttonNumber0
//
this.buttonNumber0.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber0.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber0.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber0.ForeColor = System.Drawing.Color.White;
this.buttonNumber0.Location = new System.Drawing.Point(89, 306);
this.buttonNumber0.Name = "buttonNumber0";
@ -136,7 +136,7 @@
// buttonNumber8
//
this.buttonNumber8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber8.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber8.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber8.ForeColor = System.Drawing.Color.White;
this.buttonNumber8.Location = new System.Drawing.Point(89, 230);
this.buttonNumber8.Name = "buttonNumber8";
@ -149,7 +149,7 @@
// buttonNumber5
//
this.buttonNumber5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber5.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber5.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber5.ForeColor = System.Drawing.Color.White;
this.buttonNumber5.Location = new System.Drawing.Point(89, 154);
this.buttonNumber5.Name = "buttonNumber5";
@ -162,7 +162,7 @@
// buttonNumber2
//
this.buttonNumber2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber2.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber2.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber2.ForeColor = System.Drawing.Color.White;
this.buttonNumber2.Location = new System.Drawing.Point(89, 78);
this.buttonNumber2.Name = "buttonNumber2";
@ -175,7 +175,7 @@
// buttonSign
//
this.buttonSign.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonSign.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonSign.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonSign.ForeColor = System.Drawing.Color.White;
this.buttonSign.Location = new System.Drawing.Point(13, 306);
this.buttonSign.Name = "buttonSign";
@ -188,7 +188,7 @@
// buttonNumber7
//
this.buttonNumber7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber7.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber7.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber7.ForeColor = System.Drawing.Color.White;
this.buttonNumber7.Location = new System.Drawing.Point(13, 230);
this.buttonNumber7.Name = "buttonNumber7";
@ -201,7 +201,7 @@
// buttonNumber4
//
this.buttonNumber4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber4.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber4.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber4.ForeColor = System.Drawing.Color.White;
this.buttonNumber4.Location = new System.Drawing.Point(13, 154);
this.buttonNumber4.Name = "buttonNumber4";
@ -214,7 +214,7 @@
// buttonNumber1
//
this.buttonNumber1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber1.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber1.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber1.ForeColor = System.Drawing.Color.White;
this.buttonNumber1.Location = new System.Drawing.Point(13, 78);
this.buttonNumber1.Name = "buttonNumber1";
@ -224,13 +224,13 @@
this.buttonNumber1.Text = "1";
this.buttonNumber1.Click += new System.EventHandler(this.buttonNumber_Click);
//
// label1
// labelCaption
//
this.label1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.label1.Location = new System.Drawing.Point(3, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 20);
this.label1.Text = "keypad";
this.labelCaption.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelCaption.Location = new System.Drawing.Point(3, 3);
this.labelCaption.Name = "labelCaption";
this.labelCaption.Size = new System.Drawing.Size(237, 20);
this.labelCaption.Text = "keypad";
//
// DialogFormNumKeyPad
//
@ -253,7 +253,7 @@
this.Controls.Add(this.buttonNumber7);
this.Controls.Add(this.buttonNumber4);
this.Controls.Add(this.buttonNumber1);
this.Controls.Add(this.label1);
this.Controls.Add(this.labelCaption);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DialogFormNumKeyPad";
this.Text = "DialogFormNumKeyPad1";
@ -277,6 +277,6 @@
private System.Windows.Forms.Button buttonNumber7;
private System.Windows.Forms.Button buttonNumber4;
private System.Windows.Forms.Button buttonNumber1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label labelCaption;
}
}

View File

@ -22,12 +22,13 @@ namespace INT_PT002.DialogForms
#endregion
#region Constructor
public DialogFormNumKeyPad(string value, int dig, int decimalPlaces, bool isSignEnable)
public DialogFormNumKeyPad(string caption, string value, int dig, int decimalPlaces, bool isSignEnable)
{
InitializeComponent();
this.sbInputValue = new StringBuilder();
this.labelCaption.Text = caption;
this.Digit = dig;
this.DecimalPlaces = decimalPlaces;
this.labelScreen.Text = value;

View File

@ -131,7 +131,7 @@ namespace INT_PT002.Forms
//}
private void labelChart1DrawStep_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelChart1DrawStep.Text, 2, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel11.Text, this.labelChart1DrawStep.Text, 2, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -146,7 +146,7 @@ namespace INT_PT002.Forms
}
private void labelChart2DrawStep_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelChart2DrawStep.Text, 2, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel11.Text, this.labelChart2DrawStep.Text, 2, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
{

View File

@ -21,6 +21,7 @@ namespace INT_PT002.Forms
public int DecimalPlaces3;
public int DecimalPlaces4;
private int CommunicationCheckCount;
public int EquipmentColumn;
// 파일 위치
private string m_PathLaunchFolder;
@ -37,7 +38,7 @@ namespace INT_PT002.Forms
public Recipe CurrentRecipe;
// Leak Data
private Collection<LeakData> CollectionLeakDatas;
private LeakData CurrentLeakData;
public FormMainDisplay1 ChildFormMainDisplay;
public FormMenu ChildFormMenu;
@ -81,6 +82,7 @@ namespace INT_PT002.Forms
this.DecimalPlaces3 = 3;
this.DecimalPlaces4 = 4;
this.CommunicationCheckCount = 0;
this.EquipmentColumn = 10;
this.EquipmentStatus = Define.E_EquipmentStatus.Stop;
@ -91,9 +93,7 @@ namespace INT_PT002.Forms
this.SystemConfig = new SystemConfiguration();
this.CurrentRecipe = new Recipe();
//this.CollectionLeakDatas = new Collection<LeakData>();
//for (int i = 0; i < 10; i++)
// this.CollectionLeakDatas.Add(new LeakData());
this.CurrentLeakData = new LeakData(this.EquipmentColumn);
// SystemFile 폴더 생성
if (Directory.Exists(this.PathSystemFileFolder) == false)
@ -113,7 +113,7 @@ namespace INT_PT002.Forms
this.smartForm1.AddChildForm(this.ChildFormMainDisplay);
this.smartForm1.AddChildForm(this.ChildFormMenu);
}
private void TransferSystemParameter()
private void TransferSystemParameter9039()
{
StringBuilder sb = new StringBuilder();
@ -128,6 +128,33 @@ namespace INT_PT002.Forms
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9039_ParameterAll, sb.ToString());
}
public void TransferRecipeParameter9043(int number)
{
StringBuilder sb = new StringBuilder();
Recipe item = new Recipe();
this.LoadRecipeFile(ref item, number - 1);
sb.Append(Helper.StringBlankFillDigits4(item.NUMBER.ToString()));
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_RELIEF.ToString()));
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_HOLD1.ToString()));
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_HOLD2.ToString()));
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_BLOWOFF.ToString()));
sb.Append(Helper.StringBlankFillDigits6(item.DISP_JUDG_STD_LEVEL));
sb.Append(Helper.StringBlankFillDigits6(item.DISP_JUDG_MIN_LEVEL));
sb.Append(Helper.StringBlankFillDigits6(item.DISP_JUDG_EMPTY_LEVEL));
sb.Append(Helper.StringBlankFillDigits4(item.DISP_HOLD_DELAY_MSEC.ToString()));
sb.Append(Helper.StringBlankFillDigits8(item.DIFF_LR_SECOND));
sb.Append(Helper.StringBlankFillDigits8(item.DIFF_LR_TOTAL));
sb.Append(Helper.StringBlankFillDigits8(item.DIFF_LR_MEAN));
sb.Append(Helper.StringBlankFillDigits4(item.DIFF_HOLD_DELAY_MSEC.ToString()));
sb.Append(Helper.StringBlankFillDigits6(item.VACUUM_GUAGE_LEVEL));
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9043_RecipeParameter, sb.ToString());
}
public void FormChange(int index)
{
@ -276,7 +303,7 @@ namespace INT_PT002.Forms
structItem.VACUUM_BLOWOFF = this.CurrentRecipe.VACUUM_BLOWOFF;
structItem.VACUUM_GUAGE_LEVEL = this.CurrentRecipe.VACUUM_GUAGE_LEVEL;
this.smartFileIO.StructType.WriteBuffer(structItem, i, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.WriteBuffer(structItem, i, SmartFile.WriteMode.Append);
}
this.smartFileIO.StructType.WriteBufferSave();
}
@ -382,8 +409,8 @@ namespace INT_PT002.Forms
#region Test 용 통신 로그
fullPath = this.PathDataBackupFolder + "Communicationlog.txt";
this.smartFileCommunicationLog.FilePathName = fullPath;
//this.smartFileCommunicationLog.Open();
//this.IsCommunicationLogOpen = true;
this.smartFileCommunicationLog.Open();
this.IsCommunicationLogOpen = true;
#endregion
}
public void CloseSmartUartLink()
@ -684,7 +711,7 @@ namespace INT_PT002.Forms
this.EquipmentStatus = Define.E_EquipmentStatus.Stop;
this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.EquipmentStatus);
this.TransferSystemParameter();
this.TransferSystemParameter9039();
break;
case "CBS":
this.EquipmentStatus = DataStore.Define.E_EquipmentStatus.Start;
@ -781,12 +808,24 @@ namespace INT_PT002.Forms
switch (cmd)
{
case "SN0":
if ((ret = this.ReceiveCommandSN0(lane, receiveData)) != 0)
case "SLA":
if ((ret = this.ReceiveCommandSLA(lane, receiveData)) != 0)
return ret;
break;
case "SR0":
if ((ret = this.ReceiveCommandSR0(lane, receiveData)) != 0)
case "SLB":
if ((ret = this.ReceiveCommandSLB(lane, receiveData)) != 0)
return ret;
break;
case "SLC":
if ((ret = this.ReceiveCommandSLC(lane, receiveData)) != 0)
return ret;
break;
case "SLD":
if ((ret = this.ReceiveCommandSLD(lane, receiveData)) != 0)
return ret;
break;
case "SLE":
if ((ret = this.ReceiveCommandSLE(lane, receiveData)) != 0)
return ret;
break;
case "ST0":
@ -813,6 +852,19 @@ namespace INT_PT002.Forms
{
switch (address)
{
case "2001":
#region Value Assign
iValue = int.Parse(receiveData);
if (iValue <= 0 || iValue > 1000)
return ret = -1;
this.SystemConfig.RECIPE_NUMBER = iValue;
#endregion
this.LoadRecipeFile(ref this.CurrentRecipe, this.SystemConfig.RECIPE_NUMBER - 1);
this.ChildFormMenu.UpdateDisplayRecipeData(this.CurrentRecipe);
break;
default:
break;
}
@ -835,6 +887,12 @@ namespace INT_PT002.Forms
switch (address)
{
case "9039":
if (response == Define.E_ResponseData.ACK)
this.TransferRecipeParameter9043(this.SystemConfig.RECIPE_NUMBER);
break;
case "9043":
if (response == Define.E_ResponseData.ACK)
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._2001_ProductNumber, "");
break;
default:
break;
@ -848,42 +906,8 @@ namespace INT_PT002.Forms
return ret;
}
// 노멀 데이터
private int ReceiveCommandSN0(string lane, string receiveData)
{
int ret = 0;
try
{
switch (lane)
{
case "Z":
#region Value Assign
for (int i = 0; i < 10; i++)
{
this.CollectionLeakDatas[i].ProgressStatus = Helper.StringToProgressStatus(receiveData.Substring(i * 22, 2));
//this.CollectionLeakDatas[i].CurrentValueSign = receiveData.Substring(i * 22 + 2, 1);
//this.CollectionLeakDatas[i].CurrentValue = int.Parse(receiveData.Substring(i * 22 + 3, 5)).ToString();
//this.CollectionLeakDatas[i].MaxValueSign = receiveData.Substring(i * 22 + 8, 1);
//this.CollectionLeakDatas[i].MaxValue = int.Parse(receiveData.Substring(i * 22 + 9, 5)).ToString();
//this.CollectionLeakDatas[i].StDev = receiveData.Substring(i * 22 + 14, 8);
}
#endregion
this.ChildFormMainDisplay.UpdateNomalLeakDataDisplay(this.CollectionLeakDatas);
break;
default:
break;
}
}
catch
{
ret = -1;
}
return ret;
}
// 판정 데이터
private int ReceiveCommandSR0(string lane, string receiveData)
private int ReceiveCommandSLA(string lane, string receiveData)
{
int ret = 0;
@ -891,85 +915,12 @@ namespace INT_PT002.Forms
{
switch (lane)
{
case "A":
#region Value Assign
this.CollectionLeakDatas[0].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[0].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData1Display(this.CollectionLeakDatas[0]);
break;
case "B":
#region Value Assign
this.CollectionLeakDatas[1].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[1].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData2Display(this.CollectionLeakDatas[1]);
break;
case "C":
#region Value Assign
this.CollectionLeakDatas[2].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[2].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData3Display(this.CollectionLeakDatas[2]);
break;
case "D":
#region Value Assign
this.CollectionLeakDatas[3].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[3].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData4Display(this.CollectionLeakDatas[3]);
break;
case "E":
#region Value Assign
this.CollectionLeakDatas[4].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[4].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData5Display(this.CollectionLeakDatas[4]);
break;
case "F":
#region Value Assign
this.CollectionLeakDatas[5].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[5].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData6Display(this.CollectionLeakDatas[5]);
break;
case "G":
#region Value Assign
this.CollectionLeakDatas[6].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[6].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData7Display(this.CollectionLeakDatas[6]);
break;
case "H":
#region Value Assign
this.CollectionLeakDatas[7].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[7].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData8Display(this.CollectionLeakDatas[7]);
break;
case "I":
#region Value Assign
this.CollectionLeakDatas[8].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[8].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData9Display(this.CollectionLeakDatas[8]);
break;
case "J":
#region Value Assign
this.CollectionLeakDatas[9].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(0, 2));
//this.CollectionLeakDatas[9].ResultSD = receiveData.Substring(2, 8).Trim();
#endregion
this.ChildFormMainDisplay.UpdateStartLeakData10Display(this.CollectionLeakDatas[9]);
break;
case "Z":
#region Value Assign
for (int i = 0; i < 10; i++)
{
this.CollectionLeakDatas[i].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(i * 10, 2));
//this.CollectionLeakDatas[i].ResultSD = receiveData.Substring(i * 10 + 2, 8).Trim();
}
for (int i = 0; i < this.EquipmentColumn; i++)
this.CurrentLeakData.CollJudgment[i] = Helper.StringToJudgmentStatus(receiveData.Substring(i * 1, 1));
#endregion
this.ChildFormMainDisplay.UpdateStartLeakDataDisplay(this.CollectionLeakDatas);
this.ChildFormMainDisplay.UpdateDisplayJudgmentData(this.CurrentLeakData);
break;
default:
break;
@ -982,6 +933,102 @@ namespace INT_PT002.Forms
return ret;
}
// 진행상태
private int ReceiveCommandSLB(string lane, string receiveData)
{
int ret = 0;
try
{
switch (lane)
{
case "Z":
#region Value Assign
this.CurrentLeakData.ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 1));
#endregion
this.ChildFormMainDisplay.UpdateProcessStatusDisplay(this.CurrentLeakData.ProcessStatus);
break;
default:
break;
}
}
catch
{
ret = -1;
}
return ret;
}
// 차압 센서 데이터
private int ReceiveCommandSLC(string lane, string receiveData)
{
int ret = 0;
try
{
switch (lane)
{
case "Z":
#region Value Assign
for (int i = 0; i < this.EquipmentColumn; 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.ChildFormMainDisplay.UpdateDisplayDiffData(this.CurrentLeakData.CollDiffData);
break;
default:
break;
}
}
catch
{
ret = -1;
}
return ret;
}
// 변위 센서 데이터
private int ReceiveCommandSLD(string lane, string receiveData)
{
int ret = 0;
try
{
switch (lane)
{
case "Z":
#region Value Assign
for (int i = 0; i < this.EquipmentColumn; 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.ChildFormMainDisplay.UpdateDisplayDispData(this.CurrentLeakData.CollDispData);
break;
default:
break;
}
}
catch
{
ret = -1;
}
return ret;
}
// 압력 데이터
private int ReceiveCommandSLE(string lane, string receiveData)
{
int ret = 0;
return ret;
}
// IO테스트-IN
private int ReceiveCommandST0(string lane, string receiveData)
{
@ -1048,7 +1095,7 @@ namespace INT_PT002.Forms
this.smartForm1.Show(1);
// 초기 파라미터 전송
this.TransferSystemParameter();
this.TransferSystemParameter9039();
// 화면 시계 표시 타이머
this.timer.Enabled = true;

File diff suppressed because it is too large Load Diff

View File

@ -27,13 +27,13 @@ namespace INT_PT002.Forms
private FormMain m_ParentForm;
private Collection<SmartLabel> CollectionCurrentValue;
private Collection<SmartLabel> CollectionMaxValue;
private Collection<SmartLabel> CollectionStDev;
private Collection<SmartLabel> CollectionResult;
private Collection<SmartLabel> CollectionResultSD;
private Collection<SmartLabel> CollectionResult1;
private Collection<SmartDraw> CollectionDraw;
private Collection<SmartLabel> CollectionDispRData;
private Collection<SmartLabel> CollectionDispMData;
private Collection<SmartLabel> CollectionDiffMadc;
private Collection<SmartLabel> CollectionDiffSecDiff;
private Collection<SmartLabel> CollectionPressureWork;
private Collection<SmartLabel> CollectionPressureMaster;
private ControlMainDisplay ChildControl;
#endregion
@ -46,7 +46,6 @@ namespace INT_PT002.Forms
this.ParentForm = parent;
this.DefaultSetting();
this.InitializeDraw();
this.InitializeData();
}
#endregion
@ -70,42 +69,6 @@ namespace INT_PT002.Forms
this.ColorResultNG = Color.Red;
this.ColorResultNone = Color.Black;
this.CollectionCurrentValue = new Collection<SmartLabel>();
this.CollectionCurrentValue.Add(this.labelCurrentValue5);
this.CollectionCurrentValue.Add(this.labelCurrentValue4);
this.CollectionCurrentValue.Add(this.labelCurrentValue3);
this.CollectionCurrentValue.Add(this.labelCurrentValue2);
this.CollectionCurrentValue.Add(this.labelCurrentValue1);
this.CollectionCurrentValue.Add(this.labelCurrentValue6);
this.CollectionCurrentValue.Add(this.labelCurrentValue7);
this.CollectionCurrentValue.Add(this.labelCurrentValue8);
this.CollectionCurrentValue.Add(this.labelCurrentValue9);
this.CollectionCurrentValue.Add(this.labelCurrentValue10);
this.CollectionMaxValue = new Collection<SmartLabel>();
this.CollectionMaxValue.Add(this.labelMaxValue5);
this.CollectionMaxValue.Add(this.labelMaxValue4);
this.CollectionMaxValue.Add(this.labelMaxValue3);
this.CollectionMaxValue.Add(this.labelMaxValue2);
this.CollectionMaxValue.Add(this.labelMaxValue1);
this.CollectionMaxValue.Add(this.labelMaxValue6);
this.CollectionMaxValue.Add(this.labelMaxValue7);
this.CollectionMaxValue.Add(this.labelMaxValue8);
this.CollectionMaxValue.Add(this.labelMaxValue9);
this.CollectionMaxValue.Add(this.labelMaxValue10);
this.CollectionStDev = new Collection<SmartLabel>();
this.CollectionStDev.Add(this.labelStDev5);
this.CollectionStDev.Add(this.labelStDev4);
this.CollectionStDev.Add(this.labelStDev3);
this.CollectionStDev.Add(this.labelStDev2);
this.CollectionStDev.Add(this.labelStDev1);
this.CollectionStDev.Add(this.labelStDev6);
this.CollectionStDev.Add(this.labelStDev7);
this.CollectionStDev.Add(this.labelStDev8);
this.CollectionStDev.Add(this.labelStDev9);
this.CollectionStDev.Add(this.labelStDev10);
this.CollectionResult = new Collection<SmartLabel>();
this.CollectionResult.Add(this.labelResult1);
this.CollectionResult.Add(this.labelResult2);
@ -118,41 +81,77 @@ namespace INT_PT002.Forms
this.CollectionResult.Add(this.labelResult9);
this.CollectionResult.Add(this.labelResult10);
this.CollectionResultSD = new Collection<SmartLabel>();
this.CollectionResultSD.Add(this.labelResultSD1);
this.CollectionResultSD.Add(this.labelResultSD2);
this.CollectionResultSD.Add(this.labelResultSD3);
this.CollectionResultSD.Add(this.labelResultSD4);
this.CollectionResultSD.Add(this.labelResultSD5);
this.CollectionResultSD.Add(this.labelResultSD6);
this.CollectionResultSD.Add(this.labelResultSD7);
this.CollectionResultSD.Add(this.labelResultSD8);
this.CollectionResultSD.Add(this.labelResultSD9);
this.CollectionResultSD.Add(this.labelResultSD10);
this.CollectionDispRData = new Collection<SmartLabel>();
this.CollectionDispRData.Add(this.labelDispRData1);
this.CollectionDispRData.Add(this.labelDispRData2);
this.CollectionDispRData.Add(this.labelDispRData3);
this.CollectionDispRData.Add(this.labelDispRData4);
this.CollectionDispRData.Add(this.labelDispRData5);
this.CollectionDispRData.Add(this.labelDispRData6);
this.CollectionDispRData.Add(this.labelDispRData7);
this.CollectionDispRData.Add(this.labelDispRData8);
this.CollectionDispRData.Add(this.labelDispRData9);
this.CollectionDispRData.Add(this.labelDispRData10);
this.CollectionResult1 = new Collection<SmartLabel>();
this.CollectionResult1.Add(this.labelResult1_1);
this.CollectionResult1.Add(this.labelResult2_1);
this.CollectionResult1.Add(this.labelResult3_1);
this.CollectionResult1.Add(this.labelResult4_1);
this.CollectionResult1.Add(this.labelResult5_1);
this.CollectionResult1.Add(this.labelResult6_1);
this.CollectionResult1.Add(this.labelResult7_1);
this.CollectionResult1.Add(this.labelResult8_1);
this.CollectionResult1.Add(this.labelResult9_1);
this.CollectionResult1.Add(this.labelResult10_1);
this.CollectionDispMData = new Collection<SmartLabel>();
this.CollectionDispMData.Add(this.labelDispMData1);
this.CollectionDispMData.Add(this.labelDispMData2);
this.CollectionDispMData.Add(this.labelDispMData3);
this.CollectionDispMData.Add(this.labelDispMData4);
this.CollectionDispMData.Add(this.labelDispMData5);
this.CollectionDispMData.Add(this.labelDispMData6);
this.CollectionDispMData.Add(this.labelDispMData7);
this.CollectionDispMData.Add(this.labelDispMData8);
this.CollectionDispMData.Add(this.labelDispMData9);
this.CollectionDispMData.Add(this.labelDispMData10);
this.CollectionDraw = new Collection<SmartDraw>();
this.CollectionDraw.Add(this.smartDraw1);
this.CollectionDraw.Add(this.smartDraw2);
this.CollectionDraw.Add(this.smartDraw3);
this.CollectionDraw.Add(this.smartDraw4);
this.CollectionDraw.Add(this.smartDraw5);
this.CollectionDraw.Add(this.smartDraw6);
this.CollectionDraw.Add(this.smartDraw7);
this.CollectionDraw.Add(this.smartDraw8);
this.CollectionDraw.Add(this.smartDraw9);
this.CollectionDraw.Add(this.smartDraw10);
this.CollectionDiffMadc = new Collection<SmartLabel>();
this.CollectionDiffMadc.Add(this.labelDiffMadc1);
this.CollectionDiffMadc.Add(this.labelDiffMadc2);
this.CollectionDiffMadc.Add(this.labelDiffMadc3);
this.CollectionDiffMadc.Add(this.labelDiffMadc4);
this.CollectionDiffMadc.Add(this.labelDiffMadc5);
this.CollectionDiffMadc.Add(this.labelDiffMadc6);
this.CollectionDiffMadc.Add(this.labelDiffMadc7);
this.CollectionDiffMadc.Add(this.labelDiffMadc8);
this.CollectionDiffMadc.Add(this.labelDiffMadc9);
this.CollectionDiffMadc.Add(this.labelDiffMadc10);
this.CollectionDiffSecDiff = new Collection<SmartLabel>();
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff1);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff2);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff3);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff4);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff5);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff6);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff7);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff8);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff9);
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff10);
this.CollectionPressureWork = new Collection<SmartLabel>();
this.CollectionPressureWork.Add(this.labelPressureWork1);
this.CollectionPressureWork.Add(this.labelPressureWork2);
this.CollectionPressureWork.Add(this.labelPressureWork3);
this.CollectionPressureWork.Add(this.labelPressureWork4);
this.CollectionPressureWork.Add(this.labelPressureWork5);
this.CollectionPressureWork.Add(this.labelPressureWork6);
this.CollectionPressureWork.Add(this.labelPressureWork7);
this.CollectionPressureWork.Add(this.labelPressureWork8);
this.CollectionPressureWork.Add(this.labelPressureWork9);
this.CollectionPressureWork.Add(this.labelPressureWork10);
this.CollectionPressureMaster = new Collection<SmartLabel>();
this.CollectionPressureMaster.Add(this.labelPressureMaster1);
this.CollectionPressureMaster.Add(this.labelPressureMaster2);
this.CollectionPressureMaster.Add(this.labelPressureMaster3);
this.CollectionPressureMaster.Add(this.labelPressureMaster4);
this.CollectionPressureMaster.Add(this.labelPressureMaster5);
this.CollectionPressureMaster.Add(this.labelPressureMaster6);
this.CollectionPressureMaster.Add(this.labelPressureMaster7);
this.CollectionPressureMaster.Add(this.labelPressureMaster8);
this.CollectionPressureMaster.Add(this.labelPressureMaster9);
this.CollectionPressureMaster.Add(this.labelPressureMaster10);
this.ChildControl = new ControlMainDisplay(this.ParentForm);
this.Controls.Add(this.ChildControl);
@ -164,57 +163,41 @@ namespace INT_PT002.Forms
{
for (int i = 0; i < 10; i++)
{
this.CollectionCurrentValue[i].Text = "0.000";
this.CollectionMaxValue[i].Text = "0.000";
this.CollectionStDev[i].Text = "0.0000";
this.CollectionResult[i].Text = "-";
this.CollectionResult[i].TextColor = this.ColorResultNone;
this.CollectionResult1[i].Text = "-";
this.CollectionResult1[i].TextColor = this.ColorResultNone;
this.CollectionResult1[i].Font = new Font("New Gulim", 48, FontStyle.Bold);
this.CollectionResultSD[i].Text = "0.0000";
this.CollectionDraw[i].Chart.PutDataAllClear();
}
}
private void InitializeDraw()
{
for (int i = 0; i < 10; i++)
{
// SetChartConfig
this.CollectionDraw[i].Chart.SetChartConfig(0, 102, 192, 102, 1, SmartDraw.ChartRefresh.LEFTSCROLL);
// BackLayer "0" 기준선 표시
this.CollectionDraw[i].BackLayer.SetPenStyle(Color.Gray, 1);
this.CollectionDraw[i].BackLayer.Line(0, 90, 192, 90);
this.CollectionResult[i].Font = new Font("New Gulim", 48, FontStyle.Bold);
this.CollectionDispRData[i].Text = "0.00";
this.CollectionDispMData[i].Text = "0.00";
this.CollectionDiffMadc[i].Text = "0.00";
this.CollectionDiffSecDiff[i].Text = "0.00";
this.CollectionPressureWork[i].Text = "0.0";
this.CollectionPressureMaster[i].Text = "0.0";
}
}
private void GetJudgmentResult(LeakData data, SmartLabel label1, SmartLabel label2)
private void GetJudgmentResult(Define.E_JudgmentStatus judg, SmartLabel label2)
{
string value = "";
switch (data.JudgmentStatus)
switch (judg)
{
case Define.E_JudgmentStatus.None:
value = "-";
label1.TextColor = this.ColorResultNone;
label2.TextColor = this.ColorResultNone;
label2.Font = new Font("New Gulim", 40, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Pass:
value = "정상";
label1.TextColor = this.ColorResultPass;
label2.TextColor = this.ColorResultPass;
label2.Font = new Font("New Gulim", 40, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Ng:
value = "리크";
label1.TextColor = this.ColorResultNG;
label2.TextColor = this.ColorResultNG;
label2.Font = new Font("New Gulim", 40, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Error:
value = "제품 없음";
label1.TextColor = this.ColorResultNone;
label2.TextColor = this.ColorResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
@ -222,17 +205,15 @@ namespace INT_PT002.Forms
break;
}
if (label1.Text != value)
label1.Text = value;
if (label2.Text != value)
label2.Text = value;
}
private void UpdateProgressStatusDisplay(Define.E_ProgressStatus status)
public void UpdateProcessStatusDisplay(Define.E_ProcessStatus status)
{
switch (status)
{
case Define.E_ProgressStatus.None:
case Define.E_ProcessStatus.None:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -242,7 +223,7 @@ namespace INT_PT002.Forms
this.labelProgress7.BackGroundColor = this.ColorProgressOff;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
break;
case Define.E_ProgressStatus.Initial:
case Define.E_ProcessStatus.Initial:
this.labelProgress0.BackGroundColor = this.ColorProgressOn;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -252,7 +233,7 @@ namespace INT_PT002.Forms
this.labelProgress7.BackGroundColor = this.ColorProgressOff;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
break;
case Define.E_ProgressStatus.ProductEntry:
case Define.E_ProcessStatus.ProductEntry:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOn;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -265,7 +246,7 @@ namespace INT_PT002.Forms
// Label Initialize
//this.InitializeLabel();
break;
case Define.E_ProgressStatus.ChamberConbined:
case Define.E_ProcessStatus.ChamberConbined:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOn;
@ -275,7 +256,7 @@ namespace INT_PT002.Forms
this.labelProgress7.BackGroundColor = this.ColorProgressOff;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
break;
case Define.E_ProgressStatus.VacuumStart:
case Define.E_ProcessStatus.VacuumStart:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -285,7 +266,7 @@ namespace INT_PT002.Forms
this.labelProgress7.BackGroundColor = this.ColorProgressOff;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
break;
case Define.E_ProgressStatus.VacuumHold:
case Define.E_ProcessStatus.VacuumHold:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -295,9 +276,9 @@ namespace INT_PT002.Forms
this.labelProgress7.BackGroundColor = this.ColorProgressOff;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
break;
case Define.E_ProgressStatus.Judgment:
case Define.E_ProcessStatus.Judgment:
break;
case Define.E_ProgressStatus.VacuumBreak:
case Define.E_ProcessStatus.VacuumBreak:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -307,7 +288,7 @@ namespace INT_PT002.Forms
this.labelProgress7.BackGroundColor = this.ColorProgressOff;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
break;
case Define.E_ProgressStatus.ChamberSeparation:
case Define.E_ProcessStatus.ChamberSeparation:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -317,7 +298,7 @@ namespace INT_PT002.Forms
this.labelProgress7.BackGroundColor = this.ColorProgressOn;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
break;
case Define.E_ProgressStatus.ProductRelease:
case Define.E_ProcessStatus.ProductRelease:
this.labelProgress0.BackGroundColor = this.ColorProgressOff;
this.labelProgress1.BackGroundColor = this.ColorProgressOff;
this.labelProgress2.BackGroundColor = this.ColorProgressOff;
@ -331,7 +312,27 @@ namespace INT_PT002.Forms
break;
}
}
private void UpdateDotGraphDisplay(SmartDraw draw, LeakData data)
private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff)
{
int iValue = 0;
double dValue = 0.0;
// 값 표시 범위
// 15.000 ~ -2.000 (17.000 ~ 0)
// 그래프 영역 높이 102
// 17000 / 102 = 166.666666~
//dValue = (int.Parse(data.CurrentValueSign + data.CurrentValue) + 2000) / 166.66666;
if (dValue > 110)
dValue = 110;
if (dValue < 1)
dValue = 1;
iValue = int.Parse(string.Format("{0:f0}", dValue));
draw.Chart.PutData(iValue);
}
private void UpdateDisplayDotGraphDisp(SmartDraw draw, DispData disp)
{
int iValue = 0;
double dValue = 0.0;
@ -368,7 +369,8 @@ namespace INT_PT002.Forms
#endregion
}
}
public void UpdateNomalLeakDataDisplay(Collection<LeakData> datas)
public void UpdateDisplayDiffData(Collection<DiffData> datas)
{
string value = "";
bool bValue = false;
@ -381,186 +383,102 @@ namespace INT_PT002.Forms
else
this.FlagIgnoreCNT++;
this.UpdateProgressStatusDisplay(datas[0].ProgressStatus);
for (int i = 0; i < datas.Count; i++)
for (int i = 0; i < this.ParentForm.EquipmentColumn; i++)
{
// Current Value
//value = Helper.StringToDecimalPlaces(datas[i].CurrentValue, this.ParentForm.DecimalPlaces3);
//if (datas[i].CurrentValueSign == "-")
// value = string.Format("{0}{1}", datas[i].CurrentValueSign, value);
if (this.CollectionCurrentValue[i].Text != value)
this.CollectionCurrentValue[i].Text = value;
value = datas[i].MAdc;
if (this.CollectionDiffMadc[i].Text != value)
this.CollectionDiffMadc[i].Text = value;
// Max Value
//value = Helper.StringToDecimalPlaces(datas[i].MaxValue, this.ParentForm.DecimalPlaces3);
//if (datas[i].MaxValueSign == "-")
// value = string.Format("{0}{1}", datas[i].MaxValueSign, value);
if (this.CollectionMaxValue[i].Text != value)
this.CollectionMaxValue[i].Text = value;
value = datas[i].SecBufDiff;
if (this.CollectionDiffSecDiff[i].Text != value)
this.CollectionDiffSecDiff[i].Text = value;
}
}
public void UpdateDisplayDispData(Collection<DispData> datas)
{
string value = "";
bool bValue = false;
// Standard Deviation
//value = Helper.StringToDecimalPlaces(datas[i].StDev, this.ParentForm.DecimalPlaces4);
if (this.CollectionStDev[i].Text != value)
this.CollectionStDev[i].Text = value;
if (this.FlagIgnoreCNT == this.ParentForm.SystemConfig.CHART1_DRAW_STEP)
{
bValue = true;
this.FlagIgnoreCNT = 0;
}
else
this.FlagIgnoreCNT++;
// Draw
if (bValue == true)
this.UpdateDotGraphDisplay(this.CollectionDraw[i], datas[i]);
for (int i = 0; i < this.ParentForm.EquipmentColumn; i++)
{
value = datas[i].RData;
if (this.CollectionDispRData[i].Text != value)
this.CollectionDispRData[i].Text = value;
value = datas[i].MData;
if (this.CollectionDispMData[i].Text != value)
this.CollectionDispMData[i].Text = value;
}
}
this.ChildControl.UpdateNomalLeakDataDisplay(datas);
}
public void UpdateStartLeakDataDisplay(Collection<LeakData> datas)
public void UpdateDisplayJudgmentData(LeakData datas)
{
this.timerOn.Enabled = false;
this.timerOff.Enabled = false;
for (int i = 0; i < 10; i++)
this.CollectionResult1[i].Visible = true;
this.CollectionResult[i].Visible = true;
this.UpdateStartLeakData1Display(datas[4]);
this.UpdateStartLeakData2Display(datas[3]);
this.UpdateStartLeakData3Display(datas[2]);
this.UpdateStartLeakData4Display(datas[1]);
this.UpdateStartLeakData5Display(datas[0]);
this.UpdateStartLeakData6Display(datas[5]);
this.UpdateStartLeakData7Display(datas[6]);
this.UpdateStartLeakData8Display(datas[7]);
this.UpdateStartLeakData9Display(datas[8]);
this.UpdateStartLeakData10Display(datas[9]);
this.UpdateDisplayJudgmentData1(datas);
this.UpdateDisplayJudgmentData2(datas);
this.UpdateDisplayJudgmentData3(datas);
this.UpdateDisplayJudgmentData4(datas);
this.UpdateDisplayJudgmentData5(datas);
this.UpdateDisplayJudgmentData6(datas);
this.UpdateDisplayJudgmentData7(datas);
this.UpdateDisplayJudgmentData8(datas);
this.UpdateDisplayJudgmentData9(datas);
this.UpdateDisplayJudgmentData10(datas);
this.ChildControl.UpdateStartLeakDataDisplay(datas);
}
public void UpdateStartLeakData1Display(LeakData data)
private void UpdateDisplayJudgmentData1(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult1.Text != value)
// this.labelResult1.Text = value;
this.GetJudgmentResult(data, this.labelResult1, this.labelResult1_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD1.Text != value)
this.labelResultSD1.Text = value;
this.GetJudgmentResult(data.CollJudgment[0], this.labelResult1);
}
public void UpdateStartLeakData2Display(LeakData data)
private void UpdateDisplayJudgmentData2(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult2.Text != value)
// this.labelResult2.Text = value;
this.GetJudgmentResult(data, this.labelResult2, this.labelResult2_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD2.Text != value)
this.labelResultSD2.Text = value;
this.GetJudgmentResult(data.CollJudgment[1], this.labelResult2);
}
public void UpdateStartLeakData3Display(LeakData data)
private void UpdateDisplayJudgmentData3(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult3.Text != value)
// this.labelResult3.Text = value;
this.GetJudgmentResult(data, this.labelResult3, this.labelResult3_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD3.Text != value)
this.labelResultSD3.Text = value;
this.GetJudgmentResult(data.CollJudgment[2], this.labelResult3);
}
public void UpdateStartLeakData4Display(LeakData data)
private void UpdateDisplayJudgmentData4(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult4.Text != value)
// this.labelResult4.Text = value;
this.GetJudgmentResult(data, this.labelResult4, this.labelResult4_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD4.Text != value)
this.labelResultSD4.Text = value;
this.GetJudgmentResult(data.CollJudgment[3], this.labelResult4);
}
public void UpdateStartLeakData5Display(LeakData data)
private void UpdateDisplayJudgmentData5(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult5.Text != value)
// this.labelResult5.Text = value;
this.GetJudgmentResult(data, this.labelResult5, this.labelResult5_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD5.Text != value)
this.labelResultSD5.Text = value;
this.GetJudgmentResult(data.CollJudgment[4], this.labelResult5);
}
public void UpdateStartLeakData6Display(LeakData data)
private void UpdateDisplayJudgmentData6(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult6.Text != value)
// this.labelResult6.Text = value;
this.GetJudgmentResult(data, this.labelResult6, this.labelResult6_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD6.Text != value)
this.labelResultSD6.Text = value;
this.GetJudgmentResult(data.CollJudgment[5], this.labelResult6);
}
public void UpdateStartLeakData7Display(LeakData data)
private void UpdateDisplayJudgmentData7(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult7.Text != value)
// this.labelResult7.Text = value;
this.GetJudgmentResult(data, this.labelResult7, this.labelResult7_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD7.Text != value)
this.labelResultSD7.Text = value;
this.GetJudgmentResult(data.CollJudgment[6], this.labelResult7);
}
public void UpdateStartLeakData8Display(LeakData data)
private void UpdateDisplayJudgmentData8(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult8.Text != value)
// this.labelResult8.Text = value;
this.GetJudgmentResult(data, this.labelResult8, this.labelResult8_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD8.Text != value)
this.labelResultSD8.Text = value;
this.GetJudgmentResult(data.CollJudgment[7], this.labelResult8);
}
public void UpdateStartLeakData9Display(LeakData data)
private void UpdateDisplayJudgmentData9(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult9.Text != value)
// this.labelResult9.Text = value;
this.GetJudgmentResult(data, this.labelResult9, this.labelResult9_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD9.Text != value)
this.labelResultSD9.Text = value;
this.GetJudgmentResult(data.CollJudgment[8], this.labelResult9);
}
public void UpdateStartLeakData10Display(LeakData data)
private void UpdateDisplayJudgmentData10(LeakData data)
{
string value = "";
//value = data.JudgmentStatus.ToString();
//if (this.labelResult10.Text != value)
// this.labelResult10.Text = value;
this.GetJudgmentResult(data, this.labelResult10, this.labelResult10_1);
//value = Helper.StringToDecimalPlaces(data.ResultSD, this.ParentForm.DecimalPlaces4);
if (this.labelResultSD10.Text != value)
this.labelResultSD10.Text = value;
this.GetJudgmentResult(data.CollJudgment[9], this.labelResult10);
}
public void UpdateDisplayTime()
{
@ -601,8 +519,8 @@ namespace INT_PT002.Forms
for (int i = 0; i < 10; i++)
{
this.CollectionResult1[i].Font = new Font("New Gulim", 20, FontStyle.Bold);
this.CollectionResult1[i].Text = "검사 중..";
this.CollectionResult[i].Font = new Font("New Gulim", 20, FontStyle.Bold);
this.CollectionResult[i].Text = "검사 중..";
}
this.timerOn.Enabled = true;
@ -669,7 +587,7 @@ namespace INT_PT002.Forms
this.timerOn.Enabled = false;
for (int i = 0; i < 10; i++)
this.CollectionResult1[i].Visible = false;
this.CollectionResult[i].Visible = false;
this.timerOff.Enabled = true;
}
@ -678,118 +596,12 @@ namespace INT_PT002.Forms
this.timerOff.Enabled = false;
for (int i = 0; i < 10; i++)
this.CollectionResult1[i].Visible = true;
this.CollectionResult[i].Visible = true;
this.timerOn.Enabled = true;
}
#endregion
private void smartButton1_Click(object sender, EventArgs e)
{
int iValue1 = 0, iValue2 = 0;
iValue1 = -2000;
this.smartDraw1.Chart.PutDataAllClear();
this.smartDraw1.LayerSupport = SmartDraw.LayerSupportOption.BackAndDraw;
this.smartDraw1.Chart.SetChartConfig(0, 110, 192, 110, 1, SmartDraw.ChartRefresh.LEFTSCROLL);
this.smartDraw1.Chart.ChartDrawStep = 1;
this.smartDraw1.SetPenStyle(Color.Green, 2, SmartDraw.PenStyles.SOLID);
for (int j = 0; j < 192; j++)
{
iValue2 = (iValue1 + 2000) / 100;
this.smartDraw1.Chart.PutData(iValue2);
}
}
private void smartButton4_Click(object sender, EventArgs e)
{
int iValue1 = 0, iValue2 = 0;
iValue1 = 0;
this.smartDraw1.Chart.PutDataAllClear();
this.smartDraw1.LayerSupport = SmartDraw.LayerSupportOption.BackAndDraw;
this.smartDraw1.Chart.SetChartConfig(0, 110, 192, 110, 1, SmartDraw.ChartRefresh.LEFTSCROLL);
this.smartDraw1.Chart.ChartDrawStep = 1;
this.smartDraw1.SetPenStyle(Color.Green, 2, SmartDraw.PenStyles.SOLID);
for (int j = 0; j < 192; j++)
{
iValue2 = (iValue1 + 2000) / 100;
this.smartDraw1.Chart.PutData(iValue2);
}
}
private void smartButton5_Click(object sender, EventArgs e)
{
int iValue1 = 0, iValue2 = 0;
iValue1 = 7000;
this.smartDraw1.Chart.PutDataAllClear();
this.smartDraw1.LayerSupport = SmartDraw.LayerSupportOption.BackAndDraw;
this.smartDraw1.Chart.SetChartConfig(0, 110, 192, 110, 1, SmartDraw.ChartRefresh.LEFTSCROLL);
this.smartDraw1.Chart.ChartDrawStep = 1;
this.smartDraw1.SetPenStyle(Color.Green, 2, SmartDraw.PenStyles.SOLID);
for (int j = 0; j < 192; j++)
{
iValue2 = (iValue1 + 2000) / 100;
this.smartDraw1.Chart.PutData(iValue2);
}
}
private void smartButton6_Click(object sender, EventArgs e)
{
int iValue1 = 0, iValue2 = 0, iValue3 = 0;
iValue1 = -1000;
//this.smartDraw1.Chart.PutDataAllClear();
//this.smartDraw1.LayerSupport = SmartDraw.LayerSupportOption.BackAndDraw;
// this.smartDraw1.Chart.SetChartConfig(0, 110, 192, 110, 1, SmartDraw.ChartRefresh.LEFTSCROLL);
this.smartDraw1.Chart.SetChartConfig();
//this.smartDraw1.Chart.ChartDrawStep = 1;
//this.smartDraw1.SetPenStyle(Color.Green, 2, SmartDraw.PenStyles.SOLID);
for (int j = 0; j < 30; j++)
{
iValue2 = (iValue1 + 2000) / 100;
this.smartDraw1.Chart.PutData(iValue2);
}
iValue3 = -1000;
for (int j = 0; j < 10; j++)
{
iValue2 = ((iValue3 + 2000) / 100) + 7;
iValue3 = iValue2;
this.smartDraw1.Chart.PutData(iValue2);
}
iValue1 = 7000;
for (int j = 0; j < 110; j++)
{
iValue2 = (iValue1 + 2000) / 100;
this.smartDraw1.Chart.PutData(iValue2);
}
iValue3 = 7000;
for (int j = 0; j < 10; j++)
{
iValue2 = ((iValue3 + 2000) / 100) - 7;
iValue3 = iValue2;
this.smartDraw1.Chart.PutData(iValue2);
}
iValue1 = -1000;
for (int j = 0; j < 30; j++)
{
iValue2 = (iValue1 + 2000) / 100;
this.smartDraw1.Chart.PutData(iValue2);
}
}
private void buttonExit_Click(object sender, EventArgs e)
{
this.ParentForm.CloseSmartUartLink();

View File

@ -383,6 +383,11 @@ namespace INT_PT002.Forms
}
}
public void UpdateDisplayRecipeData(Recipe item)
{
this.Child_Recipe_Setting.UpdateDisplayRecipeData(item);
}
public void DisplayRefresh()
{
this.SelectedTopMenu = Define.E_TopMenuStore.Recipe;

View File

@ -104,44 +104,77 @@ namespace INT_PT002
}
}
public static Define.E_ProgressStatus StringToProgressStatus(string value)
public static Define.E_ProcessStatus StringToProcessStatus(string value)
{
if (value.Length != 2)
return Define.E_ProgressStatus.None;
Define.E_ProcessStatus status;
if (value == "S0")
return Define.E_ProgressStatus.Initial;
else if (value == "S1")
return Define.E_ProgressStatus.ProductEntry;
else if (value == "S2")
return Define.E_ProgressStatus.ChamberConbined;
else if (value == "S3")
return Define.E_ProgressStatus.VacuumStart;
else if (value == "S4")
return Define.E_ProgressStatus.VacuumHold;
else if (value == "S5")
return Define.E_ProgressStatus.VacuumBreak;
else if (value == "S6")
return Define.E_ProgressStatus.ChamberSeparation;
else if (value == "S7")
return Define.E_ProgressStatus.ProductRelease;
else
return Define.E_ProgressStatus.None;
if (value.Length != 1)
return Define.E_ProcessStatus.None;
switch (value)
{
case "0":
status = Define.E_ProcessStatus.Initial;
break;
case "1":
status = Define.E_ProcessStatus.ProductEntry;
break;
case "2":
status = Define.E_ProcessStatus.ChamberConbined;
break;
case "3":
status = Define.E_ProcessStatus.VacuumStart;
break;
case "4":
status = Define.E_ProcessStatus.VacuumHold;
break;
case "5":
status = Define.E_ProcessStatus.Judgment;
break;
case "6":
status = Define.E_ProcessStatus.VacuumBreak;
break;
case "7":
status = Define.E_ProcessStatus.ChamberSeparation;
break;
case "8":
status = Define.E_ProcessStatus.ProductRelease;
break;
default:
status = Define.E_ProcessStatus.None;
break;
}
return status;
}
public static Define.E_JudgmentStatus StringToJudgmentStatus(string value)
{
if (value.Length != 2)
Define.E_JudgmentStatus status;
if (value.Length != 1)
return Define.E_JudgmentStatus.None;
if (value == "sp")
return Define.E_JudgmentStatus.Pass;
else if (value == "sn")
return Define.E_JudgmentStatus.Ng;
else if (value == "se")
return Define.E_JudgmentStatus.Error;
else
return Define.E_JudgmentStatus.None;
switch (value)
{
case "0":
status = Define.E_JudgmentStatus.None;
break;
case "1":
status = Define.E_JudgmentStatus.Pass;
break;
case "2":
status = Define.E_JudgmentStatus.Ng;
break;
case "3":
status = Define.E_JudgmentStatus.Error;
break;
default:
status = Define.E_JudgmentStatus.None;
break;
}
return status;
}
/// <summary>
@ -242,5 +275,31 @@ namespace INT_PT002
else
return " ";
}
/// <summary>
/// 8자리에 마춰 공백으로 채움
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public static string StringBlankFillDigits8(string value)
{
if (value.Length == 1)
return string.Format(" {0}", value);
else if (value.Length == 2)
return string.Format(" {0}", value);
else if (value.Length == 3)
return string.Format(" {0}", value);
else if (value.Length == 4)
return string.Format(" {0}", value);
else if (value.Length == 5)
return string.Format(" {0}", value);
else if (value.Length == 6)
return string.Format(" {0}", value);
else if (value.Length == 7)
return string.Format(" {0}", value);
else if (value.Length == 8)
return value;
else
return " ";
}
}
}