- UserManager V1.1.0 업데이트

- Part11 관련 버그 수정 및 코드 정리
 - PayService 추가
 - 통신 STD3 추가
master V9.1.0
CJY 2026-01-07 17:55:02 +09:00
parent fc61f115bc
commit 67e888f89e
48 changed files with 6308 additions and 6374 deletions

Binary file not shown.

Binary file not shown.

View File

@ -109,7 +109,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -133,7 +133,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -160,7 +160,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -284,7 +284,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -309,7 +309,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -112,7 +112,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -136,7 +136,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -163,7 +163,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -295,7 +295,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -320,7 +320,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -109,7 +109,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -133,7 +133,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -160,7 +160,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -304,7 +304,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -329,7 +329,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -109,7 +109,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -133,7 +133,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -160,7 +160,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -308,7 +308,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -333,7 +333,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -112,7 +112,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -136,7 +136,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -163,7 +163,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -255,7 +255,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -280,7 +280,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -112,7 +112,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -136,7 +136,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -163,7 +163,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -259,7 +259,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -284,7 +284,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -112,7 +112,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -136,7 +136,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -163,7 +163,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -263,7 +263,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -288,7 +288,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -112,7 +112,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -136,7 +136,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -163,7 +163,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -267,7 +267,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -292,7 +292,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -112,7 +112,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -136,7 +136,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -163,7 +163,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -271,7 +271,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -296,7 +296,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -111,7 +111,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -135,7 +135,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -162,7 +162,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -274,7 +274,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -299,7 +299,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -112,7 +112,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("{0} Lane Balance", i + 1);
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Calibration, detail);
@ -136,7 +136,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
this.CollCalStatus[i].Initialize();
detail = string.Format("{0} Lane Start", i + 1);
@ -163,7 +163,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollectionButtonLane[i].Tag.ToString());
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[i].IsCancel == false)
{
@ -279,7 +279,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsFinish == false)
{
@ -304,7 +304,7 @@ namespace INT63DC_2C.Controls
bt.Enabled = true;
// Part11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
{
if (this.CollCalStatus[index].IsError == false)
{

View File

@ -388,7 +388,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ForcedZeroDelayTime, number, before, after);
}
}
@ -424,7 +424,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection1, number, before, after);
}
}
@ -459,7 +459,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection2, number, before, after);
}
}
@ -494,7 +494,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection3, number, before, after);
}
}
@ -529,7 +529,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection4, number, before, after);
}
}
@ -564,7 +564,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection5, number, before, after);
}
}
@ -599,7 +599,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection6, number, before, after);
}
}
@ -634,7 +634,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection7, number, before, after);
}
}
@ -669,7 +669,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection8, number, before, after);
}
}
@ -704,7 +704,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection9, number, before, after);
}
}
@ -739,7 +739,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection10, number, before, after);
}
}
@ -774,7 +774,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection11, number, before, after);
}
}
@ -809,7 +809,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection12, number, before, after);
}
}
@ -844,7 +844,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection13, number, before, after);
}
}
@ -879,7 +879,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection14, number, before, after);
}
}
@ -914,7 +914,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection15, number, before, after);
}
}
@ -949,7 +949,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DynamicCorrection16, number, before, after);
}
}
@ -983,7 +983,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.EntryGateDelayTime, number, before, after);
}
}
@ -1016,7 +1016,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.EntryGateRunTime, number, before, after);
}
}
@ -1049,7 +1049,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DischargeStopperDelayTime, number, before, after);
}
}
@ -1082,7 +1082,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DischargeStopperRunTime, number, before, after);
}
}
@ -1115,7 +1115,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter4DelayTime, number, before, after);
}
}
@ -1148,7 +1148,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter4RunTime, number, before, after);
}
}
@ -1181,7 +1181,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig.ProductNumber - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Stopper2DelayTime, number, before, after);
}
}
@ -1214,7 +1214,7 @@ namespace INT63DC_2C.Controls
this.ParentForm.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.SelectedJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig.ProductNumber - 1);
// Part 11
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Stopper2RunTime, number, before, after);
}
}

View File

@ -154,6 +154,8 @@ namespace INT63DC_2C.Controls
this.labelCH3Mode.Text = "STD1";
else if (item.Serial3Mode == 2)
this.labelCH3Mode.Text = "STD2";
else if (item.Serial3Mode == 3)
this.labelCH3Mode.Text = "STD3";
else
this.labelCH3Mode.Text = "None";
}

View File

@ -884,10 +884,11 @@ namespace INT63DC_2C
private bool m_IsWeightLimitEnable;
private bool m_IsLeakSamplingRun;
private bool m_IsLeakSamplingOnce;
private bool m_IsOptPart11;
private bool m_IsPart11;
private bool m_IsSorterCheckEnable;
private bool m_IsModbus;
private int m_NumberOfLoginFailures;
private int m_DecimalPlaces;
private int m_EquipmentColumns;
private int m_ProductNumber;
@ -1011,10 +1012,10 @@ namespace INT63DC_2C
get { return this.m_IsLeakSamplingOnce; }
set { this.m_IsLeakSamplingOnce = value; }
}
public bool IsOptPart11
public bool IsPart11
{
get { return this.m_IsOptPart11; }
set { this.m_IsOptPart11 = value; }
get { return this.m_IsPart11; }
set { this.m_IsPart11 = value; }
}
public bool IsSorterCheckEnable
{
@ -1027,6 +1028,11 @@ namespace INT63DC_2C
set { this.m_IsModbus = value; }
}
public int NumberOfLoginFailures
{
get { return this.m_NumberOfLoginFailures; }
set { this.m_NumberOfLoginFailures = value; }
}
public int DecimalPlaces
{
get { return this.m_DecimalPlaces; }
@ -1259,10 +1265,11 @@ namespace INT63DC_2C
this.IsWeightLimitEnable = true;
this.IsLeakSamplingRun = false;
this.IsLeakSamplingOnce = true;
this.IsOptPart11 = false;
this.IsPart11 = false;
this.IsSorterCheckEnable = false;
this.IsModbus = false;
this.NumberOfLoginFailures = 5;
this.DecimalPlaces = 1;
this.EquipmentColumns = 10;
this.ProductNumber = 1;
@ -1388,12 +1395,12 @@ namespace INT63DC_2C
public bool DummyBool5;
public bool DummyBool6;
public bool DummyBool7;
public bool IsOptPart11;
public bool IsPart11;
public bool IsLeakSamplingOnce;
public bool IsSamplingOnce;
public int DummyInt1;
public int DummyInt2;
public int NumberOfLoginFailures;
public int AutomaticLogout;
public int StoragePeriod;
public int LeakSamplingTime;

View File

@ -111,7 +111,7 @@ namespace INT63DC_2C.DialogForms
this.ListFiles = new List<string>();
this.ListInspectionFile = new List<DataBackupYear>();
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == false)
this.DisplayTreeViewUpdate1();
else
this.DisplayTreeViewUpdate2();
@ -370,7 +370,7 @@ namespace INT63DC_2C.DialogForms
string fileName = "", pathFileName = "";
string[] name;
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == false)
{
//fileName = e.Node.Text;
fileName = e.Node.Text.Substring(0, e.Node.Text.Length - 4);

View File

@ -267,7 +267,7 @@ namespace INT63DC_2C.DialogForms
if (this.textBoxID.Text == "")
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Fail : ID blank");
// ID : 6~20자 입력 하세요
@ -278,7 +278,7 @@ namespace INT63DC_2C.DialogForms
}
if (this.textBoxPassword.Text == "")
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Fail : PW blank");
// PASSWORD : 6~20자 입력 하세요
@ -345,7 +345,7 @@ namespace INT63DC_2C.DialogForms
this.ParentForm.SystemConfig.CurrentUser.IsFirstPassword = userInfo.fFirstPW;
#endregion
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Success");
this.DialogResult = DialogResult.OK;
@ -353,7 +353,7 @@ namespace INT63DC_2C.DialogForms
}
else if (userInfo.fFirstPW == 1)
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "First login");
// 최초 로그인 시 비밀번호 변경
@ -361,6 +361,39 @@ namespace INT63DC_2C.DialogForms
this.DialogResult = DialogResult.Abort;
this.Close();
}
else if (userInfo.status == 14) // password error
{
if (this.textBoxID.Text == "admin00")
{
// 비밀번호를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
return;
}
if (userInfo.login_fail_count < this.ParentForm.SystemConfig.NumberOfLoginFailures)
{
// 비밀번호 n회 오류입니다
// n회 오류 시, 계정이 잠금처리됩니다.
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, userInfo.login_fail_count,
this.ParentForm.SystemConfig.NumberOfLoginFailures, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, string.Format("Fail : PW error {0}", userInfo.login_fail_count), this.textBoxID.Text);
}
else
{
// 계정이 잠금처리 되었습니다.
// 관리자에게 문의하세요.
DialogFormMessage myMsg = new DialogFormMessage(null, 19, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
UserManager.UserManager_UserLoginFailLockSet(this.textBoxID.Text);
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Account lock", this.textBoxID.Text);
}
}
else
{
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, this.ParentForm.SystemConfig.Language);
@ -369,7 +402,7 @@ namespace INT63DC_2C.DialogForms
// 비밀번호 만료 시
if (userInfo.status == 15)
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Password expiration");
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
@ -378,12 +411,12 @@ namespace INT63DC_2C.DialogForms
}
else
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Fail : " + this.ReturnUserStatus(userInfo.status));
}
}
if (this.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.SystemConfig.IsPart11 == false)
UserManager.UserManager_AutoLogoutTimeoutPause();
}
private void ChangePassword()
@ -394,7 +427,7 @@ namespace INT63DC_2C.DialogForms
if (this.textBoxID.Text == "")
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Fail : TextBox1 blank");
// New Password : 6~20자 입력 하세요
@ -405,7 +438,7 @@ namespace INT63DC_2C.DialogForms
}
if (this.textBoxPassword.Text == "")
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Fail : TextBox2 blank");
// New Password Confirmation : 6~20자 입력 하세요
@ -416,7 +449,7 @@ namespace INT63DC_2C.DialogForms
}
if (this.textBoxID.Text.Equals(this.textBoxPassword.Text) == false)
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Fail : Diffrent char");
// 비밀번호를 확인하세요
@ -486,7 +519,7 @@ namespace INT63DC_2C.DialogForms
this.ParentForm.SystemConfig.CurrentUser.IsFirstPassword = userInfo.fFirstPW;
#endregion
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Success");
this.DialogResult = DialogResult.OK;
@ -494,7 +527,7 @@ namespace INT63DC_2C.DialogForms
}
else
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Fail : " + this.ReturnUserStatus(ret));
DialogFormMessage myMsg = new DialogFormMessage(null, ret, this.ParentForm.SystemConfig.Language);
@ -503,7 +536,7 @@ namespace INT63DC_2C.DialogForms
}
else
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Login, "Failure change password");
// 비밀번호 변경 실패 시 메시지??
@ -512,7 +545,7 @@ namespace INT63DC_2C.DialogForms
myMsg.ShowDialog();
}
if (this.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.SystemConfig.IsPart11 == false)
UserManager.UserManager_AutoLogoutTimeoutPause();
}
#endregion
@ -521,7 +554,7 @@ namespace INT63DC_2C.DialogForms
private void buttonLogOn_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
if (this.IsChangePassword == false)
@ -550,8 +583,8 @@ namespace INT63DC_2C.DialogForms
private void smartKeyboard_OnXKeyClick(object sender, EventArgs e)
{
this.smartKeyboard.Show();
}
this.smartKeyboard.Show();
}
#endregion
private void smartButton1_Click(object sender, EventArgs e)

View File

@ -1314,6 +1314,90 @@ namespace INT63DC_2C.DialogForms
break;
}
}
public DialogFormMessage(object dll, int code, int num1, int num2, DataStore.E_LanguageID language)
{
InitializeComponent();
this.labelErrorCode.Text = "";
this.labelMessage1.Text = "";
this.labelMessage2.Text = "";
switch (language)
{
case DataStore.E_LanguageID.Korean:
#region 한글
switch (code)
{
case 14:
this.labelErrorCode.Text = "Error 04_14";
this.labelMessage1.Text = string.Format("비밀번호 {0}회 오류입니다", num1);
this.labelMessage2.Text = string.Format("{0}회 오류 시, 계정이 잠금처리됩니다.", num2);
break;
default:
this.labelErrorCode.Text = "Error 04_99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
#endregion
break;
case DataStore.E_LanguageID.English:
#region 영문
switch (code)
{
case 14:
this.labelErrorCode.Text = "Error 04_14";
this.labelMessage1.Text = string.Format("Password error {0} times.", num1);
this.labelMessage2.Text = string.Format("If there are {0} errors, your account will be locked.", num2);
break;
default:
this.labelErrorCode.Text = "Error 04_99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}
#endregion
break;
case DataStore.E_LanguageID.Chinese:
#region 중문
this.buttonOK.Text = "确认";
switch (code)
{
case 14:
this.labelErrorCode.Text = "错误 04_14";
this.labelMessage1.Text = string.Format("密码错误{0}次。", num1);
this.labelMessage2.Text = string.Format("如果出现 {0} 个错误,您的帐户将被锁定。", num2);
break;
default:
this.labelErrorCode.Text = "错误 04_99";
this.labelMessage1.Text = "请联系制造商";
break;
}
#endregion
break;
case DataStore.E_LanguageID.Czech:
break;
case DataStore.E_LanguageID.German:
#region 독일어
this.buttonOK.Text = "Bestätigen";
switch (code)
{
case 14:
this.labelErrorCode.Text = "Fehler 04_14";
this.labelMessage1.Text = string.Format("Passwortfehler {0} Mal.", num1);
this.labelMessage2.Text = string.Format("Bei {0} Fehlern wird Ihr Konto gesperrt.", num2);
break;
default:
this.labelErrorCode.Text = "Fehler 04_99";
this.labelMessage1.Text = "Bitte wenden Sie sich an einen Hersteller";
break;
}
#endregion
break;
default:
break;
}
}
public DialogFormMessage(object dll, int code, DataStore.E_LanguageID language)
{
InitializeComponent();

View File

@ -666,7 +666,7 @@ namespace INT63DC_2C.Forms
after = int.Parse(value).ToString();
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.CalDigit, "", before, after);
}
private void labelBalanceWeight_Click(object sender, EventArgs e)
@ -694,7 +694,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress._3002_BalanceWeight, value);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.CalBalWeight, "", before, after);
}
}
@ -724,7 +724,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress._3001_MaxWeight, value);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.CalMaxWeight, "", before, after);
}
}

