- Feedback 아이콘 표시 버그 수정 -> 9507 Optionboard 항목이 -1로 저장될 경우 0으로 강제변경
parent
e6b847636f
commit
e77336f3b3
|
@ -131,11 +131,18 @@ namespace ITC81DB_2.Controls
|
||||||
|
|
||||||
public bool IsUsingFeedback()
|
public bool IsUsingFeedback()
|
||||||
{
|
{
|
||||||
int value = int.Parse(this.ParentForm.ParentForm.CurrentSystemParameter9507.OptionBoard);
|
try
|
||||||
if (value == 1 && int.Parse(this.ParentForm.ParentForm.CurrentSystemParameter9508.OPT1SamplingCount) != 0)
|
{
|
||||||
return true;
|
int value = int.Parse(this.ParentForm.ParentForm.CurrentSystemParameter9507.OptionBoard);
|
||||||
else
|
if (value == 1 && int.Parse(this.ParentForm.ParentForm.CurrentSystemParameter9508.OPT1SamplingCount) != 0)
|
||||||
|
return true;
|
||||||
|
else
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public string CaculateDeviation1(int value)
|
public string CaculateDeviation1(int value)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1546,11 +1546,8 @@ namespace ITC81DB_2.Forms
|
||||||
return ret = -1;
|
return ret = -1;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (iValue != this.SystemConfig.ProductNumber)
|
this.SystemConfig.ProductNumber = iValue;
|
||||||
{
|
this.SaveSystemConfigurationFile1(this.SystemConfig);
|
||||||
this.SystemConfig.ProductNumber = iValue;
|
|
||||||
this.SaveSystemConfigurationFile1(this.SystemConfig);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 최초에 부팅이 완료 되었는지 확인
|
// 최초에 부팅이 완료 되었는지 확인
|
||||||
if (this.IsBootingComplete == false)
|
if (this.IsBootingComplete == false)
|
||||||
|
@ -1558,8 +1555,10 @@ namespace ITC81DB_2.Forms
|
||||||
|
|
||||||
this.LoadProductFile1(ref this.CurrentProductItem1, this.SystemConfig.ProductNumber - 1);
|
this.LoadProductFile1(ref this.CurrentProductItem1, this.SystemConfig.ProductNumber - 1);
|
||||||
this.LoadProductFile2(ref this.CurrentProductItem2, this.SystemConfig.ProductNumber - 1);
|
this.LoadProductFile2(ref this.CurrentProductItem2, this.SystemConfig.ProductNumber - 1);
|
||||||
|
|
||||||
this.LoadCounterFile1(ref this.CurrentWeightData1, this.SystemConfig.ProductNumber - 1);
|
this.LoadCounterFile1(ref this.CurrentWeightData1, this.SystemConfig.ProductNumber - 1);
|
||||||
this.LoadCounterFile2(ref this.CurrentWeightData2, this.SystemConfig.ProductNumber - 1);
|
this.LoadCounterFile2(ref this.CurrentWeightData2, this.SystemConfig.ProductNumber - 1);
|
||||||
|
|
||||||
this.LoadJudgmentSetFile1(ref this.CurrentJudgmentSetItem1, this.SystemConfig.ProductNumber - 1);
|
this.LoadJudgmentSetFile1(ref this.CurrentJudgmentSetItem1, this.SystemConfig.ProductNumber - 1);
|
||||||
this.LoadJudgmentSetFile2(ref this.CurrentJudgmentSetItem2, this.SystemConfig.ProductNumber - 1);
|
this.LoadJudgmentSetFile2(ref this.CurrentJudgmentSetItem2, this.SystemConfig.ProductNumber - 1);
|
||||||
|
|
||||||
|
@ -1657,7 +1656,10 @@ namespace ITC81DB_2.Forms
|
||||||
this.CurrentSystemParameter9507.Dummy1 = receiveData.Substring(23, 7).Trim();
|
this.CurrentSystemParameter9507.Dummy1 = receiveData.Substring(23, 7).Trim();
|
||||||
this.CurrentSystemParameter9507.Dummy2 = receiveData.Substring(30, 7).Trim();
|
this.CurrentSystemParameter9507.Dummy2 = receiveData.Substring(30, 7).Trim();
|
||||||
this.CurrentSystemParameter9507.Dummy3 = receiveData.Substring(37, 7).Trim();
|
this.CurrentSystemParameter9507.Dummy3 = receiveData.Substring(37, 7).Trim();
|
||||||
this.CurrentSystemParameter9507.OptionBoard = receiveData.Substring(44, 4).Trim();
|
if(receiveData.Substring(44, 4).Trim().StartsWith("-") == true)
|
||||||
|
this.CurrentSystemParameter9507.OptionBoard = "0";
|
||||||
|
else
|
||||||
|
this.CurrentSystemParameter9507.OptionBoard = receiveData.Substring(44, 4).Trim();
|
||||||
this.CurrentSystemParameter9507.Dummy4 = receiveData.Substring(48, 4).Trim();
|
this.CurrentSystemParameter9507.Dummy4 = receiveData.Substring(48, 4).Trim();
|
||||||
this.CurrentSystemParameter9507.Dummy5 = receiveData.Substring(52, 4).Trim();
|
this.CurrentSystemParameter9507.Dummy5 = receiveData.Substring(52, 4).Trim();
|
||||||
this.CurrentSystemParameter9507.Dummy6 = receiveData.Substring(56, 4).Trim();
|
this.CurrentSystemParameter9507.Dummy6 = receiveData.Substring(56, 4).Trim();
|
||||||
|
|
|
@ -427,20 +427,12 @@ namespace ITC81DB_2.Forms
|
||||||
}
|
}
|
||||||
|
|
||||||
// Icon - Feedback
|
// Icon - Feedback
|
||||||
try
|
if (this.MainFeedback.IsUsingFeedback() == true) // Feedback
|
||||||
{
|
{
|
||||||
if (this.MainFeedback.IsUsingFeedback() == true) // Feedback
|
this.pictureBoxFeedbackDisable.Visible = false;
|
||||||
{
|
this.pictureBoxFeedbackEnable.Visible = true;
|
||||||
this.pictureBoxFeedbackDisable.Visible = false;
|
|
||||||
this.pictureBoxFeedbackEnable.Visible = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.pictureBoxFeedbackDisable.Visible = true;
|
|
||||||
this.pictureBoxFeedbackEnable.Visible = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch
|
else
|
||||||
{
|
{
|
||||||
this.pictureBoxFeedbackDisable.Visible = true;
|
this.pictureBoxFeedbackDisable.Visible = true;
|
||||||
this.pictureBoxFeedbackEnable.Visible = false;
|
this.pictureBoxFeedbackEnable.Visible = false;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -17,7 +17,7 @@
|
||||||
@ Ver 3.1.5 by CJY
|
@ Ver 3.1.5 by CJY
|
||||||
- 2025.09.02
|
- 2025.09.02
|
||||||
- Ver 3.1.4 Modify
|
- Ver 3.1.4 Modify
|
||||||
- Feedback 아이콘 표시 버그 수정
|
- Feedback 아이콘 표시 버그 수정 -> 9507 Optionboard 항목이 -1로 저장될 경우 0으로 강제변경
|
||||||
|
|
||||||
@ Ver 3.1.4 by CJY
|
@ Ver 3.1.4 by CJY
|
||||||
- 2025.02.27
|
- 2025.02.27
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue