부호 관련 수정

main
DESKTOP-S459P9R\LSJ 2025-07-24 10:53:11 +09:00
parent efce263633
commit 7ee16f2398
18 changed files with 1412 additions and 1330 deletions

View File

@ -182,7 +182,7 @@ namespace INT63DC_6CH.Controls
try
{
value = (int.Parse(weightData.WeightString) - startingPoint) * scale;
value = (weightData.WeightInt - startingPoint) * scale;
}
catch (Exception)
{

View File

@ -179,7 +179,7 @@ namespace INT63DC_6CH.Controls
try
{
value = (int.Parse(weightData.WeightString) - startingPoint) * scale;
value = (weightData.WeightInt - startingPoint) * scale;
}
catch (Exception)
{

View File

@ -161,7 +161,7 @@ namespace INT63DC_6CH.Controls
try
{
value = (int.Parse(weightData.WeightString) - startingPoint) * scale;
value = (weightData.WeightInt - startingPoint) * scale;
}
catch (Exception)
{

View File

@ -164,7 +164,7 @@ namespace INT63DC_6CH.Controls
try
{
value = (int.Parse(weightData.WeightString) - startingPoint) * scale;
value = (weightData.WeightInt - startingPoint) * scale;
}
catch (Exception)
{

View File

@ -167,7 +167,7 @@ namespace INT63DC_6CH.Controls
try
{
value = (int.Parse(weightData.WeightString) - startingPoint) * scale;
value = (weightData.WeightInt - startingPoint) * scale;
}
catch (Exception)
{

View File

@ -362,7 +362,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount1.Text != value)
this.labelNGCount1.Text = value;
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -399,7 +399,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount2.Text != value)
this.labelNGCount2.Text = value;
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -436,7 +436,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount3.Text != value)
this.labelNGCount3.Text = value;
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -473,7 +473,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount4.Text != value)
this.labelNGCount4.Text = value;
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -510,7 +510,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount5.Text != value)
this.labelNGCount5.Text = value;
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -547,7 +547,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount6.Text != value)
this.labelNGCount6.Text = value;
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -584,7 +584,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount7.Text != value)
this.labelNGCount7.Text = value;
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -621,7 +621,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount8.Text != value)
this.labelNGCount8.Text = value;
Helper.SetProgressBarValue(this.progressBar8, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar8, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -658,7 +658,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount9.Text != value)
this.labelNGCount9.Text = value;
Helper.SetProgressBarValue(this.progressBar9, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar9, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -695,7 +695,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount10.Text != value)
this.labelNGCount10.Text = value;
Helper.SetProgressBarValue(this.progressBar10, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar10, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{

View File

@ -368,7 +368,6 @@ namespace INT63DC_6CH.Controls
{
string value = "";
bool empty = false;
double dValue = 0.0;
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None)
return;
@ -392,7 +391,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount1.Text != value)
this.labelNGCount1.Text = value;
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -428,7 +427,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount2.Text != value)
this.labelNGCount2.Text = value;
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -465,7 +464,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount3.Text != value)
this.labelNGCount3.Text = value;
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -502,7 +501,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount4.Text != value)
this.labelNGCount4.Text = value;
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -539,7 +538,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount5.Text != value)
this.labelNGCount5.Text = value;
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -576,7 +575,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount6.Text != value)
this.labelNGCount6.Text = value;
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -613,7 +612,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount7.Text != value)
this.labelNGCount7.Text = value;
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -650,7 +649,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount8.Text != value)
this.labelNGCount8.Text = value;
Helper.SetProgressBarValue(this.progressBar8, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar8, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -687,7 +686,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount9.Text != value)
this.labelNGCount9.Text = value;
Helper.SetProgressBarValue(this.progressBar9, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar9, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -724,7 +723,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount10.Text != value)
this.labelNGCount10.Text = value;
Helper.SetProgressBarValue(this.progressBar10, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar10, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -761,7 +760,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount11.Text != value)
this.labelNGCount11.Text = value;
Helper.SetProgressBarValue(this.progressBar11, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar11, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -798,7 +797,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount12.Text != value)
this.labelNGCount12.Text = value;
Helper.SetProgressBarValue(this.progressBar12, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar12, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{

View File

@ -301,7 +301,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount1.Text != value)
this.labelNGCount1.Text = value;
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -338,7 +338,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount2.Text != value)
this.labelNGCount2.Text = value;
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -375,7 +375,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount3.Text != value)
this.labelNGCount3.Text = value;
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -412,7 +412,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount4.Text != value)
this.labelNGCount4.Text = value;
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -449,7 +449,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount5.Text != value)
this.labelNGCount5.Text = value;
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -486,7 +486,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount6.Text != value)
this.labelNGCount6.Text = value;
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{

View File

@ -316,7 +316,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount1.Text != value)
this.labelNGCount1.Text = value;
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -353,7 +353,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount2.Text != value)
this.labelNGCount2.Text = value;
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -390,7 +390,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount3.Text != value)
this.labelNGCount3.Text = value;
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -427,7 +427,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount4.Text != value)
this.labelNGCount4.Text = value;
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -464,7 +464,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount5.Text != value)
this.labelNGCount5.Text = value;
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -501,7 +501,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount6.Text != value)
this.labelNGCount6.Text = value;
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -538,7 +538,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount7.Text != value)
this.labelNGCount7.Text = value;
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{

View File

@ -331,7 +331,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount1.Text != value)
this.labelNGCount1.Text = value;
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar1, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -368,7 +368,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount2.Text != value)
this.labelNGCount2.Text = value;
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar2, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -405,7 +405,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount3.Text != value)
this.labelNGCount3.Text = value;
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar3, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -442,7 +442,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount4.Text != value)
this.labelNGCount4.Text = value;
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar4, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -479,7 +479,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount5.Text != value)
this.labelNGCount5.Text = value;
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar5, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -516,7 +516,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount6.Text != value)
this.labelNGCount6.Text = value;
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar6, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -553,7 +553,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount7.Text != value)
this.labelNGCount7.Text = value;
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar7, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{
@ -590,7 +590,7 @@ namespace INT63DC_6CH.Controls
if (this.labelNGCount8.Text != value)
this.labelNGCount8.Text = value;
Helper.SetProgressBarValue(this.progressBar8, weightData.WeightString, weightData.JudgmentStatus);
Helper.SetProgressBarValue(this.progressBar8, weightData.WeightInt, weightData.JudgmentStatus);
}
else
{

View File

@ -1458,12 +1458,12 @@ namespace INT63DC_6CH
this.Number = 1;
this.Name = "ProductName 1";
this.LotNo = "Lot 1";
this.UnderRange = "10000";
this.PassRange = "20000";
this.OverRange = "30000";
this.UnderRange = "1000";
this.PassRange = "2000";
this.OverRange = "3000";
this.TareRange = "0";
this.UnderRangeLimit = "0";
this.OverRangeLimit = "999999";
this.OverRangeLimit = "99999";
}
private void ProgressBarLevelRescale()
@ -1650,11 +1650,38 @@ namespace INT63DC_6CH
}
}
/// <summary>
/// 소수점 없는 중량값(INT) / 음수이면 0
/// </summary>
public int WeightInt
{
get
{
int ret = 0;
if (this.Sign == "-")
ret = 0;
else
ret = int.Parse(this.WeightString);
return ret;
}
}
/// <summary>
/// 소수점 없는 중량값
/// </summary>
public string WeightString
{
get { return this.m_WeightString; }
get
{
string ret = "";
if (this.Sign == "-")
ret = "-" + this.m_WeightString.Remove(1, 0);
else
ret = this.m_WeightString;
return ret;
}
set { this.m_WeightString = value; }
}
public string Sign

