Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
|
378c8fe77c | |
|
83fe1e0d95 | |
|
47d3526039 | |
|
3be257a866 | |
|
f94de7d50e | |
|
573f02799d | |
|
9c56a58e4e |
BIN
INT63DC_2C.suo
BIN
INT63DC_2C.suo
Binary file not shown.
|
@ -153,7 +153,7 @@ namespace INT63DC_2C.Forms
|
||||||
}
|
}
|
||||||
private void DefaultSetting()
|
private void DefaultSetting()
|
||||||
{
|
{
|
||||||
this.labelDisplayVer.Text = "8.2.2";
|
this.labelDisplayVer.Text = "8.3.0";
|
||||||
this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber;
|
this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber;
|
||||||
this.textBoxSerialNo.Location = new Point(395, 225);
|
this.textBoxSerialNo.Location = new Point(395, 225);
|
||||||
this.textBoxSerialNo.Visible = false;
|
this.textBoxSerialNo.Visible = false;
|
||||||
|
|
|
@ -2115,10 +2115,31 @@ namespace INT63DC_2C.Forms
|
||||||
if (alarm.IsAlignError == true)
|
if (alarm.IsAlignError == true)
|
||||||
this.smartListBox1.AddItem("Product discharge error");
|
this.smartListBox1.AddItem("Product discharge error");
|
||||||
|
|
||||||
this.panelAlarmMessageBox2.BringToFront();
|
// bypass 설정 체크
|
||||||
this.panelAlarmMessageBox2.Visible = true;
|
bool isBypass = false;
|
||||||
|
if (alarm.IsLoadcellError == true)
|
||||||
|
{
|
||||||
|
foreach(WeightData data in this.ParentForm.CollectionWeightData)
|
||||||
|
{
|
||||||
|
if (data.IsBypassMode == true)
|
||||||
|
{
|
||||||
|
isBypass = true;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (alarm.IsLoadcellError == true)
|
||||||
|
{
|
||||||
|
if (isBypass == true)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.ParentForm.CurrentAlarmList.IsBuzzerStatus == false)
|
if (this.ParentForm.CurrentAlarmList.IsBuzzerStatus == false)
|
||||||
{
|
{
|
||||||
|
this.panelAlarmMessageBox2.BringToFront();
|
||||||
|
this.panelAlarmMessageBox2.Visible = true;
|
||||||
|
|
||||||
this.ParentForm.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
|
this.ParentForm.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
|
||||||
this.ParentForm.TransferData(CommunicationCommand.BuzzerOn, CommunicationID.MainBoard);
|
this.ParentForm.TransferData(CommunicationCommand.BuzzerOn, CommunicationID.MainBoard);
|
||||||
this.ParentForm.CurrentAlarmList.IsBuzzerStatus = true;
|
this.ParentForm.CurrentAlarmList.IsBuzzerStatus = true;
|
||||||
|
@ -2281,6 +2302,7 @@ namespace INT63DC_2C.Forms
|
||||||
if (this.ParentForm.IsServoOrigin == false)
|
if (this.ParentForm.IsServoOrigin == false)
|
||||||
this.panelAlarmMessageBox4.Visible = false;
|
this.panelAlarmMessageBox4.Visible = false;
|
||||||
|
|
||||||
|
// Bypass Display
|
||||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
|
|
@ -408,7 +408,7 @@ namespace INT63DC_2C.Forms
|
||||||
if (label == null)
|
if (label == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (this.ParentForm.smartModbus.IsOpen == false || label.Text.Trim() == "0")
|
if (this.ParentForm.smartModbus.IsOpen == false)
|
||||||
{
|
{
|
||||||
// 통신 연결상태를 확인하세요
|
// 통신 연결상태를 확인하세요
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(23, this.ParentForm.SystemConfig.Language);
|
DialogFormMessage myMsg = new DialogFormMessage(23, this.ParentForm.SystemConfig.Language);
|
||||||
|
@ -443,7 +443,7 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 20000)
|
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 20000)
|
||||||
{
|
{
|
||||||
// 입력범위를 확인하세요
|
// 입력범위를 확인하세요
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
||||||
|
@ -463,7 +463,7 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 20000)
|
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 20000)
|
||||||
{
|
{
|
||||||
// 입력범위를 확인하세요
|
// 입력범위를 확인하세요
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
||||||
|
@ -486,7 +486,7 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 10000)
|
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 10000)
|
||||||
{
|
{
|
||||||
// 입력범위를 확인하세요
|
// 입력범위를 확인하세요
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
||||||
|
@ -506,7 +506,7 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 10000)
|
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 10000)
|
||||||
{
|
{
|
||||||
// 입력범위를 확인하세요
|
// 입력범위를 확인하세요
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue