Compare commits

..

11 Commits

Author SHA1 Message Date
sj84 16520bf087 @ Ver 6.6.1 by LSJ
- 2026.01.16
 - Ver 6.6.0 Modify
 - Framework : SmartX Framework V3.2.4(update: 2021.01.20)
 - 스틱2 모드 데이터 저장 버그 수정 (15인치 프로그램은 수정되어 있음)
   판정 시 중량과 데이터 백업 시(엑셀) 중량 저장되는 값이 다르게 저장됨
   timeout 시간에 따른 지연으로 정지 중량 데이터 수신되면서, 중량 값이 다른값으로 변경되는 문제있음
   운전 중, 정지중량 데이터 수신시 중량값은 갱신 안되도록 수정
   timeout 시간 : 판정지연 -100
 - 스틱2모드에서 데이터 백업 저장시
   [장비설정] - [통합전송] 기능 ON 으로 자동 저장 되도록 수정 (스틱2모드에서 데이터 저장하려면 무조건 ON 되어야함)
   통합전송 초기값 ON 으로 수정
2026-01-16 15:48:53 +09:00
CJY 0d2f5577bf 이차장님 프로그램 새로 받아서 업로드 2025-12-23 14:32:37 +09:00
CJY 867412193d 충돌 해결중 2025-12-23 09:32:49 +09:00
CJY 5b220d7f54 충돌 해결중 2025-12-23 09:30:40 +09:00
DESKTOP-999R8N3\CJY 6e9072d7d9 버그 수정 2025-12-23 09:29:44 +09:00
CJY 91fc1657f2 충돌 해결 2025-12-23 09:25:02 +09:00
CJY 12ba390d12 충돌 해결(6.2.0) 2025-12-18 14:52:31 +09:00
CJY acaaf34573 충돌 해결 2025-12-18 14:51:31 +09:00
CJY 0d3d429d8a 충돌 해결 2025-12-18 14:50:39 +09:00
CJY ffb25ee7a9 - 입력센서 연속입력 시 정지 기능 추가 2025-12-18 14:48:26 +09:00
sj84 28bc21131f @ Ver 6.5.0 by LSJ
- 2025.09.23
 - Ver 6.4.0 Modify
 - Framework : SmartX Framework V3.2.4(update: 2021.01.20)
 - MainBoard Ver 10.3.1
 - 일본 산코 전시회 요청
   1. 메인화면 서브메뉴 - CUT 히든 메뉴 추가
      기본 CUT 신호, timer로 CUT 신호 기능
   2. 소수점 3자리 추가
2025-09-23 17:40:57 +09:00
90 changed files with 4113 additions and 2647 deletions

Binary file not shown.

Binary file not shown.

View File

@ -206,8 +206,6 @@ namespace INT69DB_2A.Controls
this.labelCH3Mode.Text = "Printer"; this.labelCH3Mode.Text = "Printer";
else if (item.Serial3Mode == 5) else if (item.Serial3Mode == 5)
this.labelCH3Mode.Text = "OPT4"; this.labelCH3Mode.Text = "OPT4";
else if (item.Serial3Mode == 6)
this.labelCH3Mode.Text = "OPT5";
else else
this.labelCH3Mode.Text = "None"; this.labelCH3Mode.Text = "None";
} }

View File

@ -257,28 +257,20 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]); this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]); this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]); this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]); this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
this.CollectionLabelWeightValue7[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue7[i]); this.SetLabelProperty(this.CollectionLabelWeightValue7[i]);
this.CollectionLabelWeightValue8[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue8[i]); this.SetLabelProperty(this.CollectionLabelWeightValue8[i]);
this.CollectionLabelWeightValue9[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue9[i]); this.SetLabelProperty(this.CollectionLabelWeightValue9[i]);
this.CollectionLabelWeightValue10[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue10[i]); this.SetLabelProperty(this.CollectionLabelWeightValue10[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -113,11 +113,11 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -133,13 +133,12 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]); this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -150,15 +150,13 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]); this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]); this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -167,17 +167,14 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]); this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]); this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]); this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -185,20 +185,16 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]); this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]); this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]); this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]); this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -203,22 +203,17 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]); this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]); this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]); this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]); this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
this.CollectionLabelWeightValue7[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue7[i]); this.SetLabelProperty(this.CollectionLabelWeightValue7[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -221,24 +221,18 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
{ {
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]); this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]); this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]); this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]); this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]); this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]); this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
this.CollectionLabelWeightValue7[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue7[i]); this.SetLabelProperty(this.CollectionLabelWeightValue7[i]);
this.CollectionLabelWeightValue8[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue8[i]); this.SetLabelProperty(this.CollectionLabelWeightValue8[i]);
} }
this.UpdateLabelDisplay();
} }
private void SetLabelProperty(Control label) private void SetLabelProperty(Control label)
{ {

View File

@ -347,7 +347,6 @@ namespace INT69DB_2A
f3_OPT3, f3_OPT3,
f4_Printer, f4_Printer,
f5_OPT4, f5_OPT4,
f6_OPT5,
} }
public enum EthernetMode public enum EthernetMode
@ -358,7 +357,6 @@ namespace INT69DB_2A
f3_OPT3, f3_OPT3,
f4_Modbus, f4_Modbus,
f5_OPT4, f5_OPT4,
f6_OPT5,
} }
public enum UserGroup public enum UserGroup
@ -1176,6 +1174,7 @@ namespace INT69DB_2A
private bool m_IsPingTimer; private bool m_IsPingTimer;
private bool m_IsOptDataStatistics; private bool m_IsOptDataStatistics;
private bool m_IsIntegratedTransmission; private bool m_IsIntegratedTransmission;
private bool m_IsEmergencyStopEntrySensorError;
private int m_DecimalPlaces; private int m_DecimalPlaces;
private int m_EthernetPort; private int m_EthernetPort;
@ -1322,6 +1321,11 @@ namespace INT69DB_2A
get { return this.m_IsIntegratedTransmission; } get { return this.m_IsIntegratedTransmission; }
set { this.m_IsIntegratedTransmission = value; } set { this.m_IsIntegratedTransmission = value; }
} }
public bool IsEmergencyStopEntrySensorError
{
get { return this.m_IsEmergencyStopEntrySensorError; }
set { this.m_IsEmergencyStopEntrySensorError = value; }
}
public int DecimalPlaces public int DecimalPlaces
{ {
@ -1543,7 +1547,8 @@ namespace INT69DB_2A
this.IsPrintPerProductEnable = false; this.IsPrintPerProductEnable = false;
this.IsPingTimer = false; this.IsPingTimer = false;
this.IsOptDataStatistics = false; this.IsOptDataStatistics = false;
this.IsIntegratedTransmission = false; this.IsIntegratedTransmission = true; // 통합전송 기능 Default "ON"
this.IsEmergencyStopEntrySensorError = false;
this.DecimalPlaces = 1; this.DecimalPlaces = 1;
this.EthernetPort = 5000; this.EthernetPort = 5000;
@ -1561,7 +1566,7 @@ namespace INT69DB_2A
this.StepMotorType = 0; this.StepMotorType = 0;
this.Unit = "g"; this.Unit = "g";
this.SerialNumber = "23H0000"; this.SerialNumber = "26A0000";
this.Language = DataStore.LanguageID.Korean; this.Language = DataStore.LanguageID.Korean;
this.CurrentForm = DataStore.FormStore.FormMainDisplay; this.CurrentForm = DataStore.FormStore.FormMainDisplay;
@ -1630,7 +1635,7 @@ namespace INT69DB_2A
public DataStore.LanguageID Language; public DataStore.LanguageID Language;
public bool DummyBool1; public bool IsEmergencyStopEntrySensorError;
public bool IsIntegratedTransmission; public bool IsIntegratedTransmission;
public bool IsLogin; public bool IsLogin;
public bool IsFeedingConveyorRunPass; public bool IsFeedingConveyorRunPass;

View File

@ -7,12 +7,14 @@ using System.Drawing;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using INT69DB_2A.Forms;
namespace INT69DB_2A.DialogForms namespace INT69DB_2A.DialogForms
{ {
public partial class DialogFormMessage : Form public partial class DialogFormMessage : Form
{ {
#region Field #region Field
private FormMain m_ParentForm;
#endregion #endregion
#region Constructor #region Constructor
@ -1324,6 +1326,112 @@ namespace INT69DB_2A.DialogForms
break; break;
} }
} }
public DialogFormMessage(int code, DataStore.LanguageID language, FormMain parent)
{
InitializeComponent();
this.ParentForm = parent;
this.labelErrorCode.Text = "";
this.labelMessage1.Text = "";
this.labelMessage2.Text = "";
switch (language)
{
case DataStore.LanguageID.Korean:
#region 한글
switch (code)
{
case 11:
this.labelErrorCode.Text = "Error 11";
this.labelMessage1.Text = "입력센서 에러에 의해 정지하였습니다.";
break;
default:
this.labelErrorCode.Text = "Error 99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
#endregion
break;
case DataStore.LanguageID.English:
#region 영문
switch (code)
{
case 11:
this.labelErrorCode.Text = "Error 11";
this.labelMessage1.Text = "Emergency stop due to entry sensor error";
break;
default:
this.labelErrorCode.Text = "Error 99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}
#endregion
break;
case DataStore.LanguageID.Chinese:
#region 중문
this.buttonOK.Text = "好";
switch (code)
{
case 11:
this.labelErrorCode.Text = "錯誤 11";
this.labelMessage1.Text = "由于进入传感器错误导致紧急停止";
break;
default:
this.labelErrorCode.Text = "錯誤 99";
this.labelMessage1.Text = "请联系厂商";
break;
}
#endregion
break;
case DataStore.LanguageID.Czech:
#region 체코어
switch (code)
{
case 11:
this.labelErrorCode.Text = "Chybě 11";
this.labelMessage1.Text = "Nouzové zastavení z důvodu chyby snímače vstupu";
break;
default:
this.labelErrorCode.Text = "Chybě 99";
this.labelMessage1.Text = "Kontaktujte výrobce";
break;
}
#endregion
break;
case DataStore.LanguageID.German:
#region 독일어
switch (code)
{
case 11:
this.labelErrorCode.Text = "Fehler 11";
this.labelMessage1.Text = "Notstopp aufgrund eines Eintrittssensorfehlers";
break;
default:
this.labelErrorCode.Text = "Fehler 99";
this.labelMessage1.Text = "Hersteller kontaktieren";
break;
}
#endregion
break;
default:
#region 한글
switch (code)
{
case 11:
this.labelErrorCode.Text = "Error 11";
this.labelMessage1.Text = "입력센서 에러에 의해 정지하였습니다.";
break;
default:
this.labelErrorCode.Text = "Error 99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
#endregion
break;
}
}
public DialogFormMessage(DataStore.MessageBoxIcon icon, string code, string message1, string message2, int autoClose_sec) public DialogFormMessage(DataStore.MessageBoxIcon icon, string code, string message1, string message2, int autoClose_sec)
{ {
InitializeComponent(); InitializeComponent();
@ -1379,7 +1487,11 @@ namespace INT69DB_2A.DialogForms
#endregion #endregion
#region Property #region Property
public FormMain ParentForm
{
get { return this.m_ParentForm; }
set { this.m_ParentForm = value; }
}
#endregion #endregion
#region Method #region Method

View File

@ -316,13 +316,6 @@ namespace INT69DB_2A.Forms
else if (this.ParentForm.SystemConfig.EquipmentMode == 2) else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.Protocol_OPT4(1, this.ParentForm.CollectionWeightData[0]); data = this.ParentForm.Protocol_OPT4(1, this.ParentForm.CollectionWeightData[0]);
} }
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f6_OPT5)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
data = this.ParentForm.Protocol_OPT5(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.Protocol_OPT5(1, this.ParentForm.CollectionWeightData[0]);
}
switch (this.ParentForm.SystemConfig.EthernetOperationMode) switch (this.ParentForm.SystemConfig.EthernetOperationMode)
{ {
@ -381,13 +374,6 @@ namespace INT69DB_2A.Forms
else if (this.ParentForm.SystemConfig.EquipmentMode == 2) else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.Protocol_OPT4(1, this.ParentForm.CollectionWeightData[0]); data = this.ParentForm.Protocol_OPT4(1, this.ParentForm.CollectionWeightData[0]);
} }
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f6_OPT5)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
data = this.ParentForm.Protocol_OPT5(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.Protocol_OPT5(1, this.ParentForm.CollectionWeightData[0]);
}
switch (this.ParentForm.SystemConfig.EthernetOperationMode) switch (this.ParentForm.SystemConfig.EthernetOperationMode)
{ {
@ -579,19 +565,6 @@ namespace INT69DB_2A.Forms
this.labelProtocolDescriptionEthernet_2.Text = "LANE[2],GRD[1],WEIGHT[6],ETX[1]]"; this.labelProtocolDescriptionEthernet_2.Text = "LANE[2],GRD[1],WEIGHT[6],ETX[1]]";
} }
} }
else if (this.comboBoxMode.SelectedIndex == (int)DataStore.EthernetMode.f6_OPT5)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],Pass Count[7],NG Count[7],";
this.labelProtocolDescriptionEthernet_2.Text = "Total Count[9],{GRD[1],WEIGHT[6]} * n,ETX[1]";
}
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
{
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],Pass Count[7],NG Count[7],";
this.labelProtocolDescriptionEthernet_2.Text = "Total Count[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]]";
}
}
else else
{ {
this.labelProtocolDescriptionEthernet_1.Text = "-"; this.labelProtocolDescriptionEthernet_1.Text = "-";
@ -1614,13 +1587,6 @@ namespace INT69DB_2A.Forms
else if (this.ParentForm.SystemConfig.EquipmentMode == 2) else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT4_NotStxEtx(1, this.ParentForm.CollectionWeightData[0])); this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT4_NotStxEtx(1, this.ParentForm.CollectionWeightData[0]));
} }
else if (this.ParentForm.SystemConfig.Serial3Mode == (int)DataStore.SerialMode.f6_OPT5)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT5_NotStxEtx(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT5_NotStxEtx(1, this.ParentForm.CollectionWeightData[0]));
}
} }
private void comboBoxSerial3BaudRate_SelectedIndexChanged(object sender, EventArgs e) private void comboBoxSerial3BaudRate_SelectedIndexChanged(object sender, EventArgs e)