View File

@ -536,32 +536,6 @@ namespace INT63DC_6CH.Forms
}
}
// Interlock 중량 체크 후 정지
private void InterlockCheckWeightStop(Collection<WeightData> datas)
{
if (this.SystemConfig.IsWeightLimitEnable == true)
{
for (int i = 0; i < datas.Count; i++)
{
if (int.Parse(datas[i].WeightString) > int.Parse(this.CurrentProductItem.OverRangeLimit))
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
//this.ChildFormMainDisplay.UpdateDisplayPinchPointAlarm(i + 1);
this.timerEmergencyStop.Enabled = true;
return;
}
if (int.Parse(datas[i].WeightString) < int.Parse(this.CurrentProductItem.UnderRangeLimit))
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
//this.ChildFormMainDisplay.UpdateDisplayPinchPointAlarm(i + 1);
this.timerEmergencyStop.Enabled = true;
return;
}
}
}
}
#region Uart Communication
public void OpenSmartUartLink()
{
@ -1208,8 +1182,8 @@ namespace INT63DC_6CH.Forms
if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
{
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 10, 2));
//this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 2, 8);
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7);
}
else
{
@ -1224,8 +1198,8 @@ namespace INT63DC_6CH.Forms
if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
{
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Status = Helper.StringToWeightStatus(receiveData.Substring((i - 1) * 10, 2));
//this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Sign = receiveData.Substring((i - 1) * 10 + 2, 1);
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].WeightString = receiveData.Substring((i - 1) * 10 + 2, 8);
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Sign = receiveData.Substring((i - 1) * 10 + 2, 1);
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].WeightString = receiveData.Substring((i - 1) * 10 + 3, 7);
}
else
{
@ -1289,8 +1263,8 @@ namespace INT63DC_6CH.Forms
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
{
this.CollectionWeightData[i].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(i * 10, 2));
//this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 2, 8).Trim();
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7).Trim();
// SamplingData Check
data = receiveData.Substring(i * 10, 2);
@ -1319,8 +1293,8 @@ namespace INT63DC_6CH.Forms
for (int i = 1; i <= this.SystemConfig.EquipmentColumns; i++)
{
this.CollectionWeightData[this.CollectionWeightData.Count - i].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring((i - 1) * 10, 2));
//this.CollectionWeightData[this.CollectionWeightData.Count - i].Sign = receiveData.Substring((i - 1) * 10 + 2, 1);
this.CollectionWeightData[this.CollectionWeightData.Count - i].WeightString = receiveData.Substring((i - 1) * 10 + 2, 8).Trim();
this.CollectionWeightData[this.CollectionWeightData.Count - i].Sign = receiveData.Substring((i - 1) * 10 + 2, 1);
this.CollectionWeightData[this.CollectionWeightData.Count - i].WeightString = receiveData.Substring((i - 1) * 10 + 3, 7).Trim();
// SamplingData Check
data = receiveData.Substring((i - 1) * 10, 2);
@ -1376,7 +1350,7 @@ namespace INT63DC_6CH.Forms
//if (weight.JudgmentStatus == DataStore.JudgmentStatus.Empty)
// cnt++;
if (int.Parse(weight.WeightString) < int.Parse(this.SystemConfig.EmptyWeight))
if (weight.WeightInt < int.Parse(this.SystemConfig.EmptyWeight))
cnt++;
}
@ -1427,8 +1401,8 @@ namespace INT63DC_6CH.Forms
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
{
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 10, 2));
//this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 2, 8);
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7);
}
#endregion
@ -1453,8 +1427,8 @@ namespace INT63DC_6CH.Forms
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
{
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 10, 2));
//this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 2, 8);
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7);
}
#endregion
@ -1476,7 +1450,7 @@ namespace INT63DC_6CH.Forms
{
case "A":
#region Value Assign
this.CollectionWeightData[0].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[0].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1490,7 +1464,7 @@ namespace INT63DC_6CH.Forms
break;
case "B":
#region Value Assign
this.CollectionWeightData[1].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[1].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1504,7 +1478,7 @@ namespace INT63DC_6CH.Forms
break;
case "C":
#region Value Assign
this.CollectionWeightData[2].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[2].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1518,7 +1492,7 @@ namespace INT63DC_6CH.Forms
break;
case "D":
#region Value Assign
this.CollectionWeightData[3].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[3].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1532,7 +1506,7 @@ namespace INT63DC_6CH.Forms
break;
case "E":
#region Value Assign
this.CollectionWeightData[4].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[4].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1546,7 +1520,7 @@ namespace INT63DC_6CH.Forms
break;
case "F":
#region Value Assign
this.CollectionWeightData[5].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[5].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1560,7 +1534,7 @@ namespace INT63DC_6CH.Forms
break;
case "G":
#region Value Assign
this.CollectionWeightData[6].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[6].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1574,7 +1548,7 @@ namespace INT63DC_6CH.Forms
break;
case "H":
#region Value Assign
this.CollectionWeightData[7].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[7].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1588,7 +1562,7 @@ namespace INT63DC_6CH.Forms
break;
case "I":
#region Value Assign
this.CollectionWeightData[8].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[8].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1602,7 +1576,7 @@ namespace INT63DC_6CH.Forms
break;
case "J":
#region Value Assign
this.CollectionWeightData[9].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[9].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1616,7 +1590,7 @@ namespace INT63DC_6CH.Forms
break;
case "K":
#region Value Assign
this.CollectionWeightData[10].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[10].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{
@ -1630,7 +1604,7 @@ namespace INT63DC_6CH.Forms
break;
case "L":
#region Value Assign
this.CollectionWeightData[11].WeightString = receiveData.Substring(2, 8);
this.CollectionWeightData[11].WeightString = receiveData.Substring(3, 7);
for (int i = 0; i < this.CollectionGraphData.Count; i++)
{

View File

@ -83,6 +83,8 @@
this.pictureBoxBypass = new System.Windows.Forms.PictureBox();
this.pictureBoxAlarm = new System.Windows.Forms.PictureBox();
this.panelAlarmMessageBox2 = new System.Windows.Forms.Panel();
this.buttonAlarm2OK = new System.Windows.Forms.Button();
this.pictureBoxExclamation = new System.Windows.Forms.PictureBox();
this.smartListBox1 = new SmartX.SmartListBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.labelAlarm2ErrorCode = new SmartX.SmartLabel();
@ -105,6 +107,8 @@
this.labelCutSignalInterval = new SmartX.SmartLabel();
this.timerCutSignal = new System.Windows.Forms.Timer();
this.panelAlarmMessageBox3 = new System.Windows.Forms.Panel();
this.buttonAlarm3Ok = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.labelMessage4 = new SmartX.SmartLabel();
this.labelMessage3 = new SmartX.SmartLabel();
this.smartLabel4 = new SmartX.SmartLabel();
@ -122,6 +126,8 @@
this.labelUnderRange = new SmartX.SmartLabel();
this.labelPassRange = new SmartX.SmartLabel();
this.panelAlarmMessageBox4 = new System.Windows.Forms.Panel();
this.buttonAlarm4Ok = new System.Windows.Forms.Button();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.labelMessage5 = new SmartX.SmartLabel();
this.smartLabel5 = new SmartX.SmartLabel();
this.pictureBox6 = new System.Windows.Forms.PictureBox();
@ -129,12 +135,6 @@
this.pictureBoxEthernetDisconnection = new System.Windows.Forms.PictureBox();
this.pictureBoxEthernetConnection = new System.Windows.Forms.PictureBox();
this.buttonExit = new SmartX.SmartButton();
this.pictureBoxExclamation = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.buttonAlarm2OK = new System.Windows.Forms.Button();
this.buttonAlarm3Ok = new System.Windows.Forms.Button();
this.buttonAlarm4Ok = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.panelSetting.SuspendLayout();
this.groupBoxJudgmentSetting.SuspendLayout();
@ -709,10 +709,10 @@
this.groupBoxJudgmentSetting.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.Rectangle;
this.groupBoxJudgmentSetting.Image = null;
this.groupBoxJudgmentSetting.InitVisible = true;
this.groupBoxJudgmentSetting.Location = new System.Drawing.Point(11, 272);
this.groupBoxJudgmentSetting.Location = new System.Drawing.Point(11, 231);
this.groupBoxJudgmentSetting.Name = "groupBoxJudgmentSetting";
this.groupBoxJudgmentSetting.RoundRadius = 5;
this.groupBoxJudgmentSetting.Size = new System.Drawing.Size(557, 141);
this.groupBoxJudgmentSetting.Size = new System.Drawing.Size(557, 182);
this.groupBoxJudgmentSetting.TabIndex = 249;
this.groupBoxJudgmentSetting.Text = "판정설정";
this.groupBoxJudgmentSetting.TextColor = System.Drawing.Color.White;
@ -728,7 +728,7 @@
this.labelTurnDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelTurnDelayTime.InitVisible = true;
this.labelTurnDelayTime.LineSpacing = 0F;
this.labelTurnDelayTime.Location = new System.Drawing.Point(215, 57);
this.labelTurnDelayTime.Location = new System.Drawing.Point(215, 76);
this.labelTurnDelayTime.Name = "labelTurnDelayTime";
this.labelTurnDelayTime.Size = new System.Drawing.Size(60, 30);
this.labelTurnDelayTime.TabIndex = 251;
@ -750,7 +750,7 @@
this.labelStaticTurnDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticTurnDelayTime.InitVisible = true;
this.labelStaticTurnDelayTime.LineSpacing = 0F;
this.labelStaticTurnDelayTime.Location = new System.Drawing.Point(19, 57);
this.labelStaticTurnDelayTime.Location = new System.Drawing.Point(19, 76);
this.labelStaticTurnDelayTime.Name = "labelStaticTurnDelayTime";
this.labelStaticTurnDelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticTurnDelayTime.TabIndex = 250;
@ -771,7 +771,7 @@
this.labelStaticJudgmentCount.ForeColor = System.Drawing.Color.White;
this.labelStaticJudgmentCount.InitVisible = true;
this.labelStaticJudgmentCount.LineSpacing = 0F;
this.labelStaticJudgmentCount.Location = new System.Drawing.Point(19, 93);
this.labelStaticJudgmentCount.Location = new System.Drawing.Point(19, 112);
this.labelStaticJudgmentCount.Name = "labelStaticJudgmentCount";
this.labelStaticJudgmentCount.Size = new System.Drawing.Size(190, 30);
this.labelStaticJudgmentCount.TabIndex = 242;
@ -791,7 +791,7 @@
this.labelJudgmentDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelJudgmentDelayTime.InitVisible = true;
this.labelJudgmentDelayTime.LineSpacing = 0F;
this.labelJudgmentDelayTime.Location = new System.Drawing.Point(215, 21);
this.labelJudgmentDelayTime.Location = new System.Drawing.Point(215, 40);
this.labelJudgmentDelayTime.Name = "labelJudgmentDelayTime";
this.labelJudgmentDelayTime.Size = new System.Drawing.Size(60, 30);
this.labelJudgmentDelayTime.TabIndex = 247;
@ -813,7 +813,7 @@
this.labelStaticJudgmentDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticJudgmentDelayTime.InitVisible = true;
this.labelStaticJudgmentDelayTime.LineSpacing = 0F;
this.labelStaticJudgmentDelayTime.Location = new System.Drawing.Point(19, 21);
this.labelStaticJudgmentDelayTime.Location = new System.Drawing.Point(19, 40);
this.labelStaticJudgmentDelayTime.Name = "labelStaticJudgmentDelayTime";
this.labelStaticJudgmentDelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticJudgmentDelayTime.TabIndex = 246;
@ -833,7 +833,7 @@
this.labelJudgmentCount.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelJudgmentCount.InitVisible = true;
this.labelJudgmentCount.LineSpacing = 0F;
this.labelJudgmentCount.Location = new System.Drawing.Point(215, 93);
this.labelJudgmentCount.Location = new System.Drawing.Point(215, 112);
this.labelJudgmentCount.Name = "labelJudgmentCount";
this.labelJudgmentCount.Size = new System.Drawing.Size(60, 30);
this.labelJudgmentCount.TabIndex = 245;
@ -884,7 +884,7 @@
this.groupBoxSorter.Location = new System.Drawing.Point(11, 10);
this.groupBoxSorter.Name = "groupBoxSorter";
this.groupBoxSorter.RoundRadius = 5;
this.groupBoxSorter.Size = new System.Drawing.Size(557, 264);
this.groupBoxSorter.Size = new System.Drawing.Size(557, 215);
this.groupBoxSorter.TabIndex = 175;
this.groupBoxSorter.Text = "선별기설정";
this.groupBoxSorter.TextColor = System.Drawing.Color.White;
@ -901,11 +901,11 @@
this.labelStaticDischargeStopperRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticDischargeStopperRunTime.InitVisible = true;
this.labelStaticDischargeStopperRunTime.LineSpacing = 0F;
this.labelStaticDischargeStopperRunTime.Location = new System.Drawing.Point(281, 135);
this.labelStaticDischargeStopperRunTime.Location = new System.Drawing.Point(281, 74);
this.labelStaticDischargeStopperRunTime.Name = "labelStaticDischargeStopperRunTime";
this.labelStaticDischargeStopperRunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticDischargeStopperRunTime.TabIndex = 134;
this.labelStaticDischargeStopperRunTime.Text = "배출스토퍼 동작시간";
this.labelStaticDischargeStopperRunTime.Text = "배출스토퍼 동작";
this.labelStaticDischargeStopperRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticDischargeStopperRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticDischargeStopperRunTime.Wordwrap = false;
@ -922,11 +922,11 @@
this.labelStaticDischargeStopperDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticDischargeStopperDelayTime.InitVisible = true;
this.labelStaticDischargeStopperDelayTime.LineSpacing = 0F;
this.labelStaticDischargeStopperDelayTime.Location = new System.Drawing.Point(281, 99);
this.labelStaticDischargeStopperDelayTime.Location = new System.Drawing.Point(281, 38);
this.labelStaticDischargeStopperDelayTime.Name = "labelStaticDischargeStopperDelayTime";
this.labelStaticDischargeStopperDelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticDischargeStopperDelayTime.TabIndex = 135;
this.labelStaticDischargeStopperDelayTime.Text = "배출스토퍼 지연시간";
this.labelStaticDischargeStopperDelayTime.Text = "배출스토퍼 지연";
this.labelStaticDischargeStopperDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticDischargeStopperDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticDischargeStopperDelayTime.Wordwrap = false;
@ -943,13 +943,14 @@
this.labelStaticEntryGateRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticEntryGateRunTime.InitVisible = true;
this.labelStaticEntryGateRunTime.LineSpacing = 0F;
this.labelStaticEntryGateRunTime.Location = new System.Drawing.Point(281, 63);
this.labelStaticEntryGateRunTime.Location = new System.Drawing.Point(281, 146);
this.labelStaticEntryGateRunTime.Name = "labelStaticEntryGateRunTime";
this.labelStaticEntryGateRunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticEntryGateRunTime.TabIndex = 132;
this.labelStaticEntryGateRunTime.Text = "진입게이트 동작시간";
this.labelStaticEntryGateRunTime.Text = "진입게이트 동작";
this.labelStaticEntryGateRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticEntryGateRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticEntryGateRunTime.Visible = false;
this.labelStaticEntryGateRunTime.Wordwrap = false;
//
// labelStaticEntryGateDelayTime
@ -964,13 +965,14 @@
this.labelStaticEntryGateDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticEntryGateDelayTime.InitVisible = true;
this.labelStaticEntryGateDelayTime.LineSpacing = 0F;
this.labelStaticEntryGateDelayTime.Location = new System.Drawing.Point(281, 27);
this.labelStaticEntryGateDelayTime.Location = new System.Drawing.Point(281, 110);
this.labelStaticEntryGateDelayTime.Name = "labelStaticEntryGateDelayTime";
this.labelStaticEntryGateDelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticEntryGateDelayTime.TabIndex = 133;
this.labelStaticEntryGateDelayTime.Text = "진입게이트 지연시간";
this.labelStaticEntryGateDelayTime.Text = "진입게이트 지연";
this.labelStaticEntryGateDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticEntryGateDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticEntryGateDelayTime.Visible = false;
this.labelStaticEntryGateDelayTime.Wordwrap = false;
//
// labelDischargeStopperRunTime
@ -984,7 +986,7 @@
this.labelDischargeStopperRunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelDischargeStopperRunTime.InitVisible = true;
this.labelDischargeStopperRunTime.LineSpacing = 0F;
this.labelDischargeStopperRunTime.Location = new System.Drawing.Point(477, 135);
this.labelDischargeStopperRunTime.Location = new System.Drawing.Point(477, 74);
this.labelDischargeStopperRunTime.Name = "labelDischargeStopperRunTime";
this.labelDischargeStopperRunTime.Size = new System.Drawing.Size(60, 30);
this.labelDischargeStopperRunTime.TabIndex = 130;
@ -1005,7 +1007,7 @@
this.labelDischargeStopperDelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelDischargeStopperDelayTime.InitVisible = true;
this.labelDischargeStopperDelayTime.LineSpacing = 0F;
this.labelDischargeStopperDelayTime.Location = new System.Drawing.Point(477, 99);
this.labelDischargeStopperDelayTime.Location = new System.Drawing.Point(477, 38);
this.labelDischargeStopperDelayTime.Name = "labelDischargeStopperDelayTime";
this.labelDischargeStopperDelayTime.Size = new System.Drawing.Size(60, 30);
this.labelDischargeStopperDelayTime.TabIndex = 131;
@ -1026,13 +1028,14 @@
this.labelEntryGateRunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelEntryGateRunTime.InitVisible = true;
this.labelEntryGateRunTime.LineSpacing = 0F;
this.labelEntryGateRunTime.Location = new System.Drawing.Point(477, 63);
this.labelEntryGateRunTime.Location = new System.Drawing.Point(477, 146);
this.labelEntryGateRunTime.Name = "labelEntryGateRunTime";
this.labelEntryGateRunTime.Size = new System.Drawing.Size(60, 30);
this.labelEntryGateRunTime.TabIndex = 128;
this.labelEntryGateRunTime.Text = "100";
this.labelEntryGateRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelEntryGateRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelEntryGateRunTime.Visible = false;
this.labelEntryGateRunTime.Wordwrap = false;
this.labelEntryGateRunTime.Click += new System.EventHandler(this.labelEntryGateRunTime_Click);
//
@ -1047,13 +1050,14 @@
this.labelEntryGateDelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelEntryGateDelayTime.InitVisible = true;
this.labelEntryGateDelayTime.LineSpacing = 0F;
this.labelEntryGateDelayTime.Location = new System.Drawing.Point(477, 27);
this.labelEntryGateDelayTime.Location = new System.Drawing.Point(477, 110);
this.labelEntryGateDelayTime.Name = "labelEntryGateDelayTime";
this.labelEntryGateDelayTime.Size = new System.Drawing.Size(60, 30);
this.labelEntryGateDelayTime.TabIndex = 129;
this.labelEntryGateDelayTime.Text = "100";
this.labelEntryGateDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelEntryGateDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelEntryGateDelayTime.Visible = false;
this.labelEntryGateDelayTime.Wordwrap = false;
this.labelEntryGateDelayTime.Click += new System.EventHandler(this.labelEntryGateDelayTime_Click);
//
@ -1068,7 +1072,7 @@
this.labelSorter2DelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter2DelayTime.InitVisible = true;
this.labelSorter2DelayTime.LineSpacing = 0F;
this.labelSorter2DelayTime.Location = new System.Drawing.Point(215, 99);
this.labelSorter2DelayTime.Location = new System.Drawing.Point(215, 110);
this.labelSorter2DelayTime.Name = "labelSorter2DelayTime";
this.labelSorter2DelayTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter2DelayTime.TabIndex = 116;
@ -1090,11 +1094,11 @@
this.labelStaticSorter2DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter2DelayTime.InitVisible = true;
this.labelStaticSorter2DelayTime.LineSpacing = 0F;
this.labelStaticSorter2DelayTime.Location = new System.Drawing.Point(19, 99);
this.labelStaticSorter2DelayTime.Location = new System.Drawing.Point(19, 110);
this.labelStaticSorter2DelayTime.Name = "labelStaticSorter2DelayTime";
this.labelStaticSorter2DelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter2DelayTime.TabIndex = 115;
this.labelStaticSorter2DelayTime.Text = "선별2 지연시간";
this.labelStaticSorter2DelayTime.Text = "선별2 지연";
this.labelStaticSorter2DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter2DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter2DelayTime.Wordwrap = false;
@ -1110,7 +1114,7 @@
this.labelSorter2RunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter2RunTime.InitVisible = true;
this.labelSorter2RunTime.LineSpacing = 0F;
this.labelSorter2RunTime.Location = new System.Drawing.Point(215, 135);
this.labelSorter2RunTime.Location = new System.Drawing.Point(215, 146);
this.labelSorter2RunTime.Name = "labelSorter2RunTime";
this.labelSorter2RunTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter2RunTime.TabIndex = 113;
@ -1132,11 +1136,11 @@
this.labelStaticSorter2RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter2RunTime.InitVisible = true;
this.labelStaticSorter2RunTime.LineSpacing = 0F;
this.labelStaticSorter2RunTime.Location = new System.Drawing.Point(19, 135);
this.labelStaticSorter2RunTime.Location = new System.Drawing.Point(19, 146);
this.labelStaticSorter2RunTime.Name = "labelStaticSorter2RunTime";
this.labelStaticSorter2RunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter2RunTime.TabIndex = 112;
this.labelStaticSorter2RunTime.Text = "선별2 동작시간";
this.labelStaticSorter2RunTime.Text = "선별2 동작";
this.labelStaticSorter2RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter2RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter2RunTime.Wordwrap = false;
@ -1152,7 +1156,7 @@
this.labelSorter1DelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter1DelayTime.InitVisible = true;
this.labelSorter1DelayTime.LineSpacing = 0F;
this.labelSorter1DelayTime.Location = new System.Drawing.Point(215, 27);
this.labelSorter1DelayTime.Location = new System.Drawing.Point(215, 38);
this.labelSorter1DelayTime.Name = "labelSorter1DelayTime";
this.labelSorter1DelayTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter1DelayTime.TabIndex = 111;
@ -1174,11 +1178,11 @@
this.labelStaticSorter1DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter1DelayTime.InitVisible = true;
this.labelStaticSorter1DelayTime.LineSpacing = 0F;
this.labelStaticSorter1DelayTime.Location = new System.Drawing.Point(19, 27);
this.labelStaticSorter1DelayTime.Location = new System.Drawing.Point(19, 38);
this.labelStaticSorter1DelayTime.Name = "labelStaticSorter1DelayTime";
this.labelStaticSorter1DelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter1DelayTime.TabIndex = 110;
this.labelStaticSorter1DelayTime.Text = "선별1 지연시간";
this.labelStaticSorter1DelayTime.Text = "선별1 지연";
this.labelStaticSorter1DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter1DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter1DelayTime.Wordwrap = false;
@ -1194,7 +1198,7 @@
this.labelSorter1RunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter1RunTime.InitVisible = true;
this.labelSorter1RunTime.LineSpacing = 0F;
this.labelSorter1RunTime.Location = new System.Drawing.Point(215, 63);
this.labelSorter1RunTime.Location = new System.Drawing.Point(215, 74);
this.labelSorter1RunTime.Name = "labelSorter1RunTime";
this.labelSorter1RunTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter1RunTime.TabIndex = 108;
@ -1216,11 +1220,11 @@
this.labelStaticSorter1RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter1RunTime.InitVisible = true;
this.labelStaticSorter1RunTime.LineSpacing = 0F;
this.labelStaticSorter1RunTime.Location = new System.Drawing.Point(19, 63);
this.labelStaticSorter1RunTime.Location = new System.Drawing.Point(19, 74);
this.labelStaticSorter1RunTime.Name = "labelStaticSorter1RunTime";
this.labelStaticSorter1RunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter1RunTime.TabIndex = 107;
this.labelStaticSorter1RunTime.Text = "선별1 동작시간";
this.labelStaticSorter1RunTime.Text = "선별1 동작";
this.labelStaticSorter1RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter1RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter1RunTime.Wordwrap = false;
@ -1294,6 +1298,23 @@
this.panelAlarmMessageBox2.Size = new System.Drawing.Size(450, 171);
this.panelAlarmMessageBox2.Visible = false;
//
// buttonAlarm2OK
//
this.buttonAlarm2OK.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonAlarm2OK.Location = new System.Drawing.Point(335, 135);
this.buttonAlarm2OK.Name = "buttonAlarm2OK";
this.buttonAlarm2OK.Size = new System.Drawing.Size(100, 25);
this.buttonAlarm2OK.TabIndex = 242;
this.buttonAlarm2OK.Text = "OK";
this.buttonAlarm2OK.Click += new System.EventHandler(this.buttonAlarm2OK_Click);
//
// pictureBoxExclamation
//
this.pictureBoxExclamation.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxExclamation.Image")));
this.pictureBoxExclamation.Location = new System.Drawing.Point(30, 60);
this.pictureBoxExclamation.Name = "pictureBoxExclamation";
this.pictureBoxExclamation.Size = new System.Drawing.Size(50, 50);
//
// smartListBox1
//
this.smartListBox1.BackPictureBox = this.pictureBox1;
@ -1770,6 +1791,23 @@
this.panelAlarmMessageBox3.Size = new System.Drawing.Size(450, 171);
this.panelAlarmMessageBox3.Visible = false;
//
// buttonAlarm3Ok
//
this.buttonAlarm3Ok.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonAlarm3Ok.Location = new System.Drawing.Point(335, 135);
this.buttonAlarm3Ok.Name = "buttonAlarm3Ok";
this.buttonAlarm3Ok.Size = new System.Drawing.Size(100, 25);
this.buttonAlarm3Ok.TabIndex = 242;
this.buttonAlarm3Ok.Text = "OK";
this.buttonAlarm3Ok.Click += new System.EventHandler(this.buttonAlarm3Ok_Click);
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(30, 60);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(50, 50);
//
// labelMessage4
//
this.labelMessage4.BackPictureBox = this.pictureBox1;
@ -2078,6 +2116,23 @@
this.panelAlarmMessageBox4.Size = new System.Drawing.Size(450, 171);
this.panelAlarmMessageBox4.Visible = false;
//
// buttonAlarm4Ok
//
this.buttonAlarm4Ok.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonAlarm4Ok.Location = new System.Drawing.Point(335, 135);
this.buttonAlarm4Ok.Name = "buttonAlarm4Ok";
this.buttonAlarm4Ok.Size = new System.Drawing.Size(100, 25);
this.buttonAlarm4Ok.TabIndex = 242;
this.buttonAlarm4Ok.Text = "OK";
this.buttonAlarm4Ok.Click += new System.EventHandler(this.buttonAlarm4Ok_Click);
//
// pictureBox7
//
this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image")));
this.pictureBox7.Location = new System.Drawing.Point(30, 60);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(50, 50);
//
// labelMessage5
//
this.labelMessage5.BackPictureBox = this.pictureBox1;
@ -2194,57 +2249,6 @@
this.buttonExit.UpImage = null;
this.buttonExit.Click += new System.EventHandler(this.buttonExit_Click);
//
// pictureBoxExclamation
//
this.pictureBoxExclamation.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxExclamation.Image")));
this.pictureBoxExclamation.Location = new System.Drawing.Point(30, 60);
this.pictureBoxExclamation.Name = "pictureBoxExclamation";
this.pictureBoxExclamation.Size = new System.Drawing.Size(50, 50);
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(30, 60);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(50, 50);
//
// pictureBox7
//
this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image")));
this.pictureBox7.Location = new System.Drawing.Point(30, 60);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(50, 50);
//
// buttonAlarm2OK
//
this.buttonAlarm2OK.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonAlarm2OK.Location = new System.Drawing.Point(335, 135);
this.buttonAlarm2OK.Name = "buttonAlarm2OK";
this.buttonAlarm2OK.Size = new System.Drawing.Size(100, 25);
this.buttonAlarm2OK.TabIndex = 242;
this.buttonAlarm2OK.Text = "OK";
this.buttonAlarm2OK.Click += new System.EventHandler(this.buttonAlarm2OK_Click);
//
// buttonAlarm3Ok
//
this.buttonAlarm3Ok.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonAlarm3Ok.Location = new System.Drawing.Point(335, 135);
this.buttonAlarm3Ok.Name = "buttonAlarm3Ok";
this.buttonAlarm3Ok.Size = new System.Drawing.Size(100, 25);
this.buttonAlarm3Ok.TabIndex = 242;
this.buttonAlarm3Ok.Text = "OK";
this.buttonAlarm3Ok.Click += new System.EventHandler(this.buttonAlarm3Ok_Click);
//
// buttonAlarm4Ok
//
this.buttonAlarm4Ok.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.buttonAlarm4Ok.Location = new System.Drawing.Point(335, 135);
this.buttonAlarm4Ok.Name = "buttonAlarm4Ok";
this.buttonAlarm4Ok.Size = new System.Drawing.Size(100, 25);
this.buttonAlarm4Ok.TabIndex = 242;
this.buttonAlarm4Ok.Text = "OK";
this.buttonAlarm4Ok.Click += new System.EventHandler(this.buttonAlarm4Ok_Click);
//
// FormMainDisplay
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);

View File

@ -2899,7 +2899,7 @@ namespace INT63DC_6CH.Forms
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 50)
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 5)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);

