수정중
parent
6c7dbee190
commit
3334a21f6d
|
@ -111,7 +111,7 @@ namespace INT_PT002.Controls
|
|||
// Judgment
|
||||
public void UpdateStartLeakDataDisplay(LeakData datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionChildControl[i].UpdateStartLeakDataDisplay(datas.CollDiffData[i], datas.CollDispData[i], datas.CollJudgment[i]);
|
||||
}
|
||||
public void UpdateStartLeakDataDisplay1(LeakData1 data)
|
||||
|
@ -157,7 +157,7 @@ namespace INT_PT002.Controls
|
|||
|
||||
public void ClearAllData()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionChildControl[i].ClearAllData();
|
||||
}
|
||||
|
||||
|
|
|
@ -105,11 +105,11 @@ namespace INT_PT002.Controls
|
|||
this.CollectionLeakCount.Add(this.labelLeakCount10);
|
||||
|
||||
this.ListPassCount = new List<int>();
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.ListPassCount.Add(0);
|
||||
|
||||
this.ListLeakCount = new List<int>();
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.ListLeakCount.Add(0);
|
||||
}
|
||||
|
||||
|
@ -124,10 +124,10 @@ namespace INT_PT002.Controls
|
|||
|
||||
try
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.ListPassCount[i] = 0;
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.ListLeakCount[i] = 0;
|
||||
|
||||
this.smartFile1.StringType.FillBuffer();
|
||||
|
@ -139,7 +139,7 @@ namespace INT_PT002.Controls
|
|||
this.UpdateListBoxDataDisplay(this.smartFile1.StringType.ReadBuffer(i));
|
||||
}
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionPassCount[i].Text = this.ListPassCount[i].ToString();
|
||||
this.CollectionLeakCount[i].Text = this.ListLeakCount[i].ToString();
|
||||
|
@ -174,7 +174,7 @@ namespace INT_PT002.Controls
|
|||
// Time
|
||||
this.listBoxTime.AddItem(sb[1]);
|
||||
// 1~10 판정데이터
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
temp = sb[i + 4];
|
||||
|
||||
|
@ -313,7 +313,7 @@ namespace INT_PT002.Controls
|
|||
this.labelRemainIndex.Text = "0";
|
||||
this.labelTotalIndex.Text = "0";
|
||||
this.ListBoxCount = 0;
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionPassCount[i].Text = "0";
|
||||
this.CollectionLeakCount[i].Text = "0";
|
||||
|
@ -333,7 +333,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.labelFileName.Text = e.Node.Text;
|
||||
this.SelectedNodeFullPath = this.treeViewInspection.SelectedNode.FullPath;
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionListBox[i].ClearAll();
|
||||
this.listBoxTime.ClearAll();
|
||||
|
||||
|
@ -353,7 +353,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.listBoxTime.ScrollUp();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionListBox[i].ScrollUp();
|
||||
|
||||
this.UpdateListBoxCount();
|
||||
|
@ -362,7 +362,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.listBoxTime.ScrollDown();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionListBox[i].ScrollDown();
|
||||
|
||||
this.UpdateListBoxCount();
|
||||
|
|
|
@ -112,7 +112,7 @@ namespace INT_PT002.Controls
|
|||
this.CollLabelSbAlarm.Add(this.labelSbAlarm9);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm10);
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollLabelDiff[i].Text = "0.00";
|
||||
this.CollLabelDisp[i].Text = "0.00";
|
||||
|
@ -154,7 +154,7 @@ namespace INT_PT002.Controls
|
|||
// 변위센서 데이터
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollLabelDisp[i].Text = datas[i].RData;
|
||||
}
|
||||
public void UpdateDisplayDispData1(LeakData1 data)
|
||||
|
@ -200,7 +200,7 @@ namespace INT_PT002.Controls
|
|||
// 차압센서 데이터
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollLabelDiff[i].Text = datas[i].MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData1(LeakData1 data)
|
||||
|
@ -246,7 +246,7 @@ namespace INT_PT002.Controls
|
|||
// 압력센서 데이터
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollLabelVacu[i].Text = datas[i].WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData1(LeakData1 data)
|
||||
|
|
|
@ -202,6 +202,16 @@ namespace INT_PT002.Controls
|
|||
value = item.SB_DIFF_FILTER.ToString();
|
||||
if (this.labelSbDiffFilter.Text != value)
|
||||
this.labelSbDiffFilter.Text = value;
|
||||
|
||||
// Equipment Lane
|
||||
value = item.EQUIPMENT_LANE.ToString();
|
||||
if (this.labelEquipmentLane.Text != value)
|
||||
this.labelEquipmentLane.Text = value;
|
||||
|
||||
// Check Lane
|
||||
value = item.CHECK_LANE.ToString();
|
||||
if (this.labelCheckLane.Text != value)
|
||||
this.labelCheckLane.Text = value;
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
|
@ -760,9 +770,9 @@ namespace INT_PT002.Controls
|
|||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 2 || myKeypad.IntValue > 10)
|
||||
if (myKeypad.IntValue < 1 || myKeypad.IntValue > 16)
|
||||
{
|
||||
this.MessageBoxRange = "2 ~ 10";
|
||||
this.MessageBoxRange = "1 ~ 16";
|
||||
this.labelEquipmentLane.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
|
@ -774,15 +784,38 @@ namespace INT_PT002.Controls
|
|||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1710_LcdDataPeriod, value);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1003_EquipmentLane, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_LcdDataPeriod, "", before, after);
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_EquipmentLane, "", before, after);
|
||||
}
|
||||
}
|
||||
|
||||
private void labelCheckLane_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelCheckLane.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel39.Text, this.labelCheckLane.Text, 4, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 1 || myKeypad.IntValue > this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE)
|
||||
{
|
||||
this.MessageBoxRange = string.Format("1 ~ {0}", this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE);
|
||||
this.labelEquipmentLane.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelCheckLane.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.CHECK_LANE = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1711_CheckLane, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_CheckLane, "", before, after);
|
||||
}
|
||||
}
|
||||
|
||||
private void smartTimerMessageShow_Tick(object sender, EventArgs e)
|
||||
|
|
|
@ -218,7 +218,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Text = "-";
|
||||
this.CollectionLabelResult[i].TextColor = this.ColorResultNone;
|
||||
|
@ -431,7 +431,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string value = "";
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].MAdc;
|
||||
if (this.CollectionDiffMadc[i].Text != value)
|
||||
|
@ -656,7 +656,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string value = "";
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].RData;
|
||||
if (this.CollectionDispRData[i].Text != value)
|
||||
|
@ -881,7 +881,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string value = "";
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].WorkingChamber;
|
||||
if (this.CollectionPressureWork[i].Text != value)
|
||||
|
@ -1019,7 +1019,7 @@ namespace INT_PT002.Controls
|
|||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
@ -1124,7 +1124,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.timerOn.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
|
||||
this.timerOff.Start();
|
||||
|
@ -1133,7 +1133,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.timerOff.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
||||
this.timerOn.Start();
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -29,16 +29,7 @@ namespace INT_PT002.Controls
|
|||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelProgress;
|
||||
|
||||
private Collection<SmartLabel> CollectionDispRData;
|
||||
private Collection<SmartLabel> CollectionDispMData;
|
||||
private Collection<SmartLabel> CollectionDispMDataDiff;
|
||||
private Collection<SmartLabel> CollectionDispSTD;
|
||||
|
||||
private Collection<SmartLabel> CollectionDiffMadc;
|
||||
private Collection<SmartLabel> CollectionDiffSecDiff;
|
||||
private Collection<SmartLabel> CollectionDiffSecSum;
|
||||
private Collection<SmartLabel> CollectionDiffMean;
|
||||
|
||||
private Collection<SmartLabel> CollectionPressureWork;
|
||||
private Collection<SmartLabel> CollectionPressureMaster;
|
||||
#endregion
|
||||
|
@ -96,143 +87,52 @@ namespace INT_PT002.Controls
|
|||
this.CollectionLabelResult.Add(this.labelResult9);
|
||||
this.CollectionLabelResult.Add(this.labelResult10);
|
||||
|
||||
this.CollectionDispRData = new Collection<SmartLabel>();
|
||||
this.CollectionDispRData.Add(this.labelDispRData1);
|
||||
this.CollectionDispRData.Add(this.labelDispRData2);
|
||||
this.CollectionDispRData.Add(this.labelDispRData3);
|
||||
this.CollectionDispRData.Add(this.labelDispRData4);
|
||||
this.CollectionDispRData.Add(this.labelDispRData5);
|
||||
this.CollectionDispRData.Add(this.labelDispRData6);
|
||||
this.CollectionDispRData.Add(this.labelDispRData7);
|
||||
this.CollectionDispRData.Add(this.labelDispRData8);
|
||||
this.CollectionDispRData.Add(this.labelDispRData9);
|
||||
this.CollectionDispRData.Add(this.labelDispRData10);
|
||||
|
||||
this.CollectionDispMData = new Collection<SmartLabel>();
|
||||
this.CollectionDispMData.Add(this.labelDispMData1);
|
||||
this.CollectionDispMData.Add(this.labelDispMData2);
|
||||
this.CollectionDispMData.Add(this.labelDispMData3);
|
||||
this.CollectionDispMData.Add(this.labelDispMData4);
|
||||
this.CollectionDispMData.Add(this.labelDispMData5);
|
||||
this.CollectionDispMData.Add(this.labelDispMData6);
|
||||
this.CollectionDispMData.Add(this.labelDispMData7);
|
||||
this.CollectionDispMData.Add(this.labelDispMData8);
|
||||
this.CollectionDispMData.Add(this.labelDispMData9);
|
||||
this.CollectionDispMData.Add(this.labelDispMData10);
|
||||
|
||||
this.CollectionDispMDataDiff = new Collection<SmartLabel>();
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff1);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff2);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff3);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff4);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff5);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff6);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff7);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff8);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff9);
|
||||
this.CollectionDispMDataDiff.Add(this.labelDispMDataDiff10);
|
||||
|
||||
this.CollectionDispSTD = new Collection<SmartLabel>();
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD1);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD2);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD3);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD4);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD5);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD6);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD7);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD8);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD9);
|
||||
this.CollectionDispSTD.Add(this.labelDispSTD10);
|
||||
|
||||
this.CollectionDiffMadc = new Collection<SmartLabel>();
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc1);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc2);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc3);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc4);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc5);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc6);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc7);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc8);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc9);
|
||||
this.CollectionDiffMadc.Add(this.labelDiffMadc10);
|
||||
|
||||
this.CollectionDiffSecDiff = new Collection<SmartLabel>();
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff1);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff2);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff3);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff4);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff5);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff6);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff7);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff8);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff9);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff10);
|
||||
|
||||
this.CollectionDiffSecSum = new Collection<SmartLabel>();
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum1);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum2);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum3);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum4);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum5);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum6);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum7);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum8);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum9);
|
||||
this.CollectionDiffSecSum.Add(this.labelDiffSecSum10);
|
||||
|
||||
this.CollectionDiffMean = new Collection<SmartLabel>();
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean1);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean2);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean3);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean4);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean5);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean6);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean7);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean8);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean9);
|
||||
this.CollectionDiffMean.Add(this.labelDiffMean10);
|
||||
this.CollectionDiffSecDiff.Add(this.labelMesDiffSecDiff1);
|
||||
this.CollectionDiffSecDiff.Add(this.labelMesDiffSecDiff2);
|
||||
|
||||
this.CollectionPressureWork = new Collection<SmartLabel>();
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork1);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork2);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork3);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork4);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork5);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork6);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork7);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork8);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork9);
|
||||
this.CollectionPressureWork.Add(this.labelPressureWork10);
|
||||
this.CollectionPressureWork.Add(this.labelMesPressureWork1);
|
||||
this.CollectionPressureWork.Add(this.labelMesPressureWork2);
|
||||
|
||||
this.CollectionPressureMaster = new Collection<SmartLabel>();
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster1);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster2);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster3);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster4);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster5);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster6);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster7);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster8);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster9);
|
||||
this.CollectionPressureMaster.Add(this.labelPressureMaster10);
|
||||
this.CollectionPressureMaster.Add(this.labelMesPressureMaster1);
|
||||
this.CollectionPressureMaster.Add(this.labelMesPressureMaster2);
|
||||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Text = "-";
|
||||
this.CollectionLabelResult[i].TextColor = this.ColorResultNone;
|
||||
this.CollectionDispRData[i].Text = "0.00";
|
||||
this.CollectionDispMData[i].Text = "0.00";
|
||||
this.CollectionDispMDataDiff[i].Text = "0.00";
|
||||
this.CollectionDispSTD[i].Text = "0.00";
|
||||
this.CollectionDiffMadc[i].Text = "0.00";
|
||||
this.CollectionDiffSecDiff[i].Text = "0.00";
|
||||
this.CollectionDiffSecSum[i].Text = "0.00";
|
||||
this.CollectionDiffMean[i].Text = "0.00";
|
||||
this.CollectionPressureWork[i].Text = "0.0";
|
||||
this.CollectionPressureMaster[i].Text = "0.0";
|
||||
}
|
||||
|
||||
// Measuring : 1 Lane
|
||||
this.labelMesDispRData1.Text = "0.00";
|
||||
this.labelMesDispMData1.Text = "0.00";
|
||||
this.labelMesDispMDataDiff1.Text = "0.00";
|
||||
this.labelMesDispSTD1.Text = "0.00";
|
||||
this.labelMesDiffMadc1.Text = "0.00";
|
||||
this.labelMesDiffSecDiff1.Text = "0.00";
|
||||
this.labelMesDiffSecSum1.Text = "0.00";
|
||||
this.labelMesDiffMean1.Text = "0.00";
|
||||
this.labelMesPressureMaster1.Text = "0.0";
|
||||
this.labelMesPressureWork1.Text = "0.0";
|
||||
|
||||
// Measuring : 2 Lane
|
||||
this.labelMesDispRData2.Text = "0.00";
|
||||
this.labelMesDispMData2.Text = "0.00";
|
||||
this.labelMesDispMDataDiff2.Text = "0.00";
|
||||
this.labelMesDispSTD2.Text = "0.00";
|
||||
this.labelMesDiffMadc2.Text = "0.00";
|
||||
this.labelMesDiffSecDiff2.Text = "0.00";
|
||||
this.labelMesDiffSecSum2.Text = "0.00";
|
||||
this.labelMesDiffMean2.Text = "0.00";
|
||||
this.labelMesPressureMaster2.Text = "0.0";
|
||||
this.labelMesPressureWork2.Text = "0.0";
|
||||
}
|
||||
|
||||
private void GetJudgmentResult(Define.E_JudgmentStatus judg, SmartLabel label2)
|
||||
|
@ -278,6 +178,13 @@ namespace INT_PT002.Controls
|
|||
this.CollectionLabelProgress[index].BackGroundColor = this.ColorProgressOff;
|
||||
}
|
||||
|
||||
private void UpdateDisplayInitialize()
|
||||
{
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
this.smartDraw2.Chart.PutDataAllClear();
|
||||
|
||||
|
||||
}
|
||||
public void UpdateProcessStatusDisplay(Define.E_ProcessStatus status)
|
||||
{
|
||||
switch (this.PreviousStageNum)
|
||||
|
@ -431,449 +338,127 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string value = "";
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].MAdc;
|
||||
if (this.CollectionDiffMadc[i].Text != value)
|
||||
this.CollectionDiffMadc[i].Text = value;
|
||||
|
||||
value = datas[i].SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[i].Text != value)
|
||||
this.CollectionDiffSecDiff[i].Text = value;
|
||||
|
||||
value = datas[i].SecBufSum;
|
||||
if (this.CollectionDiffSecSum[i].Text != value)
|
||||
this.CollectionDiffSecSum[i].Text = value;
|
||||
|
||||
value = datas[i].DiffMean;
|
||||
if (this.CollectionDiffMean[i].Text != value)
|
||||
this.CollectionDiffMean[i].Text = value;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayDiffData1(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[0].Text != value)
|
||||
this.CollectionDiffMadc[0].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[0].Text != value)
|
||||
this.CollectionDiffSecDiff[0].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[0].Text != value)
|
||||
this.CollectionDiffSecSum[0].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[0].Text != value)
|
||||
this.CollectionDiffMean[0].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData2(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[1].Text != value)
|
||||
this.CollectionDiffMadc[1].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[1].Text != value)
|
||||
this.CollectionDiffSecDiff[1].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[1].Text != value)
|
||||
this.CollectionDiffSecSum[1].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[1].Text != value)
|
||||
this.CollectionDiffMean[1].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData3(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[2].Text != value)
|
||||
this.CollectionDiffMadc[2].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[2].Text != value)
|
||||
this.CollectionDiffSecDiff[2].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[2].Text != value)
|
||||
this.CollectionDiffSecSum[2].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[2].Text != value)
|
||||
this.CollectionDiffMean[2].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData4(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[3].Text != value)
|
||||
this.CollectionDiffMadc[3].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[3].Text != value)
|
||||
this.CollectionDiffSecDiff[3].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[3].Text != value)
|
||||
this.CollectionDiffSecSum[3].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[3].Text != value)
|
||||
this.CollectionDiffMean[3].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData5(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[4].Text != value)
|
||||
this.CollectionDiffMadc[4].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[4].Text != value)
|
||||
this.CollectionDiffSecDiff[4].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[4].Text != value)
|
||||
this.CollectionDiffSecSum[4].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[4].Text != value)
|
||||
this.CollectionDiffMean[4].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData6(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[5].Text != value)
|
||||
this.CollectionDiffMadc[5].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[5].Text != value)
|
||||
this.CollectionDiffSecDiff[5].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[5].Text != value)
|
||||
this.CollectionDiffSecSum[5].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[5].Text != value)
|
||||
this.CollectionDiffMean[5].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData7(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[6].Text != value)
|
||||
this.CollectionDiffMadc[6].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[6].Text != value)
|
||||
this.CollectionDiffSecDiff[6].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[6].Text != value)
|
||||
this.CollectionDiffSecSum[6].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[6].Text != value)
|
||||
this.CollectionDiffMean[6].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData8(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[7].Text != value)
|
||||
this.CollectionDiffMadc[7].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[7].Text != value)
|
||||
this.CollectionDiffSecDiff[7].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[7].Text != value)
|
||||
this.CollectionDiffSecSum[7].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[7].Text != value)
|
||||
this.CollectionDiffMean[7].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData9(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[8].Text != value)
|
||||
this.CollectionDiffMadc[8].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[8].Text != value)
|
||||
this.CollectionDiffSecDiff[8].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[8].Text != value)
|
||||
this.CollectionDiffSecSum[8].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[8].Text != value)
|
||||
this.CollectionDiffMean[8].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDiffData10(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DiffData.MAdc;
|
||||
if (this.CollectionDiffMadc[9].Text != value)
|
||||
this.CollectionDiffMadc[9].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufDiff;
|
||||
if (this.CollectionDiffSecDiff[9].Text != value)
|
||||
this.CollectionDiffSecDiff[9].Text = value;
|
||||
|
||||
value = data.DiffData.SecBufSum;
|
||||
if (this.CollectionDiffSecSum[9].Text != value)
|
||||
this.CollectionDiffSecSum[9].Text = value;
|
||||
|
||||
value = data.DiffData.DiffMean;
|
||||
if (this.CollectionDiffMean[9].Text != value)
|
||||
this.CollectionDiffMean[9].Text = value;
|
||||
}
|
||||
|
||||
// 변위센서 데이터
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
{
|
||||
value = datas[i].RData;
|
||||
if (this.CollectionDispRData[i].Text != value)
|
||||
this.CollectionDispRData[i].Text = value;
|
||||
|
||||
value = datas[i].MData;
|
||||
if (this.CollectionDispMData[i].Text != value)
|
||||
this.CollectionDispMData[i].Text = value;
|
||||
|
||||
value = datas[i].MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[i].Text != value)
|
||||
this.CollectionDispMDataDiff[i].Text = value;
|
||||
|
||||
value = datas[i].STD;
|
||||
if (this.CollectionDispSTD[i].Text != value)
|
||||
this.CollectionDispSTD[i].Text = value;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayDispData1(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[0].Text != value)
|
||||
this.CollectionDispRData[0].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[0].Text != value)
|
||||
this.CollectionDispMData[0].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[0].Text != value)
|
||||
this.CollectionDispMDataDiff[0].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[0].Text != value)
|
||||
this.CollectionDispSTD[0].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData2(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[1].Text != value)
|
||||
this.CollectionDispRData[1].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[1].Text != value)
|
||||
this.CollectionDispMData[1].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[1].Text != value)
|
||||
this.CollectionDispMDataDiff[1].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[1].Text != value)
|
||||
this.CollectionDispSTD[1].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData3(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[2].Text != value)
|
||||
this.CollectionDispRData[2].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[2].Text != value)
|
||||
this.CollectionDispMData[2].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[2].Text != value)
|
||||
this.CollectionDispMDataDiff[2].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[2].Text != value)
|
||||
this.CollectionDispSTD[2].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData4(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[3].Text != value)
|
||||
this.CollectionDispRData[3].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[3].Text != value)
|
||||
this.CollectionDispMData[3].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[3].Text != value)
|
||||
this.CollectionDispMDataDiff[3].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[3].Text != value)
|
||||
this.CollectionDispSTD[3].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData5(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[4].Text != value)
|
||||
this.CollectionDispRData[4].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[4].Text != value)
|
||||
this.CollectionDispMData[4].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[4].Text != value)
|
||||
this.CollectionDispMDataDiff[4].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[4].Text != value)
|
||||
this.CollectionDispSTD[4].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData6(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[5].Text != value)
|
||||
this.CollectionDispRData[5].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[5].Text != value)
|
||||
this.CollectionDispMData[5].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[5].Text != value)
|
||||
this.CollectionDispMDataDiff[5].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[5].Text != value)
|
||||
this.CollectionDispSTD[5].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData7(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[6].Text != value)
|
||||
this.CollectionDispRData[6].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[6].Text != value)
|
||||
this.CollectionDispMData[6].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[6].Text != value)
|
||||
this.CollectionDispMDataDiff[6].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[6].Text != value)
|
||||
this.CollectionDispSTD[6].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData8(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[7].Text != value)
|
||||
this.CollectionDispRData[7].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[7].Text != value)
|
||||
this.CollectionDispMData[7].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[7].Text != value)
|
||||
this.CollectionDispMDataDiff[7].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[7].Text != value)
|
||||
this.CollectionDispSTD[7].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData9(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[8].Text != value)
|
||||
this.CollectionDispRData[8].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[8].Text != value)
|
||||
this.CollectionDispMData[8].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[8].Text != value)
|
||||
this.CollectionDispMDataDiff[8].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[8].Text != value)
|
||||
this.CollectionDispSTD[8].Text = value;
|
||||
}
|
||||
public void UpdateDisplayDispData10(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = data.DispData.RData;
|
||||
if (this.CollectionDispRData[9].Text != value)
|
||||
this.CollectionDispRData[9].Text = value;
|
||||
|
||||
value = data.DispData.MData;
|
||||
if (this.CollectionDispMData[9].Text != value)
|
||||
this.CollectionDispMData[9].Text = value;
|
||||
|
||||
value = data.DispData.MDataDiff;
|
||||
if (this.CollectionDispMDataDiff[9].Text != value)
|
||||
this.CollectionDispMDataDiff[9].Text = value;
|
||||
|
||||
value = data.DispData.STD;
|
||||
if (this.CollectionDispSTD[9].Text != value)
|
||||
this.CollectionDispSTD[9].Text = value;
|
||||
}
|
||||
|
||||
// 압력센서 데이터
|
||||
|
@ -881,7 +466,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
string value = "";
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].WorkingChamber;
|
||||
if (this.CollectionPressureWork[i].Text != value)
|
||||
|
@ -1019,7 +604,7 @@ namespace INT_PT002.Controls
|
|||
this.timerOn.Stop();
|
||||
this.timerOff.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
@ -1124,7 +709,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.timerOn.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
|
||||
this.timerOff.Start();
|
||||
|
@ -1133,7 +718,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.timerOff.Stop();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
||||
this.timerOn.Start();
|
||||
|
|
|
@ -71,6 +71,9 @@ namespace INT_PT002.DataStore
|
|||
// Address None
|
||||
public static readonly string None = "0000";
|
||||
|
||||
// 시스템설정 - 장비 열 개수
|
||||
public static readonly string _1003_EquipmentLane = "1003";
|
||||
|
||||
// 메인보드 버전 읽기
|
||||
public static readonly string _1502_ProgramVersion = "1502";
|
||||
|
||||
|
@ -80,6 +83,8 @@ namespace INT_PT002.DataStore
|
|||
public static readonly string _1706_SbDiffFilter = "1706";
|
||||
// 시스템설정 - 데이터 전송 주기
|
||||
public static readonly string _1710_LcdDataPeriod = "1710";
|
||||
// 시스템설정 - 검사 열 개수
|
||||
public static readonly string _1711_CheckLane = "1711";
|
||||
|
||||
// 품번
|
||||
public static readonly string _2001_ProductNumber = "2001";
|
||||
|
|
|
@ -203,6 +203,8 @@ namespace INT_PT002.DataStore
|
|||
Etc_CutWait,
|
||||
Etc_Buzzer,
|
||||
Etc_SbDiffFilter,
|
||||
Etc_EquipmentLane,
|
||||
Etc_CheckLane,
|
||||
|
||||
M1_Origin,
|
||||
M1_Front1,
|
||||
|
|
|
@ -8,8 +8,6 @@ namespace INT_PT002.DataStore
|
|||
public class SystemStatus
|
||||
{
|
||||
#region Field
|
||||
private int m_EquipmentColumn;
|
||||
|
||||
private UserItem m_CurrentUser;
|
||||
|
||||
private Define.E_EquipmentMode m_CurrentEquipmentMode;
|
||||
|
@ -26,12 +24,6 @@ namespace INT_PT002.DataStore
|
|||
#endregion
|
||||
|
||||
#region Property
|
||||
public int EquipmentColumn
|
||||
{
|
||||
get { return this.m_EquipmentColumn; }
|
||||
set { this.m_EquipmentColumn = value; }
|
||||
}
|
||||
|
||||
public UserItem CurrentUser
|
||||
{
|
||||
get { return this.m_CurrentUser; }
|
||||
|
@ -63,8 +55,6 @@ namespace INT_PT002.DataStore
|
|||
#region Method
|
||||
private void Initialize()
|
||||
{
|
||||
this.EquipmentColumn = 10;
|
||||
|
||||
this.CurrentUser = new UserItem();
|
||||
|
||||
this.CurrentEquipmentMode = Define.E_EquipmentMode.Normal;
|
||||
|
|
|
@ -202,9 +202,9 @@ namespace INT_PT002.Forms
|
|||
this.ListDllUserName = new List<string>();
|
||||
this.ListDllUserName.Clear();
|
||||
|
||||
this.CurrentLeakData = new LeakData(this.CurrentSystemStatus.EquipmentColumn);
|
||||
this.CurrentLeakData = new LeakData(this.SystemConfig.EQUIPMENT_LANE);
|
||||
this.CurrentLeakDatas = new Collection<LeakData1>();
|
||||
for (int i = 0; i < this.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CurrentLeakDatas.Add(new LeakData1());
|
||||
|
||||
this.CollectionIOTest_InputData = new Collection<string>();
|
||||
|
@ -267,6 +267,8 @@ namespace INT_PT002.Forms
|
|||
sb.Append(Helper.StringBlankFillDigits4(this.SystemConfig.SB_DATA_MODE.ToString()));
|
||||
sb.Append(Helper.StringBlankFillDigits4(this.SystemConfig.SB_DATA_PERIOD.ToString()));
|
||||
sb.Append(Helper.StringBlankFillDigits4(this.SystemConfig.SB_DIFF_MODE.ToString()));
|
||||
sb.Append(Helper.StringBlankFillDigits4(this.SystemConfig.EQUIPMENT_LANE.ToString()));
|
||||
sb.Append(Helper.StringBlankFillDigits4(this.SystemConfig.CHECK_LANE.ToString()));
|
||||
|
||||
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9039_ParameterAll, sb.ToString());
|
||||
}
|
||||
|
@ -1335,7 +1337,7 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
case "Z":
|
||||
#region Value Assign
|
||||
for (int i = 0; i < this.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
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)
|
||||
|
@ -1573,7 +1575,7 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
case "Z":
|
||||
#region Value Assign
|
||||
for (int i = 0; i < this.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CurrentLeakData.CollDiffData[i].MAdc = receiveData.Substring(i * 32, 8).Trim();
|
||||
this.CurrentLeakData.CollDiffData[i].SecBufDiff = receiveData.Substring((i * 32) + 8, 8).Trim();
|
||||
|
@ -1781,7 +1783,7 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
case "Z":
|
||||
#region Value Assign
|
||||
for (int i = 0; i < this.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CurrentLeakData.CollDispData[i].RData = receiveData.Substring(i * 24, 6).Trim();
|
||||
this.CurrentLeakData.CollDispData[i].MData = receiveData.Substring((i * 24) + 6, 6).Trim();
|
||||
|
@ -1989,7 +1991,7 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
case "Z":
|
||||
#region Value Assign
|
||||
for (int i = 0; i < this.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CurrentLeakData.CollPresData[i].WorkingChamber =
|
||||
string.Format("{0}{1}", receiveData.Substring(i * 6, 1), receiveData.Substring((i * 6) + 1, 5).Trim());
|
||||
|
|
|
@ -219,7 +219,7 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionResult[i].Text = "-";
|
||||
this.CollectionResult[i].TextColor = this.ColorResultNone;
|
||||
|
@ -422,7 +422,7 @@ namespace INT_PT002.Forms
|
|||
|
||||
if (this.CollectionResult[0].Text == "검사 중..")
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionResult[i].Visible = true;
|
||||
this.CollectionResult[i].Text = "-";
|
||||
|
@ -581,7 +581,7 @@ namespace INT_PT002.Forms
|
|||
else
|
||||
this.FlagIgnoreCNT++;
|
||||
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].MAdc;
|
||||
if (this.CollectionDiffMadc[i].Text != value)
|
||||
|
@ -613,7 +613,7 @@ namespace INT_PT002.Forms
|
|||
else
|
||||
this.FlagIgnoreCNT++;
|
||||
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].RData;
|
||||
if (this.CollectionDispRData[i].Text != value)
|
||||
|
@ -636,7 +636,7 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
string value = "";
|
||||
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
value = datas[i].WorkingChamber;
|
||||
if (this.CollectionPressureWork[i].Text != value)
|
||||
|
@ -748,7 +748,7 @@ namespace INT_PT002.Forms
|
|||
this.timerOn.Enabled = false;
|
||||
this.timerOff.Enabled = false;
|
||||
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionResult[i].Visible = true;
|
||||
|
||||
this.UpdateDisplayJudgmentData1(datas);
|
||||
|
@ -841,7 +841,7 @@ namespace INT_PT002.Forms
|
|||
this.InitializeData();
|
||||
this.ChildControl.ClearAllData();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionResult[i].Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
this.CollectionResult[i].Text = "검사 중..";
|
||||
|
@ -910,7 +910,7 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
this.timerOn.Enabled = false;
|
||||
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionResult[i].Visible = false;
|
||||
|
||||
this.timerOff.Enabled = true;
|
||||
|
@ -919,7 +919,7 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
this.timerOff.Enabled = false;
|
||||
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionResult[i].Visible = true;
|
||||
|
||||
this.timerOn.Enabled = true;
|
||||
|
|
|
@ -212,7 +212,7 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
this.CollectionLabelPressure[i].Text = "0.0";
|
||||
|
@ -779,7 +779,7 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBufDiff;
|
||||
}
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
|
@ -788,12 +788,12 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelPressure[i].Text = datas[i].WorkingChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData(LeakData datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -39,13 +39,9 @@ namespace INT_PT002.Forms
|
|||
private Color ColorSensorNormal;
|
||||
private Color ColorSensorError;
|
||||
|
||||
private Collection<Point> CollectionLabelPoint;
|
||||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelProgress;
|
||||
private Collection<SmartLabel> CollectionLabelProgress2;
|
||||
private Collection<PictureBox> CollectionPictureBoxSelected;
|
||||
private Collection<PictureBox> CollectionPictureBoxUnselected;
|
||||
private Collection<SmartLabel> CollectionLabelPressure;
|
||||
private Collection<SmartLabel> CollectionLabelPressureWorking;
|
||||
private Collection<SmartLabel> CollectionLabelPressureMaster;
|
||||
private Collection<SmartLabel> CollectionLabelLeakRatePerSec;
|
||||
private Collection<SmartLabel> CollectionLabelSbAlarm;
|
||||
|
||||
|
@ -108,72 +104,31 @@ namespace INT_PT002.Forms
|
|||
this.CollectionLabelResult.Add(this.labelResult9);
|
||||
this.CollectionLabelResult.Add(this.labelResult10);
|
||||
|
||||
// 배경 사각형 라벨
|
||||
this.CollectionLabelProgress = new Collection<SmartLabel>();
|
||||
this.CollectionLabelProgress.Clear();
|
||||
this.CollectionLabelProgress.Add(this.labelProgress0);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress1);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress2);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress3);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress4);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress6);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress7);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress8);
|
||||
this.CollectionLabelPressureWorking = new Collection<SmartLabel>();
|
||||
this.CollectionLabelPressureWorking.Clear();
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking1);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking2);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking3);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking4);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking5);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking6);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking7);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking8);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking9);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking10);
|
||||
|
||||
// 기존 배경 라벨 사이즈 저장
|
||||
this.CollectionLabelPoint = new Collection<Point>();
|
||||
this.CollectionLabelPoint.Clear();
|
||||
for (int i = 0; i < this.CollectionLabelProgress.Count; i++)
|
||||
this.CollectionLabelPoint.Add(new Point(this.CollectionLabelProgress[i].Location.X, this.CollectionLabelProgress[i].Location.Y));
|
||||
|
||||
// 문구가 적힌 라벨
|
||||
this.CollectionLabelProgress2 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelProgress2.Clear();
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress0_1);
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress1_1);
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress2_1);
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress3_1);
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress4_1);
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress6_1);
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress7_1);
|
||||
this.CollectionLabelProgress2.Add(this.labelProgress8_1);
|
||||
|
||||
// pictureBox - Selected
|
||||
this.CollectionPictureBoxSelected = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxSelected.Clear();
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress0Selected);
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress1Selected);
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress2Selected);
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress3Selected);
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress4Selected);
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress6Selected);
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress7Selected);
|
||||
this.CollectionPictureBoxSelected.Add(this.pictureBoxProgress8Selected);
|
||||
|
||||
// pictureBox - Unselected
|
||||
this.CollectionPictureBoxUnselected = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxUnselected.Clear();
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress0);
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress1);
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress2);
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress3);
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress4);
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress6);
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress7);
|
||||
this.CollectionPictureBoxUnselected.Add(this.pictureBoxProgress8);
|
||||
|
||||
this.CollectionLabelPressure = new Collection<SmartLabel>();
|
||||
this.CollectionLabelPressure.Clear();
|
||||
this.CollectionLabelPressure.Add(this.labelPressure1);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure2);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure3);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure4);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure5);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure6);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure7);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure8);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure9);
|
||||
this.CollectionLabelPressure.Add(this.labelPressure10);
|
||||
this.CollectionLabelPressureMaster = new Collection<SmartLabel>();
|
||||
this.CollectionLabelPressureMaster.Clear();
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster1);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster2);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster3);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster4);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster5);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster6);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster7);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster8);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster9);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster10);
|
||||
|
||||
this.CollectionLabelLeakRatePerSec = new Collection<SmartLabel>();
|
||||
this.CollectionLabelLeakRatePerSec.Clear();
|
||||
|
@ -212,10 +167,11 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
this.CollectionLabelPressure[i].Text = "0.0";
|
||||
this.CollectionLabelPressureWorking[i].Text = "0.0";
|
||||
this.CollectionLabelPressureMaster[i].Text = "0.0";
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = "0.0";
|
||||
this.CollectionLabelSbAlarm[i].Visible = false;
|
||||
}
|
||||
|
@ -226,23 +182,15 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
case Define.E_LanguageID.Korean:
|
||||
this.labelProgress0_1.Text = "초기상태";
|
||||
this.labelProgress1_1.Text = "제품진입";
|
||||
this.labelProgress2_1.Text = "챔버결합";
|
||||
this.labelProgress3_1.Text = "진공시작";
|
||||
this.labelProgress4_1.Text = "검사 진행중";
|
||||
this.labelProgress6_1.Text = "진공파기";
|
||||
this.labelProgress7_1.Text = "챔버분리";
|
||||
this.labelProgress8_1.Text = "배출";
|
||||
this.labelProgress1_1.Text = "이동 및 제품진입";
|
||||
this.labelProgress2_1.Text = "측정 중";
|
||||
this.labelProgress3_1.Text = "배출 및 원점복귀";
|
||||
break;
|
||||
case Define.E_LanguageID.English:
|
||||
this.labelProgress0_1.Text = "Ready";
|
||||
this.labelProgress1_1.Text = "Entry";
|
||||
this.labelProgress2_1.Text = "Linkage";
|
||||
this.labelProgress3_1.Text = "V. Start";
|
||||
this.labelProgress4_1.Text = "Measurement";
|
||||
this.labelProgress6_1.Text = "V. Break";
|
||||
this.labelProgress7_1.Text = "Separation";
|
||||
this.labelProgress8_1.Text = "Release";
|
||||
this.labelProgress1_1.Text = "Product entry";
|
||||
this.labelProgress2_1.Text = "Measuring";
|
||||
this.labelProgress3_1.Text = "Discharge";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -251,30 +199,14 @@ namespace INT_PT002.Forms
|
|||
|
||||
private void SelectProcessLabelRefresh(int index)
|
||||
{
|
||||
this.CollectionLabelProgress[index].Location = new Point(this.CollectionLabelProgress[index].Location.X - 17, this.CollectionLabelProgress[index].Location.Y - 15);
|
||||
this.CollectionLabelProgress[index].Size = this.SizeProgressOn;
|
||||
this.CollectionLabelProgress[index].RoundRectFillColor = this.ColorProgressOn;
|
||||
// 문구가 적히는 label
|
||||
this.CollectionLabelProgress2[index].BackGroundColor = this.ColorProgressOn;
|
||||
|
||||
this.CollectionPictureBoxSelected[index].Visible = true;
|
||||
this.CollectionPictureBoxSelected[index].BringToFront();
|
||||
|
||||
}
|
||||
private void UnselectProcessLabelRefresh(int index)
|
||||
{
|
||||
this.CollectionLabelProgress[index].Location = this.CollectionLabelPoint[index];
|
||||
this.CollectionLabelProgress[index].Size = this.SizeProgressOff;
|
||||
this.CollectionLabelProgress[index].RoundRectFillColor = this.ColorProgressOff;
|
||||
// 문구가 적히는 label
|
||||
this.CollectionLabelProgress2[index].BackGroundColor = this.ColorProgressOff;
|
||||
|
||||
this.CollectionPictureBoxSelected[index].Visible = false;
|
||||
this.CollectionPictureBoxUnselected[index].BringToFront();
|
||||
|
||||
}
|
||||
private void InitializeProcessLabelRefresh()
|
||||
{
|
||||
for (int i = 0; i < this.CollectionLabelProgress.Count; i++)
|
||||
this.CollectionLabelProgress[i].RoundRectFillColor = this.CollectionLabelProgress[i].RoundRectFillColor;
|
||||
}
|
||||
|
||||
private bool UI_Invoke(ThreadStart invoker)
|
||||
|
@ -544,43 +476,27 @@ namespace INT_PT002.Forms
|
|||
switch (status)
|
||||
{
|
||||
case Define.E_ProcessStatus._1_Initial:
|
||||
this.progressBar3.Visible = false;
|
||||
this.progressBar4.Visible = false;
|
||||
this.progressBar6.Visible = false;
|
||||
this.progressBar1.Visible = false;
|
||||
if (this.smartTimerProgressBar.IsStart == true)
|
||||
this.smartTimerProgressBar.Stop();
|
||||
break;
|
||||
case Define.E_ProcessStatus._4_VacuumStart:
|
||||
this.progressBar3.Maximum = this.ParentForm.CurrentRecipe.VACUUM_RELIEF * 10;
|
||||
this.progressBar3.Value = this.progressBar3.Maximum;
|
||||
|
||||
this.progressBar3.Visible = true;
|
||||
this.smartTimerProgressBar.Start();
|
||||
this.progressBar1.Value = +10;
|
||||
this.progressBar1.Visible = true;
|
||||
//this.smartTimerProgressBar.Start();
|
||||
break;
|
||||
case Define.E_ProcessStatus._5_VacuumHold:
|
||||
this.progressBar4.Maximum = this.ParentForm.CurrentRecipe.VACUUM_HOLD1 * 10;
|
||||
this.progressBar4.Value = this.progressBar4.Maximum;
|
||||
|
||||
if (this.smartTimerProgressBar.IsStart == true)
|
||||
this.smartTimerProgressBar.Stop();
|
||||
this.progressBar3.Visible = false;
|
||||
this.progressBar4.Visible = true;
|
||||
this.smartTimerProgressBar.Start();
|
||||
this.progressBar1.Value = +10;
|
||||
this.progressBar1.Visible = true;
|
||||
//this.smartTimerProgressBar.Start();
|
||||
break;
|
||||
case Define.E_ProcessStatus._7_VacuumBreak:
|
||||
this.progressBar6.Maximum = this.ParentForm.CurrentRecipe.VACUUM_BLOWOFF * 10;
|
||||
this.progressBar6.Value = this.progressBar6.Maximum;
|
||||
|
||||
if (this.smartTimerProgressBar.IsStart == true)
|
||||
this.smartTimerProgressBar.Stop();
|
||||
this.progressBar4.Visible = false;
|
||||
this.progressBar6.Visible = true;
|
||||
this.smartTimerProgressBar.Start();
|
||||
this.progressBar1.Value = +10;
|
||||
this.progressBar1.Visible = true;
|
||||
//this.smartTimerProgressBar.Start();
|
||||
break;
|
||||
case Define.E_ProcessStatus._8_ChamberSeparation:
|
||||
if (this.smartTimerProgressBar.IsStart == true)
|
||||
this.smartTimerProgressBar.Stop();
|
||||
this.progressBar6.Visible = false;
|
||||
//this.progressBar6.Visible = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -596,9 +512,6 @@ namespace INT_PT002.Forms
|
|||
case Define.E_ProcessStatus._0_None:
|
||||
break;
|
||||
case Define.E_ProcessStatus._1_Initial:
|
||||
for (int i = 0; i < this.CollectionLabelProgress.Count; i++)
|
||||
this.CollectionLabelProgress[i].Location = this.CollectionLabelPoint[i];
|
||||
|
||||
this.UnselectProcessLabelRefresh(0);
|
||||
break;
|
||||
case Define.E_ProcessStatus._2_ProductEntry:
|
||||
|
@ -633,9 +546,6 @@ namespace INT_PT002.Forms
|
|||
case Define.E_ProcessStatus._0_None:
|
||||
break;
|
||||
case Define.E_ProcessStatus._1_Initial:
|
||||
for (int i = 0; i < this.CollectionLabelProgress.Count; i++)
|
||||
this.CollectionLabelProgress[i].Location = this.CollectionLabelPoint[i];
|
||||
|
||||
this.SelectProcessLabelRefresh(0);
|
||||
break;
|
||||
case Define.E_ProcessStatus._2_ProductEntry:
|
||||
|
@ -781,7 +691,7 @@ namespace INT_PT002.Forms
|
|||
// 차압센서 데이터
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBufDiff;
|
||||
}
|
||||
public void UpdateDisplayDiffData1(LeakData1 data)
|
||||
|
@ -874,54 +784,67 @@ namespace INT_PT002.Forms
|
|||
// 압력센서 데이터
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
this.CollectionLabelPressure[i].Text = datas[i].WorkingChamber.Trim();
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[i].Text = datas[i].WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[i].Text = datas[i].MasterChamber.Trim();
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayPresData1(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[0].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[0].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[0].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData2(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[1].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[1].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[1].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData3(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[2].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[2].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[2].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData4(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[3].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[3].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[3].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData5(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[4].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[4].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[4].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData6(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[5].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[5].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[5].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData7(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[6].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[6].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[6].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData8(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[7].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[7].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[7].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData9(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[8].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[8].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[8].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayPresData10(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressure[9].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureWorking[9].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[9].Text = data.PresData.MasterChamber.Trim();
|
||||
}
|
||||
|
||||
// 판정결과
|
||||
public void UpdateDisplayJudgmentData(LeakData datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
@ -1191,29 +1114,29 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
private void smartTimerProgressBar_Tick(object sender, EventArgs e)
|
||||
{
|
||||
switch (this.ProcessStatus)
|
||||
{
|
||||
case Define.E_ProcessStatus._4_VacuumStart:
|
||||
if (this.progressBar3.Value > 0)
|
||||
this.progressBar3.Value -= 10;
|
||||
else
|
||||
this.smartTimerProgressBar.Stop();
|
||||
break;
|
||||
case Define.E_ProcessStatus._5_VacuumHold:
|
||||
if (this.progressBar4.Value > 0)
|
||||
this.progressBar4.Value -= 10;
|
||||
else
|
||||
this.smartTimerProgressBar.Stop();
|
||||
break;
|
||||
case Define.E_ProcessStatus._7_VacuumBreak:
|
||||
if (this.progressBar6.Value > 0)
|
||||
this.progressBar6.Value -= 10;
|
||||
else
|
||||
this.smartTimerProgressBar.Stop();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
//switch (this.ProcessStatus)
|
||||
//{
|
||||
// case Define.E_ProcessStatus._4_VacuumStart:
|
||||
// if (this.progressBar3.Value > 0)
|
||||
// this.progressBar3.Value -= 10;
|
||||
// else
|
||||
// this.smartTimerProgressBar.Stop();
|
||||
// break;
|
||||
// case Define.E_ProcessStatus._5_VacuumHold:
|
||||
// if (this.progressBar4.Value > 0)
|
||||
// this.progressBar4.Value -= 10;
|
||||
// else
|
||||
// this.smartTimerProgressBar.Stop();
|
||||
// break;
|
||||
// case Define.E_ProcessStatus._7_VacuumBreak:
|
||||
// if (this.progressBar6.Value > 0)
|
||||
// this.progressBar6.Value -= 10;
|
||||
// else
|
||||
// this.smartTimerProgressBar.Stop();
|
||||
// break;
|
||||
// default:
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -748,7 +748,7 @@
|
|||
this.labelUserID.BackGroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.labelUserID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelUserID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelUserID.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelUserID.LineSpacing = 0F;
|
||||
this.labelUserID.Location = new System.Drawing.Point(787, 93);
|
||||
this.labelUserID.Name = "labelUserID";
|
||||
|
@ -840,7 +840,7 @@
|
|||
this.labelUserLevel.BackGroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.labelUserLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelUserLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelUserLevel.LineSpacing = 0F;
|
||||
this.labelUserLevel.Location = new System.Drawing.Point(787, 119);
|
||||
this.labelUserLevel.Name = "labelUserLevel";
|
||||
|
@ -1411,7 +1411,7 @@
|
|||
this.labelTime.BackGroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.labelTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelTime.LineSpacing = 0F;
|
||||
this.labelTime.Location = new System.Drawing.Point(141, 119);
|
||||
this.labelTime.Name = "labelTime";
|
||||
|
|
|
@ -196,7 +196,7 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
this.CollectionLabelPressure[i].Text = "0.0";
|
||||
|
@ -783,7 +783,7 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBufDiff;
|
||||
}
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
|
@ -792,12 +792,12 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelPressure[i].Text = datas[i].WorkingChamber.Trim();
|
||||
}
|
||||
public void UpdateDisplayJudgmentData(LeakData datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
|
|
Loading…
Reference in New Issue