View File

@ -192,6 +192,7 @@ namespace INT69DB_2A.Forms
this.comboBoxDecimalPlaces.Items.Add("0"); this.comboBoxDecimalPlaces.Items.Add("0");
this.comboBoxDecimalPlaces.Items.Add("0.0"); this.comboBoxDecimalPlaces.Items.Add("0.0");
this.comboBoxDecimalPlaces.Items.Add("0.00"); this.comboBoxDecimalPlaces.Items.Add("0.00");
this.comboBoxDecimalPlaces.Items.Add("0.000");
this.comboBoxDecimalPlaces.SelectedIndex = 0; this.comboBoxDecimalPlaces.SelectedIndex = 0;
this.comboBoxDecimalPlaces.SelectedIndexChanged += new EventHandler(this.comboBoxDecimalPlaces_SelectedIndexChanged); this.comboBoxDecimalPlaces.SelectedIndexChanged += new EventHandler(this.comboBoxDecimalPlaces_SelectedIndexChanged);

View File

@ -171,16 +171,16 @@ namespace INT69DB_2A.Forms
private void buttonDataBackupEnable_Click(object sender, EventArgs e) private void buttonDataBackupEnable_Click(object sender, EventArgs e)
{ {
if (this.ParentForm.SystemConfig.IsDataBackup == true) if (this.buttonDataBackupEnable.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsDataBackup = false;
this.buttonDataBackupEnable.ButtonUp();
}
else
{ {
this.ParentForm.SystemConfig.IsDataBackup = true; this.ParentForm.SystemConfig.IsDataBackup = true;
this.buttonDataBackupEnable.ButtonDown();
if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SystemConfig.IsIntegratedTransmission = true;
} }
else
this.ParentForm.SystemConfig.IsDataBackup = false;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig); this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
} }

View File

@ -95,6 +95,8 @@
this.pictureBoxFormIcon = new System.Windows.Forms.PictureBox(); this.pictureBoxFormIcon = new System.Windows.Forms.PictureBox();
this.buttonSave = new SmartX.SmartButton(); this.buttonSave = new SmartX.SmartButton();
this.buttonBack = new SmartX.SmartButton(); this.buttonBack = new SmartX.SmartButton();
this.buttonEmergencyStopEntrySensorError = new SmartX.SmartButton();
this.labelStaticEmergencyStopEntrySensorError = new SmartX.SmartLabel();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
@ -150,9 +152,9 @@
this.labelStaticEquipmentLine.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticEquipmentLine.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticEquipmentLine.InitVisible = true; this.labelStaticEquipmentLine.InitVisible = true;
this.labelStaticEquipmentLine.LineSpacing = 0F; this.labelStaticEquipmentLine.LineSpacing = 0F;
this.labelStaticEquipmentLine.Location = new System.Drawing.Point(16, 112); this.labelStaticEquipmentLine.Location = new System.Drawing.Point(614, 81);
this.labelStaticEquipmentLine.Name = "labelStaticEquipmentLine"; this.labelStaticEquipmentLine.Name = "labelStaticEquipmentLine";
this.labelStaticEquipmentLine.Size = new System.Drawing.Size(204, 25); this.labelStaticEquipmentLine.Size = new System.Drawing.Size(87, 25);
this.labelStaticEquipmentLine.TabIndex = 119; this.labelStaticEquipmentLine.TabIndex = 119;
this.labelStaticEquipmentLine.Text = "장비 열"; this.labelStaticEquipmentLine.Text = "장비 열";
this.labelStaticEquipmentLine.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; this.labelStaticEquipmentLine.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
@ -189,7 +191,7 @@
this.labelStaticSelectSensor.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticSelectSensor.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticSelectSensor.InitVisible = true; this.labelStaticSelectSensor.InitVisible = true;
this.labelStaticSelectSensor.LineSpacing = 0F; this.labelStaticSelectSensor.LineSpacing = 0F;
this.labelStaticSelectSensor.Location = new System.Drawing.Point(12, 206); this.labelStaticSelectSensor.Location = new System.Drawing.Point(12, 174);
this.labelStaticSelectSensor.Name = "labelStaticSelectSensor"; this.labelStaticSelectSensor.Name = "labelStaticSelectSensor";
this.labelStaticSelectSensor.Size = new System.Drawing.Size(208, 25); this.labelStaticSelectSensor.Size = new System.Drawing.Size(208, 25);
this.labelStaticSelectSensor.TabIndex = 119; this.labelStaticSelectSensor.TabIndex = 119;
@ -229,7 +231,7 @@
this.labelStaticIndividualNG.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticIndividualNG.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticIndividualNG.InitVisible = true; this.labelStaticIndividualNG.InitVisible = true;
this.labelStaticIndividualNG.LineSpacing = 0F; this.labelStaticIndividualNG.LineSpacing = 0F;
this.labelStaticIndividualNG.Location = new System.Drawing.Point(12, 175); this.labelStaticIndividualNG.Location = new System.Drawing.Point(12, 143);
this.labelStaticIndividualNG.Name = "labelStaticIndividualNG"; this.labelStaticIndividualNG.Name = "labelStaticIndividualNG";
this.labelStaticIndividualNG.Size = new System.Drawing.Size(208, 25); this.labelStaticIndividualNG.Size = new System.Drawing.Size(208, 25);
this.labelStaticIndividualNG.TabIndex = 125; this.labelStaticIndividualNG.TabIndex = 125;
@ -250,7 +252,7 @@
this.buttonEachNG.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonEachNG.DownImage"))); this.buttonEachNG.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonEachNG.DownImage")));
this.buttonEachNG.GroupID = 0; this.buttonEachNG.GroupID = 0;
this.buttonEachNG.InitVisible = true; this.buttonEachNG.InitVisible = true;
this.buttonEachNG.Location = new System.Drawing.Point(226, 175); this.buttonEachNG.Location = new System.Drawing.Point(226, 143);
this.buttonEachNG.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; this.buttonEachNG.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonEachNG.Name = "buttonEachNG"; this.buttonEachNG.Name = "buttonEachNG";
this.buttonEachNG.NestedClickEventPrevent = false; this.buttonEachNG.NestedClickEventPrevent = false;
@ -372,16 +374,16 @@
// comboBoxEquipmentColumn // comboBoxEquipmentColumn
// //
this.comboBoxEquipmentColumn.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold); this.comboBoxEquipmentColumn.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.comboBoxEquipmentColumn.Location = new System.Drawing.Point(226, 109); this.comboBoxEquipmentColumn.Location = new System.Drawing.Point(707, 78);
this.comboBoxEquipmentColumn.Name = "comboBoxEquipmentColumn"; this.comboBoxEquipmentColumn.Name = "comboBoxEquipmentColumn";
this.comboBoxEquipmentColumn.Size = new System.Drawing.Size(104, 29); this.comboBoxEquipmentColumn.Size = new System.Drawing.Size(83, 29);
this.comboBoxEquipmentColumn.TabIndex = 127; this.comboBoxEquipmentColumn.TabIndex = 127;
this.comboBoxEquipmentColumn.SelectedIndexChanged += new System.EventHandler(this.control_Click); this.comboBoxEquipmentColumn.SelectedIndexChanged += new System.EventHandler(this.control_Click);
// //
// comboBoxInputSensorSelect // comboBoxInputSensorSelect
// //
this.comboBoxInputSensorSelect.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold); this.comboBoxInputSensorSelect.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.comboBoxInputSensorSelect.Location = new System.Drawing.Point(226, 202); this.comboBoxInputSensorSelect.Location = new System.Drawing.Point(226, 170);
this.comboBoxInputSensorSelect.Name = "comboBoxInputSensorSelect"; this.comboBoxInputSensorSelect.Name = "comboBoxInputSensorSelect";
this.comboBoxInputSensorSelect.Size = new System.Drawing.Size(165, 29); this.comboBoxInputSensorSelect.Size = new System.Drawing.Size(165, 29);
this.comboBoxInputSensorSelect.TabIndex = 127; this.comboBoxInputSensorSelect.TabIndex = 127;
@ -687,7 +689,7 @@
this.smartLabel12.ForeColor = System.Drawing.Color.Red; this.smartLabel12.ForeColor = System.Drawing.Color.Red;
this.smartLabel12.InitVisible = true; this.smartLabel12.InitVisible = true;
this.smartLabel12.LineSpacing = 0F; this.smartLabel12.LineSpacing = 0F;
this.smartLabel12.Location = new System.Drawing.Point(428, 176); this.smartLabel12.Location = new System.Drawing.Point(428, 144);
this.smartLabel12.Name = "smartLabel12"; this.smartLabel12.Name = "smartLabel12";
this.smartLabel12.Size = new System.Drawing.Size(267, 23); this.smartLabel12.Size = new System.Drawing.Size(267, 23);
this.smartLabel12.TabIndex = 145; this.smartLabel12.TabIndex = 145;
@ -708,7 +710,7 @@
this.smartLabel14.ForeColor = System.Drawing.Color.Red; this.smartLabel14.ForeColor = System.Drawing.Color.Red;
this.smartLabel14.InitVisible = true; this.smartLabel14.InitVisible = true;
this.smartLabel14.LineSpacing = 0F; this.smartLabel14.LineSpacing = 0F;
this.smartLabel14.Location = new System.Drawing.Point(428, 207); this.smartLabel14.Location = new System.Drawing.Point(428, 175);
this.smartLabel14.Name = "smartLabel14"; this.smartLabel14.Name = "smartLabel14";
this.smartLabel14.Size = new System.Drawing.Size(267, 23); this.smartLabel14.Size = new System.Drawing.Size(267, 23);
this.smartLabel14.TabIndex = 145; this.smartLabel14.TabIndex = 145;
@ -962,6 +964,8 @@
// //
this.groupBoxSpecialMenu.BackPictureBox = this.smartForm1; this.groupBoxSpecialMenu.BackPictureBox = this.smartForm1;
this.groupBoxSpecialMenu.BackPictureBox1 = null; this.groupBoxSpecialMenu.BackPictureBox1 = null;
this.groupBoxSpecialMenu.Controls.Add(this.buttonEmergencyStopEntrySensorError);
this.groupBoxSpecialMenu.Controls.Add(this.labelStaticEmergencyStopEntrySensorError);
this.groupBoxSpecialMenu.Controls.Add(this.smartLabel6); this.groupBoxSpecialMenu.Controls.Add(this.smartLabel6);
this.groupBoxSpecialMenu.Controls.Add(this.labelDataStoragePeriod); this.groupBoxSpecialMenu.Controls.Add(this.labelDataStoragePeriod);
this.groupBoxSpecialMenu.Controls.Add(this.labelStaticDataStoragePeriod); this.groupBoxSpecialMenu.Controls.Add(this.labelStaticDataStoragePeriod);
@ -1030,7 +1034,7 @@
this.smartLabel6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.smartLabel6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.smartLabel6.InitVisible = true; this.smartLabel6.InitVisible = true;
this.smartLabel6.LineSpacing = 0F; this.smartLabel6.LineSpacing = 0F;
this.smartLabel6.Location = new System.Drawing.Point(316, 299); this.smartLabel6.Location = new System.Drawing.Point(320, 299);
this.smartLabel6.Name = "smartLabel6"; this.smartLabel6.Name = "smartLabel6";
this.smartLabel6.Size = new System.Drawing.Size(174, 25); this.smartLabel6.Size = new System.Drawing.Size(174, 25);
this.smartLabel6.TabIndex = 259; this.smartLabel6.TabIndex = 259;
@ -1050,7 +1054,7 @@
this.labelDataStoragePeriod.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); this.labelDataStoragePeriod.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelDataStoragePeriod.InitVisible = true; this.labelDataStoragePeriod.InitVisible = true;
this.labelDataStoragePeriod.LineSpacing = 0F; this.labelDataStoragePeriod.LineSpacing = 0F;
this.labelDataStoragePeriod.Location = new System.Drawing.Point(226, 299); this.labelDataStoragePeriod.Location = new System.Drawing.Point(230, 299);
this.labelDataStoragePeriod.Name = "labelDataStoragePeriod"; this.labelDataStoragePeriod.Name = "labelDataStoragePeriod";
this.labelDataStoragePeriod.Size = new System.Drawing.Size(84, 25); this.labelDataStoragePeriod.Size = new System.Drawing.Size(84, 25);
this.labelDataStoragePeriod.TabIndex = 258; this.labelDataStoragePeriod.TabIndex = 258;
@ -1070,7 +1074,7 @@
this.labelStaticDataStoragePeriod.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticDataStoragePeriod.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticDataStoragePeriod.InitVisible = true; this.labelStaticDataStoragePeriod.InitVisible = true;
this.labelStaticDataStoragePeriod.LineSpacing = 0F; this.labelStaticDataStoragePeriod.LineSpacing = 0F;
this.labelStaticDataStoragePeriod.Location = new System.Drawing.Point(12, 299); this.labelStaticDataStoragePeriod.Location = new System.Drawing.Point(16, 299);
this.labelStaticDataStoragePeriod.Name = "labelStaticDataStoragePeriod"; this.labelStaticDataStoragePeriod.Name = "labelStaticDataStoragePeriod";
this.labelStaticDataStoragePeriod.Size = new System.Drawing.Size(208, 25); this.labelStaticDataStoragePeriod.Size = new System.Drawing.Size(208, 25);
this.labelStaticDataStoragePeriod.TabIndex = 257; this.labelStaticDataStoragePeriod.TabIndex = 257;
@ -1091,7 +1095,7 @@
this.smartLabel2.ForeColor = System.Drawing.Color.Red; this.smartLabel2.ForeColor = System.Drawing.Color.Red;
this.smartLabel2.InitVisible = true; this.smartLabel2.InitVisible = true;
this.smartLabel2.LineSpacing = 0F; this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(428, 144); this.smartLabel2.Location = new System.Drawing.Point(428, 112);
this.smartLabel2.Name = "smartLabel2"; this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.Size = new System.Drawing.Size(267, 25); this.smartLabel2.Size = new System.Drawing.Size(267, 25);
this.smartLabel2.TabIndex = 248; this.smartLabel2.TabIndex = 248;
@ -1112,7 +1116,7 @@
this.buttonIntegratedTransmission.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonIntegratedTransmission.DownImage"))); this.buttonIntegratedTransmission.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonIntegratedTransmission.DownImage")));
this.buttonIntegratedTransmission.GroupID = 0; this.buttonIntegratedTransmission.GroupID = 0;
this.buttonIntegratedTransmission.InitVisible = true; this.buttonIntegratedTransmission.InitVisible = true;
this.buttonIntegratedTransmission.Location = new System.Drawing.Point(226, 144); this.buttonIntegratedTransmission.Location = new System.Drawing.Point(226, 112);
this.buttonIntegratedTransmission.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; this.buttonIntegratedTransmission.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonIntegratedTransmission.Name = "buttonIntegratedTransmission"; this.buttonIntegratedTransmission.Name = "buttonIntegratedTransmission";
this.buttonIntegratedTransmission.NestedClickEventPrevent = false; this.buttonIntegratedTransmission.NestedClickEventPrevent = false;
@ -1141,7 +1145,7 @@
this.labelStaticIntegratedTransmission.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticIntegratedTransmission.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticIntegratedTransmission.InitVisible = true; this.labelStaticIntegratedTransmission.InitVisible = true;
this.labelStaticIntegratedTransmission.LineSpacing = 0F; this.labelStaticIntegratedTransmission.LineSpacing = 0F;
this.labelStaticIntegratedTransmission.Location = new System.Drawing.Point(12, 144); this.labelStaticIntegratedTransmission.Location = new System.Drawing.Point(12, 112);
this.labelStaticIntegratedTransmission.Name = "labelStaticIntegratedTransmission"; this.labelStaticIntegratedTransmission.Name = "labelStaticIntegratedTransmission";
this.labelStaticIntegratedTransmission.Size = new System.Drawing.Size(208, 25); this.labelStaticIntegratedTransmission.Size = new System.Drawing.Size(208, 25);
this.labelStaticIntegratedTransmission.TabIndex = 246; this.labelStaticIntegratedTransmission.TabIndex = 246;
@ -1240,6 +1244,56 @@
this.buttonBack.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonBack.UpImage"))); this.buttonBack.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonBack.UpImage")));
this.buttonBack.Click += new System.EventHandler(this.buttonBack_Click); this.buttonBack.Click += new System.EventHandler(this.buttonBack_Click);
// //
// buttonEmergencyStopEntrySensorError
//
this.buttonEmergencyStopEntrySensorError.BackPictureBox = null;
this.buttonEmergencyStopEntrySensorError.BackPictureBox1 = null;
this.buttonEmergencyStopEntrySensorError.BackPictureBox2 = null;
this.buttonEmergencyStopEntrySensorError.ButtonColor = System.Drawing.Color.Gray;
this.buttonEmergencyStopEntrySensorError.ButtonImageAutoSize = true;
this.buttonEmergencyStopEntrySensorError.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonEmergencyStopEntrySensorError.DisableImage = null;
this.buttonEmergencyStopEntrySensorError.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonEmergencyStopEntrySensorError.DownImage")));
this.buttonEmergencyStopEntrySensorError.GroupID = 0;
this.buttonEmergencyStopEntrySensorError.InitVisible = true;
this.buttonEmergencyStopEntrySensorError.Location = new System.Drawing.Point(226, 205);
this.buttonEmergencyStopEntrySensorError.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonEmergencyStopEntrySensorError.Name = "buttonEmergencyStopEntrySensorError";
this.buttonEmergencyStopEntrySensorError.NestedClickEventPrevent = false;
this.buttonEmergencyStopEntrySensorError.OutlinePixel = 1;
this.buttonEmergencyStopEntrySensorError.RepeatInterval = 200;
this.buttonEmergencyStopEntrySensorError.RepeatIntervalAccelerate = null;
this.buttonEmergencyStopEntrySensorError.SafeInterval = 200;
this.buttonEmergencyStopEntrySensorError.Size = new System.Drawing.Size(84, 25);
this.buttonEmergencyStopEntrySensorError.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonEmergencyStopEntrySensorError.TabIndex = 269;
this.buttonEmergencyStopEntrySensorError.TextColor = System.Drawing.Color.Black;
this.buttonEmergencyStopEntrySensorError.TextDownColor = System.Drawing.Color.White;
this.buttonEmergencyStopEntrySensorError.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonEmergencyStopEntrySensorError.TextLocation = new System.Drawing.Point(0, 0);
this.buttonEmergencyStopEntrySensorError.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonEmergencyStopEntrySensorError.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonEmergencyStopEntrySensorError.UpImage")));
this.buttonEmergencyStopEntrySensorError.Click += new System.EventHandler(this.control_Click);
//
// labelStaticEmergencyStopEntrySensorError
//
this.labelStaticEmergencyStopEntrySensorError.BackPictureBox = this.smartForm1;
this.labelStaticEmergencyStopEntrySensorError.BackPictureBox1 = null;
this.labelStaticEmergencyStopEntrySensorError.BackPictureBox2 = null;
this.labelStaticEmergencyStopEntrySensorError.BorderColor = System.Drawing.Color.Black;
this.labelStaticEmergencyStopEntrySensorError.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticEmergencyStopEntrySensorError.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticEmergencyStopEntrySensorError.InitVisible = true;
this.labelStaticEmergencyStopEntrySensorError.LineSpacing = 0F;
this.labelStaticEmergencyStopEntrySensorError.Location = new System.Drawing.Point(16, 205);
this.labelStaticEmergencyStopEntrySensorError.Name = "labelStaticEmergencyStopEntrySensorError";
this.labelStaticEmergencyStopEntrySensorError.Size = new System.Drawing.Size(204, 25);
this.labelStaticEmergencyStopEntrySensorError.TabIndex = 268;
this.labelStaticEmergencyStopEntrySensorError.Text = "입력센서 오류 시 정지";
this.labelStaticEmergencyStopEntrySensorError.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelStaticEmergencyStopEntrySensorError.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticEmergencyStopEntrySensorError.Wordwrap = false;
//
// FormEquipmentSetting // FormEquipmentSetting
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -1331,5 +1385,7 @@
private SmartX.SmartLabel labelStaticDataStoragePeriod; private SmartX.SmartLabel labelStaticDataStoragePeriod;
private SmartX.SmartLabel smartLabel6; private SmartX.SmartLabel smartLabel6;
public System.Windows.Forms.RadioButton radioButtonJapanese; public System.Windows.Forms.RadioButton radioButtonJapanese;
private SmartX.SmartButton buttonEmergencyStopEntrySensorError;
private SmartX.SmartLabel labelStaticEmergencyStopEntrySensorError;
} }
} }