View File

@ -139,7 +139,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("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticNo.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticNo.InitVisible = true;
this.labelStaticNo.LineSpacing = 0F;
this.labelStaticNo.Location = new System.Drawing.Point(29, 33);
@ -244,7 +244,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("굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonCopy.Font = new System.Drawing.Font("Gulim", 18F, System.Drawing.FontStyle.Bold);
this.buttonCopy.GroupID = 0;
this.buttonCopy.InitVisible = true;
this.buttonCopy.Location = new System.Drawing.Point(30, 666);
@ -314,7 +314,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("새굴림", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.Font = new System.Drawing.Font("New Gulim", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(199, 7);
@ -351,7 +351,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("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxProduct.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxProduct.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxProduct.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxProduct.FrameLineThickness = 1;
@ -395,7 +395,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTareRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTareRange.ForeColor = System.Drawing.Color.Black;
this.labelStaticTareRange.InitVisible = true;
this.labelStaticTareRange.LineSpacing = 0F;
@ -416,7 +416,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRangeLimit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRangeLimit.ForeColor = System.Drawing.Color.Black;
this.labelStaticOverRangeLimit.InitVisible = true;
this.labelStaticOverRangeLimit.LineSpacing = 0F;
@ -479,7 +479,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRangeLimit.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRangeLimit.ForeColor = System.Drawing.Color.Black;
this.labelStaticUnderRangeLimit.InitVisible = true;
this.labelStaticUnderRangeLimit.LineSpacing = 0F;
@ -500,7 +500,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticOverRange.InitVisible = true;
this.labelStaticOverRange.LineSpacing = 0F;
this.labelStaticOverRange.Location = new System.Drawing.Point(19, 151);
@ -541,7 +541,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticUnderRange.InitVisible = true;
this.labelStaticUnderRange.LineSpacing = 0F;
this.labelStaticUnderRange.Location = new System.Drawing.Point(19, 219);
@ -561,7 +561,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticPassRange.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticPassRange.InitVisible = true;
this.labelStaticPassRange.LineSpacing = 0F;
this.labelStaticPassRange.Location = new System.Drawing.Point(19, 185);
@ -641,7 +641,7 @@
//
// buttonLotEdit
//
this.buttonLotEdit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonLotEdit.Font = new System.Drawing.Font("New Gulim", 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);
@ -651,7 +651,7 @@
//
// buttonNameEdit
//
this.buttonNameEdit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonNameEdit.Font = new System.Drawing.Font("New Gulim", 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);
@ -666,7 +666,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("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticLOT.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticLOT.InitVisible = true;
this.labelStaticLOT.LineSpacing = 0F;
this.labelStaticLOT.Location = new System.Drawing.Point(29, 104);
@ -685,7 +685,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("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticName.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticName.InitVisible = true;
this.labelStaticName.LineSpacing = 0F;
this.labelStaticName.Location = new System.Drawing.Point(29, 68);
@ -745,7 +745,7 @@
this.groupBoxJudgment.Controls.Add(this.labelWeightJudgment);
this.groupBoxJudgment.Controls.Add(this.labelWeightReference);
this.groupBoxJudgment.Controls.Add(this.smartDraw);
this.groupBoxJudgment.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxJudgment.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.groupBoxJudgment.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxJudgment.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxJudgment.FrameLineThickness = 1;
@ -768,7 +768,7 @@
this.labelTitleEntryGate.BackPictureBox2 = null;
this.labelTitleEntryGate.BorderColor = System.Drawing.Color.Black;
this.labelTitleEntryGate.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleEntryGate.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleEntryGate.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleEntryGate.InitVisible = true;
this.labelTitleEntryGate.LineSpacing = 0F;
this.labelTitleEntryGate.Location = new System.Drawing.Point(35, 495);
@ -778,6 +778,7 @@
this.labelTitleEntryGate.Text = "진입게이트";
this.labelTitleEntryGate.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleEntryGate.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleEntryGate.Visible = false;
this.labelTitleEntryGate.Wordwrap = false;
//
// labelTitleDischargeStopper
@ -788,7 +789,7 @@
this.labelTitleDischargeStopper.BackPictureBox2 = null;
this.labelTitleDischargeStopper.BorderColor = System.Drawing.Color.Black;
this.labelTitleDischargeStopper.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleDischargeStopper.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleDischargeStopper.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleDischargeStopper.InitVisible = true;
this.labelTitleDischargeStopper.LineSpacing = 0F;
this.labelTitleDischargeStopper.Location = new System.Drawing.Point(284, 495);
@ -829,7 +830,7 @@
this.labelTitleDischargeStopperRunTime.BackPictureBox2 = null;
this.labelTitleDischargeStopperRunTime.BorderColor = System.Drawing.Color.Black;
this.labelTitleDischargeStopperRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleDischargeStopperRunTime.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleDischargeStopperRunTime.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleDischargeStopperRunTime.InitVisible = true;
this.labelTitleDischargeStopperRunTime.LineSpacing = 0F;
this.labelTitleDischargeStopperRunTime.Location = new System.Drawing.Point(284, 554);
@ -860,7 +861,7 @@
this.labelDischargeStopperDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelDischargeStopperDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelDischargeStopperDelayTime.Wordwrap = false;
this.labelDischargeStopperDelayTime.Click += new System.EventHandler(this.labelDischargeStopperDelayTime_Click_1);
this.labelDischargeStopperDelayTime.Click += new System.EventHandler(this.labelDischargeStopperDelayTime_Click);
//
// labelTitleDischargeStopperDelayTime
//
@ -870,7 +871,7 @@
this.labelTitleDischargeStopperDelayTime.BackPictureBox2 = null;
this.labelTitleDischargeStopperDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelTitleDischargeStopperDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleDischargeStopperDelayTime.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleDischargeStopperDelayTime.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleDischargeStopperDelayTime.InitVisible = true;
this.labelTitleDischargeStopperDelayTime.LineSpacing = 0F;
this.labelTitleDischargeStopperDelayTime.Location = new System.Drawing.Point(284, 523);
@ -900,6 +901,7 @@
this.labelEntryGateRunTime.Text = "100";
this.labelEntryGateRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelEntryGateRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelEntryGateRunTime.Visible = false;
this.labelEntryGateRunTime.Wordwrap = false;
this.labelEntryGateRunTime.Click += new System.EventHandler(this.labelEntryGateRunTime_Click);
//
@ -911,7 +913,7 @@
this.labelTitleEntryGateRunTime.BackPictureBox2 = null;
this.labelTitleEntryGateRunTime.BorderColor = System.Drawing.Color.Black;
this.labelTitleEntryGateRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleEntryGateRunTime.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleEntryGateRunTime.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleEntryGateRunTime.InitVisible = true;
this.labelTitleEntryGateRunTime.LineSpacing = 0F;
this.labelTitleEntryGateRunTime.Location = new System.Drawing.Point(20, 554);
@ -921,6 +923,7 @@
this.labelTitleEntryGateRunTime.Text = "동작";
this.labelTitleEntryGateRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleEntryGateRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleEntryGateRunTime.Visible = false;
this.labelTitleEntryGateRunTime.Wordwrap = false;
//
// labelEntryGateDelayTime
@ -941,6 +944,7 @@
this.labelEntryGateDelayTime.Text = "100";
this.labelEntryGateDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelEntryGateDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelEntryGateDelayTime.Visible = false;
this.labelEntryGateDelayTime.Wordwrap = false;
this.labelEntryGateDelayTime.Click += new System.EventHandler(this.labelEntryGateDelayTime_Click);
//
@ -952,7 +956,7 @@
this.labelTitleEntryGateDelayTime.BackPictureBox2 = null;
this.labelTitleEntryGateDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelTitleEntryGateDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleEntryGateDelayTime.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleEntryGateDelayTime.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleEntryGateDelayTime.InitVisible = true;
this.labelTitleEntryGateDelayTime.LineSpacing = 0F;
this.labelTitleEntryGateDelayTime.Location = new System.Drawing.Point(20, 523);
@ -962,6 +966,7 @@
this.labelTitleEntryGateDelayTime.Text = "지연";
this.labelTitleEntryGateDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleEntryGateDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleEntryGateDelayTime.Visible = false;
this.labelTitleEntryGateDelayTime.Wordwrap = false;
//
// labelFeedSpeed
@ -993,7 +998,7 @@
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.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;
@ -1050,7 +1055,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter2DelayTime.InitVisible = true;
this.labelStaticSorter2DelayTime.LineSpacing = 0F;
@ -1091,7 +1096,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter2RunTime.InitVisible = true;
this.labelStaticSorter2RunTime.LineSpacing = 0F;
@ -1132,7 +1137,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter1DelayTime.InitVisible = true;
this.labelStaticSorter1DelayTime.LineSpacing = 0F;
@ -1173,7 +1178,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentDelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgmentDelayTime.InitVisible = true;
this.labelStaticJudgmentDelayTime.LineSpacing = 0F;
@ -1214,7 +1219,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter1RunTime.InitVisible = true;
this.labelStaticSorter1RunTime.LineSpacing = 0F;
@ -1234,7 +1239,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("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticWeight.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticWeight.ForeColor = System.Drawing.Color.Black;
this.labelStaticWeight.InitVisible = true;
this.labelStaticWeight.LineSpacing = 0F;
@ -1277,7 +1282,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.buttonWeightReference.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.buttonWeightReference.GroupID = 0;
this.buttonWeightReference.InitVisible = true;
this.buttonWeightReference.Location = new System.Drawing.Point(132, 309);
@ -1349,7 +1354,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentCount.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgmentCount.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgmentCount.InitVisible = true;
this.labelStaticJudgmentCount.LineSpacing = 0F;
@ -1369,7 +1374,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("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgment.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticJudgment.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgment.InitVisible = true;
this.labelStaticJudgment.LineSpacing = 0F;
@ -1389,7 +1394,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("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTurnDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticTurnDelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticTurnDelayTime.InitVisible = true;
this.labelStaticTurnDelayTime.LineSpacing = 0F;
@ -1542,6 +1547,7 @@
this.labelTimeroutCount.Text = "0";
this.labelTimeroutCount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTimeroutCount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTimeroutCount.Visible = false;
this.labelTimeroutCount.Wordwrap = false;
//
// FormSystemSetting

View File

@ -1193,7 +1193,7 @@ namespace INT63DC_6CH.Forms
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelJudgmentCount.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 50)
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 5)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
@ -1650,11 +1650,6 @@ namespace INT63DC_6CH.Forms
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.ProductAllPaste, "");
}
#endregion
private void labelDischargeStopperDelayTime_Click_1(object sender, EventArgs e)
{
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

View File

@ -30,13 +30,10 @@ namespace INT63DC_6CH
/// <param name="weight">중량</param>
/// <param name="judStatus">판정결과</param>
/// <param name="decimalPlaces">소수점</param>
public static void SetProgressBarValue(SmartX.SmartProgressBar progressBar, string weight, DataStore.JudgmentStatus judStatus)
public static void SetProgressBarValue(SmartX.SmartProgressBar progressBar, int weight, DataStore.JudgmentStatus judStatus)
{
int value = 0;
value = int.Parse(weight);
if (progressBar.Value != value)
progressBar.Value = value;
if (progressBar.Value != weight)
progressBar.Value = weight;
if (judStatus == DataStore.JudgmentStatus.Over)
{
@ -222,11 +219,14 @@ namespace INT63DC_6CH
try
{
if (sb.Length > 8)
if (sb.Length > 7)
return 0.0;
if (sb[0] == '-')
{
code = "-";
// 부호 제거
sb.Remove(0, 1);
}