View File

@ -152,9 +152,10 @@ namespace INT63DC_2C.Forms
this.comboBoxSerial3Mode.Items.Clear();
this.comboBoxSerial3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerial3_SelectedIndexChanged);
this.comboBoxSerial3Mode.Items.Add("-");
this.comboBoxSerial3Mode.Items.Add("None");
this.comboBoxSerial3Mode.Items.Add("STD1");
this.comboBoxSerial3Mode.Items.Add("STD2");
this.comboBoxSerial3Mode.Items.Add("STD3");
this.comboBoxSerial3Mode.SelectedIndex = 0;
this.comboBoxSerial3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSerial3_SelectedIndexChanged);
#endregion
@ -173,6 +174,7 @@ namespace INT63DC_2C.Forms
this.comboBoxTcpMode.Items.Add("None");
this.comboBoxTcpMode.Items.Add("STD1");
this.comboBoxTcpMode.Items.Add("STD2");
this.comboBoxTcpMode.Items.Add("STD3");
this.comboBoxTcpMode.SelectedIndex = 0;
this.comboBoxTcpMode.SelectedIndexChanged += new EventHandler(this.comboBoxTcpMode_SelectedIndexChanged);
#endregion
@ -289,8 +291,10 @@ namespace INT63DC_2C.Forms
if (this.ParentForm.SystemConfig.EthernetMode == 1)
data = this.ParentForm.Protocol_STD1(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData);
else
else if (this.ParentForm.SystemConfig.EthernetMode == 2)
data = this.ParentForm.Protocol_STD2(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData, this.ParentForm.CurrentProductItem);
else if (this.ParentForm.SystemConfig.EthernetMode == 3)
data = this.ParentForm.Protocol_STD3(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData, this.ParentForm.CurrentProductItem);
switch (this.ParentForm.SystemConfig.EthernetOperationMode)
{
@ -314,41 +318,41 @@ namespace INT63DC_2C.Forms
{
if (this.comboBoxSerial3Mode.SelectedIndex == 1)
{
#region OPT1
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],";
this.labelProtocolDescriptionCOM3_2.Text = "{GRD[1],WEIGHT[6]} * n,CHK8[2],ETX[1]";
#endregion
}
else if (this.comboBoxSerial3Mode.SelectedIndex == 2)
{
#region OPT2
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],";
this.labelProtocolDescriptionCOM3_2.Text = "TARE[6],{GRD[1],WEIGHT[6]} * n,CHK8[2],ETX[1]";
#endregion
}
else if (this.comboBoxSerial3Mode.SelectedIndex == 3)
{
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6]";
this.labelProtocolDescriptionCOM3_2.Text = "PASS CNT[7],NG CNT[7],{GRD[1],WEIGHT[6]} * n,ETX[1]";
}
else
{
#region None
this.labelProtocolDescriptionCOM3_1.Text = "";
this.labelProtocolDescriptionCOM3_2.Text = "";
#endregion
}
}
private void UpdateProtocolDescriptionTcpDisplay()
{
if (this.comboBoxTcpMode.SelectedIndex == 1)
{
#region OPT1
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],";
this.labelProtocolDescriptionEthernet_2.Text = "{GRD[1],WEIGHT[6]} * n,CHK8[2],ETX[1]";
#endregion
}
else if (this.comboBoxTcpMode.SelectedIndex == 2)
{
#region OPT2
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],";
this.labelProtocolDescriptionEthernet_2.Text = "TARE[6],{GRD[1],WEIGHT[6]} * n,CHK8[2],ETX[1]";
#endregion
}
else if (this.comboBoxSerial3Mode.SelectedIndex == 3)
{
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6]";
this.labelProtocolDescriptionCOM3_2.Text = "PASS CNT[7],NG CNT[7],{GRD[1],WEIGHT[6]} * n,ETX[1]";
}
else
{
@ -564,6 +568,8 @@ namespace INT63DC_2C.Forms
this.ParentForm.SerialCH3STD1(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.Serial3Mode == 2)
this.ParentForm.SerialCH3STD2(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.Serial3Mode == 3)
this.ParentForm.SerialCH3STD3(this.ParentForm.CollectionWeightData);
}
private void buttonSave3_Click(object sender, EventArgs e)
{
@ -586,8 +592,12 @@ namespace INT63DC_2C.Forms
beforeMode = "None";
else if (this.ParentForm.SystemConfig.Serial3Mode == 1)
beforeMode = "STD1";
else
else if (this.ParentForm.SystemConfig.Serial3Mode == 2)
beforeMode = "STD2";
else if (this.ParentForm.SystemConfig.Serial3Mode == 3)
beforeMode = "STD3";
else
beforeMode = "None";
int baudrate = 9600;
this.ParentForm.SystemConfig.Serial3BaudRate = this.comboBoxSerial3BaudRate.SelectedIndex;
@ -628,8 +638,12 @@ namespace INT63DC_2C.Forms
afterMode = "None";
else if (this.ParentForm.SystemConfig.Serial3Mode == 1)
afterMode = "STD1";
else
else if (this.ParentForm.SystemConfig.Serial3Mode == 2)
afterMode = "STD2";
else if (this.ParentForm.SystemConfig.Serial3Mode == 3)
afterMode = "STD3";
else
afterMode = "None";
if (this.ParentForm.SystemConfig.Serial3Mode != 0)
{
@ -642,7 +656,7 @@ namespace INT63DC_2C.Forms
this.buttonSave3.Enabled = false;
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Com3Baudrate, "", beforeBr, afterBr);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Com3Mode, "", beforeMode, afterMode);
@ -759,7 +773,7 @@ namespace INT63DC_2C.Forms
after = this.comboBoxTcpOperationMode.SelectedItem.ToString();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.TCPOpMode, "", before, after);
}
private void comboBoxTcpMode_SelectedIndexChanged(object sender, EventArgs e)
@ -770,6 +784,8 @@ namespace INT63DC_2C.Forms
before = "STD1";
else if (this.ParentForm.SystemConfig.EthernetMode == 2)
before = "STD2";
else if (this.ParentForm.SystemConfig.EthernetMode == 3)
before = "STD3";
else
before = "None";
@ -786,7 +802,7 @@ namespace INT63DC_2C.Forms
after = this.comboBoxTcpMode.SelectedItem.ToString();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.TCPComMode, "", before, after);
}
@ -815,7 +831,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile3(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Mod_StartAddr, "", before, after);
}
}
@ -1112,7 +1128,7 @@ namespace INT63DC_2C.Forms
afterGate = this.ParentForm.smartConfigs.IPSettings.GateWay;
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.TCPLocalIPAddress, "", beforeIP, afterIP);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.TCPLocalSubnetMask, "", beforeSub, afterSub);
@ -1139,7 +1155,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile3(this.ParentForm.SystemConfig);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.TCPLocalPort, "", before, after);
}
}
@ -1257,7 +1273,7 @@ namespace INT63DC_2C.Forms
afterPort = this.ParentForm.SystemConfig.EthernetServerPort.ToString();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.TCPServerIPAddress, "", beforeIP, afterIP);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.TCPServerPort, "", beforePort, afterPort);

File diff suppressed because it is too large Load Diff

View File