View File

@ -55,6 +55,7 @@ namespace INT69DB_2A.Forms
this.radioButtonEquipmentModeStick2.Text = "Stick-II"; this.radioButtonEquipmentModeStick2.Text = "Stick-II";
this.radioButtonEquipmentModeStick3.Text = "Stick-III"; this.radioButtonEquipmentModeStick3.Text = "Stick-III";
this.labelStaticEquipmentLine.Text = "Line"; this.labelStaticEquipmentLine.Text = "Line";
this.labelStaticEmergencyStopEntrySensorError.Text = "Emergency stop due to entry sensor error";
this.labelStaticWeightCheck.Text = "Order"; this.labelStaticWeightCheck.Text = "Order";
this.labelStaticIndividualNG.Text = "Individual NG"; this.labelStaticIndividualNG.Text = "Individual NG";
this.labelStaticSelectSensor.Text = "Select Entry sensor"; this.labelStaticSelectSensor.Text = "Select Entry sensor";
@ -82,6 +83,7 @@ namespace INT69DB_2A.Forms
this.radioButtonEquipmentModeStick2.Text = "球杆-II"; this.radioButtonEquipmentModeStick2.Text = "球杆-II";
this.radioButtonEquipmentModeStick3.Text = "球杆-III"; this.radioButtonEquipmentModeStick3.Text = "球杆-III";
this.labelStaticEquipmentLine.Text = "列"; this.labelStaticEquipmentLine.Text = "列";
this.labelStaticEmergencyStopEntrySensorError.Text = "由于进入传感器错误导致紧急停止";
this.labelStaticWeightCheck.Text = "重量标示"; this.labelStaticWeightCheck.Text = "重量标示";
this.labelStaticIndividualNG.Text = "单独NG"; this.labelStaticIndividualNG.Text = "单独NG";
this.labelStaticSelectSensor.Text = "选择输入传感器"; this.labelStaticSelectSensor.Text = "选择输入传感器";
@ -123,6 +125,7 @@ namespace INT69DB_2A.Forms
this.radioButtonEquipmentModeStick2.Text = "スティック-II"; this.radioButtonEquipmentModeStick2.Text = "スティック-II";
this.radioButtonEquipmentModeStick3.Text = "スティック-III"; this.radioButtonEquipmentModeStick3.Text = "スティック-III";
this.labelStaticEquipmentLine.Text = "ライン"; this.labelStaticEquipmentLine.Text = "ライン";
this.labelStaticEmergencyStopEntrySensorError.Text = "入力センサエラー時に停止";
this.labelStaticWeightCheck.Text = "重量表示"; this.labelStaticWeightCheck.Text = "重量表示";
this.labelStaticIndividualNG.Text = "個別NG"; this.labelStaticIndividualNG.Text = "個別NG";
this.labelStaticSelectSensor.Text = "入力センサㅡの選択"; this.labelStaticSelectSensor.Text = "入力センサㅡの選択";
@ -223,6 +226,12 @@ namespace INT69DB_2A.Forms
// 입력센서 선택 // 입력센서 선택
this.comboBoxInputSensorSelect.SelectedItem = this.ParentForm.SystemConfig.InputSensorSelect; this.comboBoxInputSensorSelect.SelectedItem = this.ParentForm.SystemConfig.InputSensorSelect;
// 입력센서 연속입력 시 정지
if (this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError == true)
this.buttonEmergencyStopEntrySensorError.ButtonDown();
else
this.buttonEmergencyStopEntrySensorError.ButtonUp();
// 배출 컨베어 // 배출 컨베어
if (this.ParentForm.SystemConfig.IsDischargeConveyor == true) if (this.ParentForm.SystemConfig.IsDischargeConveyor == true)
this.buttonDischargeConveyor.ButtonDown(); this.buttonDischargeConveyor.ButtonDown();
@ -435,6 +444,12 @@ namespace INT69DB_2A.Forms
// 입력센서 선택 // 입력센서 선택
this.ParentForm.SystemConfig.InputSensorSelect = this.comboBoxInputSensorSelect.SelectedIndex + 1; this.ParentForm.SystemConfig.InputSensorSelect = this.comboBoxInputSensorSelect.SelectedIndex + 1;
// 입력센서 연속입력 시 정지
if (this.buttonEmergencyStopEntrySensorError.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError = true;
else
this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError = false;
// 배출 컨베어 // 배출 컨베어
if (this.buttonDischargeConveyor.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) if (this.buttonDischargeConveyor.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
this.ParentForm.SystemConfig.IsDischargeConveyor = true; this.ParentForm.SystemConfig.IsDischargeConveyor = true;

View File

@ -851,6 +851,134 @@
/s7OzleDoTt0d3czODMp0jUkCpPQjo6OkG2327e3t2nLfxkM0xEjc05OTnx8PN1EojAJjaO+ubnJ11hX /s7OzleDoTt0d3czODMp0jUkCpPQjo6OkG2327e3t2nLfxkM0xEjc05OTnx8PN1EojAJjaO+ubnJ11hX
VxffbX8ajM1mo4LSRBgi3NzcJAqT0Bi/GNqQnZeXRw//YjB0Snd3d2QrJAqT0GhdxcXFZINDKBF9IhKF VxffbX8ajM1mo4LSRBgi3NzcJAqT0Bi/GNqQnZeXRw//YjB0Snd3d2QrJAqT0GhdxcXFZINDKBF9IhKF
SWh8deTn56t/1Hw+EoUp6PoPBG3lC8cKurQAAAAASUVORK5CYII= SWh8deTn56t/1Hw+EoUp6PoPBG3lC8cKurQAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonEmergencyStopEntrySensorError.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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
AAAAAElFTkSuQmCC
</value>
</data>
<data name="buttonEmergencyStopEntrySensorError.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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
</value> </value>
</data> </data>
<data name="buttonIntegratedTransmission.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="buttonIntegratedTransmission.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -113,7 +113,7 @@ namespace INT69DB_2A.Forms
} }
private void DefaultSetting() private void DefaultSetting()
{ {
this.labelDisplayVer.Text = "6.4.0"; this.labelDisplayVer.Text = "6.6.1";
this.labelUserMgerVer.Text = ""; this.labelUserMgerVer.Text = "";
this.labelAes128Ver.Text = ""; this.labelAes128Ver.Text = "";
this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber; this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber;

View File

@ -154,7 +154,7 @@ namespace INT69DB_2A.Forms
structItem1.SerialNumber = this.ParentForm.SystemConfig.SerialNumber; structItem1.SerialNumber = this.ParentForm.SystemConfig.SerialNumber;
// Dummy bool // Dummy bool
structItem1.DummyBool1 = false; structItem1.IsEmergencyStopEntrySensorError = this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError;
structItem1.IsIntegratedTransmission = this.ParentForm.SystemConfig.IsIntegratedTransmission; structItem1.IsIntegratedTransmission = this.ParentForm.SystemConfig.IsIntegratedTransmission;
structItem1.IsLogin = this.ParentForm.SystemConfig.IsLogin; structItem1.IsLogin = this.ParentForm.SystemConfig.IsLogin;
structItem1.IsFeedingConveyorRunPass = this.ParentForm.SystemConfig.IsFeedingConveyorRunPass; structItem1.IsFeedingConveyorRunPass = this.ParentForm.SystemConfig.IsFeedingConveyorRunPass;
@ -195,8 +195,8 @@ namespace INT69DB_2A.Forms
structItem2.DummyBool16 = false; structItem2.DummyBool16 = false;
structItem2.DummyBool17 = false; structItem2.DummyBool17 = false;
structItem2.DummyBool18 = false; structItem2.DummyBool18 = false;
structItem2.IsAlarmContinuousNGEnable = false; structItem2.IsAlarmContinuousNGEnable = this.ParentForm.SystemConfig.IsAlarmContinuousNGEnable;
structItem2.IsAlarmTotalPassCntEnable = false; structItem2.IsAlarmTotalPassCntEnable = this.ParentForm.SystemConfig.IsAlarmTotalPassCntEnable;
structItem2.DummyInt1 = 0; structItem2.DummyInt1 = 0;
structItem2.DummyInt2 = 0; structItem2.DummyInt2 = 0;
@ -205,8 +205,8 @@ namespace INT69DB_2A.Forms
structItem2.DummyInt5 = 0; structItem2.DummyInt5 = 0;
structItem2.DummyInt6 = 0; structItem2.DummyInt6 = 0;
structItem2.DummyInt7 = 0; structItem2.DummyInt7 = 0;
structItem2.AlarmContinuousNG = 0; structItem2.AlarmContinuousNG = this.ParentForm.SystemConfig.AlarmContinuousNG;
structItem2.AlarmTotalPassCnt = 0; structItem2.AlarmTotalPassCnt = this.ParentForm.SystemConfig.AlarmTotalPassCnt;
structItem2.ModbusTcpStartAddress = this.ParentForm.SystemConfig.ModbusTcpStartAddress; structItem2.ModbusTcpStartAddress = this.ParentForm.SystemConfig.ModbusTcpStartAddress;
structItem2.ModbusRtuSlaveID = this.ParentForm.SystemConfig.ModbusRtuSlaveID; structItem2.ModbusRtuSlaveID = this.ParentForm.SystemConfig.ModbusRtuSlaveID;
structItem2.ModbusTcpAddress1 = this.ParentForm.SystemConfig.ModbusTcpAddress1; structItem2.ModbusTcpAddress1 = this.ParentForm.SystemConfig.ModbusTcpAddress1;

View File

@ -43,6 +43,7 @@
this.smartSerialPortCom3 = new SmartX.SmartSerialPort(); this.smartSerialPortCom3 = new SmartX.SmartSerialPort();
this.smartSerialPortLink = new SmartX.SmartSerialPort(); this.smartSerialPortLink = new SmartX.SmartSerialPort();
this.smartFileCom3Log = new SmartX.SmartFile(); this.smartFileCom3Log = new SmartX.SmartFile();
this.smartThread = new SmartX.SmartThread(this.components);
((System.ComponentModel.ISupportInitialize)(this.smartForm)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.smartForm)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -150,6 +151,13 @@
// //
this.smartFileCom3Log.FilePathName = null; this.smartFileCom3Log.FilePathName = null;
// //
// smartThread
//
this.smartThread.Priority = System.Threading.ThreadPriority.Normal;
this.smartThread.WorkerReportsProgress = false;
this.smartThread.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThread_UIThreadFunction);
this.smartThread.OnEnding += new SmartX.SmartThread.EndingHandler(this.smartThread_OnEnding);
//
// FormMain // FormMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -180,5 +188,6 @@
public SmartX.SmartSerialPort smartSerialPortCom3; public SmartX.SmartSerialPort smartSerialPortCom3;
private SmartX.SmartSerialPort smartSerialPortLink; private SmartX.SmartSerialPort smartSerialPortLink;
public SmartX.SmartFile smartFileCom3Log; public SmartX.SmartFile smartFileCom3Log;
public SmartX.SmartThread smartThread;
} }
} }

