no message

main
Seonjae 2024-04-09 17:19:05 +09:00
parent fc24c045a8
commit 0da4591a1a
1 changed files with 2 additions and 50 deletions

View File

@ -723,54 +723,6 @@ namespace INT_PT002.Forms
this.buttonModbus.Visible = bValue; this.buttonModbus.Visible = bValue;
} }
public void UpdateProcessStatusDisplay(Define.E_ProcessStatus status)
{
switch (status)
{
case Define.E_ProcessStatus._0_None:
break;
case Define.E_ProcessStatus._1_Ready:
this.pictureBoxProgress3.Visible = true;
this.pictureBoxProgress3Selected.Visible = false;
this.pictureBoxProgress0.Visible = false;
this.pictureBoxProgress0Selected.Visible = true;
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:
this.pictureBoxProgress0.Visible = true;
this.pictureBoxProgress0Selected.Visible = false;
this.pictureBoxProgress1.Visible = false;
this.pictureBoxProgress1Selected.Visible = true;
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.pictureBoxProgress1.Visible = true;
this.pictureBoxProgress1Selected.Visible = false;
this.pictureBoxProgress2.Visible = false;
this.pictureBoxProgress2Selected.Visible = true;
this.labelProgress2.RoundRectFillColor = Color.Teal;
this.ProgressBarSetting(status);
break;
case Define.E_ProcessStatus._10_ChamberRelease:
case Define.E_ProcessStatus._11_MoveToReady:
this.labelProgress2.RoundRectFillColor = Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.pictureBoxProgress2.Visible = true;
this.pictureBoxProgress2Selected.Visible = false;
this.pictureBoxProgress3.Visible = false;
this.pictureBoxProgress3Selected.Visible = true;
break;
default:
break;
}
this.ParentForm.Update30000ModbusItem();
}
private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff) private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff)
{ {
int iValue = 0; int iValue = 0;
@ -1651,7 +1603,7 @@ namespace INT_PT002.Forms
switch (this.testIndex) switch (this.testIndex)
{ {
case 0: case 0:
this.UpdateProcessStatusDisplay(Define.E_ProcessStatus._1_Ready); this.UpdateDisplayProcessStatus(Define.E_ProcessStatus._1_Ready);
break; break;
case 1: case 1:
this.UpdateDisplayProcessStatus(Define.E_ProcessStatus._2_ProductEntry); this.UpdateDisplayProcessStatus(Define.E_ProcessStatus._2_ProductEntry);
@ -1695,7 +1647,7 @@ namespace INT_PT002.Forms
private void buttonProgress1_Click(object sender, EventArgs e) private void buttonProgress1_Click(object sender, EventArgs e)
{ {
this.UpdateProcessStatusDisplay(Define.E_ProcessStatus._1_Ready); this.UpdateDisplayProcessStatus(Define.E_ProcessStatus._1_Ready);
} }
private void buttonProgress2_Click(object sender, EventArgs e) private void buttonProgress2_Click(object sender, EventArgs e)
{ {