@ -210,11 +210,11 @@ namespace INT63DC_2C.Forms
else if (this.ParentForm.SystemConfig.EquipmentColumns == 12)
locationX = 16;
else if (this.ParentForm.SystemConfig.EquipmentColumns == 10)
locationX = 40;
locationX = 30;
else if (this.ParentForm.SystemConfig.EquipmentColumns == 8)
locationX = 50;
locationX = 40;
else
locationX = 60;
locationX = 50;
for (int i = 1; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
{
@ -1556,7 +1556,7 @@ namespace INT63DC_2C.Forms
this.buttonBackup.Enabled = false;
if (this.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.SystemConfig.IsPart11 == false)
this.Backup1();
else
this.Backup2();

View File

@ -402,7 +402,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SystemConfig.WeightLimitIgnoreCount = int.Parse(this.labelWeightLimitIgnoreCount.Text.ToString());
// 로그인
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SystemConfig.IsLogin = true;
else
{

View File

@ -195,12 +195,12 @@ namespace INT63DC_2C.Forms
structItem2.DummyBool5 = false;
structItem2.DummyBool6 = false;
structItem2.DummyBool7 = false;
structItem2.IsOptPart11 = false;
structItem2.IsPart11 = false;
structItem2.IsLeakSamplingOnce = false;
structItem2.IsSamplingOnce = this.ParentForm.SystemConfig.IsSamplingOnce;
structItem2.DummyInt1 = 0;
structItem2.DummyInt2 = 0;
structItem2.NumberOfLoginFailures = 0;
structItem2.AutomaticLogout = 0;
structItem2.StoragePeriod = 0;
structItem2.LeakSamplingTime = 0;

View File

@ -154,7 +154,7 @@ namespace INT63DC_2C.Forms
}
private void DefaultSetting()
{
this.labelDisplayVer.Text = "9.0.0";
this.labelDisplayVer.Text = "9.1.0";
this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber;
this.textBoxSerialNo.Location = new Point(395, 225);
this.textBoxSerialNo.Visible = false;

View File

@ -259,7 +259,7 @@ namespace INT63DC_2C.Forms
this.ChildFormUserEditor = new FormUserEditor(this);
this.ChildFormUserGroupEditor = new FormUserGroupEditor(this);
this.ChildFormDataViewer = new FormDataViewer(this);
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.ChildFormDataBackup_Part11 = new FormDataBackup_Part11(this);
else
this.ChildFormDataBackup = new FormDataBackup(this);
@ -285,7 +285,7 @@ namespace INT63DC_2C.Forms
this.smartForm.AddChildForm(this.ChildFormUserEditor);
this.smartForm.AddChildForm(this.ChildFormUserGroupEditor);
this.smartForm.AddChildForm(this.ChildFormDataViewer);
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.smartForm.AddChildForm(this.ChildFormDataBackup_Part11);
else
this.smartForm.AddChildForm(this.ChildFormDataBackup);
@ -1109,7 +1109,7 @@ namespace INT63DC_2C.Forms
this.ChildFormSystemSetting.UpdateEquipmentStatusDisplay(this.EquipmentStatus);
// Part 11
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.SetTrackingHistoryData(DataStore.E_TrackingOperation.EquipmentStart, "");
// 비상정지시 장비 정지상태로 변환
@ -1140,7 +1140,7 @@ namespace INT63DC_2C.Forms
}
// Part 11
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.SetTrackingHistoryData(DataStore.E_TrackingOperation.EquipmentStop, "");
// Respone
@ -1799,6 +1799,7 @@ namespace INT63DC_2C.Forms
{
int ret = 0;
string data;
string etherStringData = "";
StringBuilder weightLimit = new StringBuilder();
StringBuilder sb = new StringBuilder();
@ -1939,6 +1940,27 @@ namespace INT63DC_2C.Forms
if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormMainDisplay)
{
#region 이더넷
if (this.SystemConfig.IsEthernetEnable == true)
{
if (this.SystemConfig.EthernetMode == 1)
{
etherStringData = this.Protocol_STD1(this.SystemConfig, this.CollectionWeightData);
this.SendEthernetData(etherStringData);
}
else if (this.SystemConfig.EthernetMode == 2)
{
etherStringData = this.Protocol_STD2(this.SystemConfig, this.CollectionWeightData, this.CurrentProductItem);
this.SendEthernetData(etherStringData);
}
else if (this.SystemConfig.EthernetMode == 3)
{
etherStringData = this.Protocol_STD3(this.SystemConfig, this.CollectionWeightData, this.CurrentProductItem);
this.SendEthernetData(etherStringData);
}
}
#endregion
#region Serial 3
if (this.SystemConfig.Serial3Mode == 1) // OPT1 - 중량 데이터 피드백
{
@ -1966,6 +1988,8 @@ namespace INT63DC_2C.Forms
}
else if (this.SystemConfig.Serial3Mode == 2)
this.SerialCH3STD2(this.CollectionWeightData);
else if (this.SystemConfig.Serial3Mode == 3)
this.SerialCH3STD3(this.CollectionWeightData);
#endregion
#region FormMainDisplay
@ -2672,12 +2696,12 @@ namespace INT63DC_2C.Forms
structItem.DummyBool5 = false;
structItem.DummyBool6 = false;
structItem.DummyBool7 = false;
structItem.IsOptPart11 = this.SystemConfig.IsOptPart11;
structItem.IsPart11 = this.SystemConfig.IsPart11;
structItem.IsLeakSamplingOnce = this.SystemConfig.IsLeakSamplingOnce;
structItem.IsSamplingOnce = this.SystemConfig.IsSamplingOnce;
structItem.DummyInt1 = 0;
structItem.DummyInt2 = 0;
structItem.NumberOfLoginFailures = 0;
structItem.AutomaticLogout = this.SystemConfig.AutomaticLogout;
structItem.StoragePeriod = this.SystemConfig.StoragePeriod;
structItem.LeakSamplingTime = this.SystemConfig.LeakSamplingTime;
@ -2758,12 +2782,12 @@ namespace INT63DC_2C.Forms
structItem.DummyBool5 = false;
structItem.DummyBool6 = false;
structItem.DummyBool7 = false;
structItem.IsOptPart11 = item.IsOptPart11;
structItem.IsPart11 = item.IsPart11;
structItem.IsLeakSamplingOnce = item.IsLeakSamplingOnce;
structItem.IsSamplingOnce = item.IsSamplingOnce;
structItem.DummyInt1 = 0;
structItem.DummyInt2 = 0;
structItem.NumberOfLoginFailures = 0;
structItem.AutomaticLogout = item.AutomaticLogout;
structItem.StoragePeriod = item.StoragePeriod;
structItem.LeakSamplingTime = item.LeakSamplingTime;
@ -2865,7 +2889,7 @@ namespace INT63DC_2C.Forms
else
this.SystemConfig.LeakSamplingTime = structItem.LeakSamplingTime;
// IsOptPart11
this.SystemConfig.IsOptPart11 = structItem.IsOptPart11;
this.SystemConfig.IsPart11 = structItem.IsPart11;
// AutomaticLogout
if (structItem.AutomaticLogout == 0)
{
@ -5471,6 +5495,62 @@ namespace INT63DC_2C.Forms
return sb.ToString();
}
private string Protocol_STD3_NotStxEtx(SystemConfigurationItem system, Collection<WeightData> datas, ProductItem pItem)
{
string value = "";
int toTalPass = 0, toTalNG = 0;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
{
toTalPass += datas[i].PassCount;
toTalNG += datas[i].TotalNGCount;
}
sb.Append(string.Format("IN{0:D3}", this.SystemConfig.UsbID));
sb.Append(string.Format("{0:D4}", this.SystemConfig.ProductNumber));
sb.Append(this.PadLeft(6, Helper.StringToDecimalPlaces(this.CurrentProductItem.UnderRange, this.SystemConfig.DecimalPlaces)));
sb.Append(this.PadLeft(6, Helper.StringToDecimalPlaces(this.CurrentProductItem.PassRange, this.SystemConfig.DecimalPlaces)));
sb.Append(this.PadLeft(6, Helper.StringToDecimalPlaces(this.CurrentProductItem.OverRange, this.SystemConfig.DecimalPlaces)));
sb.Append(this.PadLeft(6, Helper.StringToDecimalPlaces(this.CurrentProductItem.TareRange, this.SystemConfig.DecimalPlaces)));
sb.Append(this.PadLeft(7, toTalPass.ToString()));
sb.Append(this.PadLeft(7, toTalNG.ToString()));
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
{
if (datas[i].JudgmentStatus == DataStore.JudgmentStatus.Under)
sb.Append("U");
else if (datas[i].JudgmentStatus == DataStore.JudgmentStatus.Over)
sb.Append("O");
else if (datas[i].JudgmentStatus == DataStore.JudgmentStatus.Double)
sb.Append("D");
else if (datas[i].JudgmentStatus == DataStore.JudgmentStatus.Pass)
sb.Append("P");
else if (datas[i].JudgmentStatus == DataStore.JudgmentStatus.Empty)
sb.Append("T");
else
sb.Append("E");
if (this.SystemConfig.EquipmentColumns == 16)
sb.Append(" ");
value = Helper.DoubleToString(datas[i].Weight, this.SystemConfig.DecimalPlaces);
sb.Append(value.PadLeft(6, ' '));
}
return sb.ToString();
}
public string Protocol_STD3(SystemConfigurationItem system, Collection<WeightData> datas, ProductItem pItem)
{
StringBuilder sb = new StringBuilder();
sb.Append((char)0x02);
sb.Append(this.Protocol_STD3_NotStxEtx(system, datas, pItem));
sb.Append((char)0x03);
return sb.ToString();
}
public byte[] Protocol_Modbus_Client_Write_Common_Data_TCP()
{
int index = 0;
@ -8165,6 +8245,17 @@ namespace INT63DC_2C.Forms
if (this.IsCom3LogOpen == true)
this.smartFileCom3Log.WriteString(string.Format("Send ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, value));
}
public void SerialCH3STD3(Collection<WeightData> datas)
{
string value = "";
value = this.Protocol_STD3_NotStxEtx(this.SystemConfig, datas, this.CurrentProductItem);
SerialMgrComm.serialPortMessage("COM3:", value);
if (this.IsCom3LogOpen == true)
this.smartFileCom3Log.WriteString(string.Format("Send ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, value));
}
#endregion
#region Ethernet
private void SendEthernetData(string etherData)
@ -8649,7 +8740,7 @@ namespace INT63DC_2C.Forms
this.Current40000ModbusData._40012_ClearResult = 1;
// Part 11 Log
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.SetTrackingHistoryData(DataStore.E_TrackingOperation.MB_Clear, "");
}
catch
@ -8682,7 +8773,7 @@ namespace INT63DC_2C.Forms
this.TransferData(CommunicationCommand.Start, CommunicationID.MainBoard);
// Part 11 Log
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.SetTrackingHistoryData(DataStore.E_TrackingOperation.MB_EquipmentStart, "");
}
else
@ -8690,7 +8781,7 @@ namespace INT63DC_2C.Forms
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// Part 11 Log
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.SetTrackingHistoryData(DataStore.E_TrackingOperation.MB_EquipmentStop, "");
}
@ -8732,7 +8823,7 @@ namespace INT63DC_2C.Forms
this.ChildFormMainDisplay.ProductChange(this.Current40000ModbusData._40015_ProductChange);
// Part 11 Log
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
{
string before = "", after = "";
before = this.SystemConfig.ProductNumber.ToString();
@ -9117,7 +9208,7 @@ namespace INT63DC_2C.Forms
{
DateTime time = DateTime.Now;
if (this.SystemConfig.IsOptPart11 == false)
if (this.SystemConfig.IsPart11 == false)
{
folder = this.PathDataBackupFolder;
fileName = string.Format("{0:yyyyMMdd}-{1}.csv", time, this.SystemConfig.ProductNumber);
@ -9218,7 +9309,7 @@ namespace INT63DC_2C.Forms
try
{
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
this.DeleteLogFile(this.PathDataInspectionFolder, DataStore.E_DataType.Inspection);
else
{
@ -9265,6 +9356,23 @@ namespace INT63DC_2C.Forms
this.TrackingHistoryData(data);
}
public void SetTrackingHistoryData(DataStore.E_TrackingOperation eventType, string detail, string loginID)
{
if (this.SystemConfig.IsPart11 == false)
return;
HistoryData data = new HistoryData();
data.Type = "Operation";
data.Time = DateTime.Now;
data.LoginID = loginID;
data.Event = eventType.ToString();
data.Detail = detail;
data.BeforeData = "";
data.AfterData = "";
this.TrackingHistoryData(data);
}
public void SetTrackingHistoryData(DataStore.TrackingAlarm type, string detail)
{
HistoryData data = new HistoryData();
@ -9304,7 +9412,7 @@ namespace INT63DC_2C.Forms
StreamWriter sw;
DateTime time = DateTime.Now;
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
{
folderPath = string.Format("{0}{1}\\{2}\\", this.PathDataHistoryFolder, time.Year, time.Month);
fileName = string.Format("H{0:yyyyMMdd}.csv", time);
@ -9435,7 +9543,7 @@ namespace INT63DC_2C.Forms
this.InitializeUserManager();
this.SystemConfig.CurrentUser.Group = DataStore.UserGroup.LogOut;
if (this.SystemConfig.IsOptPart11 == false)
if (this.SystemConfig.IsPart11 == false)
UserManager.UserManager_AutoLogoutTimeoutPause();
// UserManager_GetUserListName
@ -9444,7 +9552,7 @@ namespace INT63DC_2C.Forms
else
this.SystemConfig.CurrentUser.Group = DataStore.UserGroup.NotLogin;
// Encryption 초기화
if (this.SystemConfig.IsOptPart11 == true)
if (this.SystemConfig.IsPart11 == true)
{
this.InitializeAES();
this.SetTrackingHistoryData(DataStore.E_TrackingOperation.PowerOn, "");
@ -9566,7 +9674,7 @@ namespace INT63DC_2C.Forms
private void CurrentAlarmList_Change(DataStore.TrackingAlarm alarm, string status)
{
if (this.SystemConfig.IsOptPart11 == false)
if (this.SystemConfig.IsPart11 == false)
return;
this.SetTrackingHistoryData(alarm, status);

View File

@ -740,7 +740,7 @@
this.groupBoxJudgmentSetting.Controls.Add(this.labelFilter);
this.groupBoxJudgmentSetting.Controls.Add(this.labelStaticJudgmentDelayTime);
this.groupBoxJudgmentSetting.Controls.Add(this.labelJudgmentCount);
this.groupBoxJudgmentSetting.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxJudgmentSetting.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxJudgmentSetting.ForeColor = System.Drawing.Color.White;
this.groupBoxJudgmentSetting.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxJudgmentSetting.FrameLineColor2 = System.Drawing.Color.Black;
@ -785,7 +785,7 @@
this.labelStaticTurnDelayTime.BackPictureBox2 = null;
this.labelStaticTurnDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticTurnDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticTurnDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTurnDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTurnDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticTurnDelayTime.InitVisible = true;
this.labelStaticTurnDelayTime.LineSpacing = 0F;
@ -827,7 +827,7 @@
this.labelStaticForcedZeroDelayTime.BackPictureBox2 = null;
this.labelStaticForcedZeroDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticForcedZeroDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticForcedZeroDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticForcedZeroDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticForcedZeroDelayTime.ForeColor = System.Drawing.Color.WhiteSmoke;
this.labelStaticForcedZeroDelayTime.InitVisible = true;
this.labelStaticForcedZeroDelayTime.LineSpacing = 0F;
@ -848,7 +848,7 @@
this.labelStaticFilter.BackPictureBox2 = null;
this.labelStaticFilter.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticFilter.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFilter.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticFilter.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticFilter.ForeColor = System.Drawing.Color.White;
this.labelStaticFilter.InitVisible = true;
this.labelStaticFilter.LineSpacing = 0F;
@ -869,7 +869,7 @@
this.labelStaticJudgmentCount.BackPictureBox2 = null;
this.labelStaticJudgmentCount.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticJudgmentCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticJudgmentCount.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentCount.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentCount.ForeColor = System.Drawing.Color.White;
this.labelStaticJudgmentCount.InitVisible = true;
this.labelStaticJudgmentCount.LineSpacing = 0F;
@ -932,7 +932,7 @@
this.labelStaticJudgmentDelayTime.BackPictureBox2 = null;
this.labelStaticJudgmentDelayTime.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticJudgmentDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticJudgmentDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticJudgmentDelayTime.InitVisible = true;
this.labelStaticJudgmentDelayTime.LineSpacing = 0F;
@ -999,7 +999,7 @@
//
// buttonClose
//
this.buttonClose.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonClose.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonClose.Location = new System.Drawing.Point(457, 450);
this.buttonClose.Name = "buttonClose";
this.buttonClose.Size = new System.Drawing.Size(100, 30);
@ -1040,7 +1040,7 @@
this.groupBoxSorter.Controls.Add(this.labelStaticSorter1DelayTime);
this.groupBoxSorter.Controls.Add(this.labelSorter1RunTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorter1RunTime);
this.groupBoxSorter.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxSorter.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxSorter.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxSorter.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxSorter.FrameLineThickness = 1;
@ -1126,7 +1126,7 @@
this.labelStaticDischargeStopperRunTime.BackPictureBox2 = null;
this.labelStaticDischargeStopperRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticDischargeStopperRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticDischargeStopperRunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticDischargeStopperRunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticDischargeStopperRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticDischargeStopperRunTime.InitVisible = true;
this.labelStaticDischargeStopperRunTime.LineSpacing = 0F;
@ -1147,7 +1147,7 @@
this.labelStaticDischargeStopperDelayTime.BackPictureBox2 = null;
this.labelStaticDischargeStopperDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticDischargeStopperDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticDischargeStopperDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticDischargeStopperDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticDischargeStopperDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticDischargeStopperDelayTime.InitVisible = true;
this.labelStaticDischargeStopperDelayTime.LineSpacing = 0F;
@ -1168,7 +1168,7 @@
this.labelStaticSorter4RunTime.BackPictureBox2 = null;
this.labelStaticSorter4RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter4RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter4RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter4RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter4RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter4RunTime.InitVisible = true;
this.labelStaticSorter4RunTime.LineSpacing = 0F;
@ -1189,7 +1189,7 @@
this.labelStaticStopper2DelayTime.BackPictureBox2 = null;
this.labelStaticStopper2DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticStopper2DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticStopper2DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticStopper2DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticStopper2DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticStopper2DelayTime.InitVisible = true;
this.labelStaticStopper2DelayTime.LineSpacing = 0F;
@ -1231,7 +1231,7 @@
this.labelStaticSorter4DelayTime.BackPictureBox2 = null;
this.labelStaticSorter4DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter4DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter4DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter4DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter4DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter4DelayTime.InitVisible = true;
this.labelStaticSorter4DelayTime.LineSpacing = 0F;
@ -1252,7 +1252,7 @@
this.labelStaticEntryGateRunTime.BackPictureBox2 = null;
this.labelStaticEntryGateRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticEntryGateRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticEntryGateRunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticEntryGateRunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticEntryGateRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticEntryGateRunTime.InitVisible = true;
this.labelStaticEntryGateRunTime.LineSpacing = 0F;
@ -1273,7 +1273,7 @@
this.labelStaticEntryGateDelayTime.BackPictureBox2 = null;
this.labelStaticEntryGateDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticEntryGateDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticEntryGateDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticEntryGateDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticEntryGateDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticEntryGateDelayTime.InitVisible = true;
this.labelStaticEntryGateDelayTime.LineSpacing = 0F;
@ -1294,7 +1294,7 @@
this.labelStaticStopper2RunTime.BackPictureBox2 = null;
this.labelStaticStopper2RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticStopper2RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticStopper2RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticStopper2RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticStopper2RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticStopper2RunTime.InitVisible = true;
this.labelStaticStopper2RunTime.LineSpacing = 0F;
@ -1420,7 +1420,7 @@
this.labelStaticSorter3DelayTime.BackPictureBox2 = null;
this.labelStaticSorter3DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter3DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter3DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter3DelayTime.InitVisible = true;
this.labelStaticSorter3DelayTime.LineSpacing = 0F;
@ -1462,7 +1462,7 @@
this.labelStaticSorter3RunTime.BackPictureBox2 = null;
this.labelStaticSorter3RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter3RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter3RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter3RunTime.InitVisible = true;
this.labelStaticSorter3RunTime.LineSpacing = 0F;
@ -1504,7 +1504,7 @@
this.labelStaticSorter2DelayTime.BackPictureBox2 = null;
this.labelStaticSorter2DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter2DelayTime.InitVisible = true;
this.labelStaticSorter2DelayTime.LineSpacing = 0F;
@ -1546,7 +1546,7 @@
this.labelStaticSorter2RunTime.BackPictureBox2 = null;
this.labelStaticSorter2RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter2RunTime.InitVisible = true;
this.labelStaticSorter2RunTime.LineSpacing = 0F;
@ -1588,7 +1588,7 @@
this.labelStaticSorter1DelayTime.BackPictureBox2 = null;
this.labelStaticSorter1DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter1DelayTime.InitVisible = true;
this.labelStaticSorter1DelayTime.LineSpacing = 0F;
@ -1630,7 +1630,7 @@
this.labelStaticSorter1RunTime.BackPictureBox2 = null;
this.labelStaticSorter1RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter1RunTime.InitVisible = true;
this.labelStaticSorter1RunTime.LineSpacing = 0F;
@ -1719,7 +1719,7 @@
this.smartListBox1.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.smartListBox1.ColumnDelimiter = '\0';
this.smartListBox1.ColumnOffsets = null;
this.smartListBox1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartListBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartListBox1.FontColor = System.Drawing.Color.Black;
this.smartListBox1.InitVisible = true;
this.smartListBox1.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
@ -1758,7 +1758,7 @@
this.labelAlarm2ErrorCode.BackPictureBox2 = null;
this.labelAlarm2ErrorCode.BorderColor = System.Drawing.Color.Black;
this.labelAlarm2ErrorCode.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelAlarm2ErrorCode.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelAlarm2ErrorCode.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelAlarm2ErrorCode.InitVisible = true;
this.labelAlarm2ErrorCode.LineSpacing = 0F;
this.labelAlarm2ErrorCode.Location = new System.Drawing.Point(11, 4);
@ -1828,7 +1828,7 @@
this.labelTitleScreen.BackPictureBox2 = null;
this.labelTitleScreen.BorderColor = System.Drawing.Color.Black;
this.labelTitleScreen.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleScreen.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Bold);
this.labelTitleScreen.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.labelTitleScreen.InitVisible = true;
this.labelTitleScreen.LineSpacing = 0F;
this.labelTitleScreen.Location = new System.Drawing.Point(661, 583);
@ -1847,7 +1847,7 @@
this.labelTitleNG.BackPictureBox2 = null;
this.labelTitleNG.BorderColor = System.Drawing.Color.Black;
this.labelTitleNG.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleNG.Font = new System.Drawing.Font("New Gulim", 18F, System.Drawing.FontStyle.Bold);
this.labelTitleNG.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.labelTitleNG.InitVisible = true;
this.labelTitleNG.LineSpacing = 0F;
this.labelTitleNG.Location = new System.Drawing.Point(307, 704);
@ -1866,7 +1866,7 @@
this.labelTitleTotalCount.BackPictureBox2 = null;
this.labelTitleTotalCount.BorderColor = System.Drawing.Color.Black;
this.labelTitleTotalCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleTotalCount.Font = new System.Drawing.Font("New Gulim", 20F, System.Drawing.FontStyle.Bold);
this.labelTitleTotalCount.Font = new System.Drawing.Font("새굴림", 20F, System.Drawing.FontStyle.Bold);
this.labelTitleTotalCount.InitVisible = true;
this.labelTitleTotalCount.LineSpacing = 0F;
this.labelTitleTotalCount.Location = new System.Drawing.Point(25, 704);
@ -1967,7 +1967,7 @@
this.labelTitleSampling.BackPictureBox2 = null;
this.labelTitleSampling.BorderColor = System.Drawing.Color.Black;
this.labelTitleSampling.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleSampling.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelTitleSampling.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelTitleSampling.InitVisible = true;
this.labelTitleSampling.LineSpacing = 0F;
this.labelTitleSampling.Location = new System.Drawing.Point(238, 8);
@ -1994,7 +1994,7 @@
this.labelStaticSamplingCount.BackPictureBox2 = null;
this.labelStaticSamplingCount.BorderColor = System.Drawing.Color.Black;
this.labelStaticSamplingCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSamplingCount.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSamplingCount.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSamplingCount.InitVisible = true;
this.labelStaticSamplingCount.LineSpacing = 0F;
this.labelStaticSamplingCount.Location = new System.Drawing.Point(238, 78);
@ -2014,7 +2014,7 @@
this.labelStaticSamplingTime.BackPictureBox2 = null;
this.labelStaticSamplingTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSamplingTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSamplingTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSamplingTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSamplingTime.InitVisible = true;
this.labelStaticSamplingTime.LineSpacing = 0F;
this.labelStaticSamplingTime.Location = new System.Drawing.Point(238, 44);
@ -2168,7 +2168,7 @@
this.labelTitleBypass.BackPictureBox2 = null;
this.labelTitleBypass.BorderColor = System.Drawing.Color.Black;
this.labelTitleBypass.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleBypass.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelTitleBypass.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelTitleBypass.InitVisible = true;
this.labelTitleBypass.LineSpacing = 0F;
this.labelTitleBypass.Location = new System.Drawing.Point(35, 8);
@ -2384,7 +2384,7 @@
this.labelMessage4.BackPictureBox2 = null;
this.labelMessage4.BorderColor = System.Drawing.Color.Black;
this.labelMessage4.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage4.InitVisible = true;
this.labelMessage4.LineSpacing = 0F;
this.labelMessage4.Location = new System.Drawing.Point(75, 79);
@ -2403,7 +2403,7 @@
this.labelMessage3.BackPictureBox2 = null;
this.labelMessage3.BorderColor = System.Drawing.Color.Black;
this.labelMessage3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage3.InitVisible = true;
this.labelMessage3.LineSpacing = 0F;
this.labelMessage3.Location = new System.Drawing.Point(75, 56);
@ -2422,7 +2422,7 @@
this.smartLabel4.BackPictureBox2 = null;
this.smartLabel4.BorderColor = System.Drawing.Color.Black;
this.smartLabel4.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel4.InitVisible = true;
this.smartLabel4.LineSpacing = 0F;
this.smartLabel4.Location = new System.Drawing.Point(11, 4);
@ -2498,7 +2498,7 @@
this.labelStaticOverRangeLimit.BackPictureBox2 = null;
this.labelStaticOverRangeLimit.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticOverRangeLimit.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticOverRangeLimit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRangeLimit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRangeLimit.ForeColor = System.Drawing.Color.Black;
this.labelStaticOverRangeLimit.InitVisible = true;
this.labelStaticOverRangeLimit.LineSpacing = 0F;
@ -2568,7 +2568,7 @@
this.labelStaticUnderRangeLimit.BackPictureBox2 = null;
this.labelStaticUnderRangeLimit.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticUnderRangeLimit.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticUnderRangeLimit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRangeLimit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRangeLimit.ForeColor = System.Drawing.Color.Black;
this.labelStaticUnderRangeLimit.InitVisible = true;
this.labelStaticUnderRangeLimit.LineSpacing = 0F;
@ -2589,7 +2589,7 @@
this.labelStaticOverRange.BackPictureBox2 = null;
this.labelStaticOverRange.BorderColor = System.Drawing.Color.Black;
this.labelStaticOverRange.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticOverRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRange.InitVisible = true;
this.labelStaticOverRange.LineSpacing = 0F;
this.labelStaticOverRange.Location = new System.Drawing.Point(64, 10);
@ -2630,7 +2630,7 @@
this.labelStaticUnderRange.BackPictureBox2 = null;
this.labelStaticUnderRange.BorderColor = System.Drawing.Color.Black;
this.labelStaticUnderRange.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticUnderRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRange.InitVisible = true;
this.labelStaticUnderRange.LineSpacing = 0F;
this.labelStaticUnderRange.Location = new System.Drawing.Point(64, 78);
@ -2650,7 +2650,7 @@
this.labelStaticPassRange.BackPictureBox2 = null;
this.labelStaticPassRange.BorderColor = System.Drawing.Color.Black;
this.labelStaticPassRange.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticPassRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticPassRange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticPassRange.InitVisible = true;
this.labelStaticPassRange.LineSpacing = 0F;
this.labelStaticPassRange.Location = new System.Drawing.Point(64, 44);
@ -2731,7 +2731,7 @@
this.labelMessage5.BackPictureBox2 = null;
this.labelMessage5.BorderColor = System.Drawing.Color.Black;
this.labelMessage5.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage5.InitVisible = true;
this.labelMessage5.LineSpacing = 0F;
this.labelMessage5.Location = new System.Drawing.Point(75, 62);
@ -2750,7 +2750,7 @@
this.smartLabel5.BackPictureBox2 = null;
this.smartLabel5.BorderColor = System.Drawing.Color.Black;
this.smartLabel5.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel5.InitVisible = true;
this.smartLabel5.LineSpacing = 0F;
this.smartLabel5.Location = new System.Drawing.Point(11, 4);
@ -2851,7 +2851,7 @@
this.labelTitleLeakSampling.BackPictureBox2 = null;
this.labelTitleLeakSampling.BorderColor = System.Drawing.Color.Black;
this.labelTitleLeakSampling.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleLeakSampling.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelTitleLeakSampling.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelTitleLeakSampling.InitVisible = true;
this.labelTitleLeakSampling.LineSpacing = 0F;
this.labelTitleLeakSampling.Location = new System.Drawing.Point(35, 12);
@ -2878,7 +2878,7 @@
this.labelStaticLeakSamplingTime.BackPictureBox2 = null;
this.labelStaticLeakSamplingTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticLeakSamplingTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticLeakSamplingTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticLeakSamplingTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticLeakSamplingTime.InitVisible = true;
this.labelStaticLeakSamplingTime.LineSpacing = 0F;
this.labelStaticLeakSamplingTime.Location = new System.Drawing.Point(35, 61);
@ -2959,7 +2959,7 @@
this.labelExpireOfPassword.BackPictureBox2 = null;
this.labelExpireOfPassword.BorderColor = System.Drawing.Color.LightGray;
this.labelExpireOfPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelExpireOfPassword.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.ForeColor = System.Drawing.Color.Black;
this.labelExpireOfPassword.InitVisible = true;
this.labelExpireOfPassword.LineSpacing = 0F;
@ -2981,7 +2981,7 @@
this.labelUserID.BackPictureBox2 = null;
this.labelUserID.BorderColor = System.Drawing.Color.LightGray;
this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserID.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.InitVisible = true;
this.labelUserID.LineSpacing = 0F;
this.labelUserID.Location = new System.Drawing.Point(661, 9);
@ -3001,7 +3001,7 @@
this.labelUserLevel.BackPictureBox2 = null;
this.labelUserLevel.BorderColor = System.Drawing.Color.LightGray;
this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.ForeColor = System.Drawing.Color.Black;
this.labelUserLevel.InitVisible = true;
this.labelUserLevel.LineSpacing = 0F;

View File

@ -1346,7 +1346,7 @@ namespace INT63DC_2C.Forms
id = user.ID;
group = this.ParentForm.SystemConfig.User_Level1_Name;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -1367,7 +1367,7 @@ namespace INT63DC_2C.Forms
id = user.ID;
group = this.ParentForm.SystemConfig.User_Level2_Name;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -1388,7 +1388,7 @@ namespace INT63DC_2C.Forms
id = user.ID;
group = this.ParentForm.SystemConfig.User_Level3_Name;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -1412,7 +1412,7 @@ namespace INT63DC_2C.Forms
else
group = "Administrator";
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -1436,7 +1436,7 @@ namespace INT63DC_2C.Forms
else
group = "Developer";
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -1501,7 +1501,7 @@ namespace INT63DC_2C.Forms
if (this.ParentForm.SystemConfig.IsLogin == true)
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
if (user.ExpirePassword != 0)
{
@ -1854,7 +1854,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.timerLeakSampling.Enabled = false;
this.smartTimerLeakRunDelay.Stop();
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
else
this.buttonProductNo.Enabled = true;
@ -2450,12 +2450,12 @@ namespace INT63DC_2C.Forms
this.ChangeID = "";
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Logout, "");
}
public void Part11AutomaticLogoutReset()
{
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
UserManager.UserManager_AutoLogoutTimeoutReset();
}
@ -2748,7 +2748,7 @@ namespace INT63DC_2C.Forms
after = this.labelUnderRangeLimit.Text;
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
if (isModbus == false)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightUnderRangeLimit, number, before, after);
@ -2811,7 +2811,7 @@ namespace INT63DC_2C.Forms
after = this.labelOverRangeLimit.Text;
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
if (isModbus == false)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightOverRangeLimit, number, before, after);
@ -3043,7 +3043,7 @@ namespace INT63DC_2C.Forms
string before = "", after = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonProductNo.Text;
@ -3065,7 +3065,7 @@ namespace INT63DC_2C.Forms
after = myKeyPad.StringValue;
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ProductNumber, "", before, after);
}
}
@ -3075,7 +3075,7 @@ namespace INT63DC_2C.Forms
string before = "", after = "", number = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonUnder.Text;
@ -3099,7 +3099,7 @@ namespace INT63DC_2C.Forms
this.UpdateUnderRangeLimitCheck(false);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightUnderRange, number, before, after);
}
}
@ -3109,7 +3109,7 @@ namespace INT63DC_2C.Forms
string value = "", before = "", after = "", number = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonPass.Text;
@ -3133,7 +3133,7 @@ namespace INT63DC_2C.Forms
this.UpdatePassRangeChange(myKeyPad.StringValue);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightPassRange, number, before, after);
}
}
@ -3143,7 +3143,7 @@ namespace INT63DC_2C.Forms
string before = "", after = "", number = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonOver.Text;
@ -3168,7 +3168,7 @@ namespace INT63DC_2C.Forms
this.UpdateOverRangeLimitCheck(false);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightOverRange, number, before, after);
}
}
@ -3178,7 +3178,7 @@ namespace INT63DC_2C.Forms
string value = "", before = "", after = "", number = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonTare.Text;
@ -3201,7 +3201,7 @@ namespace INT63DC_2C.Forms
this.UpdateTareRnageChange(myKeyPad.StringValue);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightTareRange, number, before, after);
}
}
@ -3209,7 +3209,7 @@ namespace INT63DC_2C.Forms
private void buttonClear_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
DialogFormYesNo myDlg = new DialogFormYesNo(this.ParentForm.SystemConfig.Language, 8);
@ -3218,7 +3218,7 @@ namespace INT63DC_2C.Forms
this.Clear();
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Clear, "");
}
}
@ -3227,7 +3227,7 @@ namespace INT63DC_2C.Forms
if (this.ParentForm.EquipmentStatus == DataStore.EquipmentStatus.Stop)
{
// Automatic Logout Pause
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
UserManager.UserManager_AutoLogoutTimeoutPause();
this.ParentForm.ChildFormMenu.DisplayRefresh();
@ -3236,7 +3236,7 @@ namespace INT63DC_2C.Forms
else
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.IsLogin == true && this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Developer)
@ -3300,7 +3300,7 @@ namespace INT63DC_2C.Forms
private void buttonDisplay_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
SmartButton button = sender as SmartButton;
@ -3322,19 +3322,19 @@ namespace INT63DC_2C.Forms
private void buttonScaleZero_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.Zero, CommunicationID.SubBoardAll);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Zero, "");
}
private void buttonClose_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelSetting.Visible = false;
@ -3342,7 +3342,7 @@ namespace INT63DC_2C.Forms
private void buttonAlarm2OK_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.CurrentAlarmList.IsBuzzerStatus = false;
@ -3352,7 +3352,7 @@ namespace INT63DC_2C.Forms
private void buttonAlarm3Ok_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.CurrentAlarmList.IsBuzzerStatus = false;
@ -3362,7 +3362,7 @@ namespace INT63DC_2C.Forms
private void buttonAlarm4Ok_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelAlarmMessageBox4.Visible = false;
@ -3370,7 +3370,7 @@ namespace INT63DC_2C.Forms
private void buttonAllNG_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.NgSignal, CommunicationID.SubBoardAll);
@ -3378,7 +3378,7 @@ namespace INT63DC_2C.Forms
private void buttonAllPass_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.PassSignal, CommunicationID.SubBoardAll);
@ -3386,7 +3386,7 @@ namespace INT63DC_2C.Forms
private void buttonUser_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.LogOut)
@ -3407,7 +3407,7 @@ namespace INT63DC_2C.Forms
string before = "", after = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonBypassDirection.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
@ -3424,7 +3424,7 @@ namespace INT63DC_2C.Forms
}
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Direction, "", before, after);
}
private void buttonBypassOnce_Click(object sender, EventArgs e)
@ -3432,7 +3432,7 @@ namespace INT63DC_2C.Forms
string before = "", after = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
@ -3454,13 +3454,13 @@ namespace INT63DC_2C.Forms
}
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Mode, "", before, after);
}
private void buttonBypassRun_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.IsBypassOnce == true)
@ -3470,7 +3470,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.BypassOnce, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.BP_PassOnce, "");
}
else
@ -3478,7 +3478,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.ByNGOnce, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.BP_NgOnce, "");
}
}
@ -3494,7 +3494,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.BypassON, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.BP_PassON, "");
}
else
@ -3502,7 +3502,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.ByNGON, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.BP_NgON, "");
}
}
@ -3516,7 +3516,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.BypassOFF, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.BP_PassOFF, "");
}
else
@ -3524,7 +3524,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.ByNGOFF, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.BP_NgOFF, "");
}
}
@ -3533,7 +3533,7 @@ namespace INT63DC_2C.Forms
private void buttonSubMenu_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.SubmenuIndex == 0)
@ -3589,19 +3589,19 @@ namespace INT63DC_2C.Forms
private void buttonCutSignal_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.MainCut, "");
}
private void buttonHidden_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.IsLogin == false && this.ParentForm.IsDeveloperMode == false)
@ -3627,7 +3627,7 @@ namespace INT63DC_2C.Forms
private void labelSorter1DelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3657,7 +3657,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1DelayTime, number, before, after);
}
}
@ -3665,7 +3665,7 @@ namespace INT63DC_2C.Forms
private void labelSorter1RunTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3695,7 +3695,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1RunTime, number, before, after);
}
}
@ -3703,7 +3703,7 @@ namespace INT63DC_2C.Forms
private void labelSorter2DelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3733,7 +3733,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2DelayTime, number, before, after);
}
}
@ -3741,7 +3741,7 @@ namespace INT63DC_2C.Forms
private void labelSorter2RunTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3771,7 +3771,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2RunTime, number, before, after);
}
}
@ -3779,7 +3779,7 @@ namespace INT63DC_2C.Forms
private void labelSorter3DelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3809,7 +3809,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter3DelayTime, number, before, after);
}
}
@ -3817,7 +3817,7 @@ namespace INT63DC_2C.Forms
private void labelSorter3RunTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3847,7 +3847,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter3RunTime, number, before, after);
}
}
@ -3855,7 +3855,7 @@ namespace INT63DC_2C.Forms
private void labelSorter4DelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3885,7 +3885,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter4DelayTime, number, before, after);
}
}
@ -3893,7 +3893,7 @@ namespace INT63DC_2C.Forms
private void labelSorter4RunTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -3923,7 +3923,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter4RunTime, number, before, after);
}
}
@ -3931,7 +3931,7 @@ namespace INT63DC_2C.Forms
private void labelTotalCount_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
switch (this.ParentForm.SystemConfig.Language)
@ -3976,7 +3976,7 @@ namespace INT63DC_2C.Forms
private void labelFilter_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4006,7 +4006,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentFilter, number, before, after);
}
}
@ -4014,7 +4014,7 @@ namespace INT63DC_2C.Forms
private void labelJudgmentDelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4045,7 +4045,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentDelayTime, number, before, after);
}
}
@ -4053,7 +4053,7 @@ namespace INT63DC_2C.Forms
private void labelJudgmentCount_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4083,7 +4083,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentCount, number, before, after);
}
}
@ -4091,7 +4091,7 @@ namespace INT63DC_2C.Forms
private void labelDischargeStopperRunTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4121,7 +4121,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DischargeStopperRunTime, number, before, after);
}
}
@ -4129,7 +4129,7 @@ namespace INT63DC_2C.Forms
private void labelDischargeStopperDelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4159,7 +4159,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.DischargeStopperDelayTime, number, before, after);
}
}
@ -4167,7 +4167,7 @@ namespace INT63DC_2C.Forms
private void labelEntryGateRunTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4196,7 +4196,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.EntryGateRunTime, number, before, after);
}
}
@ -4204,7 +4204,7 @@ namespace INT63DC_2C.Forms
private void labelEntryGateDelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4234,7 +4234,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.EntryGateDelayTime, number, before, after);
}
}
@ -4242,7 +4242,7 @@ namespace INT63DC_2C.Forms
private void labelForcedZeroDelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4271,7 +4271,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ForcedZeroDelayTime, number, before, after);
}
}
@ -4279,7 +4279,7 @@ namespace INT63DC_2C.Forms
private void labelTurnDelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4308,7 +4308,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ForcedZeroDelayTime, number, before, after);
}
}
@ -4316,7 +4316,7 @@ namespace INT63DC_2C.Forms
private void labelStopper2DelayTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4345,7 +4345,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Stopper2DelayTime, number, before, after);
}
}
@ -4353,7 +4353,7 @@ namespace INT63DC_2C.Forms
private void labelStopper2RunTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4382,7 +4382,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveDynamicCorrectionFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Stopper2RunTime, number, before, after);
}
}
@ -4395,7 +4395,7 @@ namespace INT63DC_2C.Forms
private void buttonCut_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonCut.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
@ -4406,7 +4406,7 @@ namespace INT63DC_2C.Forms
private void labelCutSignalInterval_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelCutSignalInterval.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
@ -4430,7 +4430,7 @@ namespace INT63DC_2C.Forms
private void labelSamplingTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string before = "", after = "";
@ -4457,7 +4457,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.SP_Time, "", before, after);
}
}
@ -4465,7 +4465,7 @@ namespace INT63DC_2C.Forms
private void labelSamplingCount_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string before = "", after = "";
@ -4491,7 +4491,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.SP_Count, "", before, after);
}
}
@ -4499,7 +4499,7 @@ namespace INT63DC_2C.Forms
private void buttonSamplingOnce_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string before = "", after = "";
@ -4524,13 +4524,13 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.SP_Mode, "", before, after);
}
private void buttonSampling_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.IsSamplingOnce == true)
@ -4538,7 +4538,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.SamplingSignal, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.SP_Once, "");
}
else
@ -4558,7 +4558,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.timerSampling.Enabled = true;
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.SP_ON, "");
}
else
@ -4572,7 +4572,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.timerSampling.Enabled = false;
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.SP_ON, "");
}
}
@ -4581,7 +4581,7 @@ namespace INT63DC_2C.Forms
private void buttonLeakSignal_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.IsLeakSamplingOnce == true)
@ -4618,7 +4618,7 @@ namespace INT63DC_2C.Forms
private void buttonLeakSamplingOnce_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string before = "", after = "";
@ -4643,13 +4643,13 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.LK_Mode, "", before, after);
}
private void labelLeakSamplingTime_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "";
@ -4676,7 +4676,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.LK_Time, "", before, after);
}
}
@ -4690,7 +4690,7 @@ namespace INT63DC_2C.Forms
private void labelOverRangeLimit_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4720,7 +4720,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._2202_OverLimitRange, value);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightOverRangeLimit, number, before, after);
}
}
@ -4728,7 +4728,7 @@ namespace INT63DC_2C.Forms
private void labelUnderRangeLimit_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "", before = "", after = "", number = "";
@ -4758,7 +4758,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._2201_UnderLimitRange, value);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightUnderRangeLimit, number, before, after);
}
}
@ -4766,7 +4766,7 @@ namespace INT63DC_2C.Forms
private void buttonOnOff_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
string value = "";
@ -4814,8 +4814,10 @@ namespace INT63DC_2C.Forms
if (this.ParentForm.SystemConfig.EthernetMode == 1)
data = this.ParentForm.Protocol_STD1(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData);
else
else if (this.ParentForm.SystemConfig.EthernetMode == 2)
data = this.ParentForm.Protocol_STD2(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData, this.ParentForm.CurrentProductItem);
else if (this.ParentForm.SystemConfig.EthernetMode == 3)
data = this.ParentForm.Protocol_STD3(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData, this.ParentForm.CurrentProductItem);
switch (this.ParentForm.SystemConfig.EthernetOperationMode)
{

File diff suppressed because it is too large Load Diff

View File

@ -355,7 +355,7 @@ namespace INT63DC_2C.Forms
int expireDate = 0;
Color colorExpirePW = this.ParentForm.ColorLogOff;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.buttonDataStatistics.Visible = true;
this.buttonDataViewer.Visible = true;
@ -398,6 +398,7 @@ namespace INT63DC_2C.Forms
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuInformation;
this.buttonDataBackup.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuDataBackup;
this.buttonConfiguration.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuConfiguration;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuCommunication;
this.buttonCalibration.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuCalibration;
this.buttonSysConfig.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuSystem;
@ -415,7 +416,7 @@ namespace INT63DC_2C.Forms
this.buttonEquipmentTest.Visible = false;
this.buttonOptionSetting.Visible = false;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
#endregion
break;
@ -430,6 +431,7 @@ namespace INT63DC_2C.Forms
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuInformation;
this.buttonDataBackup.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuDataBackup;
this.buttonConfiguration.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuConfiguration;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuCommunication;
this.buttonCalibration.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuCalibration;
this.buttonSysConfig.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuSystem;
@ -447,7 +449,7 @@ namespace INT63DC_2C.Forms
this.buttonEquipmentTest.Visible = false;
this.buttonOptionSetting.Visible = false;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
#endregion
break;
@ -462,6 +464,7 @@ namespace INT63DC_2C.Forms
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuInformation;
this.buttonDataBackup.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuDataBackup;
this.buttonConfiguration.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuConfiguration;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuCommunication;
this.buttonCalibration.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuCalibration;
this.buttonSysConfig.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuSystem;
@ -479,7 +482,7 @@ namespace INT63DC_2C.Forms
this.buttonEquipmentTest.Visible = false;
this.buttonOptionSetting.Visible = false;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
#endregion
break;
@ -494,6 +497,7 @@ namespace INT63DC_2C.Forms
this.buttonInformation.Enabled = true;
this.buttonDataBackup.Enabled = true;
this.buttonConfiguration.Enabled = true;
this.buttonCommunication.Enabled = true;
this.buttonCalibration.Enabled = true;
this.buttonSysConfig.Enabled = true;
@ -511,7 +515,7 @@ namespace INT63DC_2C.Forms
this.buttonEquipmentTest.Visible = false;
this.buttonOptionSetting.Visible = false;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
#endregion
break;
@ -526,6 +530,7 @@ namespace INT63DC_2C.Forms
this.buttonInformation.Enabled = true;
this.buttonDataBackup.Enabled = true;
this.buttonConfiguration.Enabled = true;
this.buttonCommunication.Enabled = true;
this.buttonCalibration.Enabled = true;
this.buttonSysConfig.Enabled = true;
@ -543,7 +548,7 @@ namespace INT63DC_2C.Forms
this.buttonEquipmentTest.Visible = true;
this.buttonOptionSetting.Visible = true;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.labelExpireOfPassword.Visible = true;
#endregion
break;
@ -553,6 +558,7 @@ namespace INT63DC_2C.Forms
this.buttonInformation.Enabled = true;
this.buttonDataBackup.Enabled = true;
this.buttonConfiguration.Enabled = true;
this.buttonCommunication.Enabled = true;
this.buttonCalibration.Enabled = true;
this.buttonSysConfig.Enabled = true;
@ -631,7 +637,7 @@ namespace INT63DC_2C.Forms
//}
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
if (user.ExpirePassword != 0)
{
@ -670,10 +676,15 @@ namespace INT63DC_2C.Forms
public void DisplayRefresh()
{
if (this.ParentForm.SystemConfig.IsLogin == false)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.NotLogin;
this.UpdateDisplayMenuAccess(this.ParentForm.SystemConfig.CurrentUser);
this.ParentForm.TransferData(CommunicationCommand.ModeMenu, CommunicationID.MainBoard);
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormMenu;
this.smartTimerScanUSB.Start();
}
#endregion
@ -718,7 +729,7 @@ namespace INT63DC_2C.Forms
{
#region 데이터백업
((FormMain)(Owner)).smartForm.Show((int)DataStore.FormStore.FormDataBackup);
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ChildFormDataBackup_Part11.DisplayRefresh();
else
this.ParentForm.ChildFormDataBackup.DisplayRefresh();
@ -752,7 +763,7 @@ namespace INT63DC_2C.Forms
if (myDlg.ShowDialog() == DialogResult.Yes)
{
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Initialization, "");
((FormMain)(Owner)).smartForm.Show((int)DataStore.FormStore.FormFactory);

View File

@ -347,7 +347,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.IsServoOrigin = false;
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_Origin, "");
}
private void buttonStep_Click(object sender, EventArgs e)
@ -355,7 +355,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.MotorStep, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_OneStep, "");
}
private void buttonAlarmReset_Click(object sender, EventArgs e)
@ -364,7 +364,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.BuzzerOff, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_AlarmReset, "");
}
private void buttonEEPROM_Click(object sender, EventArgs e)
@ -380,7 +380,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.ServoMotorWrite(1, ServoMotorParameterAddress.SaveAllParameters, ServoMotorParameterAddress.EEPROM);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_EEPROM, "");
}
private void buttonHidden_Click(object sender, EventArgs e)
@ -396,7 +396,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.MotorJogCwOn, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_JOGCW, "ON");
}
private void buttonJogCW_MouseUp(object sender, MouseEventArgs e)
@ -408,7 +408,7 @@ namespace INT63DC_2C.Forms
this.smartTimer1.Start();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_JOGCW, "OFF");
}
private void buttonJogCCW_MouseDown(object sender, MouseEventArgs e)
@ -417,7 +417,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.MotorJogCcwOn, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_JOGCCW, "ON");
}
private void buttonJogCCW_MouseUp(object sender, MouseEventArgs e)
@ -429,7 +429,7 @@ namespace INT63DC_2C.Forms
this.smartTimer1.Start();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.Motor_JOGCCW, "OFF");
}
@ -622,7 +622,7 @@ namespace INT63DC_2C.Forms
}
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.MotorOriginOffset, "", before, after);
}