View File

@ -43,6 +43,10 @@ namespace INT69DB_2A.Forms
public string ComPortMainToLCD; // DllSerial Port public string ComPortMainToLCD; // DllSerial Port
public bool FlagDllSerial; // DllSerial 사용여부 public bool FlagDllSerial; // DllSerial 사용여부
private string TransferNum; // 수신데이터 ID저장 (재전송 시 사용) private string TransferNum; // 수신데이터 ID저장 (재전송 시 사용)
public bool FlagThreadMessage1; // 플레그 쓰레드 메시지 11
public int TotalAllCount; // 스틱1 전체 수량
public int TotalPassCount; // 스틱1 전체 Pass 수량
public int TotalNGCount; // 스틱1 전체 NG 수량
// Motor Download 통신용 변수 // Motor Download 통신용 변수
public int LineNum; public int LineNum;
@ -440,6 +444,10 @@ namespace INT69DB_2A.Forms
this.ColorLogOff = Color.Red; this.ColorLogOff = Color.Red;
this.ColorLogOn = Color.Yellow; this.ColorLogOn = Color.Yellow;
this.TransferNum = "-"; this.TransferNum = "-";
this.FlagThreadMessage1 = false;
this.TotalAllCount = 0;
this.TotalNGCount = 0;
this.TotalPassCount = 0;
this.PathLaunchFolder = "SD Card\\"; this.PathLaunchFolder = "SD Card\\";
this.PathSystemFileFolder1 = this.PathLaunchFolder + "SystemFile1\\"; this.PathSystemFileFolder1 = this.PathLaunchFolder + "SystemFile1\\";
@ -731,6 +739,15 @@ namespace INT69DB_2A.Forms
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9016_ParameterProduct, sb.ToString()); this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9016_ParameterProduct, sb.ToString());
} }
private void StartThreadMessage1()
{
if (this.smartThread.State != SmartThread.ThreadState.Running)
{
this.smartThread.Start();
this.FlagThreadMessage1 = false;
}
}
#region Communication Protocol #region Communication Protocol
public void PrintingHeadLine() public void PrintingHeadLine()
{ {
@ -1500,25 +1517,18 @@ namespace INT69DB_2A.Forms
public string Protocol_OPT5(Collection<WeightData> datas) public string Protocol_OPT5(Collection<WeightData> datas)
{ {
string value = ""; string value = "";
int toTalAll = 0, toTalPass = 0, totalNg = 0;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++) StringBuilder sb = new StringBuilder();
{
toTalAll += datas[i].TotalCount;
toTalPass += datas[i].PassCount;
totalNg += datas[i].TotalNGCount;
}
sb.Append((char)0x02); sb.Append((char)0x02);
sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID)); sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID));
sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber)); sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber));
value = toTalPass.ToString(); value = this.TotalPassCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = totalNg.ToString(); value = this.TotalNGCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = toTalAll.ToString(); value = this.TotalAllCount.ToString();
sb.Append(value.PadLeft(9, ' ')); sb.Append(value.PadLeft(9, ' '));
if (this.SystemConfig.IsWeightViewForward == true) if (this.SystemConfig.IsWeightViewForward == true)
@ -1572,13 +1582,12 @@ namespace INT69DB_2A.Forms
sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID)); sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID));
sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber)); sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber));
value = data.PassCount.ToString(); value = this.TotalPassCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = data.TotalNGCount.ToString(); value = this.TotalNGCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = data.TotalCount.ToString(); value = this.TotalAllCount.ToString();
sb.Append(value.PadLeft(9, ' ')); sb.Append(value.PadLeft(9, ' '));
sb.Append(string.Format("{0:D2}", lane)); sb.Append(string.Format("{0:D2}", lane));
if (data.JudgmentStatus == DataStore.JudgmentStatus.Under) if (data.JudgmentStatus == DataStore.JudgmentStatus.Under)
@ -1601,24 +1610,17 @@ namespace INT69DB_2A.Forms
public string Protocol_OPT5_NotStxEtx(Collection<WeightData> datas) public string Protocol_OPT5_NotStxEtx(Collection<WeightData> datas)
{ {
string value = ""; string value = "";
int toTalAll = 0, toTalPass = 0, totalNg = 0;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++) StringBuilder sb = new StringBuilder();
{
toTalAll += datas[i].TotalCount;
toTalPass += datas[i].PassCount;
totalNg += datas[i].TotalNGCount;
}
sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID)); sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID));
sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber)); sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber));
value = toTalPass.ToString(); value = this.TotalPassCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = totalNg.ToString(); value = this.TotalNGCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = toTalAll.ToString(); value = this.TotalAllCount.ToString();
sb.Append(value.PadLeft(9, ' ')); sb.Append(value.PadLeft(9, ' '));
if (this.SystemConfig.IsWeightViewForward == true) if (this.SystemConfig.IsWeightViewForward == true)
@ -1670,13 +1672,12 @@ namespace INT69DB_2A.Forms
sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID)); sb.Append(string.Format("IN{0:D3}", this.SystemConfig.EquipmentID));
sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber)); sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber));
value = data.PassCount.ToString(); value = this.TotalPassCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = data.TotalNGCount.ToString(); value = this.TotalNGCount.ToString();
sb.Append(value.PadLeft(7, ' ')); sb.Append(value.PadLeft(7, ' '));
value = data.TotalCount.ToString(); value = this.TotalAllCount.ToString();
sb.Append(value.PadLeft(9, ' ')); sb.Append(value.PadLeft(9, ' '));
sb.Append(string.Format("{0:D2}", lane)); sb.Append(string.Format("{0:D2}", lane));
if (data.JudgmentStatus == DataStore.JudgmentStatus.Under) if (data.JudgmentStatus == DataStore.JudgmentStatus.Under)
@ -3167,9 +3168,6 @@ namespace INT69DB_2A.Forms
case 5: case 5:
this.UartCom3Write(this.Protocol_OPT4_NotStxEtx(datas)); this.UartCom3Write(this.Protocol_OPT4_NotStxEtx(datas));
break; break;
case 6:
this.UartCom3Write(this.Protocol_OPT5_NotStxEtx(datas));
break;
default: default:
break; break;
} }
@ -3279,6 +3277,7 @@ namespace INT69DB_2A.Forms
public void UartCom3Write(string data) public void UartCom3Write(string data)
{ {
this.smartSerialPortCom3.WriteFrame(data, SmartSerialPort.CODETYPES.ASCIICODE); this.smartSerialPortCom3.WriteFrame(data, SmartSerialPort.CODETYPES.ASCIICODE);
// 로그 // 로그
//if (this.IsCom3LogOpen == true) //if (this.IsCom3LogOpen == true)
//this.smartFileCom3Log.WriteString(string.Format("COM3 Send ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, data)); //this.smartFileCom3Log.WriteString(string.Format("COM3 Send ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, data));
@ -3324,8 +3323,6 @@ namespace INT69DB_2A.Forms
} }
else if (this.SystemConfig.Serial3Mode == 5) // OPT4 else if (this.SystemConfig.Serial3Mode == 5) // OPT4
this.UartCom3Write(this.Protocol_OPT4_NotStxEtx(this.CollectionWeightData)); this.UartCom3Write(this.Protocol_OPT4_NotStxEtx(this.CollectionWeightData));
else if (this.SystemConfig.Serial3Mode == 6) // OPT5
this.UartCom3Write(this.Protocol_OPT5_NotStxEtx(this.CollectionWeightData));
} }
private void TreatSerialCommunication(int lane, WeightData data) private void TreatSerialCommunication(int lane, WeightData data)
{ {
@ -3346,8 +3343,6 @@ namespace INT69DB_2A.Forms
} }
else if (this.SystemConfig.Serial3Mode == 5) // OPT4 else if (this.SystemConfig.Serial3Mode == 5) // OPT4
this.UartCom3Write(this.Protocol_OPT4_NotStxEtx(lane, data)); this.UartCom3Write(this.Protocol_OPT4_NotStxEtx(lane, data));
else if (this.SystemConfig.Serial3Mode == 6) // OPT5
this.UartCom3Write(this.Protocol_OPT5_NotStxEtx(lane, data));
} }
#endregion #endregion
#region Ethernet #region Ethernet
@ -3390,11 +3385,6 @@ namespace INT69DB_2A.Forms
sendData = this.Protocol_OPT4(this.CollectionWeightData); sendData = this.Protocol_OPT4(this.CollectionWeightData);
this.SendEthernetData(sendData); this.SendEthernetData(sendData);
} }
else if (this.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f6_OPT5)
{
sendData = this.Protocol_OPT5(this.CollectionWeightData);
this.SendEthernetData(sendData);
}
} }
private void TreatEthernetCommunication(int lane, WeightData data) private void TreatEthernetCommunication(int lane, WeightData data)
{ {
@ -3432,11 +3422,6 @@ namespace INT69DB_2A.Forms
sendData = this.Protocol_OPT4(lane, data); sendData = this.Protocol_OPT4(lane, data);
this.SendEthernetData(sendData); this.SendEthernetData(sendData);
} }
else if (this.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f6_OPT5)
{
sendData = this.Protocol_OPT5(lane, data);
this.SendEthernetData(sendData);
}
} }
private void SendEthernetData(string etherData) private void SendEthernetData(string etherData)
{ {
@ -4801,18 +4786,32 @@ namespace INT69DB_2A.Forms
{ {
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++) for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
{ {
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 12, 2)); if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
this.CollectionWeightData[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 12 + 2, 5), this.SystemConfig.DecimalPlaces); {
this.CollectionWeightData[i].ADCValue = receiveData.Substring(i * 12 + 7, 5); this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 12, 2));
this.CollectionWeightData[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 12 + 2, 5), this.SystemConfig.DecimalPlaces);
this.CollectionWeightData[i].ADCValue = receiveData.Substring(i * 12 + 7, 5);
}
else
{
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 12, 2));
}
} }
} }
else if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormEquipmentTest) else if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormEquipmentTest)
{ {
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++) for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
{ {
this.CollectionWeightDataTest[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 12, 2)); if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
this.CollectionWeightDataTest[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 12 + 2, 5), this.SystemConfig.DecimalPlaces); {
this.CollectionWeightDataTest[i].ADCValue = receiveData.Substring(i * 12 + 7, 5); this.CollectionWeightDataTest[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 12, 2));
this.CollectionWeightDataTest[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 12 + 2, 5), this.SystemConfig.DecimalPlaces);
this.CollectionWeightDataTest[i].ADCValue = receiveData.Substring(i * 12 + 7, 5);
}
else
{
this.CollectionWeightDataTest[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 12, 2));
}
} }
} }
#endregion #endregion
@ -4928,6 +4927,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[0].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 1].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5012,6 +5037,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[1].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 2].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5096,6 +5147,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[2].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 3].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5180,6 +5257,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[3].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 4].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5264,6 +5367,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[4].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 5].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5348,6 +5477,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[5].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 6].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5432,6 +5587,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[6].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 7].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5516,6 +5697,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[7].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 8].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5600,6 +5807,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[8].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 9].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5684,6 +5917,32 @@ namespace INT69DB_2A.Forms
} }
#endregion #endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[9].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 10].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신 #region 통신
if (this.SystemConfig.IsIntegratedTransmission == false) if (this.SystemConfig.IsIntegratedTransmission == false)
{ {
@ -5790,12 +6049,29 @@ namespace INT69DB_2A.Forms
#endregion #endregion
#region 진입센서에러 #region 진입센서에러
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++) //for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
//{
// if (this.CollectionWeightData[i].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
// {
// this.ChildFormMainDisplay.UpdateAlarmMessage4Display(true);
// break;
// }
//}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{ {
if (this.CollectionWeightData[i].JudgmentStatus == DataStore.JudgmentStatus.SensorError) foreach (WeightData data in this.CollectionWeightData)
{ {
this.ChildFormMainDisplay.UpdateAlarmMessage4Display(true); if (data.JudgmentStatus == DataStore.JudgmentStatus.SensorError)
break; {
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
break;
}
} }
} }
#endregion #endregion
@ -6587,7 +6863,7 @@ namespace INT69DB_2A.Forms
structItem.Serial3BaudRate = this.SystemConfig.Serial3BaudRate; structItem.Serial3BaudRate = this.SystemConfig.Serial3BaudRate;
structItem.Serial3Mode = this.SystemConfig.Serial3Mode; structItem.Serial3Mode = this.SystemConfig.Serial3Mode;
structItem.DummyBool1 = false; structItem.IsEmergencyStopEntrySensorError = this.SystemConfig.IsEmergencyStopEntrySensorError;
structItem.IsIntegratedTransmission = this.SystemConfig.IsIntegratedTransmission; structItem.IsIntegratedTransmission = this.SystemConfig.IsIntegratedTransmission;
structItem.IsLogin = this.SystemConfig.IsLogin; structItem.IsLogin = this.SystemConfig.IsLogin;
structItem.IsFeedingConveyorRunPass = this.SystemConfig.IsFeedingConveyorRunPass; structItem.IsFeedingConveyorRunPass = this.SystemConfig.IsFeedingConveyorRunPass;
@ -6709,7 +6985,7 @@ namespace INT69DB_2A.Forms
structItem1.Serial3BaudRate = item.Serial3BaudRate; structItem1.Serial3BaudRate = item.Serial3BaudRate;
structItem1.Serial3Mode = item.Serial3Mode; structItem1.Serial3Mode = item.Serial3Mode;
structItem1.DummyBool1 = false; structItem1.IsEmergencyStopEntrySensorError = item.IsEmergencyStopEntrySensorError;
structItem1.IsIntegratedTransmission = item.IsIntegratedTransmission; structItem1.IsIntegratedTransmission = item.IsIntegratedTransmission;
structItem1.IsLogin = item.IsLogin; structItem1.IsLogin = item.IsLogin;
structItem1.IsFeedingConveyorRunPass = item.IsFeedingConveyorRunPass; structItem1.IsFeedingConveyorRunPass = item.IsFeedingConveyorRunPass;
@ -6821,6 +7097,7 @@ namespace INT69DB_2A.Forms
this.SystemConfig.IsPingTimer = structItem1.IsPingTimer; this.SystemConfig.IsPingTimer = structItem1.IsPingTimer;
this.SystemConfig.IsLogin = structItem1.IsLogin; this.SystemConfig.IsLogin = structItem1.IsLogin;
this.SystemConfig.IsIntegratedTransmission = structItem1.IsIntegratedTransmission; this.SystemConfig.IsIntegratedTransmission = structItem1.IsIntegratedTransmission;
this.SystemConfig.IsEmergencyStopEntrySensorError = structItem1.IsEmergencyStopEntrySensorError;
this.SystemConfig.DecimalPlaces = structItem1.DecimalPlaces; this.SystemConfig.DecimalPlaces = structItem1.DecimalPlaces;
this.SystemConfig.EthernetPort = structItem1.EthernetPort; this.SystemConfig.EthernetPort = structItem1.EthernetPort;
@ -8777,6 +9054,22 @@ namespace INT69DB_2A.Forms
data.IsUpdate = false; data.IsUpdate = false;
} }
private void smartThread_UIThreadFunction(ThreadArgs args)
{
// 메시지 11. 입력센서 에러에 의해 정지하였습니다.
if (this.FlagThreadMessage1 == false)
{
DialogFormMessage msg = new DialogFormMessage(11, this.SystemConfig.Language, this);
msg.ShowDialog();
this.FlagThreadMessage1 = true;
}
}
private void smartThread_OnEnding(ThreadArgs args)
{
}
#region DLL_SerialportEvent #region DLL_SerialportEvent
private void Serialport_ReceiveDataEvent(string data) private void Serialport_ReceiveDataEvent(string data)
{ {

View File

@ -156,6 +156,9 @@
<metadata name="smartFileCom3Log.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="smartFileCom3Log.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>676, 54</value> <value>676, 54</value>
</metadata> </metadata>
<metadata name="smartThread.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>831, 54</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve"> <metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value> <value>WEBPAD</value>
</metadata> </metadata>

View File

@ -28,6 +28,7 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay));
this.smartForm1 = new SmartX.SmartForm(); this.smartForm1 = new SmartX.SmartForm();
this.buttonUnder = new SmartX.SmartButton(); this.buttonUnder = new SmartX.SmartButton();
@ -90,7 +91,6 @@
this.buttonBypassDirection = new SmartX.SmartButton(); this.buttonBypassDirection = new SmartX.SmartButton();
this.buttonBypassOnce = new SmartX.SmartButton(); this.buttonBypassOnce = new SmartX.SmartButton();
this.buttonSubMenu = new SmartX.SmartButton(); this.buttonSubMenu = new SmartX.SmartButton();
this.buttonCut = new SmartX.SmartButton();
this.pictureBoxEthernetDisconnection = new System.Windows.Forms.PictureBox(); this.pictureBoxEthernetDisconnection = new System.Windows.Forms.PictureBox();
this.pictureBoxEthernetConnection = new System.Windows.Forms.PictureBox(); this.pictureBoxEthernetConnection = new System.Windows.Forms.PictureBox();
this.timerServer = new System.Windows.Forms.Timer(); this.timerServer = new System.Windows.Forms.Timer();
@ -122,6 +122,13 @@
this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.smartLabel3 = new SmartX.SmartLabel(); this.smartLabel3 = new SmartX.SmartLabel();
this.buttonAlarm4OK = new SmartX.SmartButton(); this.buttonAlarm4OK = new SmartX.SmartButton();
this.panelSubMenu3 = new System.Windows.Forms.Panel();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.labelCutInterval = new SmartX.SmartLabel();
this.smartLabel13 = new SmartX.SmartLabel();
this.buttonCutRun = new SmartX.SmartButton();
this.buttonCutOnce = new SmartX.SmartButton();
this.smartTimerCut = new SmartX.SmartTimer(this.components);
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.panelSetting.SuspendLayout(); this.panelSetting.SuspendLayout();
this.groupBoxConveyor.SuspendLayout(); this.groupBoxConveyor.SuspendLayout();
@ -131,6 +138,7 @@
this.panelAlarmMessageBox1.SuspendLayout(); this.panelAlarmMessageBox1.SuspendLayout();
this.panelAlarmMessageBox3.SuspendLayout(); this.panelAlarmMessageBox3.SuspendLayout();
this.panelAlarmMessageBox4.SuspendLayout(); this.panelAlarmMessageBox4.SuspendLayout();
this.panelSubMenu3.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// smartForm1 // smartForm1
@ -388,7 +396,7 @@
this.labelTitleTotalCount.BackPictureBox2 = null; this.labelTitleTotalCount.BackPictureBox2 = null;
this.labelTitleTotalCount.BorderColor = System.Drawing.Color.Black; this.labelTitleTotalCount.BorderColor = System.Drawing.Color.Black;
this.labelTitleTotalCount.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelTitleTotalCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleTotalCount.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold); this.labelTitleTotalCount.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleTotalCount.ForeColor = System.Drawing.Color.White; this.labelTitleTotalCount.ForeColor = System.Drawing.Color.White;
this.labelTitleTotalCount.InitVisible = true; this.labelTitleTotalCount.InitVisible = true;
this.labelTitleTotalCount.LineSpacing = 0F; this.labelTitleTotalCount.LineSpacing = 0F;
@ -410,7 +418,7 @@
this.labelTitleNGCount.BackPictureBox2 = null; this.labelTitleNGCount.BackPictureBox2 = null;
this.labelTitleNGCount.BorderColor = System.Drawing.Color.Black; this.labelTitleNGCount.BorderColor = System.Drawing.Color.Black;
this.labelTitleNGCount.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelTitleNGCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleNGCount.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold); this.labelTitleNGCount.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleNGCount.ForeColor = System.Drawing.Color.White; this.labelTitleNGCount.ForeColor = System.Drawing.Color.White;
this.labelTitleNGCount.InitVisible = true; this.labelTitleNGCount.InitVisible = true;
this.labelTitleNGCount.LineSpacing = 0F; this.labelTitleNGCount.LineSpacing = 0F;
@ -554,7 +562,7 @@
this.groupBoxConveyor.Controls.Add(this.labelStaticFeedingRunTime); this.groupBoxConveyor.Controls.Add(this.labelStaticFeedingRunTime);
this.groupBoxConveyor.Controls.Add(this.labelStaticFeedingDelayTime); this.groupBoxConveyor.Controls.Add(this.labelStaticFeedingDelayTime);
this.groupBoxConveyor.Controls.Add(this.labelStaticRejectConveyorRunTime); this.groupBoxConveyor.Controls.Add(this.labelStaticRejectConveyorRunTime);
this.groupBoxConveyor.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.groupBoxConveyor.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxConveyor.FrameLineColor1 = System.Drawing.Color.Black; this.groupBoxConveyor.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxConveyor.FrameLineColor2 = System.Drawing.Color.Black; this.groupBoxConveyor.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxConveyor.FrameLineThickness = 1; this.groupBoxConveyor.FrameLineThickness = 1;
@ -641,7 +649,7 @@
this.labelStaticFeedingConveyor.BackPictureBox2 = null; this.labelStaticFeedingConveyor.BackPictureBox2 = null;
this.labelStaticFeedingConveyor.BorderColor = System.Drawing.Color.Black; this.labelStaticFeedingConveyor.BorderColor = System.Drawing.Color.Black;
this.labelStaticFeedingConveyor.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticFeedingConveyor.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFeedingConveyor.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticFeedingConveyor.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingConveyor.ForeColor = System.Drawing.Color.White; this.labelStaticFeedingConveyor.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingConveyor.InitVisible = true; this.labelStaticFeedingConveyor.InitVisible = true;
this.labelStaticFeedingConveyor.LineSpacing = 0F; this.labelStaticFeedingConveyor.LineSpacing = 0F;
@ -662,7 +670,7 @@
this.labelStaticRejectConveyor.BackPictureBox2 = null; this.labelStaticRejectConveyor.BackPictureBox2 = null;
this.labelStaticRejectConveyor.BorderColor = System.Drawing.Color.Black; this.labelStaticRejectConveyor.BorderColor = System.Drawing.Color.Black;
this.labelStaticRejectConveyor.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticRejectConveyor.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticRejectConveyor.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticRejectConveyor.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyor.ForeColor = System.Drawing.Color.White; this.labelStaticRejectConveyor.ForeColor = System.Drawing.Color.White;
this.labelStaticRejectConveyor.InitVisible = true; this.labelStaticRejectConveyor.InitVisible = true;
this.labelStaticRejectConveyor.LineSpacing = 0F; this.labelStaticRejectConveyor.LineSpacing = 0F;
@ -683,7 +691,7 @@
this.labelStaticRejectConveyorDelayTime.BackPictureBox2 = null; this.labelStaticRejectConveyorDelayTime.BackPictureBox2 = null;
this.labelStaticRejectConveyorDelayTime.BorderColor = System.Drawing.Color.Black; this.labelStaticRejectConveyorDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticRejectConveyorDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticRejectConveyorDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticRejectConveyorDelayTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticRejectConveyorDelayTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyorDelayTime.ForeColor = System.Drawing.Color.White; this.labelStaticRejectConveyorDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticRejectConveyorDelayTime.InitVisible = true; this.labelStaticRejectConveyorDelayTime.InitVisible = true;
this.labelStaticRejectConveyorDelayTime.LineSpacing = 0F; this.labelStaticRejectConveyorDelayTime.LineSpacing = 0F;
@ -725,7 +733,7 @@
this.labelStaticFeedingRunTime.BackPictureBox2 = null; this.labelStaticFeedingRunTime.BackPictureBox2 = null;
this.labelStaticFeedingRunTime.BorderColor = System.Drawing.Color.Black; this.labelStaticFeedingRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticFeedingRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticFeedingRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFeedingRunTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticFeedingRunTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingRunTime.ForeColor = System.Drawing.Color.White; this.labelStaticFeedingRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingRunTime.InitVisible = true; this.labelStaticFeedingRunTime.InitVisible = true;
this.labelStaticFeedingRunTime.LineSpacing = 0F; this.labelStaticFeedingRunTime.LineSpacing = 0F;
@ -746,7 +754,7 @@
this.labelStaticFeedingDelayTime.BackPictureBox2 = null; this.labelStaticFeedingDelayTime.BackPictureBox2 = null;
this.labelStaticFeedingDelayTime.BorderColor = System.Drawing.Color.Black; this.labelStaticFeedingDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticFeedingDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticFeedingDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFeedingDelayTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticFeedingDelayTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingDelayTime.ForeColor = System.Drawing.Color.White; this.labelStaticFeedingDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingDelayTime.InitVisible = true; this.labelStaticFeedingDelayTime.InitVisible = true;
this.labelStaticFeedingDelayTime.LineSpacing = 0F; this.labelStaticFeedingDelayTime.LineSpacing = 0F;
@ -767,7 +775,7 @@
this.labelStaticRejectConveyorRunTime.BackPictureBox2 = null; this.labelStaticRejectConveyorRunTime.BackPictureBox2 = null;
this.labelStaticRejectConveyorRunTime.BorderColor = System.Drawing.Color.Black; this.labelStaticRejectConveyorRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticRejectConveyorRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticRejectConveyorRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticRejectConveyorRunTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelStaticRejectConveyorRunTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyorRunTime.ForeColor = System.Drawing.Color.White; this.labelStaticRejectConveyorRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticRejectConveyorRunTime.InitVisible = true; this.labelStaticRejectConveyorRunTime.InitVisible = true;
this.labelStaticRejectConveyorRunTime.LineSpacing = 0F; this.labelStaticRejectConveyorRunTime.LineSpacing = 0F;
@ -790,7 +798,7 @@
this.groupBoxSorter.Controls.Add(this.labelSorterDelayTime); this.groupBoxSorter.Controls.Add(this.labelSorterDelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorterDelayTime); this.groupBoxSorter.Controls.Add(this.labelStaticSorterDelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorterRunTime); this.groupBoxSorter.Controls.Add(this.labelStaticSorterRunTime);
this.groupBoxSorter.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.groupBoxSorter.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxSorter.FrameLineColor1 = System.Drawing.Color.Black; this.groupBoxSorter.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxSorter.FrameLineColor2 = System.Drawing.Color.Black; this.groupBoxSorter.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxSorter.FrameLineThickness = 1; this.groupBoxSorter.FrameLineThickness = 1;
@ -864,7 +872,7 @@
this.labelStaticSorterDelayTime.BackPictureBox2 = null; this.labelStaticSorterDelayTime.BackPictureBox2 = null;
this.labelStaticSorterDelayTime.BorderColor = System.Drawing.Color.Black; this.labelStaticSorterDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticSorterDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterDelayTime.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold); this.labelStaticSorterDelayTime.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterDelayTime.ForeColor = System.Drawing.Color.White; this.labelStaticSorterDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorterDelayTime.InitVisible = true; this.labelStaticSorterDelayTime.InitVisible = true;
this.labelStaticSorterDelayTime.LineSpacing = 0F; this.labelStaticSorterDelayTime.LineSpacing = 0F;
@ -885,7 +893,7 @@
this.labelStaticSorterRunTime.BackPictureBox2 = null; this.labelStaticSorterRunTime.BackPictureBox2 = null;
this.labelStaticSorterRunTime.BorderColor = System.Drawing.Color.Black; this.labelStaticSorterRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticSorterRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterRunTime.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold); this.labelStaticSorterRunTime.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterRunTime.ForeColor = System.Drawing.Color.White; this.labelStaticSorterRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorterRunTime.InitVisible = true; this.labelStaticSorterRunTime.InitVisible = true;
this.labelStaticSorterRunTime.LineSpacing = 0F; this.labelStaticSorterRunTime.LineSpacing = 0F;
@ -1021,7 +1029,7 @@
this.smartLabel5.BackPictureBox2 = null; this.smartLabel5.BackPictureBox2 = null;
this.smartLabel5.BorderColor = System.Drawing.Color.Black; this.smartLabel5.BorderColor = System.Drawing.Color.Black;
this.smartLabel5.BorderStyle = System.Windows.Forms.BorderStyle.None; this.smartLabel5.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel5.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold); this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel5.ForeColor = System.Drawing.Color.White; this.smartLabel5.ForeColor = System.Drawing.Color.White;
this.smartLabel5.InitVisible = true; this.smartLabel5.InitVisible = true;
this.smartLabel5.LineSpacing = 0F; this.smartLabel5.LineSpacing = 0F;
@ -1207,7 +1215,7 @@
this.labelUserID.BackPictureBox2 = null; this.labelUserID.BackPictureBox2 = null;
this.labelUserID.BorderColor = System.Drawing.Color.Black; this.labelUserID.BorderColor = System.Drawing.Color.Black;
this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserID.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold); this.labelUserID.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelUserID.ForeColor = System.Drawing.Color.White; this.labelUserID.ForeColor = System.Drawing.Color.White;
this.labelUserID.InitVisible = true; this.labelUserID.InitVisible = true;
this.labelUserID.LineSpacing = 0F; this.labelUserID.LineSpacing = 0F;
@ -1227,7 +1235,7 @@
this.labelUserLevel.BackPictureBox2 = null; this.labelUserLevel.BackPictureBox2 = null;
this.labelUserLevel.BorderColor = System.Drawing.Color.Black; this.labelUserLevel.BorderColor = System.Drawing.Color.Black;
this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold); this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.ForeColor = System.Drawing.Color.White; this.labelUserLevel.ForeColor = System.Drawing.Color.White;
this.labelUserLevel.InitVisible = true; this.labelUserLevel.InitVisible = true;
this.labelUserLevel.LineSpacing = 0F; this.labelUserLevel.LineSpacing = 0F;
@ -1315,7 +1323,7 @@
this.labelStaticAlarmContinuousNG.BackPictureBox2 = null; this.labelStaticAlarmContinuousNG.BackPictureBox2 = null;
this.labelStaticAlarmContinuousNG.BorderColor = System.Drawing.Color.Black; this.labelStaticAlarmContinuousNG.BorderColor = System.Drawing.Color.Black;
this.labelStaticAlarmContinuousNG.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticAlarmContinuousNG.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticAlarmContinuousNG.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelStaticAlarmContinuousNG.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticAlarmContinuousNG.ForeColor = System.Drawing.Color.White; this.labelStaticAlarmContinuousNG.ForeColor = System.Drawing.Color.White;
this.labelStaticAlarmContinuousNG.InitVisible = true; this.labelStaticAlarmContinuousNG.InitVisible = true;
this.labelStaticAlarmContinuousNG.LineSpacing = 0F; this.labelStaticAlarmContinuousNG.LineSpacing = 0F;
@ -1373,7 +1381,7 @@
this.labelTitleBypass.BackPictureBox2 = null; this.labelTitleBypass.BackPictureBox2 = null;
this.labelTitleBypass.BorderColor = System.Drawing.Color.Black; this.labelTitleBypass.BorderColor = System.Drawing.Color.Black;
this.labelTitleBypass.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelTitleBypass.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleBypass.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelTitleBypass.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleBypass.ForeColor = System.Drawing.Color.White; this.labelTitleBypass.ForeColor = System.Drawing.Color.White;
this.labelTitleBypass.InitVisible = true; this.labelTitleBypass.InitVisible = true;
this.labelTitleBypass.LineSpacing = 0F; this.labelTitleBypass.LineSpacing = 0F;
@ -1510,39 +1518,6 @@
this.buttonSubMenu.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonSubMenu.UpImage"))); this.buttonSubMenu.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonSubMenu.UpImage")));
this.buttonSubMenu.Click += new System.EventHandler(this.buttonSubMenu_Click); this.buttonSubMenu.Click += new System.EventHandler(this.buttonSubMenu_Click);
// //
// buttonCut
//
this.buttonCut.BackColor = System.Drawing.Color.SteelBlue;
this.buttonCut.BackPictureBox = null;
this.buttonCut.BackPictureBox1 = null;
this.buttonCut.BackPictureBox2 = null;
this.buttonCut.ButtonColor = System.Drawing.Color.SteelBlue;
this.buttonCut.ButtonImageAutoSize = true;
this.buttonCut.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCut.DisableImage = null;
this.buttonCut.DownImage = null;
this.buttonCut.GroupID = 0;
this.buttonCut.InitVisible = true;
this.buttonCut.Location = new System.Drawing.Point(399, 558);
this.buttonCut.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonCut.Name = "buttonCut";
this.buttonCut.NestedClickEventPrevent = false;
this.buttonCut.OutlinePixel = 1;
this.buttonCut.RepeatInterval = 200;
this.buttonCut.RepeatIntervalAccelerate = null;
this.buttonCut.SafeInterval = 200;
this.buttonCut.Size = new System.Drawing.Size(62, 41);
this.buttonCut.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCut.TabIndex = 672;
this.buttonCut.Text = "CUT";
this.buttonCut.TextColor = System.Drawing.Color.White;
this.buttonCut.TextDownColor = System.Drawing.Color.White;
this.buttonCut.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCut.TextLocation = new System.Drawing.Point(0, 0);
this.buttonCut.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCut.UpImage = null;
this.buttonCut.Click += new System.EventHandler(this.buttonCut_Click);
//
// pictureBoxEthernetDisconnection // pictureBoxEthernetDisconnection
// //
this.pictureBoxEthernetDisconnection.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetDisconnection.Image"))); this.pictureBoxEthernetDisconnection.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetDisconnection.Image")));
@ -1571,7 +1546,7 @@
this.labelExpireOfPassword.BackPictureBox2 = null; this.labelExpireOfPassword.BackPictureBox2 = null;
this.labelExpireOfPassword.BorderColor = System.Drawing.Color.Black; this.labelExpireOfPassword.BorderColor = System.Drawing.Color.Black;
this.labelExpireOfPassword.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelExpireOfPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelExpireOfPassword.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold); this.labelExpireOfPassword.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.ForeColor = System.Drawing.Color.White; this.labelExpireOfPassword.ForeColor = System.Drawing.Color.White;
this.labelExpireOfPassword.InitVisible = true; this.labelExpireOfPassword.InitVisible = true;
this.labelExpireOfPassword.LineSpacing = 0F; this.labelExpireOfPassword.LineSpacing = 0F;
@ -1612,7 +1587,7 @@
this.buttonATPC_Reset.ColorKeySamplePosition = new System.Drawing.Point(0, 0); this.buttonATPC_Reset.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonATPC_Reset.DisableImage = null; this.buttonATPC_Reset.DisableImage = null;
this.buttonATPC_Reset.DownImage = null; this.buttonATPC_Reset.DownImage = null;
this.buttonATPC_Reset.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.buttonATPC_Reset.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.buttonATPC_Reset.GroupID = 0; this.buttonATPC_Reset.GroupID = 0;
this.buttonATPC_Reset.InitVisible = true; this.buttonATPC_Reset.InitVisible = true;
this.buttonATPC_Reset.Location = new System.Drawing.Point(353, 31); this.buttonATPC_Reset.Location = new System.Drawing.Point(353, 31);
@ -1642,7 +1617,7 @@
this.labelStaticATPC_Lack.BackPictureBox2 = null; this.labelStaticATPC_Lack.BackPictureBox2 = null;
this.labelStaticATPC_Lack.BorderColor = System.Drawing.Color.Black; this.labelStaticATPC_Lack.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC_Lack.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticATPC_Lack.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC_Lack.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelStaticATPC_Lack.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Lack.ForeColor = System.Drawing.Color.White; this.labelStaticATPC_Lack.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC_Lack.InitVisible = true; this.labelStaticATPC_Lack.InitVisible = true;
this.labelStaticATPC_Lack.LineSpacing = 0F; this.labelStaticATPC_Lack.LineSpacing = 0F;
@ -1690,7 +1665,7 @@
this.labelStaticATPC_Pass.BackPictureBox2 = null; this.labelStaticATPC_Pass.BackPictureBox2 = null;
this.labelStaticATPC_Pass.BorderColor = System.Drawing.Color.Black; this.labelStaticATPC_Pass.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC_Pass.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticATPC_Pass.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC_Pass.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelStaticATPC_Pass.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Pass.ForeColor = System.Drawing.Color.White; this.labelStaticATPC_Pass.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC_Pass.InitVisible = true; this.labelStaticATPC_Pass.InitVisible = true;
this.labelStaticATPC_Pass.LineSpacing = 0F; this.labelStaticATPC_Pass.LineSpacing = 0F;
@ -1730,7 +1705,7 @@
this.labelStaticATPC_Count.BackPictureBox2 = null; this.labelStaticATPC_Count.BackPictureBox2 = null;
this.labelStaticATPC_Count.BorderColor = System.Drawing.Color.Black; this.labelStaticATPC_Count.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC_Count.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticATPC_Count.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC_Count.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelStaticATPC_Count.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Count.ForeColor = System.Drawing.Color.White; this.labelStaticATPC_Count.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC_Count.InitVisible = true; this.labelStaticATPC_Count.InitVisible = true;
this.labelStaticATPC_Count.LineSpacing = 0F; this.labelStaticATPC_Count.LineSpacing = 0F;
@ -1823,7 +1798,7 @@
this.labelStaticATPC.BackPictureBox2 = null; this.labelStaticATPC.BackPictureBox2 = null;
this.labelStaticATPC.BorderColor = System.Drawing.Color.Black; this.labelStaticATPC.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelStaticATPC.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelStaticATPC.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC.ForeColor = System.Drawing.Color.White; this.labelStaticATPC.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC.InitVisible = true; this.labelStaticATPC.InitVisible = true;
this.labelStaticATPC.LineSpacing = 0F; this.labelStaticATPC.LineSpacing = 0F;
@ -1854,7 +1829,7 @@
this.labelMessage1.BackPictureBox2 = null; this.labelMessage1.BackPictureBox2 = null;
this.labelMessage1.BorderColor = System.Drawing.Color.Black; this.labelMessage1.BorderColor = System.Drawing.Color.Black;
this.labelMessage1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelMessage1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelMessage1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage1.InitVisible = true; this.labelMessage1.InitVisible = true;
this.labelMessage1.LineSpacing = 0F; this.labelMessage1.LineSpacing = 0F;
this.labelMessage1.Location = new System.Drawing.Point(75, 62); this.labelMessage1.Location = new System.Drawing.Point(75, 62);
@ -1880,7 +1855,7 @@
this.smartLabel2.BackPictureBox2 = null; this.smartLabel2.BackPictureBox2 = null;
this.smartLabel2.BorderColor = System.Drawing.Color.Black; this.smartLabel2.BorderColor = System.Drawing.Color.Black;
this.smartLabel2.BorderStyle = System.Windows.Forms.BorderStyle.None; this.smartLabel2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel2.InitVisible = true; this.smartLabel2.InitVisible = true;
this.smartLabel2.LineSpacing = 0F; this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(11, 4); this.smartLabel2.Location = new System.Drawing.Point(11, 4);
@ -1941,7 +1916,7 @@
this.labelMessage3.BackPictureBox2 = null; this.labelMessage3.BackPictureBox2 = null;
this.labelMessage3.BorderColor = System.Drawing.Color.Black; this.labelMessage3.BorderColor = System.Drawing.Color.Black;
this.labelMessage3.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelMessage3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelMessage3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage3.InitVisible = true; this.labelMessage3.InitVisible = true;
this.labelMessage3.LineSpacing = 0F; this.labelMessage3.LineSpacing = 0F;
this.labelMessage3.Location = new System.Drawing.Point(75, 30); this.labelMessage3.Location = new System.Drawing.Point(75, 30);
@ -1967,7 +1942,7 @@
this.smartLabel4.BackPictureBox2 = null; this.smartLabel4.BackPictureBox2 = null;
this.smartLabel4.BorderColor = System.Drawing.Color.Black; this.smartLabel4.BorderColor = System.Drawing.Color.Black;
this.smartLabel4.BorderStyle = System.Windows.Forms.BorderStyle.None; this.smartLabel4.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel4.InitVisible = true; this.smartLabel4.InitVisible = true;
this.smartLabel4.LineSpacing = 0F; this.smartLabel4.LineSpacing = 0F;
this.smartLabel4.Location = new System.Drawing.Point(11, 4); this.smartLabel4.Location = new System.Drawing.Point(11, 4);
@ -2028,7 +2003,7 @@
this.labelMessage4.BackPictureBox2 = null; this.labelMessage4.BackPictureBox2 = null;
this.labelMessage4.BorderColor = System.Drawing.Color.Black; this.labelMessage4.BorderColor = System.Drawing.Color.Black;
this.labelMessage4.BorderStyle = System.Windows.Forms.BorderStyle.None; this.labelMessage4.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelMessage4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage4.InitVisible = true; this.labelMessage4.InitVisible = true;
this.labelMessage4.LineSpacing = 0F; this.labelMessage4.LineSpacing = 0F;
this.labelMessage4.Location = new System.Drawing.Point(75, 30); this.labelMessage4.Location = new System.Drawing.Point(75, 30);
@ -2054,7 +2029,7 @@
this.smartLabel3.BackPictureBox2 = null; this.smartLabel3.BackPictureBox2 = null;
this.smartLabel3.BorderColor = System.Drawing.Color.Black; this.smartLabel3.BorderColor = System.Drawing.Color.Black;
this.smartLabel3.BorderStyle = System.Windows.Forms.BorderStyle.None; this.smartLabel3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel3.InitVisible = true; this.smartLabel3.InitVisible = true;
this.smartLabel3.LineSpacing = 0F; this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(11, 4); this.smartLabel3.Location = new System.Drawing.Point(11, 4);
@ -2097,12 +2072,144 @@
this.buttonAlarm4OK.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonAlarm4OK.UpImage"))); this.buttonAlarm4OK.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonAlarm4OK.UpImage")));
this.buttonAlarm4OK.Click += new System.EventHandler(this.buttonAlarm4OK_Click); this.buttonAlarm4OK.Click += new System.EventHandler(this.buttonAlarm4OK_Click);
// //
// panelSubMenu3
//
this.panelSubMenu3.Controls.Add(this.buttonCutRun);
this.panelSubMenu3.Controls.Add(this.buttonCutOnce);
this.panelSubMenu3.Controls.Add(this.labelCutInterval);
this.panelSubMenu3.Controls.Add(this.smartLabel13);
this.panelSubMenu3.Controls.Add(this.pictureBox5);
this.panelSubMenu3.Location = new System.Drawing.Point(820, 682);
this.panelSubMenu3.Name = "panelSubMenu3";
this.panelSubMenu3.Size = new System.Drawing.Size(572, 70);
this.panelSubMenu3.Visible = false;
//
// pictureBox5
//
this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
this.pictureBox5.Location = new System.Drawing.Point(0, 0);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(572, 70);
//
// labelCutInterval
//
this.labelCutInterval.BackColor = System.Drawing.Color.White;
this.labelCutInterval.BackPictureBox = null;
this.labelCutInterval.BackPictureBox1 = null;
this.labelCutInterval.BackPictureBox2 = null;
this.labelCutInterval.BorderColor = System.Drawing.Color.Black;
this.labelCutInterval.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelCutInterval.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelCutInterval.InitVisible = true;
this.labelCutInterval.LineSpacing = 0F;
this.labelCutInterval.Location = new System.Drawing.Point(136, 8);
this.labelCutInterval.Name = "labelCutInterval";
this.labelCutInterval.Size = new System.Drawing.Size(100, 25);
this.labelCutInterval.TabIndex = 703;
this.labelCutInterval.Text = "9999";
this.labelCutInterval.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelCutInterval.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelCutInterval.Wordwrap = false;
this.labelCutInterval.Click += new System.EventHandler(this.labelCutInterval_Click);
//
// smartLabel13
//
this.smartLabel13.BackPictureBox = this.pictureBox5;
this.smartLabel13.BackPictureBox1 = null;
this.smartLabel13.BackPictureBox2 = null;
this.smartLabel13.BorderColor = System.Drawing.Color.Black;
this.smartLabel13.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel13.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel13.ForeColor = System.Drawing.Color.White;
this.smartLabel13.InitVisible = true;
this.smartLabel13.LineSpacing = 0F;
this.smartLabel13.Location = new System.Drawing.Point(10, 20);
this.smartLabel13.Name = "smartLabel13";
this.smartLabel13.Size = new System.Drawing.Size(120, 30);
this.smartLabel13.TabIndex = 690;
this.smartLabel13.Text = "CUT";
this.smartLabel13.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel13.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel13.Wordwrap = false;
//
// buttonCutRun
//
this.buttonCutRun.BackPictureBox = null;
this.buttonCutRun.BackPictureBox1 = null;
this.buttonCutRun.BackPictureBox2 = null;
this.buttonCutRun.ButtonColor = System.Drawing.Color.Gray;
this.buttonCutRun.ButtonImageAutoSize = true;
this.buttonCutRun.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCutRun.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonCutRun.DisableImage")));
this.buttonCutRun.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCutRun.DownImage")));
this.buttonCutRun.GroupID = 0;
this.buttonCutRun.InitVisible = true;
this.buttonCutRun.Location = new System.Drawing.Point(246, 11);
this.buttonCutRun.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonCutRun.Name = "buttonCutRun";
this.buttonCutRun.NestedClickEventPrevent = false;
this.buttonCutRun.OutlinePixel = 1;
this.buttonCutRun.RepeatInterval = 200;
this.buttonCutRun.RepeatIntervalAccelerate = null;
this.buttonCutRun.SafeInterval = 200;
this.buttonCutRun.Size = new System.Drawing.Size(50, 50);
this.buttonCutRun.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCutRun.TabIndex = 714;
this.buttonCutRun.TextColor = System.Drawing.Color.Black;
this.buttonCutRun.TextDownColor = System.Drawing.Color.White;
this.buttonCutRun.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCutRun.TextLocation = new System.Drawing.Point(0, 0);
this.buttonCutRun.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCutRun.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonCutRun.UpImage")));
this.buttonCutRun.Click += new System.EventHandler(this.buttonCutRun_Click);
//
// buttonCutOnce
//
this.buttonCutOnce.BackPictureBox = null;
this.buttonCutOnce.BackPictureBox1 = null;
this.buttonCutOnce.BackPictureBox2 = null;
this.buttonCutOnce.ButtonColor = System.Drawing.Color.Gray;
this.buttonCutOnce.ButtonImageAutoSize = true;
this.buttonCutOnce.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCutOnce.DisableImage = null;
this.buttonCutOnce.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCutOnce.DownImage")));
this.buttonCutOnce.GroupID = 0;
this.buttonCutOnce.InitVisible = true;
this.buttonCutOnce.Location = new System.Drawing.Point(136, 37);
this.buttonCutOnce.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonCutOnce.Name = "buttonCutOnce";
this.buttonCutOnce.NestedClickEventPrevent = false;
this.buttonCutOnce.OutlinePixel = 1;
this.buttonCutOnce.RepeatInterval = 200;
this.buttonCutOnce.RepeatIntervalAccelerate = null;
this.buttonCutOnce.SafeInterval = 200;
this.buttonCutOnce.Size = new System.Drawing.Size(100, 25);
this.buttonCutOnce.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCutOnce.TabIndex = 713;
this.buttonCutOnce.TextColor = System.Drawing.Color.Black;
this.buttonCutOnce.TextDownColor = System.Drawing.Color.White;
this.buttonCutOnce.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCutOnce.TextLocation = new System.Drawing.Point(0, 0);
this.buttonCutOnce.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCutOnce.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonCutOnce.UpImage")));
this.buttonCutOnce.Click += new System.EventHandler(this.buttonCutOnce_Click);
//
// smartTimerCut
//
this.smartTimerCut.EndTime = ((long)(100000000000));
this.smartTimerCut.Interval = 100;
this.smartTimerCut.IntervalSeries = null;
this.smartTimerCut.NowMillisecond = ((long)(0));
this.smartTimerCut.StartTime = ((long)(0));
this.smartTimerCut.Tick += new System.EventHandler(this.smartTimerCut_Tick);
//
// FormMainDisplay // FormMainDisplay
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true; this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(800, 600); this.ClientSize = new System.Drawing.Size(800, 600);
this.Controls.Add(this.panelSubMenu3);
this.Controls.Add(this.panelAlarmMessageBox4); this.Controls.Add(this.panelAlarmMessageBox4);
this.Controls.Add(this.panelAlarmMessageBox3); this.Controls.Add(this.panelAlarmMessageBox3);
this.Controls.Add(this.panelAlarmMessageBox1); this.Controls.Add(this.panelAlarmMessageBox1);
@ -2110,7 +2217,6 @@
this.Controls.Add(this.labelExpireOfPassword); this.Controls.Add(this.labelExpireOfPassword);
this.Controls.Add(this.pictureBoxEthernetDisconnection); this.Controls.Add(this.pictureBoxEthernetDisconnection);
this.Controls.Add(this.pictureBoxEthernetConnection); this.Controls.Add(this.pictureBoxEthernetConnection);
this.Controls.Add(this.buttonCut);
this.Controls.Add(this.buttonSubMenu); this.Controls.Add(this.buttonSubMenu);
this.Controls.Add(this.panelSubMenu1); this.Controls.Add(this.panelSubMenu1);
this.Controls.Add(this.labelUserLevel); this.Controls.Add(this.labelUserLevel);
@ -2156,6 +2262,7 @@
this.panelAlarmMessageBox1.ResumeLayout(false); this.panelAlarmMessageBox1.ResumeLayout(false);
this.panelAlarmMessageBox3.ResumeLayout(false); this.panelAlarmMessageBox3.ResumeLayout(false);
this.panelAlarmMessageBox4.ResumeLayout(false); this.panelAlarmMessageBox4.ResumeLayout(false);
this.panelSubMenu3.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@ -2219,7 +2326,6 @@
private SmartX.SmartButton buttonBypassDirection; private SmartX.SmartButton buttonBypassDirection;
private SmartX.SmartButton buttonBypassOnce; private SmartX.SmartButton buttonBypassOnce;
private SmartX.SmartButton buttonSubMenu; private SmartX.SmartButton buttonSubMenu;
private SmartX.SmartButton buttonCut;
private SmartX.SmartButton buttonPrint; private SmartX.SmartButton buttonPrint;
private System.Windows.Forms.PictureBox pictureBoxEthernetDisconnection; private System.Windows.Forms.PictureBox pictureBoxEthernetDisconnection;
private System.Windows.Forms.PictureBox pictureBoxEthernetConnection; private System.Windows.Forms.PictureBox pictureBoxEthernetConnection;
@ -2255,5 +2361,12 @@
private System.Windows.Forms.PictureBox pictureBox3; private System.Windows.Forms.PictureBox pictureBox3;
private SmartX.SmartLabel smartLabel3; private SmartX.SmartLabel smartLabel3;
private SmartX.SmartButton buttonAlarm4OK; private SmartX.SmartButton buttonAlarm4OK;
private System.Windows.Forms.Panel panelSubMenu3;
private SmartX.SmartButton buttonCutRun;
private SmartX.SmartButton buttonCutOnce;
private SmartX.SmartLabel labelCutInterval;
private SmartX.SmartLabel smartLabel13;
private System.Windows.Forms.PictureBox pictureBox5;
private SmartX.SmartTimer smartTimerCut;
} }
} }

