레시피 초기값 변경

main
DESKTOP-S459P9R\LSJ 2025-07-03 14:29:13 +09:00
parent de5b47b175
commit 799738686a
6 changed files with 22 additions and 34 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
INT63DC_6CH/obj/ INT63DC_6CH/obj/
INT63DC_6CH/bin/Release/INT63DC_6CH.exe
INT63DC_6CH/bin/Release/INT63DC_6CH.pdb

Binary file not shown.

View File

@ -1476,12 +1476,12 @@ namespace INT63DC_6CH
this.Number = 1; this.Number = 1;
this.Name = "ProductName 1"; this.Name = "ProductName 1";
this.LotNo = "Lot 1"; this.LotNo = "Lot 1";
this.UnderRange = "1000"; this.UnderRange = "10000";
this.PassRange = "2000"; this.PassRange = "20000";
this.OverRange = "3000"; this.OverRange = "30000";
this.TareRange = "0"; this.TareRange = "0";
this.UnderRange = "0"; this.UnderRangeLimit = "0";
this.OverRange = "99999"; this.OverRangeLimit = "999999";
} }
private void ProgressBarLevelRescale() private void ProgressBarLevelRescale()
@ -2206,7 +2206,6 @@ namespace INT63DC_6CH
private bool m_IsServoAlarmTorque; private bool m_IsServoAlarmTorque;
private bool m_IsServoOff; private bool m_IsServoOff;
private bool m_IsInverterAlarm; private bool m_IsInverterAlarm;
private bool m_IsAlignError;
private bool m_IsPinchPoint; private bool m_IsPinchPoint;
private bool m_IsBuzzerStatus; private bool m_IsBuzzerStatus;
@ -2260,11 +2259,6 @@ namespace INT63DC_6CH
get { return this.m_IsInverterAlarm; } get { return this.m_IsInverterAlarm; }
set { this.m_IsInverterAlarm = value; } set { this.m_IsInverterAlarm = value; }
} }
public bool IsAlignError
{
get { return this.m_IsAlignError; }
set { this.m_IsAlignError = value; }
}
public bool IsPinchPoint public bool IsPinchPoint
{ {
get { return this.m_IsPinchPoint; } get { return this.m_IsPinchPoint; }
@ -2289,7 +2283,6 @@ namespace INT63DC_6CH
this.IsServoAlarmTorque = false; this.IsServoAlarmTorque = false;
this.IsServoOff = false; this.IsServoOff = false;
this.IsInverterAlarm = false; this.IsInverterAlarm = false;
this.IsAlignError = false;
this.IsPinchPoint = false; this.IsPinchPoint = false;
this.IsBuzzerStatus = false; this.IsBuzzerStatus = false;
@ -2318,57 +2311,57 @@ namespace INT63DC_6CH
this.IsBuzzerStatus = false; this.IsBuzzerStatus = false;
} }
else else
this.IsPinchPoint = true; this.IsPinchPoint = true;
#endregion #endregion
#region 알람 15-봉 정렬 에러(정렬기) #region 알람 15-
if (sValue4[1] == '0') if (sValue4[1] == '0')
this.IsAlignError = false; { }
else else
this.IsAlignError = true; { }
#endregion #endregion
#region 알람 14- #region 알람 14-
if (sValue4[2] == '0') if (sValue4[2] == '0')
{ } { }
else else
{ } { }
#endregion #endregion
#region 알람 13- #region 알람 13-
if (sValue4[3] == '0') if (sValue4[3] == '0')
{ } { }
else else
{ } { }
#endregion #endregion
#region 알람 12-서보알람토크 #region 알람 12-서보알람토크
if (sValue3[0] == '0') if (sValue3[0] == '0')
this.IsServoAlarmTorque = false; this.IsServoAlarmTorque = false;
else else
this.IsServoAlarmTorque = true; this.IsServoAlarmTorque = true;
#endregion #endregion
#region 알람 11- #region 알람 11-
if (sValue3[1] == '0') if (sValue3[1] == '0')
{ } { }
else else
{ } { }
#endregion #endregion
#region 알람 10-서보알람 #region 알람 10-서보알람
if (sValue3[2] == '0') if (sValue3[2] == '0')
this.IsServoAlarm = false; this.IsServoAlarm = false;
else else
this.IsServoAlarm = true; this.IsServoAlarm = true;
#endregion #endregion
#region 알람 9-인버터알람 #region 알람 9-인버터알람
if (sValue3[3] == '0') if (sValue3[3] == '0')
this.IsInverterAlarm = false; this.IsInverterAlarm = false;
else else
this.IsInverterAlarm = true; this.IsInverterAlarm = true;
#endregion #endregion
#region 알람 8-비상정지 #region 알람 8-비상정지
if (sValue2[0] == '0') if (sValue2[0] == '0')
this.IsEmergencyStop = false; this.IsEmergencyStop = false;
else else
this.IsEmergencyStop = true; this.IsEmergencyStop = true;
#endregion #endregion
#region 알람 7- #region 알람 7-
if (sValue2[1] == '0') if (sValue2[1] == '0')
@ -2399,19 +2392,19 @@ namespace INT63DC_6CH
if (sValue1[1] == '0') if (sValue1[1] == '0')
this.IsPressureError = false; this.IsPressureError = false;
else else
this.IsPressureError = true; this.IsPressureError = true;
#endregion #endregion
#region 알람 2-셀 에러 #region 알람 2-셀 에러
if (sValue1[2] == '0') if (sValue1[2] == '0')
this.IsLoadcellError = false; this.IsLoadcellError = false;
else else
this.IsLoadcellError = true; this.IsLoadcellError = true;
#endregion #endregion
#region 알람 1-입력센서 에러 #region 알람 1-입력센서 에러
if (sValue1[3] == '0') if (sValue1[3] == '0')
this.IsEntrySensorError = false; this.IsEntrySensorError = false;
else else
this.IsEntrySensorError = true; this.IsEntrySensorError = true;
#endregion #endregion
} }
#endregion #endregion