View File

@ -105,7 +105,7 @@
this.labelTitle.BackPictureBox2 = null;
this.labelTitle.BorderColor = System.Drawing.Color.Black;
this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle.Font = new System.Drawing.Font("New Gulim", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.Font = new System.Drawing.Font("새굴림", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(199, 7);
@ -165,7 +165,7 @@
this.groupBoxOption.Location = new System.Drawing.Point(88, 204);
this.groupBoxOption.Name = "groupBoxOption";
this.groupBoxOption.RoundRadius = 10;
this.groupBoxOption.Size = new System.Drawing.Size(840, 221);
this.groupBoxOption.Size = new System.Drawing.Size(840, 195);
this.groupBoxOption.TabIndex = 210;
this.groupBoxOption.Text = "Option";
this.groupBoxOption.TextColor = System.Drawing.Color.Black;
@ -178,17 +178,18 @@
this.labelInfo5.BackPictureBox2 = null;
this.labelInfo5.BorderColor = System.Drawing.Color.Black;
this.labelInfo5.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelInfo5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelInfo5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelInfo5.ForeColor = System.Drawing.Color.MediumBlue;
this.labelInfo5.InitVisible = true;
this.labelInfo5.LineSpacing = 0F;
this.labelInfo5.Location = new System.Drawing.Point(343, 170);
this.labelInfo5.Location = new System.Drawing.Point(341, 142);
this.labelInfo5.Name = "labelInfo5";
this.labelInfo5.Size = new System.Drawing.Size(479, 25);
this.labelInfo5.TabIndex = 273;
this.labelInfo5.Text = "※ Part11 ON : activate [Login], [Data backup], [Data Statistics]";
this.labelInfo5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelInfo5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelInfo5.Visible = false;
this.labelInfo5.Wordwrap = false;
//
// buttonPart11
@ -203,7 +204,7 @@
this.buttonPart11.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonPart11.DownImage")));
this.buttonPart11.GroupID = 0;
this.buttonPart11.InitVisible = true;
this.buttonPart11.Location = new System.Drawing.Point(253, 170);
this.buttonPart11.Location = new System.Drawing.Point(251, 142);
this.buttonPart11.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonPart11.Name = "buttonPart11";
this.buttonPart11.NestedClickEventPrevent = false;
@ -220,6 +221,7 @@
this.buttonPart11.TextLocation = new System.Drawing.Point(0, 0);
this.buttonPart11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonPart11.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonPart11.UpImage")));
this.buttonPart11.Visible = false;
this.buttonPart11.Click += new System.EventHandler(this.buttonPart11_Click);
//
// labelTitlePart11
@ -229,17 +231,18 @@
this.labelTitlePart11.BackPictureBox2 = null;
this.labelTitlePart11.BorderColor = System.Drawing.Color.Black;
this.labelTitlePart11.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitlePart11.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTitlePart11.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitlePart11.ForeColor = System.Drawing.Color.Black;
this.labelTitlePart11.InitVisible = true;
this.labelTitlePart11.LineSpacing = 0F;
this.labelTitlePart11.Location = new System.Drawing.Point(47, 170);
this.labelTitlePart11.Location = new System.Drawing.Point(45, 142);
this.labelTitlePart11.Name = "labelTitlePart11";
this.labelTitlePart11.Size = new System.Drawing.Size(200, 25);
this.labelTitlePart11.TabIndex = 271;
this.labelTitlePart11.Text = "21 CFR PART 11";
this.labelTitlePart11.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelTitlePart11.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitlePart11.Visible = false;
this.labelTitlePart11.Wordwrap = false;
//
// buttonSorterCheckEnable
@ -254,7 +257,7 @@
this.buttonSorterCheckEnable.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonSorterCheckEnable.DownImage")));
this.buttonSorterCheckEnable.GroupID = 0;
this.buttonSorterCheckEnable.InitVisible = true;
this.buttonSorterCheckEnable.Location = new System.Drawing.Point(253, 139);
this.buttonSorterCheckEnable.Location = new System.Drawing.Point(251, 111);
this.buttonSorterCheckEnable.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonSorterCheckEnable.Name = "buttonSorterCheckEnable";
this.buttonSorterCheckEnable.NestedClickEventPrevent = false;
@ -280,11 +283,11 @@
this.labelTitleSorterCheckEnable.BackPictureBox2 = null;
this.labelTitleSorterCheckEnable.BorderColor = System.Drawing.Color.Black;
this.labelTitleSorterCheckEnable.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleSorterCheckEnable.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleSorterCheckEnable.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleSorterCheckEnable.ForeColor = System.Drawing.Color.Black;
this.labelTitleSorterCheckEnable.InitVisible = true;
this.labelTitleSorterCheckEnable.LineSpacing = 0F;
this.labelTitleSorterCheckEnable.Location = new System.Drawing.Point(47, 139);
this.labelTitleSorterCheckEnable.Location = new System.Drawing.Point(45, 111);
this.labelTitleSorterCheckEnable.Name = "labelTitleSorterCheckEnable";
this.labelTitleSorterCheckEnable.Size = new System.Drawing.Size(200, 25);
this.labelTitleSorterCheckEnable.TabIndex = 269;
@ -301,11 +304,11 @@
this.labelInfo4.BackPictureBox2 = null;
this.labelInfo4.BorderColor = System.Drawing.Color.Black;
this.labelInfo4.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelInfo4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelInfo4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelInfo4.ForeColor = System.Drawing.Color.MediumBlue;
this.labelInfo4.InitVisible = true;
this.labelInfo4.LineSpacing = 0F;
this.labelInfo4.Location = new System.Drawing.Point(343, 108);
this.labelInfo4.Location = new System.Drawing.Point(341, 80);
this.labelInfo4.Name = "labelInfo4";
this.labelInfo4.Size = new System.Drawing.Size(450, 25);
this.labelInfo4.TabIndex = 268;
@ -326,7 +329,7 @@
this.buttonSorter4Location.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonSorter4Location.DownImage")));
this.buttonSorter4Location.GroupID = 0;
this.buttonSorter4Location.InitVisible = true;
this.buttonSorter4Location.Location = new System.Drawing.Point(253, 108);
this.buttonSorter4Location.Location = new System.Drawing.Point(251, 80);
this.buttonSorter4Location.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonSorter4Location.Name = "buttonSorter4Location";
this.buttonSorter4Location.NestedClickEventPrevent = false;
@ -352,11 +355,11 @@
this.labelTitleSorter4Location.BackPictureBox2 = null;
this.labelTitleSorter4Location.BorderColor = System.Drawing.Color.Black;
this.labelTitleSorter4Location.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleSorter4Location.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleSorter4Location.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleSorter4Location.ForeColor = System.Drawing.Color.Black;
this.labelTitleSorter4Location.InitVisible = true;
this.labelTitleSorter4Location.LineSpacing = 0F;
this.labelTitleSorter4Location.Location = new System.Drawing.Point(47, 108);
this.labelTitleSorter4Location.Location = new System.Drawing.Point(45, 80);
this.labelTitleSorter4Location.Name = "labelTitleSorter4Location";
this.labelTitleSorter4Location.Size = new System.Drawing.Size(200, 25);
this.labelTitleSorter4Location.TabIndex = 266;
@ -377,7 +380,7 @@
this.buttonDataStatistics.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDataStatistics.DownImage")));
this.buttonDataStatistics.GroupID = 0;
this.buttonDataStatistics.InitVisible = true;
this.buttonDataStatistics.Location = new System.Drawing.Point(253, 77);
this.buttonDataStatistics.Location = new System.Drawing.Point(251, 49);
this.buttonDataStatistics.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonDataStatistics.Name = "buttonDataStatistics";
this.buttonDataStatistics.NestedClickEventPrevent = false;
@ -403,10 +406,10 @@
this.labelTitleDataStatistics.BackPictureBox2 = null;
this.labelTitleDataStatistics.BorderColor = System.Drawing.Color.Black;
this.labelTitleDataStatistics.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleDataStatistics.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleDataStatistics.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleDataStatistics.InitVisible = true;
this.labelTitleDataStatistics.LineSpacing = 0F;
this.labelTitleDataStatistics.Location = new System.Drawing.Point(47, 77);
this.labelTitleDataStatistics.Location = new System.Drawing.Point(45, 49);
this.labelTitleDataStatistics.Name = "labelTitleDataStatistics";
this.labelTitleDataStatistics.Size = new System.Drawing.Size(200, 25);
this.labelTitleDataStatistics.TabIndex = 205;
@ -423,7 +426,7 @@
this.labelBuadrateWarning2.BackPictureBox2 = null;
this.labelBuadrateWarning2.BorderColor = System.Drawing.Color.Black;
this.labelBuadrateWarning2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelBuadrateWarning2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning2.ForeColor = System.Drawing.Color.Red;
this.labelBuadrateWarning2.InitVisible = true;
this.labelBuadrateWarning2.LineSpacing = 0F;
@ -444,7 +447,7 @@
this.labelBuadrateWarning.BackPictureBox2 = null;
this.labelBuadrateWarning.BorderColor = System.Drawing.Color.Black;
this.labelBuadrateWarning.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelBuadrateWarning.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning.ForeColor = System.Drawing.Color.Red;
this.labelBuadrateWarning.InitVisible = true;
this.labelBuadrateWarning.LineSpacing = 0F;

View File

@ -191,7 +191,7 @@ namespace INT63DC_2C.Forms
this.buttonSorterCheckEnable.ButtonUp();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.buttonPart11.ButtonDown();
else
this.buttonPart11.ButtonUp();
@ -234,14 +234,14 @@ namespace INT63DC_2C.Forms
// Part11
if (this.buttonPart11.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsOptPart11 = true;
this.ParentForm.SystemConfig.IsPart11 = true;
this.ParentForm.SystemConfig.IsOptDataStatistics = true;
this.ParentForm.SystemConfig.IsLogin = true;
this.ParentForm.SystemConfig.IsDataBackup = true;
}
else
{
this.ParentForm.SystemConfig.IsOptPart11 = false;
this.ParentForm.SystemConfig.IsPart11 = false;
this.ParentForm.SystemConfig.IsOptDataStatistics = false;
this.ParentForm.SystemConfig.IsLogin = false;
this.ParentForm.SystemConfig.IsDataBackup = false;

File diff suppressed because it is too large Load Diff

View File

@ -156,6 +156,7 @@ namespace INT63DC_2C.Forms
this.buttonServiceUpdate.Enabled = true;
this.labelMessage2.ForeColor = Color.Black;
this.labelMessage2.Visible = true;
this.buttonBack.Enabled = true;
}
private void FinishStatusNeededReBoot()
{
@ -352,11 +353,6 @@ namespace INT63DC_2C.Forms
}
public void SetProgressBarValue(int value)
{
this.progressBarUpdate.Value += value;
}
private void UpdateLabelStatus(DataStore.E_Step3 step, DataStore.E_LanguageID language)
{
switch (step)
@ -498,6 +494,7 @@ namespace INT63DC_2C.Forms
default:
break;
}
this.buttonBack.Enabled = false;
#endregion
break;
case SERVICE_ITEMS_e.PART11:
@ -505,9 +502,9 @@ namespace INT63DC_2C.Forms
switch (value)
{
case SERVICE_MODE_e.DISABLE:
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.ParentForm.SystemConfig.IsOptPart11 = false;
this.ParentForm.SystemConfig.IsPart11 = false;
this.ParentForm.SystemConfig.IsLogin = false;
this.ParentForm.SystemConfig.IsOptDataStatistics = false;
this.ParentForm.SystemConfig.IsDataBackup = false;
@ -528,10 +525,10 @@ namespace INT63DC_2C.Forms
}
break;
case SERVICE_MODE_e.ENABLE:
if (this.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.SystemConfig.IsPart11 == false)
{
this.ParentForm.SystemConfig.IsLogin = true;
this.ParentForm.SystemConfig.IsOptPart11 = true;
this.ParentForm.SystemConfig.IsPart11 = true;
this.ParentForm.SystemConfig.IsOptDataStatistics = true;
this.ParentForm.SystemConfig.IsDataBackup = true;
@ -553,6 +550,7 @@ namespace INT63DC_2C.Forms
this.FinishStatusNeededReBoot();
this.progressBarUpdate.Value += 100;
this.buttonBack.Enabled = false;
#endregion
break;
default:

View File

@ -66,7 +66,9 @@
this.smartSeparatorLine2 = new SmartX.SmartSeparatorLine();
this.labelSorter3DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter3DelayTime = new SmartX.SmartLabel();
this.labelFeedSpeed = new SmartX.SmartLabel();
this.labelSorter3RunTime = new SmartX.SmartLabel();
this.labelTitleFeedSpeed = new SmartX.SmartLabel();
this.labelStaticSorter3RunTime = new SmartX.SmartLabel();
this.labelSorter2DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter2DelayTime = new SmartX.SmartLabel();
@ -94,8 +96,6 @@
this.labelStaticFilter = new SmartX.SmartLabel();
this.labelWeightReference = new SmartX.SmartLabel();
this.smartDraw = new SmartX.SmartDraw();
this.labelFeedSpeed = new SmartX.SmartLabel();
this.labelTitleFeedSpeed = new SmartX.SmartLabel();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.buttonCutSignal = new SmartX.SmartButton();
this.buttonSetting = new SmartX.SmartButton();
@ -141,7 +141,7 @@
this.labelStaticNo.BackPictureBox2 = null;
this.labelStaticNo.BorderColor = System.Drawing.Color.Black;
this.labelStaticNo.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticNo.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticNo.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticNo.InitVisible = true;
this.labelStaticNo.LineSpacing = 0F;
this.labelStaticNo.Location = new System.Drawing.Point(29, 33);
@ -246,7 +246,7 @@
this.buttonCopy.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCopy.DisableImage = null;
this.buttonCopy.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCopy.DownImage")));
this.buttonCopy.Font = new System.Drawing.Font("Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonCopy.Font = new System.Drawing.Font("굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonCopy.GroupID = 0;
this.buttonCopy.InitVisible = true;
this.buttonCopy.Location = new System.Drawing.Point(30, 666);
@ -316,7 +316,7 @@
this.labelTitle.BackPictureBox2 = null;
this.labelTitle.BorderColor = System.Drawing.Color.Black;
this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle.Font = new System.Drawing.Font("New Gulim", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.Font = new System.Drawing.Font("새굴림", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(199, 7);
@ -354,7 +354,7 @@
this.groupBoxProduct.Controls.Add(this.labelStaticName);
this.groupBoxProduct.Controls.Add(this.labelStaticNo);
this.groupBoxProduct.Controls.Add(this.listBoxProductList);
this.groupBoxProduct.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxProduct.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxProduct.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxProduct.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxProduct.FrameLineThickness = 1;
@ -417,7 +417,7 @@
this.labelStaticTareRange.BackPictureBox2 = null;
this.labelStaticTareRange.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticTareRange.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticTareRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTareRange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTareRange.ForeColor = System.Drawing.Color.Black;
this.labelStaticTareRange.InitVisible = true;
this.labelStaticTareRange.LineSpacing = 0F;
@ -438,7 +438,7 @@
this.labelStaticOverRangeLimit.BackPictureBox2 = null;
this.labelStaticOverRangeLimit.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticOverRangeLimit.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticOverRangeLimit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRangeLimit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRangeLimit.ForeColor = System.Drawing.Color.Black;
this.labelStaticOverRangeLimit.InitVisible = true;
this.labelStaticOverRangeLimit.LineSpacing = 0F;
@ -501,7 +501,7 @@
this.labelStaticUnderRangeLimit.BackPictureBox2 = null;
this.labelStaticUnderRangeLimit.BorderColor = System.Drawing.Color.SteelBlue;
this.labelStaticUnderRangeLimit.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticUnderRangeLimit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRangeLimit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRangeLimit.ForeColor = System.Drawing.Color.Black;
this.labelStaticUnderRangeLimit.InitVisible = true;
this.labelStaticUnderRangeLimit.LineSpacing = 0F;
@ -522,7 +522,7 @@
this.labelStaticOverRange.BackPictureBox2 = null;
this.labelStaticOverRange.BorderColor = System.Drawing.Color.Black;
this.labelStaticOverRange.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticOverRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRange.InitVisible = true;
this.labelStaticOverRange.LineSpacing = 0F;
this.labelStaticOverRange.Location = new System.Drawing.Point(19, 151);
@ -563,7 +563,7 @@
this.labelStaticUnderRange.BackPictureBox2 = null;
this.labelStaticUnderRange.BorderColor = System.Drawing.Color.Black;
this.labelStaticUnderRange.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticUnderRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRange.InitVisible = true;
this.labelStaticUnderRange.LineSpacing = 0F;
this.labelStaticUnderRange.Location = new System.Drawing.Point(19, 219);
@ -583,7 +583,7 @@
this.labelStaticPassRange.BackPictureBox2 = null;
this.labelStaticPassRange.BorderColor = System.Drawing.Color.Black;
this.labelStaticPassRange.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticPassRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticPassRange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticPassRange.InitVisible = true;
this.labelStaticPassRange.LineSpacing = 0F;
this.labelStaticPassRange.Location = new System.Drawing.Point(19, 185);
@ -663,7 +663,7 @@
//
// buttonLotEdit
//
this.buttonLotEdit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonLotEdit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonLotEdit.Location = new System.Drawing.Point(353, 104);
this.buttonLotEdit.Name = "buttonLotEdit";
this.buttonLotEdit.Size = new System.Drawing.Size(82, 30);
@ -673,7 +673,7 @@
//
// buttonNameEdit
//
this.buttonNameEdit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonNameEdit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonNameEdit.Location = new System.Drawing.Point(353, 68);
this.buttonNameEdit.Name = "buttonNameEdit";
this.buttonNameEdit.Size = new System.Drawing.Size(82, 30);
@ -688,7 +688,7 @@
this.labelStaticLOT.BackPictureBox2 = null;
this.labelStaticLOT.BorderColor = System.Drawing.Color.Black;
this.labelStaticLOT.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticLOT.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticLOT.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticLOT.InitVisible = true;
this.labelStaticLOT.LineSpacing = 0F;
this.labelStaticLOT.Location = new System.Drawing.Point(29, 104);
@ -707,7 +707,7 @@
this.labelStaticName.BackPictureBox2 = null;
this.labelStaticName.BorderColor = System.Drawing.Color.Black;
this.labelStaticName.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticName.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticName.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticName.InitVisible = true;
this.labelStaticName.LineSpacing = 0F;
this.labelStaticName.Location = new System.Drawing.Point(29, 68);
@ -767,7 +767,7 @@
this.groupBoxJudgment.Controls.Add(this.labelStaticFilter);
this.groupBoxJudgment.Controls.Add(this.labelWeightReference);
this.groupBoxJudgment.Controls.Add(this.smartDraw);
this.groupBoxJudgment.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxJudgment.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxJudgment.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxJudgment.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxJudgment.FrameLineThickness = 1;
@ -840,7 +840,7 @@
this.labelStaticSorter3DelayTime.BackPictureBox2 = null;
this.labelStaticSorter3DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter3DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter3DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3DelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter3DelayTime.InitVisible = true;
this.labelStaticSorter3DelayTime.LineSpacing = 0F;
@ -853,6 +853,27 @@
this.labelStaticSorter3DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter3DelayTime.Wordwrap = false;
//
// labelFeedSpeed
//
this.labelFeedSpeed.BackColor = System.Drawing.SystemColors.Window;
this.labelFeedSpeed.BackPictureBox = null;
this.labelFeedSpeed.BackPictureBox1 = null;
this.labelFeedSpeed.BackPictureBox2 = null;
this.labelFeedSpeed.BorderColor = System.Drawing.Color.Black;
this.labelFeedSpeed.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelFeedSpeed.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelFeedSpeed.InitVisible = true;
this.labelFeedSpeed.LineSpacing = 0F;
this.labelFeedSpeed.Location = new System.Drawing.Point(188, 503);
this.labelFeedSpeed.Name = "labelFeedSpeed";
this.labelFeedSpeed.Size = new System.Drawing.Size(80, 25);
this.labelFeedSpeed.TabIndex = 110;
this.labelFeedSpeed.Text = "100";
this.labelFeedSpeed.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelFeedSpeed.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelFeedSpeed.Wordwrap = false;
this.labelFeedSpeed.Click += new System.EventHandler(this.labelFeedSpeed_Click);
//
// labelSorter3RunTime
//
this.labelSorter3RunTime.BackColor = System.Drawing.SystemColors.Window;
@ -874,6 +895,26 @@
this.labelSorter3RunTime.Wordwrap = false;
this.labelSorter3RunTime.Click += new System.EventHandler(this.labelSorter3RunTime_Click);
//
// labelTitleFeedSpeed
//
this.labelTitleFeedSpeed.BackPictureBox = this.smartForm1;
this.labelTitleFeedSpeed.BackPictureBox1 = null;
this.labelTitleFeedSpeed.BackPictureBox2 = null;
this.labelTitleFeedSpeed.BorderColor = System.Drawing.Color.Black;
this.labelTitleFeedSpeed.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleFeedSpeed.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleFeedSpeed.ForeColor = System.Drawing.Color.Black;
this.labelTitleFeedSpeed.InitVisible = true;
this.labelTitleFeedSpeed.LineSpacing = 0F;
this.labelTitleFeedSpeed.Location = new System.Drawing.Point(17, 503);
this.labelTitleFeedSpeed.Name = "labelTitleFeedSpeed";
this.labelTitleFeedSpeed.Size = new System.Drawing.Size(165, 25);
this.labelTitleFeedSpeed.TabIndex = 109;
this.labelTitleFeedSpeed.Text = "속도";
this.labelTitleFeedSpeed.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleFeedSpeed.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleFeedSpeed.Wordwrap = false;
//
// labelStaticSorter3RunTime
//
this.labelStaticSorter3RunTime.BackPictureBox = this.smartForm1;
@ -881,7 +922,7 @@
this.labelStaticSorter3RunTime.BackPictureBox2 = null;
this.labelStaticSorter3RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter3RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter3RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter3RunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter3RunTime.InitVisible = true;
this.labelStaticSorter3RunTime.LineSpacing = 0F;
@ -922,7 +963,7 @@
this.labelStaticSorter2DelayTime.BackPictureBox2 = null;
this.labelStaticSorter2DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter2DelayTime.InitVisible = true;
this.labelStaticSorter2DelayTime.LineSpacing = 0F;
@ -963,7 +1004,7 @@
this.labelStaticSorter2RunTime.BackPictureBox2 = null;
this.labelStaticSorter2RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter2RunTime.InitVisible = true;
this.labelStaticSorter2RunTime.LineSpacing = 0F;
@ -1004,7 +1045,7 @@
this.labelStaticSorter1DelayTime.BackPictureBox2 = null;
this.labelStaticSorter1DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter1DelayTime.InitVisible = true;
this.labelStaticSorter1DelayTime.LineSpacing = 0F;
@ -1045,7 +1086,7 @@
this.labelStaticJudgmentDelayTime.BackPictureBox2 = null;
this.labelStaticJudgmentDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticJudgmentDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticJudgmentDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentDelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgmentDelayTime.InitVisible = true;
this.labelStaticJudgmentDelayTime.LineSpacing = 0F;
@ -1101,7 +1142,7 @@
this.labelStaticSorter1RunTime.BackPictureBox2 = null;
this.labelStaticSorter1RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter1RunTime.InitVisible = true;
this.labelStaticSorter1RunTime.LineSpacing = 0F;
@ -1121,7 +1162,7 @@
this.labelStaticWeight.BackPictureBox2 = null;
this.labelStaticWeight.BorderColor = System.Drawing.Color.Black;
this.labelStaticWeight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelStaticWeight.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticWeight.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticWeight.ForeColor = System.Drawing.Color.Black;
this.labelStaticWeight.InitVisible = true;
this.labelStaticWeight.LineSpacing = 0F;
@ -1164,7 +1205,7 @@
this.buttonWeightReference.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonWeightReference.DisableImage = null;
this.buttonWeightReference.DownImage = null;
this.buttonWeightReference.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.buttonWeightReference.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.buttonWeightReference.GroupID = 0;
this.buttonWeightReference.InitVisible = true;
this.buttonWeightReference.Location = new System.Drawing.Point(132, 309);
@ -1215,7 +1256,7 @@
this.labelStaticADC.BackPictureBox2 = null;
this.labelStaticADC.BorderColor = System.Drawing.Color.Black;
this.labelStaticADC.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelStaticADC.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticADC.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticADC.ForeColor = System.Drawing.Color.Black;
this.labelStaticADC.InitVisible = true;
this.labelStaticADC.LineSpacing = 0F;
@ -1297,7 +1338,7 @@
this.labelStaticJudgmentCount.BackPictureBox2 = null;
this.labelStaticJudgmentCount.BorderColor = System.Drawing.Color.Black;
this.labelStaticJudgmentCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticJudgmentCount.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentCount.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentCount.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgmentCount.InitVisible = true;
this.labelStaticJudgmentCount.LineSpacing = 0F;
@ -1317,7 +1358,7 @@
this.labelStaticJudgment.BackPictureBox2 = null;
this.labelStaticJudgment.BorderColor = System.Drawing.Color.Black;
this.labelStaticJudgment.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelStaticJudgment.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgment.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgment.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgment.InitVisible = true;
this.labelStaticJudgment.LineSpacing = 0F;
@ -1337,7 +1378,7 @@
this.labelStaticTurnDelayTime.BackPictureBox2 = null;
this.labelStaticTurnDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticTurnDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticTurnDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTurnDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTurnDelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticTurnDelayTime.InitVisible = true;
this.labelStaticTurnDelayTime.LineSpacing = 0F;
@ -1377,7 +1418,7 @@
this.labelStaticFilter.BackPictureBox2 = null;
this.labelStaticFilter.BorderColor = System.Drawing.Color.Black;
this.labelStaticFilter.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFilter.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticFilter.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticFilter.ForeColor = System.Drawing.Color.Black;
this.labelStaticFilter.InitVisible = true;
this.labelStaticFilter.LineSpacing = 0F;
@ -1428,49 +1469,6 @@
this.smartDraw.TabIndex = 164;
this.smartDraw.Text = "smartDraw2";
//
// labelFeedSpeed
//
this.labelFeedSpeed.BackColor = System.Drawing.SystemColors.Window;
this.labelFeedSpeed.BackPictureBox = null;
this.labelFeedSpeed.BackPictureBox1 = null;
this.labelFeedSpeed.BackPictureBox2 = null;
this.labelFeedSpeed.BorderColor = System.Drawing.Color.Black;
this.labelFeedSpeed.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelFeedSpeed.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelFeedSpeed.InitVisible = true;
this.labelFeedSpeed.LineSpacing = 0F;
this.labelFeedSpeed.Location = new System.Drawing.Point(188, 503);
this.labelFeedSpeed.Name = "labelFeedSpeed";
this.labelFeedSpeed.Size = new System.Drawing.Size(80, 25);
this.labelFeedSpeed.TabIndex = 110;
this.labelFeedSpeed.Text = "100";
this.labelFeedSpeed.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelFeedSpeed.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelFeedSpeed.Visible = false;
this.labelFeedSpeed.Wordwrap = false;
this.labelFeedSpeed.Click += new System.EventHandler(this.labelFeedSpeed_Click);
//
// labelTitleFeedSpeed
//
this.labelTitleFeedSpeed.BackPictureBox = this.smartForm1;
this.labelTitleFeedSpeed.BackPictureBox1 = null;
this.labelTitleFeedSpeed.BackPictureBox2 = null;
this.labelTitleFeedSpeed.BorderColor = System.Drawing.Color.Black;
this.labelTitleFeedSpeed.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleFeedSpeed.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleFeedSpeed.ForeColor = System.Drawing.Color.Black;
this.labelTitleFeedSpeed.InitVisible = true;
this.labelTitleFeedSpeed.LineSpacing = 0F;
this.labelTitleFeedSpeed.Location = new System.Drawing.Point(17, 503);
this.labelTitleFeedSpeed.Name = "labelTitleFeedSpeed";
this.labelTitleFeedSpeed.Size = new System.Drawing.Size(165, 25);
this.labelTitleFeedSpeed.TabIndex = 109;
this.labelTitleFeedSpeed.Text = "속도";
this.labelTitleFeedSpeed.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleFeedSpeed.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleFeedSpeed.Visible = false;
this.labelTitleFeedSpeed.Wordwrap = false;
//
// smartKeyboard
//
this.smartKeyboard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(150)))), ((int)(((byte)(151)))));

View File

@ -743,7 +743,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.MainCut, "");
}
@ -926,7 +926,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveProductFile(this.SelectedProductItem, this.SelectedProductNo - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
afterUnder = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightUnderRange, number, beforeUnder, afterUnder);
@ -947,7 +947,7 @@ namespace INT63DC_2C.Forms
myMsg.ShowDialog();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
afterUnderLimit = this.labelUnderRangeLimit.Text;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightUnderRange, number, beforeUnderLimit, afterUnderLimit);
@ -981,7 +981,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveProductFile(this.SelectedProductItem, this.SelectedProductNo - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightPassRange, number, before, after);
@ -1015,7 +1015,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveProductFile(this.SelectedProductItem, this.SelectedProductNo - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
afterOver = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightOverRange, number, beforeOver, afterOver);
@ -1036,7 +1036,7 @@ namespace INT63DC_2C.Forms
myMsg.ShowDialog();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
afterOverLimit = this.labelOverRangeLimit.Text;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightOverRangeLimit, number, beforeOverLimit, afterOverLimit);
@ -1069,7 +1069,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveProductFile(this.SelectedProductItem, this.SelectedProductNo - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightTareRange, number, before, after);
@ -1101,7 +1101,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveProductFile(this.SelectedProductItem, this.SelectedProductNo - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightUnderRangeLimit, number, before, after);
@ -1133,7 +1133,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveProductFile(this.SelectedProductItem, this.SelectedProductNo - 1);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.WeightOverRangeLimit, number, before, after);
@ -1170,7 +1170,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentFilter, number, before, after);
@ -1205,7 +1205,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentDelayTime, number, before, after);
@ -1239,7 +1239,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentTurnDelayTime, number, before, after);
@ -1279,7 +1279,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = this.labelFeedSpeed.Text;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentSpeed, number, before, after);
@ -1314,7 +1314,7 @@ namespace INT63DC_2C.Forms
this.GraphBackRedraw();
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.JudgmentCount, number, before, after);
@ -1348,7 +1348,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1DelayTime, number, before, after);
@ -1382,7 +1382,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1RunTime, number, before, after);
@ -1416,7 +1416,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2DelayTime, number, before, after);
@ -1450,7 +1450,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2RunTime, number, before, after);
@ -1484,7 +1484,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter3DelayTime, number, before, after);
@ -1518,7 +1518,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
after = myKeyPad.StringValue;
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter3RunTime, number, before, after);
@ -1640,7 +1640,7 @@ namespace INT63DC_2C.Forms
this.CaptureJudgmentSetItem.Stopper2RunTime = this.SelectedJudgmentSetItem.Stopper2RunTime;
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.ProductCopy, this.buttonCopy.Text);
}
private void buttonPaste_Click(object sender, EventArgs e)
@ -1696,7 +1696,7 @@ namespace INT63DC_2C.Forms
this.ProductChange(this.SelectedProductNo);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.ProductPaste, this.SelectedProductNo.ToString());
}
private void buttonPasteAll_Click(object sender, EventArgs e)
@ -1849,7 +1849,7 @@ namespace INT63DC_2C.Forms
splash.Finish();
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.ProductAllPaste, this.SelectedProductNo.ToString());
}
#endregion