View File

@ -23,6 +23,7 @@ namespace INT69DB_2A.Forms
#region Field #region Field
public string ChangeID; public string ChangeID;
private int SubmenuIndex; private int SubmenuIndex;
private bool IsCutOnce = true; // SubMenu3
private FormMain m_ParentForm; private FormMain m_ParentForm;
@ -326,7 +327,6 @@ namespace INT69DB_2A.Forms
this.labelProductName.Text = this.ParentForm.CurrentProductItem.Name; this.labelProductName.Text = this.ParentForm.CurrentProductItem.Name;
this.labelLotNo.Text = this.ParentForm.CurrentProductItem.LotNo; this.labelLotNo.Text = this.ParentForm.CurrentProductItem.LotNo;
this.labelProductionSpeed.Text = "0"; this.labelProductionSpeed.Text = "0";
this.buttonCut.Visible = this.ParentForm.SystemConfig.IsCutView;
this.pictureBoxUSBBackOn.Visible = this.ParentForm.SystemConfig.IsDataBackup; this.pictureBoxUSBBackOn.Visible = this.ParentForm.SystemConfig.IsDataBackup;
this.labelIconBypassMode.Visible = this.ParentForm.SystemConfig.IsBypassMode; this.labelIconBypassMode.Visible = this.ParentForm.SystemConfig.IsBypassMode;
@ -361,6 +361,10 @@ namespace INT69DB_2A.Forms
this.Mode_TotalCnt = DataStore.E_TotalCnt.f0_Total; this.Mode_TotalCnt = DataStore.E_TotalCnt.f0_Total;
this.Mode_TotalCntNG = DataStore.E_TotalCntNG.f0_NG; this.Mode_TotalCntNG = DataStore.E_TotalCntNG.f0_NG;
// SubMenu3
this.labelCutInterval.Text = "1200";
this.smartTimerCut.Interval = 1200;
switch (this.ParentForm.SystemConfig.EquipmentColumns) switch (this.ParentForm.SystemConfig.EquipmentColumns)
{ {
case 2: case 2:
@ -530,6 +534,11 @@ namespace INT69DB_2A.Forms
this.panelSubMenu2.Visible = false; this.panelSubMenu2.Visible = false;
this.panelSubMenu2.BringToFront(); this.panelSubMenu2.BringToFront();
// Panel SubMenu3
this.panelSubMenu3.Location = new Point(10, 489);
this.panelSubMenu3.Visible = false;
this.panelSubMenu3.BringToFront();
// AlarmMessageBox // AlarmMessageBox
x = Screen.PrimaryScreen.Bounds.Width / 2 - this.panelAlarmMessageBox1.Size.Width / 2; x = Screen.PrimaryScreen.Bounds.Width / 2 - this.panelAlarmMessageBox1.Size.Width / 2;
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.panelAlarmMessageBox1.Size.Height / 2; y = Screen.PrimaryScreen.Bounds.Height / 2 - this.panelAlarmMessageBox1.Size.Height / 2;
@ -1688,6 +1697,9 @@ namespace INT69DB_2A.Forms
if (this.labelFeedingConveyorOperatingTime.Text != value) if (this.labelFeedingConveyorOperatingTime.Text != value)
this.labelFeedingConveyorOperatingTime.Text = value; this.labelFeedingConveyorOperatingTime.Text = value;
// timerTimeOutTransmission
this.ParentForm.timerTimeOutTransmission.Interval = jItem.JudgmentDelayTime - 100;
switch (this.ParentForm.SystemConfig.EquipmentColumns) switch (this.ParentForm.SystemConfig.EquipmentColumns)
{ {
case 2: case 2:
@ -1783,6 +1795,9 @@ namespace INT69DB_2A.Forms
if (this.panelSetting.Visible == true) if (this.panelSetting.Visible == true)
this.panelSetting.Visible = false; this.panelSetting.Visible = false;
this.smartTimerCut.Stop();
this.buttonCutRun.ButtonUp();
#endregion #endregion
} }
@ -2859,7 +2874,6 @@ namespace INT69DB_2A.Forms
this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser); this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
this.buttonSubMenu.ButtonUp(); this.buttonSubMenu.ButtonUp();
this.panelSubMenu1.Visible = false; this.panelSubMenu1.Visible = false;
this.buttonCut.Visible = this.ParentForm.SystemConfig.IsCutView;
} }
#endregion #endregion
@ -3424,6 +3438,30 @@ namespace INT69DB_2A.Forms
this.SetTotalCount(); this.SetTotalCount();
} }
private void buttonClose_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelSetting.Visible = false;
}
private void timerServer_Tick(object sender, EventArgs e)
{
if (this.ParentForm.smartTCPMultiServer.IsStart == true)
{
if (this.ParentForm.smartTCPMultiServer.ClientInfoList == null)
{
this.UpdateEthernetStatusDisplay(false);
}
else
{
this.UpdateEthernetStatusDisplay(true);
}
}
}
private void buttonSubMenu_Click(object sender, EventArgs e) private void buttonSubMenu_Click(object sender, EventArgs e)
{ {
// Automatic Logout Reset // Automatic Logout Reset
@ -3436,25 +3474,43 @@ namespace INT69DB_2A.Forms
this.panelSubMenu1.Visible = true; this.panelSubMenu1.Visible = true;
this.panelSubMenu2.Visible = false; this.panelSubMenu2.Visible = false;
this.panelSubMenu3.Visible = false;
this.SubmenuIndex = 1; this.SubmenuIndex = 1;
} }
else if (this.SubmenuIndex == 1) else if (this.SubmenuIndex == 1)
{ {
this.panelSubMenu1.Visible = false; this.panelSubMenu1.Visible = false;
this.panelSubMenu3.Visible = false;
this.panelSubMenu2.BringToFront(); this.panelSubMenu2.BringToFront();
this.panelSubMenu2.Visible = true; this.panelSubMenu2.Visible = true;
this.SubmenuIndex = 2; if (this.ParentForm.SystemConfig.IsCutView == true)
this.SubmenuIndex = 2;
else
this.SubmenuIndex = 3;
}
else if (this.SubmenuIndex == 2)
{
this.panelSubMenu1.Visible = false;
this.panelSubMenu2.Visible = false;
this.panelSubMenu3.BringToFront();
this.panelSubMenu3.Visible = true;
this.SubmenuIndex = 3;
} }
else else
{ {
this.panelSubMenu1.Visible = false; this.panelSubMenu1.Visible = false;
this.panelSubMenu2.Visible = false; this.panelSubMenu2.Visible = false;
this.panelSubMenu3.Visible = false;
this.SubmenuIndex = 0; this.SubmenuIndex = 0;
} }
} }
#region SubMenu1
private void buttonBypassDirection_Click(object sender, EventArgs e) private void buttonBypassDirection_Click(object sender, EventArgs e)
{ {
// Automatic Logout Reset // Automatic Logout Reset
@ -3539,62 +3595,6 @@ namespace INT69DB_2A.Forms
} }
} }
private void buttonPrint_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonPrint.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = true;
this.ParentForm.PrintingHeadLine();
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "ON");
}
else
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = false;
this.ParentForm.smartSerialPortCom3.WriteNoneFrame("\n\n\n\n", SmartSerialPort.CODETYPES.ASCIICODE);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "OFF");
}
}
private void buttonClose_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelSetting.Visible = false;
}
private void buttonCut_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.MainCut, "");
}
private void timerServer_Tick(object sender, EventArgs e)
{
if (this.ParentForm.smartTCPMultiServer.IsStart == true)
{
if (this.ParentForm.smartTCPMultiServer.ClientInfoList == null)
{
this.UpdateEthernetStatusDisplay(false);
}
else
{
this.UpdateEthernetStatusDisplay(true);
}
}
}
private void buttonAlarmContinuousNG_Click(object sender, EventArgs e) private void buttonAlarmContinuousNG_Click(object sender, EventArgs e)
{ {
string before = "", after = ""; string before = "", after = "";
@ -3664,6 +3664,30 @@ namespace INT69DB_2A.Forms
} }
} }
private void buttonPrint_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonPrint.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = true;
this.ParentForm.PrintingHeadLine();
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "ON");
}
else
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = false;
this.ParentForm.smartSerialPortCom3.WriteNoneFrame("\n\n\n\n", SmartSerialPort.CODETYPES.ASCIICODE);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "OFF");
}
}
#endregion
#region SubMenu2
private void labelATPC_SetCNT_Click(object sender, EventArgs e) private void labelATPC_SetCNT_Click(object sender, EventArgs e)
{ {
string before = "", after = ""; string before = "", after = "";
@ -3756,6 +3780,86 @@ namespace INT69DB_2A.Forms
if (this.ParentForm.SystemConfig.IsPart11 == true) if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.ATPC_Reset, ""); this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.ATPC_Reset, "");
} }
#endregion
#region SubMenu3
private void labelCutInterval_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelCutInterval.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 500 || myKeyPad.doubleValue > 9999)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
this.labelCutInterval.Text = myKeyPad.StringValue;
this.smartTimerCut.Interval = myKeyPad.IntValue;
}
}
}
private void buttonCutOnce_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonCutOnce.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.IsCutOnce = false;
this.buttonCutRun.Mode = SmartButton.BUTTONMODE.PUSH;
}
else
{
this.IsCutOnce = true;
this.buttonCutRun.Mode = SmartButton.BUTTONMODE.NORMAL;
}
}
private void buttonCutRun_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.IsCutOnce == true)
{
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.MainCut, "");
}
else
{
if (this.buttonCutRun.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.labelCutInterval.Enabled = false;
this.buttonCutOnce.Enabled = false;
this.smartTimerCut.Start();
}
else
{
this.labelCutInterval.Enabled = true;
this.buttonCutOnce.Enabled = true;
this.smartTimerCut.Stop();
}
}
}
private void smartTimerCut_Tick(object sender, EventArgs e)
{
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.MainCut, "");
}
#endregion
private void buttonAlarm1Ok_Click(object sender, EventArgs e) private void buttonAlarm1Ok_Click(object sender, EventArgs e)
{ {

File diff suppressed because it is too large Load Diff

View File

@ -128,6 +128,7 @@
this.buttonCom1TestForward = new SmartX.SmartButton(); this.buttonCom1TestForward = new SmartX.SmartButton();
this.buttonCom1TestReverse = new SmartX.SmartButton(); this.buttonCom1TestReverse = new SmartX.SmartButton();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.radioButtonImpellerMotorAngle180180 = new SmartX.SmartRadioButton();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.groupBoxSelectImpeller.SuspendLayout(); this.groupBoxSelectImpeller.SuspendLayout();
this.groupBoxEach.SuspendLayout(); this.groupBoxEach.SuspendLayout();
@ -2571,6 +2572,32 @@
this.panel1.Size = new System.Drawing.Size(800, 348); this.panel1.Size = new System.Drawing.Size(800, 348);
this.panel1.Visible = false; this.panel1.Visible = false;
// //
// radioButtonImpellerMotorAngle180180
//
this.radioButtonImpellerMotorAngle180180.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
this.radioButtonImpellerMotorAngle180180.BackPictureBox = null;
this.radioButtonImpellerMotorAngle180180.BackPictureBox1 = null;
this.radioButtonImpellerMotorAngle180180.BackPictureBox2 = null;
this.radioButtonImpellerMotorAngle180180.Checked = false;
this.radioButtonImpellerMotorAngle180180.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.radioButtonImpellerMotorAngle180180.GroupID = 0;
this.radioButtonImpellerMotorAngle180180.ImageCheckRadioButton = null;
this.radioButtonImpellerMotorAngle180180.ImageUnCheckRadioButton = null;
this.radioButtonImpellerMotorAngle180180.InitVisible = true;
this.radioButtonImpellerMotorAngle180180.Location = new System.Drawing.Point(187, 69);
this.radioButtonImpellerMotorAngle180180.Name = "radioButtonImpellerMotorAngle180180";
this.radioButtonImpellerMotorAngle180180.OutputOnly = false;
this.radioButtonImpellerMotorAngle180180.RadioBackColor = System.Drawing.Color.White;
this.radioButtonImpellerMotorAngle180180.RadioCheckColor = System.Drawing.Color.Green;
this.radioButtonImpellerMotorAngle180180.RadioForeColor = System.Drawing.Color.Black;
this.radioButtonImpellerMotorAngle180180.RadioSymbolSize = 14;
this.radioButtonImpellerMotorAngle180180.Shadow = false;
this.radioButtonImpellerMotorAngle180180.Size = new System.Drawing.Size(119, 26);
this.radioButtonImpellerMotorAngle180180.TabIndex = 275;
this.radioButtonImpellerMotorAngle180180.Text = "180+180";
this.radioButtonImpellerMotorAngle180180.TextVAlign = SmartX.SmartRadioButton.TextVerAlign.Middle;
this.radioButtonImpellerMotorAngle180180.Click += new System.EventHandler(this.radioButtonImpellerMotorAngle_Click);
//
// FormMotorSetting // FormMotorSetting
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);

View File

@ -5,9 +5,9 @@
H/W : IEC1000-104 H/W : IEC1000-104
O/S : WinCE 6.0 O/S : WinCE 6.0
Framework : 20160203 SmartX Framework V2.7(update: 2016.01.25) Framework : V1.0.0 - SmartX Framework V2.7(update: 2016.01.25)
20190408 SmartX Framework V3.1.1(update: 2019.03.21) V2.0.0 - SmartX Framework V3.1.1(update: 2019.03.21)
20241121 SmartX Framework V3.2.4(update: 2021.01.20) V6.0.0 - SmartX Framework V3.2.4(update: 2021.01.20)
Program by LeeSeonJae Program by LeeSeonJae
@ -15,9 +15,38 @@
멀티형 2~6열 스틱 계량기 멀티형 2~6열 스틱 계량기
*/ */
@ Ver 6.6.1 by LSJ
- 2026.01.16
- Ver 6.6.0 Modify
- Framework : SmartX Framework V3.2.4(update: 2021.01.20)
- 스틱2 모드 데이터 저장 버그 수정 (15인치 프로그램은 수정되어 있음)
판정 시 중량과 데이터 백업 시(엑셀) 중량 저장되는 값이 다르게 저장됨
timeout 시간에 따른 지연으로 정지 중량 데이터 수신되면서, 중량 값이 다른값으로 변경되는 문제있음
운전 중, 정지중량 데이터 수신시 중량값은 갱신 안되도록 수정
timeout 시간 : 판정지연 -100
- 스틱2모드에서 데이터 백업 저장시
[장비설정] - [통합전송] 기능 ON 으로 자동 저장 되도록 수정 (스틱2모드에서 데이터 저장하려면 무조건 ON 되어야함)
통합전송 초기값 ON 으로 수정
@ Ver 6.6.0 by CJY
- 2025.09.29
- Ver 6.5.0 Modify
- 입력센서 연속입력 시 정지 기능 추가
@ Ver 6.5.0 by LSJ
- 2025.09.23
- Ver 6.4.0 Modify
- Framework : SmartX Framework V3.2.4(update: 2021.01.20)
- MainBoard Ver 10.3.1
- 일본 산코 전시회 요청
1. 메인화면 서브메뉴 - CUT 히든 메뉴 추가
기본 CUT 신호, timer로 CUT 신호 기능
2. 소수점 3자리 추가
@ Ver 6.4.0 by CJY @ Ver 6.4.0 by CJY
- 2025.08.27 - 2025.08.27
- Ver 6.3.1 Modify - Ver 6.3.1 Modify
- Framework : SmartX Framework V3.2.4(update: 2021.01.20)
- 일본어 추가 - 일본어 추가
@ Ver 6.3.1 by LSJ @ Ver 6.3.1 by LSJ

Binary file not shown.

Binary file not shown.