View File

@ -1677,7 +1677,7 @@ namespace INT63DC_6CH.Forms
if (alarm.IsEntrySensorError == true || alarm.IsLoadcellError == true || alarm.IsPressureError == true || if (alarm.IsEntrySensorError == true || alarm.IsLoadcellError == true || alarm.IsPressureError == true ||
alarm.IsEmergencyStop == true || alarm.IsInverterAlarm == true || alarm.IsServoAlarm == true || alarm.IsServoAlarmTorque == true || alarm.IsEmergencyStop == true || alarm.IsInverterAlarm == true || alarm.IsServoAlarm == true || alarm.IsServoAlarmTorque == true ||
alarm.IsAlignError == true || alarm.IsPinchPoint == true) alarm.IsPinchPoint == true)
{ {
this.pictureBoxAlarm.Visible = true; this.pictureBoxAlarm.Visible = true;
} }
@ -1719,11 +1719,6 @@ namespace INT63DC_6CH.Forms
this.MainDisplayAlarmList.listBoxMessage.AddItem("Servo Torque Alarm"); this.MainDisplayAlarmList.listBoxMessage.AddItem("Servo Torque Alarm");
isAlarmMessageView = true; isAlarmMessageView = true;
} }
if (alarm.IsAlignError == true)
{
this.MainDisplayAlarmList.listBoxMessage.AddItem("Product discharge error");
isAlarmMessageView = true;
}
if (alarm.IsInverterAlarm == true) if (alarm.IsInverterAlarm == true)
this.UpdateAlarmMessageDisplay(); this.UpdateAlarmMessageDisplay();
@ -1789,8 +1784,6 @@ namespace INT63DC_6CH.Forms
this.smartListBox1.AddItem("Servo Torque Alarm"); this.smartListBox1.AddItem("Servo Torque Alarm");
if (alarm.IsEntrySensorError == true) if (alarm.IsEntrySensorError == true)
this.smartListBox1.AddItem("Entry Sensor Error"); this.smartListBox1.AddItem("Entry Sensor Error");
if (alarm.IsAlignError == true)
this.smartListBox1.AddItem("Product discharge error");
// bypass 설정 체크 // bypass 설정 체크
bool isBypass = false; bool isBypass = false;