File diff suppressed because it is too large Load Diff

View File

@ -195,7 +195,7 @@ namespace INT63DC_2C.Forms
this.TimerForTimeSetting.Enabled = true;
this.buttonSave.Visible = false;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
if (after != "" && before != after)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ChangeTime, "", before, after);

View File

@ -195,7 +195,7 @@ namespace INT63DC_2C.Forms
this.ChildControlUserSet.Location = new Point(0, 73);
this.ChildControlUserSet.Visible = false;
if (this.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.SystemConfig.IsPart11 == false)
{
// Expiry date(Account)
this.labelTitleExpiryDateOfAccount.Visible = false;
@ -382,7 +382,7 @@ namespace INT63DC_2C.Forms
item.Password = this.SelectedUserItem.ResetPW;
else
item.Password = this.CurrentUserPassword;
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
item.ExpireId = int.Parse(this.labelExpiryDateOfAccount.Text);
item.ExpirePassword = int.Parse(this.labelExpiryDateOfPassword.Text);
@ -1035,7 +1035,7 @@ namespace INT63DC_2C.Forms
});
// Part 11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
detail = string.Format("Delete : {0}", user.user_id);
this.ParentForm.SetTrackingHistoryData(DataStore.E_TrackingOperation.UserEditor, detail);
@ -1248,7 +1248,7 @@ namespace INT63DC_2C.Forms
UserManager.UserManager_AutoLogoutSetTimeout(this.ParentForm.SystemConfig.AutomaticLogout, this.ParentForm.FlagAutomaticLogoutWarningTime);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.AutoLogout, "", before, after);
}
}

