수정중
parent
0da4591a1a
commit
ef4f95e96d
File diff suppressed because it is too large
Load Diff
|
@ -59,60 +59,28 @@ namespace INT_PT002.Controls
|
|||
this.CollLabelDiff = new Collection<SmartLabel>();
|
||||
this.CollLabelDiff.Add(this.labelDiff1);
|
||||
this.CollLabelDiff.Add(this.labelDiff2);
|
||||
this.CollLabelDiff.Add(this.labelDiff3);
|
||||
this.CollLabelDiff.Add(this.labelDiff4);
|
||||
this.CollLabelDiff.Add(this.labelDiff5);
|
||||
this.CollLabelDiff.Add(this.labelDiff6);
|
||||
this.CollLabelDiff.Add(this.labelDiff7);
|
||||
this.CollLabelDiff.Add(this.labelDiff8);
|
||||
this.CollLabelDiff.Add(this.labelDiff9);
|
||||
this.CollLabelDiff.Add(this.labelDiff10);
|
||||
|
||||
this.CollLabelDisp = new Collection<SmartLabel>();
|
||||
this.CollLabelDisp.Add(this.labelDisp1);
|
||||
this.CollLabelDisp.Add(this.labelDisp2);
|
||||
this.CollLabelDisp.Add(this.labelDisp3);
|
||||
this.CollLabelDisp.Add(this.labelDisp4);
|
||||
this.CollLabelDisp.Add(this.labelDisp5);
|
||||
this.CollLabelDisp.Add(this.labelDisp6);
|
||||
this.CollLabelDisp.Add(this.labelDisp7);
|
||||
this.CollLabelDisp.Add(this.labelDisp8);
|
||||
this.CollLabelDisp.Add(this.labelDisp9);
|
||||
this.CollLabelDisp.Add(this.labelDisp10);
|
||||
|
||||
this.CollLabelVacu = new Collection<SmartLabel>();
|
||||
this.CollLabelVacu.Add(this.labelVacuum1);
|
||||
this.CollLabelVacu.Add(this.labelVacuum2);
|
||||
this.CollLabelVacu.Add(this.labelVacuum3);
|
||||
this.CollLabelVacu.Add(this.labelVacuum4);
|
||||
this.CollLabelVacu.Add(this.labelVacuum5);
|
||||
this.CollLabelVacu.Add(this.labelVacuum6);
|
||||
this.CollLabelVacu.Add(this.labelVacuum7);
|
||||
this.CollLabelVacu.Add(this.labelVacuum8);
|
||||
this.CollLabelVacu.Add(this.labelVacuum9);
|
||||
this.CollLabelVacu.Add(this.labelVacuum10);
|
||||
|
||||
this.CollLabelSbAlarm = new Collection<SmartLabel>();
|
||||
this.CollLabelSbAlarm.Clear();
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm1);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm2);
|
||||
|
||||
this.CollLabelInput = new Collection<SmartLabel>();
|
||||
this.CollLabelInput.Add(this.labelInput1);
|
||||
this.CollLabelInput.Add(this.labelInput2);
|
||||
this.CollLabelInput.Add(this.labelInput3);
|
||||
this.CollLabelInput.Add(this.labelInput4);
|
||||
this.CollLabelInput.Add(this.labelInput5);
|
||||
this.CollLabelInput.Add(this.labelInput4);
|
||||
|
||||
this.CollLabelSbAlarm = new Collection<SmartLabel>();
|
||||
this.CollLabelSbAlarm.Clear();
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm1);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm2);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm3);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm4);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm5);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm6);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm7);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm8);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm9);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm10);
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
for (int i = 0; i < this.CollLabelDiff.Count; i++)
|
||||
{
|
||||
this.CollLabelDiff[i].Text = "0.00";
|
||||
this.CollLabelDisp[i].Text = "0.00";
|
||||
|
@ -138,9 +106,17 @@ namespace INT_PT002.Controls
|
|||
SmartSplash.Start(SmartSplash.BuiltInLoadingImages.PROCESSING1, 200);
|
||||
|
||||
// ServoMotor 1
|
||||
this.labelMotor1Origin.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD21);
|
||||
this.labelMotorChamber1.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD16);
|
||||
this.labelMotorChamber2.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD17);
|
||||
this.labelMotor1Origin.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD23);
|
||||
this.labelMotorChamber1.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD1);
|
||||
this.labelMotorChamber2.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD2);
|
||||
this.labelMotorChamber3.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD3);
|
||||
this.labelMotorChamber4.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD4);
|
||||
this.labelMotorChamber5.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD5);
|
||||
this.labelMotorChamber6.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD6);
|
||||
this.labelMotorChamber7.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD7);
|
||||
this.labelMotorChamber8.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD8);
|
||||
this.labelMotorChamber9.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD9);
|
||||
this.labelMotorChamber10.Text = this.ParentForm.ParentForm.ServoMotorRead2(1, ServoMotorAddress.CMD10);
|
||||
|
||||
SmartSplash.Finish();
|
||||
|
||||
|
@ -161,38 +137,6 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.CollLabelDisp[1].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData3(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[2].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData4(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[3].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData5(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[4].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData6(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[5].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData7(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[6].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData8(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[7].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData9(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[8].Text = data.DispData.RData;
|
||||
}
|
||||
public void UpdateDisplayDispData10(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[9].Text = data.DispData.RData;
|
||||
}
|
||||
// 차압센서 데이터
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
|
@ -207,38 +151,6 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.CollLabelDiff[1].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData3(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[2].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData4(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[3].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData5(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[4].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData6(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[5].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData7(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[6].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData8(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[7].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData9(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[8].Text = data.DiffData.MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData10(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[9].Text = data.DiffData.MAdc;
|
||||
}
|
||||
// 압력센서 데이터
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
|
@ -253,38 +165,6 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.CollLabelVacu[1].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData3(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[2].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData4(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[3].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData5(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[4].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData6(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[5].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData7(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[6].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData8(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[7].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData9(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[8].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData10(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[9].Text = data.PresData.WorkingChamber;
|
||||
}
|
||||
|
||||
public void UpdateDisplayInputData(Collection<string> datas)
|
||||
{
|
||||
|
@ -518,6 +398,44 @@ namespace INT_PT002.Controls
|
|||
|
||||
this.OutputCommand(address, data);
|
||||
}
|
||||
private void buttonOut11_Click(object sender, EventArgs e)
|
||||
{
|
||||
string address = "", data = "";
|
||||
SmartButton button = sender as SmartButton;
|
||||
|
||||
if (button == null)
|
||||
return;
|
||||
|
||||
// adress
|
||||
address = Helper.StringBlankFillDigits4(CommunicationAddress._7711_Output11);
|
||||
|
||||
// data
|
||||
if (button.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
data = Helper.StringBlankFillDigits4("1");
|
||||
else
|
||||
data = Helper.StringBlankFillDigits4("0");
|
||||
|
||||
this.OutputCommand(address, data);
|
||||
}
|
||||
private void buttonOut12_Click(object sender, EventArgs e)
|
||||
{
|
||||
string address = "", data = "";
|
||||
SmartButton button = sender as SmartButton;
|
||||
|
||||
if (button == null)
|
||||
return;
|
||||
|
||||
// adress
|
||||
address = Helper.StringBlankFillDigits4(CommunicationAddress._7712_Output12);
|
||||
|
||||
// data
|
||||
if (button.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
data = Helper.StringBlankFillDigits4("1");
|
||||
else
|
||||
data = Helper.StringBlankFillDigits4("0");
|
||||
|
||||
this.OutputCommand(address, data);
|
||||
}
|
||||
|
||||
// Motor 1
|
||||
private void buttonMotor1Origin_Click(object sender, EventArgs e)
|
||||
|
@ -599,8 +517,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber1.Text);
|
||||
before = this.labelMotorChamber1.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber1.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber1.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -626,8 +544,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber2.Text);
|
||||
before = this.labelMotorChamber2.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber2.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber2.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -653,8 +571,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber3.Text);
|
||||
before = this.labelMotorChamber3.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber3.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber3.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -667,7 +585,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD3, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD3, myKeyPad.IntValue, this.labelMotorChamber3);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber3, "", before, after);
|
||||
|
@ -680,8 +598,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber4.Text);
|
||||
before = this.labelMotorChamber4.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber4.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber4.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -694,7 +612,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD4, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD4, myKeyPad.IntValue, this.labelMotorChamber4);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber4, "", before, after);
|
||||
|
@ -707,8 +625,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber5.Text);
|
||||
before = this.labelMotorChamber5.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber5.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber5.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -721,7 +639,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD5, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD5, myKeyPad.IntValue, this.labelMotorChamber5);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber5, "", before, after);
|
||||
|
@ -734,8 +652,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber6.Text);
|
||||
before = this.labelMotorChamber6.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber6.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber6.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -748,7 +666,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD6, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD6, myKeyPad.IntValue, this.labelMotorChamber6);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber6, "", before, after);
|
||||
|
@ -761,8 +679,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber7.Text);
|
||||
before = this.labelMotorChamber7.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber7.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber7.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -775,7 +693,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD7, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD7, myKeyPad.IntValue, this.labelMotorChamber7);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber7, "", before, after);
|
||||
|
@ -788,8 +706,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber8.Text);
|
||||
before = this.labelMotorChamber8.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber8.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber8.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -802,7 +720,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD8, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD8, myKeyPad.IntValue, this.labelMotorChamber8);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber8, "", before, after);
|
||||
|
@ -815,8 +733,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber9.Text);
|
||||
before = this.labelMotorChamber9.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber9.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber9.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -829,7 +747,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD9, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD9, myKeyPad.IntValue, this.labelMotorChamber9);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber9, "", before, after);
|
||||
|
@ -842,8 +760,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string caption = "", before = "", after = "";
|
||||
|
||||
caption = string.Format("{0} Location", this.buttonMotorChamber10.Text);
|
||||
before = this.labelMotorChamber10.Text;
|
||||
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber10.ButtonText, before);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber10.Text, 7, 0, false);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
|
@ -856,7 +774,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD10, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD10, myKeyPad.IntValue, this.labelMotorChamber10);
|
||||
after = myKeyPad.StringValue;
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber10, "", before, after);
|
||||
|
|
|
@ -271,7 +271,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.labelConnectedIP.Text = value;
|
||||
}
|
||||
public void DelegateConnectedIPStatusOut(string value)
|
||||
private void DelegateConnectedIPStatusOut(string value)
|
||||
{
|
||||
this.Invoke(new ConnetedIPStatusCallback(this.ConnectedIPStatusOut), value);
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle chartPenStyle1 = new SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle();
|
||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||
this.buttonStart = new SmartX.SmartButton();
|
||||
this.labelProgress3 = new SmartX.SmartLabel();
|
||||
|
@ -41,6 +42,7 @@
|
|||
this.smartLabel68 = new SmartX.SmartLabel();
|
||||
this.smartGroupBox2 = new SmartX.SmartGroupBox();
|
||||
this.smartDraw1 = new SmartX.SmartDraw();
|
||||
this.smartDraw_ChartChannelPenStyle1 = new SmartX.SmartDraw_ChartChannelPenStyle();
|
||||
this.smartLabel61 = new SmartX.SmartLabel();
|
||||
this.smartLabel69 = new SmartX.SmartLabel();
|
||||
this.labelDiffSecDiff10 = new SmartX.SmartLabel();
|
||||
|
@ -186,8 +188,7 @@
|
|||
this.labelMesResult2 = new SmartX.SmartLabel();
|
||||
this.smartGroupBox11 = new SmartX.SmartGroupBox();
|
||||
this.smartDraw2 = new SmartX.SmartDraw();
|
||||
this.timerOn = new SmartX.SmartTimer();
|
||||
this.timerOff = new SmartX.SmartTimer();
|
||||
this.buttonDisplay = new SmartX.SmartButton();
|
||||
this.smartGroupBox1.SuspendLayout();
|
||||
this.smartGroupBox14.SuspendLayout();
|
||||
this.smartGroupBox2.SuspendLayout();
|
||||
|
@ -212,6 +213,7 @@
|
|||
this.smartGroupBox1.BackGround = null;
|
||||
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartGroupBox1.BackImage = null;
|
||||
this.smartGroupBox1.Controls.Add(this.buttonDisplay);
|
||||
this.smartGroupBox1.Controls.Add(this.buttonStart);
|
||||
this.smartGroupBox1.Controls.Add(this.labelProgress3);
|
||||
this.smartGroupBox1.Controls.Add(this.labelProgress8);
|
||||
|
@ -509,9 +511,9 @@
|
|||
// smartDraw1
|
||||
//
|
||||
this.smartDraw1.BackGround = null;
|
||||
this.smartDraw1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(195)))), ((int)(((byte)(220)))));
|
||||
this.smartDraw1.BackGroundColor = System.Drawing.Color.Black;
|
||||
this.smartDraw1.Chart.ChartAreaMarkingDesignTime = true;
|
||||
this.smartDraw1.Chart.ChartChannelPenStyle = null;
|
||||
this.smartDraw1.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
|
||||
this.smartDraw1.Chart.ChartDrawStep = 1;
|
||||
this.smartDraw1.Chart.ChartHeight = 230;
|
||||
this.smartDraw1.Chart.ChartRefreshMode = SmartX.SmartDraw.ChartRefresh.LEFTSCROLL;
|
||||
|
@ -528,6 +530,13 @@
|
|||
this.smartDraw1.TabIndex = 13;
|
||||
this.smartDraw1.Text = "smartDraw1";
|
||||
//
|
||||
// smartDraw_ChartChannelPenStyle1
|
||||
//
|
||||
chartPenStyle1.ChannelColor = System.Drawing.Color.White;
|
||||
chartPenStyle1.PenStyle = SmartX.SmartDraw_ChartChannelPenStyle.PenStyles.SOLID;
|
||||
chartPenStyle1.PenWidth = 3;
|
||||
this.smartDraw_ChartChannelPenStyle1.ChartChannelPenStyle.Add(chartPenStyle1);
|
||||
//
|
||||
// smartLabel61
|
||||
//
|
||||
this.smartLabel61.BackGround = null;
|
||||
|
@ -2459,7 +2468,7 @@
|
|||
this.groupBoxMeasuring1.RoundRadius = 5;
|
||||
this.groupBoxMeasuring1.Size = new System.Drawing.Size(175, 285);
|
||||
this.groupBoxMeasuring1.TabIndex = 74;
|
||||
this.groupBoxMeasuring1.Text = "Measuring : 1 Lane";
|
||||
this.groupBoxMeasuring1.Text = "Measuring";
|
||||
this.groupBoxMeasuring1.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// labelMesPressureWork1
|
||||
|
@ -2982,7 +2991,6 @@
|
|||
this.labelMesResult1.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesResult1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesResult1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesResult1.Visible = false;
|
||||
this.labelMesResult1.Wordwrap = false;
|
||||
//
|
||||
// labelProgress10
|
||||
|
@ -3208,7 +3216,7 @@
|
|||
this.groupBoxMeasuring2.RoundRadius = 5;
|
||||
this.groupBoxMeasuring2.Size = new System.Drawing.Size(175, 285);
|
||||
this.groupBoxMeasuring2.TabIndex = 79;
|
||||
this.groupBoxMeasuring2.Text = "Measuring : 2 Lane";
|
||||
this.groupBoxMeasuring2.Text = "Measuring";
|
||||
this.groupBoxMeasuring2.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// labelMesPressureWork2
|
||||
|
@ -3727,7 +3735,7 @@
|
|||
this.labelMesResult2.Size = new System.Drawing.Size(167, 27);
|
||||
this.labelMesResult2.TabIndex = 24;
|
||||
this.labelMesResult2.Text = "리크";
|
||||
this.labelMesResult2.TextColor = System.Drawing.Color.Red;
|
||||
this.labelMesResult2.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesResult2.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesResult2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesResult2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
|
@ -3755,9 +3763,9 @@
|
|||
// smartDraw2
|
||||
//
|
||||
this.smartDraw2.BackGround = null;
|
||||
this.smartDraw2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(195)))), ((int)(((byte)(220)))));
|
||||
this.smartDraw2.BackGroundColor = System.Drawing.Color.Black;
|
||||
this.smartDraw2.Chart.ChartAreaMarkingDesignTime = true;
|
||||
this.smartDraw2.Chart.ChartChannelPenStyle = null;
|
||||
this.smartDraw2.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
|
||||
this.smartDraw2.Chart.ChartDrawStep = 1;
|
||||
this.smartDraw2.Chart.ChartHeight = 230;
|
||||
this.smartDraw2.Chart.ChartRefreshMode = SmartX.SmartDraw.ChartRefresh.LEFTSCROLL;
|
||||
|
@ -3774,23 +3782,40 @@
|
|||
this.smartDraw2.TabIndex = 14;
|
||||
this.smartDraw2.Text = "smartDraw2";
|
||||
//
|
||||
// timerOn
|
||||
// buttonDisplay
|
||||
//
|
||||
this.timerOn.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter;
|
||||
this.timerOn.Interval = 1000;
|
||||
this.timerOn.IntervalSeries = null;
|
||||
this.timerOn.TimeCount = ((long)(1000000));
|
||||
this.timerOn.TimeFormStringSeparator = ":";
|
||||
this.timerOn.Tick += new System.EventHandler(this.timerOn_Tick);
|
||||
//
|
||||
// timerOff
|
||||
//
|
||||
this.timerOff.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter;
|
||||
this.timerOff.Interval = 500;
|
||||
this.timerOff.IntervalSeries = null;
|
||||
this.timerOff.TimeCount = ((long)(1000000));
|
||||
this.timerOff.TimeFormStringSeparator = ":";
|
||||
this.timerOff.Tick += new System.EventHandler(this.timerOff_Tick);
|
||||
this.buttonDisplay.BackGround = this.smartGroupBox1;
|
||||
this.buttonDisplay.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.buttonDisplay.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.buttonDisplay.ButtonDownColor = System.Drawing.Color.SlateGray;
|
||||
this.buttonDisplay.ButtonImageAutoSize = true;
|
||||
this.buttonDisplay.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
|
||||
this.buttonDisplay.ButtonText = "Display";
|
||||
this.buttonDisplay.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonDisplay.GroupID = 0;
|
||||
this.buttonDisplay.ImageDisable = null;
|
||||
this.buttonDisplay.ImageDown = null;
|
||||
this.buttonDisplay.ImageUp = null;
|
||||
this.buttonDisplay.Location = new System.Drawing.Point(732, 3);
|
||||
this.buttonDisplay.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonDisplay.Name = "buttonDisplay";
|
||||
this.buttonDisplay.NestedClickEventPrevent = false;
|
||||
this.buttonDisplay.OutlinePixel = 2;
|
||||
this.buttonDisplay.OverlapOptimize = true;
|
||||
this.buttonDisplay.RepeatInterval = 200;
|
||||
this.buttonDisplay.RepeatIntervalAccelerate = null;
|
||||
this.buttonDisplay.RoundSize = 10;
|
||||
this.buttonDisplay.SafeInterval = 200;
|
||||
this.buttonDisplay.Size = new System.Drawing.Size(84, 31);
|
||||
this.buttonDisplay.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.buttonDisplay.TabIndex = 441;
|
||||
this.buttonDisplay.Text = null;
|
||||
this.buttonDisplay.TextColor = System.Drawing.Color.White;
|
||||
this.buttonDisplay.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.buttonDisplay.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
|
||||
this.buttonDisplay.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonDisplay.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonDisplay.Click += new System.EventHandler(this.buttonDisplay_Click);
|
||||
//
|
||||
// ControlMenuSystemStatus1
|
||||
//
|
||||
|
@ -3885,8 +3910,6 @@
|
|||
private SmartX.SmartLabel labelMesResult2;
|
||||
private SmartX.SmartGroupBox smartGroupBox11;
|
||||
private SmartX.SmartButton buttonStart;
|
||||
private SmartX.SmartTimer timerOn;
|
||||
private SmartX.SmartTimer timerOff;
|
||||
private SmartX.SmartDraw smartDraw1;
|
||||
private SmartX.SmartDraw smartDraw2;
|
||||
private SmartX.SmartGroupBox smartGroupBox3;
|
||||
|
@ -3982,5 +4005,7 @@
|
|||
private SmartX.SmartLabel labelProgress8;
|
||||
private SmartX.SmartLabel labelProgress7;
|
||||
private SmartX.SmartLabel labelProgress3;
|
||||
private SmartX.SmartDraw_ChartChannelPenStyle smartDraw_ChartChannelPenStyle1;
|
||||
private SmartX.SmartButton buttonDisplay;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,8 @@ namespace INT_PT002.Controls
|
|||
private Color ColorResultNG;
|
||||
private Color ColorResultNone;
|
||||
|
||||
private int CheckLane;
|
||||
|
||||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelProgress;
|
||||
|
||||
|
@ -41,6 +43,7 @@ namespace INT_PT002.Controls
|
|||
this.ParentForm = parent;
|
||||
this.Initialize();
|
||||
this.InitializeData();
|
||||
this.InitializeDraw();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -63,6 +66,8 @@ namespace INT_PT002.Controls
|
|||
this.ColorResultNG = Color.Red;
|
||||
this.ColorResultNone = Color.White;
|
||||
|
||||
this.CheckLane = 0;
|
||||
|
||||
this.CollectionLabelProgress = new Collection<SmartLabel>();
|
||||
this.CollectionLabelProgress.Clear();
|
||||
this.CollectionLabelProgress.Add(this.labelProgress1);
|
||||
|
@ -90,16 +95,40 @@ namespace INT_PT002.Controls
|
|||
this.CollectionLabelResult.Add(this.labelResult10);
|
||||
|
||||
this.CollectionDiffSecDiff = new Collection<SmartLabel>();
|
||||
this.CollectionDiffSecDiff.Add(this.labelMesDiffSecDiff1);
|
||||
this.CollectionDiffSecDiff.Add(this.labelMesDiffSecDiff2);
|
||||
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.labelMesPressureWork1);
|
||||
this.CollectionPressureWork.Add(this.labelMesPressureWork2);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking1);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking2);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking3);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking4);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking5);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking6);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking7);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking8);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking9);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWorking10);
|
||||
|
||||
this.CollectionPressureMaster = new Collection<SmartLabel>();
|
||||
this.CollectionPressureMaster.Add(this.labelMesPressureMaster1);
|
||||
this.CollectionPressureMaster.Add(this.labelMesPressureMaster2);
|
||||
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);
|
||||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
|
@ -113,7 +142,31 @@ namespace INT_PT002.Controls
|
|||
this.CollectionPressureMaster[i].Text = "0.0";
|
||||
}
|
||||
|
||||
this.InitializeMeasuringData();
|
||||
}
|
||||
private void InitializeDraw()
|
||||
{
|
||||
// SetChartConfig
|
||||
this.smartDraw1.Chart.SetChartConfig(10, 242, 405, 230, 2, SmartDraw.ChartRefresh.LEFTSCROLL);
|
||||
this.smartDraw2.Chart.SetChartConfig(10, 242, 405, 230, 2, SmartDraw.ChartRefresh.LEFTSCROLL);
|
||||
|
||||
// BackLayer 기준선 표시
|
||||
this.smartDraw1.BackLayer.SetPenStyle(Color.Gray, 2);
|
||||
this.smartDraw2.BackLayer.SetPenStyle(Color.Gray, 2);
|
||||
// BackLayer 세로
|
||||
this.smartDraw1.BackLayer.Line(10, 12, 10, 242);
|
||||
this.smartDraw2.BackLayer.Line(10, 12, 10, 242);
|
||||
// BackLayer 가로 -2.000
|
||||
this.smartDraw1.BackLayer.Line(10, 242, 405, 242);
|
||||
this.smartDraw2.BackLayer.Line(10, 242, 405, 242);
|
||||
|
||||
this.smartDraw1.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
|
||||
this.smartDraw2.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
|
||||
}
|
||||
private void InitializeMeasuringData()
|
||||
{
|
||||
// Measuring : 1 Lane
|
||||
this.labelMesResult1.Text = "-";
|
||||
this.labelMesDispRData1.Text = "0.00";
|
||||
this.labelMesDispMData1.Text = "0.00";
|
||||
this.labelMesDispMDataDiff1.Text = "0.00";
|
||||
|
@ -126,6 +179,7 @@ namespace INT_PT002.Controls
|
|||
this.labelMesPressureWork1.Text = "0.0";
|
||||
|
||||
// Measuring : 2 Lane
|
||||
this.labelMesResult2.Text = "-";
|
||||
this.labelMesDispRData2.Text = "0.00";
|
||||
this.labelMesDispMData2.Text = "0.00";
|
||||
this.labelMesDispMDataDiff2.Text = "0.00";
|
||||
|
@ -175,76 +229,29 @@ namespace INT_PT002.Controls
|
|||
label2.Text = value;
|
||||
}
|
||||
|
||||
|
||||
public void UpdateProcessStatusDisplay(Define.E_ProcessStatus status)
|
||||
{
|
||||
switch (status)
|
||||
{
|
||||
case Define.E_ProcessStatus._0_None:
|
||||
break;
|
||||
case Define.E_ProcessStatus._1_Ready:
|
||||
this.labelProgress11.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress1.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._2_ProductEntry:
|
||||
this.labelProgress1.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress2.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._3_MoveToLeak:
|
||||
this.labelProgress2.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress3.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._4_MoveToCheck:
|
||||
this.labelProgress3.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress4.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._5_ChamberMerge:
|
||||
this.labelProgress4.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress5.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._6_VacuumStart:
|
||||
this.labelProgress5.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress6.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._7_VacuumHold:
|
||||
this.labelProgress6.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress7.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._8_Judgment:
|
||||
this.labelProgress7.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress8.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._9_VacuumBreak:
|
||||
this.labelProgress8.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress9.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._10_ChamberRelease:
|
||||
this.labelProgress9.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress10.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
case Define.E_ProcessStatus._11_MoveToReady:
|
||||
this.labelProgress10.BackColor = this.ColorProgressOff;
|
||||
this.labelProgress11.BackColor = this.ColorProgressOn;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff)
|
||||
{
|
||||
int iValue = 0;
|
||||
double dValue = 0.0;
|
||||
double dValue = 0.0, value = 0.0;
|
||||
|
||||
//// 값 표시 범위
|
||||
//// 1000 ~ 0
|
||||
//// 그래프 영역 높이 230
|
||||
//// 1000 / 102 = 4.347826086956522
|
||||
//value = double.Parse(diff.SecBufDiff);
|
||||
//dValue = int.Parse(string.Format("{0:0}", value)) / 4.347826086956522;
|
||||
|
||||
// 값 표시 범위
|
||||
// 15.000 ~ -2.000 (17.000 ~ 0)
|
||||
// 그래프 영역 높이 102
|
||||
// 17000 / 102 = 166.666666~
|
||||
//dValue = (int.Parse(data.CurrentValueSign + data.CurrentValue) + 2000) / 166.66666;
|
||||
// 200 ~ 0
|
||||
// 그래프 영역 높이 230
|
||||
// 200 / 102 = 1.96078431372549
|
||||
value = double.Parse(diff.SecBufDiff);
|
||||
dValue = int.Parse(string.Format("{0:0}", value)) / 1.96078431372549;
|
||||
|
||||
if (dValue > 110)
|
||||
dValue = 110;
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 1;
|
||||
dValue = 3;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
|
@ -292,6 +299,297 @@ namespace INT_PT002.Controls
|
|||
|
||||
}
|
||||
|
||||
// Process
|
||||
public void UpdateDisplayProcessStatus(Define.E_ProcessStatus status)
|
||||
{
|
||||
switch (status)
|
||||
{
|
||||
case Define.E_ProcessStatus._0_None:
|
||||
break;
|
||||
case Define.E_ProcessStatus._1_Ready:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOn) this.labelProgress1.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._2_ProductEntry:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOn) this.labelProgress2.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
|
||||
this.InitializeData();
|
||||
break;
|
||||
case Define.E_ProcessStatus._3_MoveToLeak:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOn) this.labelProgress3.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._4_MoveToCheck:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOn) this.labelProgress4.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._5_ChamberMerge:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOn) this.labelProgress5.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._6_VacuumStart:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOn) this.labelProgress6.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._7_VacuumHold:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOn) this.labelProgress7.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._8_Judgment:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOn) this.labelProgress8.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._9_VacuumBreak:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOn) this.labelProgress9.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._10_ChamberRelease:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOn) this.labelProgress10.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOff) this.labelProgress11.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._11_MoveToReady:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress11.BackGroundColor != this.ColorProgressOn) this.labelProgress11.BackGroundColor = this.ColorProgressOn;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatusMeasuring1(Define.E_ProcessStatus status, string lane)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (status == Define.E_ProcessStatus._4_MoveToCheck || status == Define.E_ProcessStatus._5_ChamberMerge)
|
||||
{
|
||||
value = string.Format("Lane {0}", lane);
|
||||
if (this.labelMesResult1.Text != value)
|
||||
this.labelMesResult1.Text = value;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatusMeasuring2(Define.E_ProcessStatus status, string lane)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (status == Define.E_ProcessStatus._4_MoveToCheck || status == Define.E_ProcessStatus._5_ChamberMerge)
|
||||
{
|
||||
value = string.Format("Lane {0}", lane);
|
||||
if (this.labelMesResult2.Text != value)
|
||||
this.labelMesResult2.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
private void UpdateDisplayMeasuringLeakDataDiff1(DiffData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 차압센서 데이터
|
||||
value = data.MAdc;
|
||||
if (this.labelMesDiffMadc1.Text != value)
|
||||
this.labelMesDiffMadc1.Text = value;
|
||||
|
||||
value = data.SecBufDiff;
|
||||
if (this.labelMesDiffSecDiff1.Text != value)
|
||||
this.labelMesDiffSecDiff1.Text = value;
|
||||
|
||||
value = data.SecBufSum;
|
||||
if (this.labelMesDiffSecSum1.Text != value)
|
||||
this.labelMesDiffSecSum1.Text = value;
|
||||
|
||||
value = data.DiffMean;
|
||||
if (this.labelMesDiffMean1.Text != value)
|
||||
this.labelMesDiffMean1.Text = value;
|
||||
}
|
||||
private void UpdateDisplayMeasuringLeakDataDisp1(DispData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 변위센서 데이터
|
||||
value = data.RData;
|
||||
if (this.labelMesDispRData1.Text != value)
|
||||
this.labelMesDispRData1.Text = value;
|
||||
|
||||
value = data.MData;
|
||||
if (this.labelMesDispMData1.Text != value)
|
||||
this.labelMesDispMData1.Text = value;
|
||||
|
||||
value = data.MDataDiff;
|
||||
if (this.labelMesDispMDataDiff1.Text != value)
|
||||
this.labelMesDispMDataDiff1.Text = value;
|
||||
|
||||
value = data.STD;
|
||||
if (this.labelMesDispSTD1.Text != value)
|
||||
this.labelMesDispSTD1.Text = value;
|
||||
|
||||
}
|
||||
private void UpdateDisplayMeasuringLeakDataPres1(PressureData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 압력 데이터
|
||||
value = data.WorkingChamber;
|
||||
if (this.labelMesPressureWork1.Text != value)
|
||||
this.labelMesPressureWork1.Text = value;
|
||||
|
||||
value = data.MasterChamber;
|
||||
if (this.labelMesPressureMaster1.Text != value)
|
||||
this.labelMesPressureMaster1.Text = value;
|
||||
}
|
||||
private void UpdateDisplayMeasuringLeakDataDiff2(DiffData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 차압센서 데이터
|
||||
value = data.MAdc;
|
||||
if (this.labelMesDiffMadc2.Text != value)
|
||||
this.labelMesDiffMadc2.Text = value;
|
||||
|
||||
value = data.SecBufDiff;
|
||||
if (this.labelMesDiffSecDiff2.Text != value)
|
||||
this.labelMesDiffSecDiff2.Text = value;
|
||||
|
||||
value = data.SecBufSum;
|
||||
if (this.labelMesDiffSecSum2.Text != value)
|
||||
this.labelMesDiffSecSum2.Text = value;
|
||||
|
||||
value = data.DiffMean;
|
||||
if (this.labelMesDiffMean2.Text != value)
|
||||
this.labelMesDiffMean2.Text = value;
|
||||
}
|
||||
private void UpdateDisplayMeasuringLeakDataDisp2(DispData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 변위센서 데이터
|
||||
value = data.RData;
|
||||
if (this.labelMesDispRData2.Text != value)
|
||||
this.labelMesDispRData2.Text = value;
|
||||
|
||||
value = data.MData;
|
||||
if (this.labelMesDispMData2.Text != value)
|
||||
this.labelMesDispMData2.Text = value;
|
||||
|
||||
value = data.MDataDiff;
|
||||
if (this.labelMesDispMDataDiff2.Text != value)
|
||||
this.labelMesDispMDataDiff2.Text = value;
|
||||
|
||||
value = data.STD;
|
||||
if (this.labelMesDispSTD2.Text != value)
|
||||
this.labelMesDispSTD2.Text = value;
|
||||
|
||||
}
|
||||
private void UpdateDisplayMeasuringLeakDataPres2(PressureData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 압력 데이터
|
||||
value = data.WorkingChamber;
|
||||
if (this.labelMesPressureWork2.Text != value)
|
||||
this.labelMesPressureWork2.Text = value;
|
||||
|
||||
value = data.MasterChamber;
|
||||
if (this.labelMesPressureMaster2.Text != value)
|
||||
this.labelMesPressureMaster2.Text = value;
|
||||
}
|
||||
// 차압센서 데이터
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
|
@ -312,7 +610,8 @@ namespace INT_PT002.Controls
|
|||
if (this.CollectionDiffSecDiff[0].Text != value)
|
||||
this.CollectionDiffSecDiff[0].Text = value;
|
||||
|
||||
//Measuring : 2 Lane
|
||||
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData2(LeakData1 data)
|
||||
{
|
||||
|
@ -321,6 +620,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[1].Text != value)
|
||||
this.CollectionDiffSecDiff[1].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData3(LeakData1 data)
|
||||
{
|
||||
|
@ -329,6 +631,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[2].Text != value)
|
||||
this.CollectionDiffSecDiff[2].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData4(LeakData1 data)
|
||||
{
|
||||
|
@ -337,6 +642,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[3].Text != value)
|
||||
this.CollectionDiffSecDiff[3].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData5(LeakData1 data)
|
||||
{
|
||||
|
@ -345,6 +653,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[4].Text != value)
|
||||
this.CollectionDiffSecDiff[4].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData6(LeakData1 data)
|
||||
{
|
||||
|
@ -353,6 +664,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[5].Text != value)
|
||||
this.CollectionDiffSecDiff[5].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData7(LeakData1 data)
|
||||
{
|
||||
|
@ -361,6 +675,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[6].Text != value)
|
||||
this.CollectionDiffSecDiff[6].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData8(LeakData1 data)
|
||||
{
|
||||
|
@ -369,6 +686,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[7].Text != value)
|
||||
this.CollectionDiffSecDiff[7].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData9(LeakData1 data)
|
||||
{
|
||||
|
@ -377,6 +697,9 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[8].Text != value)
|
||||
this.CollectionDiffSecDiff[8].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
|
||||
}
|
||||
public void UpdateDisplayDiffData10(LeakData1 data)
|
||||
{
|
||||
|
@ -385,43 +708,54 @@ namespace INT_PT002.Controls
|
|||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[9].Text != value)
|
||||
this.CollectionDiffSecDiff[9].Text = value;
|
||||
}
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataDiff2(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw2, data.DiffData);
|
||||
}
|
||||
// 변위센서 데이터
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayDispData1(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp1(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData2(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp2(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData3(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp1(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData4(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp2(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData5(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp1(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData6(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp2(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData7(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp1(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData8(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp2(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData9(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp1(data.DispData);
|
||||
}
|
||||
public void UpdateDisplayDispData10(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp2(data.DispData);
|
||||
}
|
||||
|
||||
// 압력센서 데이터
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
|
@ -449,6 +783,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[0].Text != value)
|
||||
this.CollectionPressureMaster[0].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres1(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData2(LeakData1 data)
|
||||
{
|
||||
|
@ -461,6 +797,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[1].Text != value)
|
||||
this.CollectionPressureMaster[1].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres2(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData3(LeakData1 data)
|
||||
{
|
||||
|
@ -473,6 +811,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[2].Text != value)
|
||||
this.CollectionPressureMaster[2].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres1(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData4(LeakData1 data)
|
||||
{
|
||||
|
@ -485,6 +825,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[3].Text != value)
|
||||
this.CollectionPressureMaster[3].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres2(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData5(LeakData1 data)
|
||||
{
|
||||
|
@ -497,6 +839,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[4].Text != value)
|
||||
this.CollectionPressureMaster[4].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres1(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData6(LeakData1 data)
|
||||
{
|
||||
|
@ -509,6 +853,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[5].Text != value)
|
||||
this.CollectionPressureMaster[5].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres2(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData7(LeakData1 data)
|
||||
{
|
||||
|
@ -521,6 +867,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[6].Text != value)
|
||||
this.CollectionPressureMaster[6].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres1(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData8(LeakData1 data)
|
||||
{
|
||||
|
@ -533,6 +881,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[7].Text != value)
|
||||
this.CollectionPressureMaster[7].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres2(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData9(LeakData1 data)
|
||||
{
|
||||
|
@ -545,6 +895,8 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[8].Text != value)
|
||||
this.CollectionPressureMaster[8].Text = value;
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres1(data.PresData);
|
||||
}
|
||||
public void UpdateDisplayPresData10(LeakData1 data)
|
||||
{
|
||||
|
@ -557,14 +909,12 @@ namespace INT_PT002.Controls
|
|||
value = data.PresData.MasterChamber;
|
||||
if (this.CollectionPressureMaster[9].Text != value)
|
||||
this.CollectionPressureMaster[9].Text = value;
|
||||
}
|
||||
|
||||
this.UpdateDisplayMeasuringLeakDataPres2(data.PresData);
|
||||
}
|
||||
// 판정결과
|
||||
public void UpdateDisplayJudgmentData(LeakData datas)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
|
@ -573,88 +923,68 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
public void UpdateDisplayJudgmentData1(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[0]);
|
||||
this.CollectionLabelResult[0].Visible = true;
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData2(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[1]);
|
||||
this.CollectionLabelResult[1].Visible = true;
|
||||
this.smartDraw2.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData3(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[2]);
|
||||
this.CollectionLabelResult[2].Visible = true;
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData4(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[3]);
|
||||
this.CollectionLabelResult[3].Visible = true;
|
||||
this.smartDraw2.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData5(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[4]);
|
||||
this.CollectionLabelResult[4].Visible = true;
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData6(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[5]);
|
||||
this.CollectionLabelResult[5].Visible = true;
|
||||
this.smartDraw2.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData7(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[6]);
|
||||
this.CollectionLabelResult[6].Visible = true;
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData8(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[7]);
|
||||
this.CollectionLabelResult[7].Visible = true;
|
||||
this.smartDraw2.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData9(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[8]);
|
||||
this.CollectionLabelResult[8].Visible = true;
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData10(LeakData1 data)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[9]);
|
||||
this.CollectionLabelResult[9].Visible = true;
|
||||
this.smartDraw2.Chart.PutDataAllClear();
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
{
|
||||
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Equipment;
|
||||
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Equipment1;
|
||||
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
|
||||
|
||||
this.InitializeData();
|
||||
|
@ -667,25 +997,98 @@ namespace INT_PT002.Controls
|
|||
this.InitializeData();
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
|
||||
}
|
||||
|
||||
private void timerOn_Tick(object sender, EventArgs e)
|
||||
private void buttonDisplay_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.timerOn.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
|
||||
this.timerOff.Start();
|
||||
}
|
||||
private void timerOff_Tick(object sender, EventArgs e)
|
||||
{
|
||||
this.timerOff.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
||||
this.timerOn.Start();
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void smartLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
int iValue = 0;
|
||||
double SecBufDiff = 200.123;
|
||||
double dValue = 0.0;
|
||||
|
||||
// 값 표시 범위
|
||||
// 1000 ~ 0
|
||||
// 그래프 영역 높이 230
|
||||
// 1000 / 102 = 4.347826086956522
|
||||
dValue = int.Parse(string.Format("{0:0}", SecBufDiff)) / 4.347826086956522;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 1;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDraw1.Chart.PutData(iValue);
|
||||
}
|
||||
|
||||
private void smartLabel2_Click(object sender, EventArgs e)
|
||||
{
|
||||
int iValue = 0;
|
||||
double SecBufDiff = 500.456;
|
||||
double dValue = 0.0;
|
||||
|
||||
// 값 표시 범위
|
||||
// 1000 ~ 0
|
||||
// 그래프 영역 높이 230
|
||||
// 1000 / 102 = 4.347826086956522
|
||||
dValue = int.Parse(string.Format("{0:0}", SecBufDiff)) / 4.347826086956522;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 1;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDraw1.Chart.PutData(iValue);
|
||||
}
|
||||
|
||||
private void smartLabel3_Click(object sender, EventArgs e)
|
||||
{
|
||||
int iValue = 0;
|
||||
double SecBufDiff = 700.865;
|
||||
double dValue = 0.0;
|
||||
|
||||
// 값 표시 범위
|
||||
// 1000 ~ 0
|
||||
// 그래프 영역 높이 230
|
||||
// 1000 / 102 = 4.347826086956522
|
||||
dValue = int.Parse(string.Format("{0:0}", SecBufDiff)) / 4.347826086956522;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 1;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDraw1.Chart.PutData(iValue);
|
||||
}
|
||||
|
||||
private void smartLabel6_Click(object sender, EventArgs e)
|
||||
{
|
||||
int iValue = 0;
|
||||
double SecBufDiff = 1000.456;
|
||||
double dValue = 0.0;
|
||||
|
||||
// 값 표시 범위
|
||||
// 1000 ~ 0
|
||||
// 그래프 영역 높이 230
|
||||
// 1000 / 102 = 4.347826086956522
|
||||
dValue = int.Parse(string.Format("{0:0}", SecBufDiff)) / 4.347826086956522;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 1;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDraw1.Chart.PutData(iValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,12 +117,9 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="timerOn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="timerOff.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>114, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>47</value>
|
||||
</metadata>
|
||||
|
|
|
@ -67,6 +67,7 @@ namespace INT_PT002.DataStore
|
|||
_1_Information,
|
||||
_2_Equipment,
|
||||
_3_Ethernet,
|
||||
_4_Equipment1,
|
||||
}
|
||||
|
||||
public enum E_DisplayModeStore
|
||||
|
@ -83,6 +84,7 @@ namespace INT_PT002.DataStore
|
|||
Information,
|
||||
Equipment,
|
||||
Ethernet,
|
||||
Equipment1,
|
||||
}
|
||||
|
||||
public enum E_CommMode
|
||||
|
|
|
@ -49,6 +49,10 @@ namespace INT_PT002.DataStore
|
|||
public static readonly int CMD17 = 18502;
|
||||
// CMD 21 - 0x4862
|
||||
public static readonly int CMD21 = 18518;
|
||||
// CMD 22 - 0x4866
|
||||
public static readonly int CMD22 = 18522;
|
||||
// CMD 23 - 0x4870
|
||||
public static readonly int CMD23 = 18526;
|
||||
// CMD 25 - 0x4878
|
||||
public static readonly int CMD25 = 18534;
|
||||
// CMD 27 - 0x4886
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
this.buttonAdmin.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
|
||||
this.buttonAdmin.ButtonText = "admin";
|
||||
this.buttonAdmin.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonAdmin.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonAdmin.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonAdmin.GroupID = 0;
|
||||
this.buttonAdmin.ImageDisable = null;
|
||||
this.buttonAdmin.ImageDown = null;
|
||||
|
@ -103,7 +103,6 @@
|
|||
this.buttonAdmin.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
|
||||
this.buttonAdmin.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonAdmin.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonAdmin.Visible = false;
|
||||
this.buttonAdmin.Click += new System.EventHandler(this.buttonAdmin_Click);
|
||||
//
|
||||
// textBoxPassword
|
||||
|
@ -181,7 +180,7 @@
|
|||
this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
|
||||
this.buttonCancel.ButtonText = "Cancel";
|
||||
this.buttonCancel.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonCancel.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonCancel.GroupID = 0;
|
||||
this.buttonCancel.ImageDisable = null;
|
||||
this.buttonCancel.ImageDown = null;
|
||||
|
@ -217,7 +216,7 @@
|
|||
this.buttonLogOn.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
|
||||
this.buttonLogOn.ButtonText = "Login";
|
||||
this.buttonLogOn.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonLogOn.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonLogOn.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonLogOn.GroupID = 0;
|
||||
this.buttonLogOn.ImageDisable = null;
|
||||
this.buttonLogOn.ImageDown = null;
|
||||
|
|
|
@ -1472,9 +1472,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[0].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData1(this.CurrentLeakDatas[0]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData1(this.CurrentLeakDatas[0]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1484,9 +1482,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[1].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData2(this.CurrentLeakDatas[1]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData2(this.CurrentLeakDatas[1]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1496,9 +1492,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[2].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData3(this.CurrentLeakDatas[2]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData3(this.CurrentLeakDatas[2]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1508,9 +1502,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[3].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData4(this.CurrentLeakDatas[3]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData4(this.CurrentLeakDatas[3]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1520,9 +1512,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[4].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData5(this.CurrentLeakDatas[4]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData5(this.CurrentLeakDatas[4]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1532,9 +1522,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[5].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData6(this.CurrentLeakDatas[5]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData6(this.CurrentLeakDatas[5]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1544,9 +1532,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[6].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData7(this.CurrentLeakDatas[6]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData7(this.CurrentLeakDatas[6]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1556,9 +1542,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[7].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData8(this.CurrentLeakDatas[7]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData8(this.CurrentLeakDatas[7]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1568,9 +1552,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[8].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData9(this.CurrentLeakDatas[8]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData9(this.CurrentLeakDatas[8]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1580,9 +1562,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[9].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData10(this.CurrentLeakDatas[9]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData10(this.CurrentLeakDatas[9]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1591,9 +1571,7 @@ namespace INT_PT002.Forms
|
|||
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CurrentLeakData.CollJudgment[i] = Helper.StringToJudgmentStatus(receiveData.Substring(i * 1, 1));
|
||||
#endregion
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayJudgmentData(this.CurrentLeakData);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData(this.CurrentLeakData);
|
||||
break;
|
||||
default:
|
||||
|
@ -1631,13 +1609,13 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[0].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
this.CurrentLeakDatas[1].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
#endregion
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
{
|
||||
// MainDisplay
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus(this.CurrentLeakDatas[0].ProcessStatus);
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus1(this.CurrentLeakDatas[0].ProcessStatus);
|
||||
}
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakDatas[0].ProcessStatus);
|
||||
// Equipment
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment_ProcessStatus(this.CurrentLeakDatas[0].ProcessStatus);
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring1(this.CurrentLeakDatas[0].ProcessStatus, "1");
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring2(this.CurrentLeakDatas[0].ProcessStatus, "2");
|
||||
break;
|
||||
case "C":
|
||||
case "D":
|
||||
|
@ -1645,13 +1623,13 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[2].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
this.CurrentLeakDatas[3].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
#endregion
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
{
|
||||
// MainDisplay
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus(this.CurrentLeakDatas[2].ProcessStatus);
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus3(this.CurrentLeakDatas[2].ProcessStatus);
|
||||
}
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakDatas[2].ProcessStatus);
|
||||
// Equipment
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment_ProcessStatus(this.CurrentLeakDatas[2].ProcessStatus);
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring1(this.CurrentLeakDatas[2].ProcessStatus, "3");
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring2(this.CurrentLeakDatas[2].ProcessStatus, "4");
|
||||
break;
|
||||
case "E":
|
||||
case "F":
|
||||
|
@ -1659,13 +1637,13 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[4].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
this.CurrentLeakDatas[5].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
#endregion
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
{
|
||||
// MainDisplay
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus(this.CurrentLeakDatas[4].ProcessStatus);
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus5(this.CurrentLeakDatas[4].ProcessStatus);
|
||||
}
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakDatas[4].ProcessStatus);
|
||||
// Equipment
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment_ProcessStatus(this.CurrentLeakDatas[4].ProcessStatus);
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring1(this.CurrentLeakDatas[4].ProcessStatus, "5");
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring2(this.CurrentLeakDatas[4].ProcessStatus, "6");
|
||||
break;
|
||||
case "G":
|
||||
case "H":
|
||||
|
@ -1673,13 +1651,13 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[6].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
this.CurrentLeakDatas[7].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
#endregion
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
{
|
||||
// MainDisplay
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus(this.CurrentLeakDatas[6].ProcessStatus);
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus7(this.CurrentLeakDatas[6].ProcessStatus);
|
||||
}
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakDatas[6].ProcessStatus);
|
||||
// Equipment
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment_ProcessStatus(this.CurrentLeakDatas[6].ProcessStatus);
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring1(this.CurrentLeakDatas[6].ProcessStatus, "7");
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring2(this.CurrentLeakDatas[6].ProcessStatus, "8");
|
||||
break;
|
||||
case "I":
|
||||
case "J":
|
||||
|
@ -1687,13 +1665,13 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[8].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
this.CurrentLeakDatas[9].ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 2));
|
||||
#endregion
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
{
|
||||
// MainDisplay
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus(this.CurrentLeakDatas[8].ProcessStatus);
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus9(this.CurrentLeakDatas[8].ProcessStatus);
|
||||
}
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakDatas[8].ProcessStatus);
|
||||
// Equipment
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment_ProcessStatus(this.CurrentLeakDatas[8].ProcessStatus);
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring1(this.CurrentLeakDatas[8].ProcessStatus, "9");
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment1_ProcessStatusMeasuring2(this.CurrentLeakDatas[8].ProcessStatus, "10");
|
||||
break;
|
||||
case "Z":
|
||||
#region Value Assign
|
||||
|
@ -1701,10 +1679,10 @@ namespace INT_PT002.Forms
|
|||
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CurrentLeakDatas[i].ProcessStatus = process;
|
||||
#endregion
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
// MainDisplay
|
||||
this.ChildFormMainDisplay.UpdateDisplayProcessStatus(this.CurrentLeakDatas[0].ProcessStatus);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakDatas[0].ProcessStatus);
|
||||
// Equipment
|
||||
this.ChildFormMenu.UpdateDisplay_Equipment_ProcessStatus(this.CurrentLeakDatas[0].ProcessStatus);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -1736,11 +1714,8 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[0].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData1(this.CurrentLeakDatas[0]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData1(this.CurrentLeakDatas[0]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData1(this.CurrentLeakDatas[0]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1753,11 +1728,8 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[1].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData2(this.CurrentLeakDatas[1]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData2(this.CurrentLeakDatas[1]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData2(this.CurrentLeakDatas[1]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1770,11 +1742,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[2].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData3(this.CurrentLeakDatas[2]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData3(this.CurrentLeakDatas[2]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData3(this.CurrentLeakDatas[2]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1787,11 +1755,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[3].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData4(this.CurrentLeakDatas[3]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData4(this.CurrentLeakDatas[3]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData4(this.CurrentLeakDatas[3]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1804,11 +1768,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[4].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData5(this.CurrentLeakDatas[4]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData5(this.CurrentLeakDatas[4]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData5(this.CurrentLeakDatas[4]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1821,11 +1781,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[5].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData6(this.CurrentLeakDatas[5]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData6(this.CurrentLeakDatas[5]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData6(this.CurrentLeakDatas[5]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1838,11 +1794,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[6].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData7(this.CurrentLeakDatas[6]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData7(this.CurrentLeakDatas[6]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData7(this.CurrentLeakDatas[6]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1855,11 +1807,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[7].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData8(this.CurrentLeakDatas[7]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData8(this.CurrentLeakDatas[7]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData8(this.CurrentLeakDatas[7]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1872,11 +1820,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[8].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData9(this.CurrentLeakDatas[8]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData9(this.CurrentLeakDatas[8]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData9(this.CurrentLeakDatas[8]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1889,11 +1833,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[9].DiffData.DiffMean = receiveData.Substring(24, 8).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData10(this.CurrentLeakDatas[9]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData10(this.CurrentLeakDatas[9]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData10(this.CurrentLeakDatas[9]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1908,11 +1848,8 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDiffData(this.CurrentLeakData.CollDiffData);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDiffData(this.CurrentLeakData.CollDiffData);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDiffData(this.CurrentLeakData.CollDiffData);
|
||||
break;
|
||||
default:
|
||||
|
@ -1944,11 +1881,8 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[0].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData1(this.CurrentLeakDatas[0]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData1(this.CurrentLeakDatas[0]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData1(this.CurrentLeakDatas[0]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1961,11 +1895,8 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[1].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData2(this.CurrentLeakDatas[1]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData2(this.CurrentLeakDatas[1]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData2(this.CurrentLeakDatas[1]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1978,11 +1909,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[2].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData3(this.CurrentLeakDatas[2]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData3(this.CurrentLeakDatas[2]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData3(this.CurrentLeakDatas[2]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1995,11 +1922,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[3].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData4(this.CurrentLeakDatas[3]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData4(this.CurrentLeakDatas[3]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData4(this.CurrentLeakDatas[3]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2012,11 +1935,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[4].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData5(this.CurrentLeakDatas[4]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData5(this.CurrentLeakDatas[4]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData5(this.CurrentLeakDatas[4]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2029,11 +1948,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[5].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData6(this.CurrentLeakDatas[5]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData6(this.CurrentLeakDatas[5]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData6(this.CurrentLeakDatas[5]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2046,11 +1961,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[6].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData7(this.CurrentLeakDatas[6]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData7(this.CurrentLeakDatas[6]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData7(this.CurrentLeakDatas[6]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2063,11 +1974,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[7].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData8(this.CurrentLeakDatas[7]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData8(this.CurrentLeakDatas[7]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData8(this.CurrentLeakDatas[7]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2080,11 +1987,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[8].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData9(this.CurrentLeakDatas[8]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData9(this.CurrentLeakDatas[8]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData9(this.CurrentLeakDatas[8]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2097,11 +2000,7 @@ namespace INT_PT002.Forms
|
|||
this.CurrentLeakDatas[9].DispData.STD = receiveData.Substring(18, 6).Trim();
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData10(this.CurrentLeakDatas[9]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData10(this.CurrentLeakDatas[9]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData10(this.CurrentLeakDatas[9]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2116,11 +2015,8 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayDispData(this.CurrentLeakData.CollDispData);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestDispData(this.CurrentLeakData.CollDispData);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentDispData(this.CurrentLeakData.CollDispData);
|
||||
break;
|
||||
default:
|
||||
|
@ -2152,11 +2048,8 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData1(this.CurrentLeakDatas[0]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData1(this.CurrentLeakDatas[0]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData1(this.CurrentLeakDatas[0]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2169,11 +2062,8 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData2(this.CurrentLeakDatas[1]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData2(this.CurrentLeakDatas[1]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData2(this.CurrentLeakDatas[1]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2186,11 +2076,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData3(this.CurrentLeakDatas[2]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData3(this.CurrentLeakDatas[2]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData3(this.CurrentLeakDatas[2]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2203,11 +2089,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData4(this.CurrentLeakDatas[3]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData4(this.CurrentLeakDatas[3]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData4(this.CurrentLeakDatas[3]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2220,11 +2102,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData5(this.CurrentLeakDatas[4]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData5(this.CurrentLeakDatas[4]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData5(this.CurrentLeakDatas[4]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2237,11 +2115,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData6(this.CurrentLeakDatas[5]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData6(this.CurrentLeakDatas[5]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData6(this.CurrentLeakDatas[5]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2254,11 +2128,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData7(this.CurrentLeakDatas[6]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData7(this.CurrentLeakDatas[6]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData7(this.CurrentLeakDatas[6]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2271,11 +2141,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData8(this.CurrentLeakDatas[7]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData8(this.CurrentLeakDatas[7]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData8(this.CurrentLeakDatas[7]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2288,11 +2154,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData9(this.CurrentLeakDatas[8]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData9(this.CurrentLeakDatas[8]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData9(this.CurrentLeakDatas[8]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2305,11 +2167,7 @@ namespace INT_PT002.Forms
|
|||
string.Format("{0}{1}", receiveData.Substring(6, 1), receiveData.Substring(7, 5).Trim());
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData10(this.CurrentLeakDatas[9]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData10(this.CurrentLeakDatas[9]);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData10(this.CurrentLeakDatas[9]);
|
||||
#endregion
|
||||
break;
|
||||
|
@ -2324,11 +2182,8 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
#endregion
|
||||
// 화면 표시
|
||||
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
|
||||
this.ChildFormMainDisplay.UpdateDisplayPresData(this.CurrentLeakData.CollPresData);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
|
||||
this.ChildFormMenu.UpdateDisplayIOTestPresData(this.CurrentLeakData.CollPresData);
|
||||
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentPresData(this.CurrentLeakData.CollPresData);
|
||||
break;
|
||||
default:
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -834,15 +834,8 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
|
||||
// 진행상태 데이터
|
||||
public void UpdateDisplayProcessStatus(Define.E_ProcessStatus status)
|
||||
private void ProcessStatusStep1(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.CurrentProcessStatus = status;
|
||||
|
||||
switch (status)
|
||||
{
|
||||
case Define.E_ProcessStatus._0_None:
|
||||
break;
|
||||
case Define.E_ProcessStatus._1_Ready:
|
||||
this.smartTimerProgressBar.Stop();
|
||||
this.progressBar1.Value = this.progressBar1.Minimum;
|
||||
|
||||
|
@ -865,11 +858,9 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelTextColor(this.labelProgress1_1, this.ColorProgressTextOff);
|
||||
this.SetLabelTextColor(this.labelProgress2_1, this.ColorProgressTextOff);
|
||||
this.SetLabelTextColor(this.labelProgress3_1, this.ColorProgressTextOff);
|
||||
break;
|
||||
case Define.E_ProcessStatus._2_ProductEntry:
|
||||
case Define.E_ProcessStatus._3_MoveToLeak:
|
||||
case Define.E_ProcessStatus._4_MoveToCheck:
|
||||
case Define.E_ProcessStatus._5_ChamberMerge:
|
||||
}
|
||||
private void ProcessStatusStep2(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.smartTimerProgressBar.Stop();
|
||||
this.progressBar1.Value = this.progressBar1.Minimum;
|
||||
|
||||
|
@ -892,11 +883,9 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelTextColor(this.labelProgress1_1, this.ColorProgressTextOn);
|
||||
this.SetLabelTextColor(this.labelProgress2_1, this.ColorProgressTextOff);
|
||||
this.SetLabelTextColor(this.labelProgress3_1, this.ColorProgressTextOff);
|
||||
break;
|
||||
case Define.E_ProcessStatus._6_VacuumStart:
|
||||
case Define.E_ProcessStatus._7_VacuumHold:
|
||||
case Define.E_ProcessStatus._8_Judgment:
|
||||
case Define.E_ProcessStatus._9_VacuumBreak:
|
||||
}
|
||||
private void ProcessStatusStep3(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.pictureBoxProgress0Selected.Visible = false;
|
||||
this.pictureBoxProgress1Selected.Visible = false;
|
||||
this.pictureBoxProgress2Selected.Visible = true;
|
||||
|
@ -918,9 +907,9 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelTextColor(this.labelProgress3_1, this.ColorProgressTextOff);
|
||||
|
||||
this.ProgressBarSetting(status);
|
||||
break;
|
||||
case Define.E_ProcessStatus._10_ChamberRelease:
|
||||
case Define.E_ProcessStatus._11_MoveToReady:
|
||||
}
|
||||
private void ProcessStatusStep4(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.smartTimerProgressBar.Stop();
|
||||
this.progressBar1.Value = this.progressBar1.Minimum;
|
||||
|
||||
|
@ -943,6 +932,36 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelTextColor(this.labelProgress1_1, this.ColorProgressTextOff);
|
||||
this.SetLabelTextColor(this.labelProgress2_1, this.ColorProgressTextOff);
|
||||
this.SetLabelTextColor(this.labelProgress3_1, this.ColorProgressTextOn);
|
||||
}
|
||||
public void UpdateDisplayProcessStatus(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.CurrentProcessStatus = status;
|
||||
|
||||
switch (status)
|
||||
{
|
||||
case Define.E_ProcessStatus._0_None:
|
||||
break;
|
||||
case Define.E_ProcessStatus._1_Ready:
|
||||
this.ProcessStatusStep1(status);
|
||||
break;
|
||||
case Define.E_ProcessStatus._2_ProductEntry:
|
||||
this.InitializeData();
|
||||
this.ProcessStatusStep2(status);
|
||||
break;
|
||||
case Define.E_ProcessStatus._3_MoveToLeak:
|
||||
case Define.E_ProcessStatus._4_MoveToCheck:
|
||||
case Define.E_ProcessStatus._5_ChamberMerge:
|
||||
this.ProcessStatusStep2(status);
|
||||
break;
|
||||
case Define.E_ProcessStatus._6_VacuumStart:
|
||||
case Define.E_ProcessStatus._7_VacuumHold:
|
||||
case Define.E_ProcessStatus._8_Judgment:
|
||||
case Define.E_ProcessStatus._9_VacuumBreak:
|
||||
this.ProcessStatusStep3(status);
|
||||
break;
|
||||
case Define.E_ProcessStatus._10_ChamberRelease:
|
||||
case Define.E_ProcessStatus._11_MoveToReady:
|
||||
this.ProcessStatusStep4(status);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -950,6 +969,9 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void UpdateDisplayProcessStatus1(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.SetLabelNumberColor(8, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberUnSelected);
|
||||
|
||||
this.SetLabelNumberColor(0, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(1, this.ColorNumberSelected);
|
||||
}
|
||||
|
@ -990,6 +1012,8 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus9(Define.E_ProcessStatus status)
|
||||
{
|
||||
if (status == Define.E_ProcessStatus._4_MoveToCheck || status == Define.E_ProcessStatus._5_ChamberMerge)
|
||||
{
|
||||
this.SetLabelNumberColor(6, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(7, this.ColorNumberUnSelected);
|
||||
|
@ -997,6 +1021,7 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelNumberColor(8, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus10(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
|
@ -1228,6 +1253,7 @@ namespace INT_PT002.Forms
|
|||
this.CollectionLabelResult[8].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay9(data);
|
||||
this.SetLabelNumberColor(8, this.ColorNumberUnSelected);
|
||||
}
|
||||
public void UpdateDisplayJudgmentData10(LeakData1 data)
|
||||
{
|
||||
|
@ -1235,6 +1261,7 @@ namespace INT_PT002.Forms
|
|||
this.CollectionLabelResult[9].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay10(data);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberUnSelected);
|
||||
}
|
||||
|
||||
public void UpdateDisplayRecipeData(Recipe data)
|
||||
|
|
|
@ -38,6 +38,7 @@ namespace INT_PT002.Forms
|
|||
private ControlMenuSystemInformation Child_System_Information;
|
||||
private ControlMenuSystemStatus Child_System_Status;
|
||||
public ControlMenuSystemEthernet Child_System_Ethernet;
|
||||
private ControlMenuSystemStatus1 Child_System_Status1;
|
||||
|
||||
public Define.E_TopMenuStore SelectedTopMenu;
|
||||
public Define.E_MenuRecipeStore SelectedMenuRecipe;
|
||||
|
@ -91,6 +92,7 @@ namespace INT_PT002.Forms
|
|||
this.Child_System_Information = new ControlMenuSystemInformation(this);
|
||||
this.Child_System_Status = new ControlMenuSystemStatus(this);
|
||||
this.Child_System_Ethernet = new ControlMenuSystemEthernet(this);
|
||||
this.Child_System_Status1 = new ControlMenuSystemStatus1(this);
|
||||
|
||||
this.Controls.Add(this.Child_Recipe_Setting);
|
||||
this.Controls.Add(this.Child_User_UserEditor);
|
||||
|
@ -103,6 +105,7 @@ namespace INT_PT002.Forms
|
|||
this.Controls.Add(this.Child_System_Information);
|
||||
this.Controls.Add(this.Child_System_Status);
|
||||
this.Controls.Add(this.Child_System_Ethernet);
|
||||
this.Controls.Add(this.Child_System_Status1);
|
||||
|
||||
this.Child_Recipe_Setting.Location = new Point(0, 39);
|
||||
this.Child_User_UserEditor.Location = new Point(0, 39);
|
||||
|
@ -115,6 +118,7 @@ namespace INT_PT002.Forms
|
|||
this.Child_System_Information.Location = new Point(0, 39);
|
||||
this.Child_System_Status.Location = new Point(0, 39);
|
||||
this.Child_System_Ethernet.Location = new Point(0, 39);
|
||||
this.Child_System_Status1.Location = new Point(0, 39);
|
||||
}
|
||||
|
||||
public void UpdateButtonColor()
|
||||
|
@ -683,8 +687,8 @@ namespace INT_PT002.Forms
|
|||
this.buttonBottom4.ButtonUp();
|
||||
break;
|
||||
case Define.E_MenuSystemStore._2_Equipment:
|
||||
this.Child_System_Status.DisplayRefresh();
|
||||
this.Child_System_Status.BringToFront();
|
||||
this.Child_System_Status1.DisplayRefresh();
|
||||
this.Child_System_Status1.BringToFront();
|
||||
|
||||
this.buttonBottom1.ButtonUp();
|
||||
this.buttonBottom2.ButtonDown();
|
||||
|
@ -700,6 +704,15 @@ namespace INT_PT002.Forms
|
|||
this.buttonBottom3.ButtonDown();
|
||||
this.buttonBottom4.ButtonUp();
|
||||
break;
|
||||
case Define.E_MenuSystemStore._4_Equipment1:
|
||||
this.Child_System_Status.DisplayRefresh();
|
||||
this.Child_System_Status.BringToFront();
|
||||
|
||||
this.buttonBottom1.ButtonUp();
|
||||
this.buttonBottom2.ButtonDown();
|
||||
this.buttonBottom3.ButtonUp();
|
||||
this.buttonBottom4.ButtonUp();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -791,38 +804,6 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData2(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData3(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData3(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData4(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData4(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData5(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData5(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData6(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData6(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData7(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData7(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData8(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData8(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData9(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData9(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDispData10(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDispData10(data);
|
||||
}
|
||||
// 차압센서 데이터
|
||||
public void UpdateDisplayIOTestDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
|
@ -836,38 +817,6 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData2(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData3(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData3(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData4(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData4(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData5(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData5(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData6(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData6(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData7(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData7(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData8(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData8(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData9(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData9(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestDiffData10(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayDiffData10(data);
|
||||
}
|
||||
// 압력센서 데이터
|
||||
public void UpdateDisplayIOTestPresData(Collection<PressureData> datas)
|
||||
{
|
||||
|
@ -881,38 +830,6 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData2(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData3(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData3(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData4(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData4(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData5(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData5(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData6(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData6(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData7(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData7(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData8(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData8(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData9(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData9(data);
|
||||
}
|
||||
public void UpdateDisplayIOTestPresData10(LeakData1 data)
|
||||
{
|
||||
this.Child_Manual_IoTest.UpdateDisplayPresData10(data);
|
||||
}
|
||||
|
||||
// Menu System
|
||||
public void UpdateMainBoardVersionDisplay(string data)
|
||||
|
@ -961,193 +878,255 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
|
||||
// Menu System
|
||||
public void UpdateDisplayEquipmentAlarmView(AlarmList data)
|
||||
public void UpdateDisplayEquipmentTest()
|
||||
{
|
||||
if (this.SelectedMenuSystem == Define.E_MenuSystemStore._2_Equipment)
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._4_Equipment1;
|
||||
else
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._2_Equipment;
|
||||
|
||||
this.SetBottomMenuSystem(this.SelectedMenuSystem);
|
||||
}
|
||||
public void UpdateDisplay_Equipment_AlarmView(AlarmList data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayAlarmView(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentProcessStatusDisplay(Define.E_ProcessStatus status)
|
||||
public void UpdateDisplay_Equipment_ProcessStatus(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.Child_System_Status.UpdateProcessStatusDisplay(status);
|
||||
this.Child_System_Status1.UpdateDisplayProcessStatus(status);
|
||||
}
|
||||
public void UpdateDisplay_Equipment1_ProcessStatusMeasuring1(Define.E_ProcessStatus status, string lane)
|
||||
{
|
||||
this.Child_System_Status1.UpdateDisplayProcessStatusMeasuring1(status, lane);
|
||||
}
|
||||
public void UpdateDisplay_Equipment1_ProcessStatusMeasuring2(Define.E_ProcessStatus status, string lane)
|
||||
{
|
||||
this.Child_System_Status1.UpdateDisplayProcessStatusMeasuring2(status, lane);
|
||||
}
|
||||
// 변위센서 데이터
|
||||
public void UpdateDisplayEquipmentDispData(Collection<DispData> datas)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData(datas);
|
||||
this.Child_System_Status1.UpdateDisplayDispData(datas);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData1(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData1(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData1(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData2(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData2(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData3(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData3(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData4(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData4(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData5(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData5(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData6(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData6(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData7(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData7(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData8(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData8(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData9(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData9(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDispData10(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDispData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData10(data);
|
||||
}
|
||||
// 차압센서 데이터
|
||||
public void UpdateDisplayEquipmentDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData(datas);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData(datas);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData1(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData1(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData1(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData2(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData2(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData3(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData3(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData4(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData4(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData5(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData5(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData6(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData6(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData7(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData7(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData8(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData8(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData9(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData9(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentDiffData10(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData10(data);
|
||||
}
|
||||
// 압력센서 데이터
|
||||
public void UpdateDisplayEquipmentPresData(Collection<PressureData> datas)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData(datas);
|
||||
this.Child_System_Status1.UpdateDisplayPresData(datas);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData1(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData1(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData1(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData2(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData2(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData3(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData3(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData4(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData4(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData5(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData5(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData6(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData6(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData7(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData7(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData8(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData8(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData9(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData9(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentPresData10(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData10(data);
|
||||
}
|
||||
// 판정결과
|
||||
public void UpdateDisplayEquipmentJudgmentData(LeakData datas)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData(datas);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData(datas);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData1(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData1(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData1(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData2(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData2(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData3(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData3(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData4(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData4(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData5(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData5(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData6(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData6(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData7(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData7(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData8(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData8(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData9(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData9(data);
|
||||
}
|
||||
public void UpdateDisplayEquipmentJudgmentData10(LeakData1 data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData10(data);
|
||||
}
|
||||
|
||||
public void DisplayRefresh(SystemStatus status)
|
||||
|
@ -1373,7 +1352,6 @@ namespace INT_PT002.Forms
|
|||
this.labelAlarm.Location = new Point(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
private void smartButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "";
|
||||
|
@ -1402,7 +1380,6 @@ namespace INT_PT002.Forms
|
|||
this.labelAlarm.Location = new Point(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
private void smartButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "";
|
||||
|
@ -1431,7 +1408,6 @@ namespace INT_PT002.Forms
|
|||
this.labelAlarm.Location = new Point(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
private void smartButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "";
|
||||
|
|
Loading…
Reference in New Issue