View File

@ -381,7 +381,7 @@ namespace INT63DC_2C.Forms
}
private void UpdatePart11Visible()
{
if (this.ParentForm.SystemConfig.IsOptPart11 == false)
if (this.ParentForm.SystemConfig.IsPart11 == false)
{
this.labelTitleStatistics.Visible = false;
this.checkBoxL1MenuStatistics.Visible = false;
@ -686,7 +686,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Level1Name, "", before, after);
}
}
@ -707,7 +707,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Level2Name, "", before, after);
}
}
@ -728,7 +728,7 @@ namespace INT63DC_2C.Forms
this.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Level3Name, "", before, after);
}
}

View File

@ -45,8 +45,14 @@
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup>
<ItemGroup>
<Reference Include="InModbus, Version=2.0.8.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="libPayService, Version=1.0.8748.18817, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="InModbus, Version=2.0.9.4, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Document\DLL\InModbus.dll</HintPath>
</Reference>
<Reference Include="libPayService, Version=1.0.8748.18817, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Document\DLL\libPayService.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsCE.Forms" />
<Reference Include="mscorlib" />
<Reference Include="SmartXCommon, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">

View File

@ -143,6 +143,9 @@ namespace INT63DC_2C.Part11_UserManager
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserAllDel_Default();
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserLoginFailLockSet(IntPtr user_id);
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserLockRelease(IntPtr user_id, bool lock_account, bool lock_password);

View File

@ -91,7 +91,7 @@ namespace INT63DC_2C.Part11_UserManager
USER_MGR_STATUS_OTHER_OVER_LOGIN_TIMEOUT, // 18 - over maximum auto logout time (minute)
USER_MGR_STATUS_MAX,
};
};
#endregion
#region Enum E_user_mgr_menu_id
@ -192,7 +192,7 @@ namespace INT63DC_2C.Part11_UserManager
return dateTime;
}
}
}
#endregion
#region Struct UserMgr_user_info_t
@ -243,7 +243,10 @@ namespace INT63DC_2C.Part11_UserManager
[MarshalAs(UnmanagedType.I4)]
public Int32 fFirstPW; // [1] First (request to modify), [0] Next (not request)
}
[MarshalAs(UnmanagedType.I4)]
public Int32 login_fail_count; // [1] First (request to modify), [0] Next (not request)
}
#endregion
#region Struct UserMgr_user_modify_t
@ -265,7 +268,7 @@ namespace INT63DC_2C.Part11_UserManager
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_USER_ID_LENGTH)]
public string user_id;
}
}
#endregion
#region Struct UserMgr_login_timeout_t
@ -276,7 +279,7 @@ namespace INT63DC_2C.Part11_UserManager
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_USER_ID_LENGTH)]
public string user_id;
}
}
#endregion
#region Struct UserMgr_user_add_t
@ -289,7 +292,7 @@ namespace INT63DC_2C.Part11_UserManager
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_USER_ID_LENGTH)]
public string user_id;
}
}
#endregion
#region Struct UserMgr_user_lock_t
@ -301,7 +304,7 @@ namespace INT63DC_2C.Part11_UserManager
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_USER_ID_LENGTH)]
public string user_id;
}
}
#endregion
#region Struct UserMgr_user_list_t
@ -358,7 +361,7 @@ namespace INT63DC_2C.Part11_UserManager
[MarshalAs(UnmanagedType.I4)]
public Int32 fFirstPW; // flag first password
}
}
#endregion
#region Struct UserMgr_user_list_name_t

View File

@ -194,6 +194,12 @@ namespace INT63DC_2C.Part11_UserManager
DLL_UserMgr_UserLockGet(pID);
}
public static void UserManager_UserLoginFailLockSet(String sID)
{
IntPtr pID = Marshal.StringToBSTR(sID.ToString());
DLL_UserMgr_UserLoginFailLockSet(pID);
}
public static void UserManager_UserLoginCB(String sID, String sPW)
{
IntPtr pID = Marshal.StringToBSTR(sID.ToString());
@ -254,7 +260,7 @@ namespace INT63DC_2C.Part11_UserManager
}
catch
{
}
}
}
private static void UserManager_GetListCallBack(ref UserMgr_user_list_t user_list)
{
@ -286,7 +292,7 @@ namespace INT63DC_2C.Part11_UserManager
UserListLogoutDataEvent(status);
}
catch
catch
{
}
}
@ -308,7 +314,7 @@ namespace INT63DC_2C.Part11_UserManager
if (UserListLockDataEvent != null)
UserListLockDataEvent(user_lock);
}
catch
catch
{
}
}
@ -319,7 +325,7 @@ namespace INT63DC_2C.Part11_UserManager
if (UserListDefautSettingDataEvent != null)
UserListDefautSettingDataEvent(status);
}
catch
catch
{
}
}
@ -363,7 +369,7 @@ namespace INT63DC_2C.Part11_UserManager
if (UserListAddDataEvent != null)
UserListAddDataEvent(user_add);
}
catch
catch
{
}
}
@ -388,21 +394,21 @@ namespace INT63DC_2C.Part11_UserManager
try
{
}
catch
catch
{
}
}
private static void UserManager_VersionCallback(StringBuilder version)
{
try
{
try
{
if (UserListGetVersionDataEvent != null)
UserListGetVersionDataEvent(version);
}
catch
{
}
}
catch
{
}
}
#endregion
}

Binary file not shown.