V12.4.0 수정
parent
7c326e121b
commit
d4b927138c
|
|
@ -109,7 +109,7 @@ namespace INT69DC_7C.Controls
|
|||
this.CollLabelConstant.Add(this.labelConstant9);
|
||||
this.CollLabelConstant.Add(this.labelConstant10);
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollCalStatus.Add(new CalibrationStatus());
|
||||
}
|
||||
private void InitilizeControls()
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,576 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT69DC_7C.Forms;
|
||||
|
||||
namespace INT69DC_7C.Controls
|
||||
{
|
||||
public partial class ControlCalibration11 : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormCalibration m_ParentForm;
|
||||
|
||||
private Color NormalColor = Color.Black;
|
||||
private Color FinishColor = Color.Blue;
|
||||
|
||||
private Collection<SmartButton> CollButtonLane;
|
||||
private Collection<SmartLabel> CollLabelWeight;
|
||||
private Collection<SmartLabel> CollLabelADC;
|
||||
private Collection<SmartLabel> CollLabelConstant;
|
||||
private Collection<CalibrationStatus> CollCalStatus;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlCalibration11(FormCalibration parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
|
||||
this.CreateCollection();
|
||||
this.InitilizeControls();
|
||||
this.InitializeDesign();
|
||||
this.DisplayRefresh();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormCalibration ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
private set { this.m_ParentForm = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void CreateCollection()
|
||||
{
|
||||
this.CollButtonLane = new Collection<SmartButton>();
|
||||
this.CollLabelWeight = new Collection<SmartLabel>();
|
||||
this.CollLabelADC = new Collection<SmartLabel>();
|
||||
this.CollLabelConstant = new Collection<SmartLabel>();
|
||||
this.CollCalStatus = new Collection<CalibrationStatus>();
|
||||
|
||||
this.CollButtonLane.Clear();
|
||||
this.CollLabelWeight.Clear();
|
||||
this.CollLabelADC.Clear();
|
||||
this.CollLabelConstant.Clear();
|
||||
this.CollCalStatus.Clear();
|
||||
|
||||
this.CollButtonLane.Add(this.buttonLine1);
|
||||
this.CollButtonLane.Add(this.buttonLine2);
|
||||
this.CollButtonLane.Add(this.buttonLine3);
|
||||
this.CollButtonLane.Add(this.buttonLine4);
|
||||
this.CollButtonLane.Add(this.buttonLine5);
|
||||
this.CollButtonLane.Add(this.buttonLine6);
|
||||
this.CollButtonLane.Add(this.buttonLine7);
|
||||
this.CollButtonLane.Add(this.buttonLine8);
|
||||
this.CollButtonLane.Add(this.buttonLine9);
|
||||
this.CollButtonLane.Add(this.buttonLine10);
|
||||
this.CollButtonLane.Add(this.buttonLine11);
|
||||
|
||||
this.CollLabelWeight.Add(this.labelWeight1);
|
||||
this.CollLabelWeight.Add(this.labelWeight2);
|
||||
this.CollLabelWeight.Add(this.labelWeight3);
|
||||
this.CollLabelWeight.Add(this.labelWeight4);
|
||||
this.CollLabelWeight.Add(this.labelWeight5);
|
||||
this.CollLabelWeight.Add(this.labelWeight6);
|
||||
this.CollLabelWeight.Add(this.labelWeight7);
|
||||
this.CollLabelWeight.Add(this.labelWeight8);
|
||||
this.CollLabelWeight.Add(this.labelWeight9);
|
||||
this.CollLabelWeight.Add(this.labelWeight10);
|
||||
this.CollLabelWeight.Add(this.labelWeight11);
|
||||
|
||||
this.CollLabelADC.Add(this.labelADC1);
|
||||
this.CollLabelADC.Add(this.labelADC2);
|
||||
this.CollLabelADC.Add(this.labelADC3);
|
||||
this.CollLabelADC.Add(this.labelADC4);
|
||||
this.CollLabelADC.Add(this.labelADC5);
|
||||
this.CollLabelADC.Add(this.labelADC6);
|
||||
this.CollLabelADC.Add(this.labelADC7);
|
||||
this.CollLabelADC.Add(this.labelADC8);
|
||||
this.CollLabelADC.Add(this.labelADC9);
|
||||
this.CollLabelADC.Add(this.labelADC10);
|
||||
this.CollLabelADC.Add(this.labelADC11);
|
||||
|
||||
this.CollLabelConstant.Add(this.labelConstant1);
|
||||
this.CollLabelConstant.Add(this.labelConstant2);
|
||||
this.CollLabelConstant.Add(this.labelConstant3);
|
||||
this.CollLabelConstant.Add(this.labelConstant4);
|
||||
this.CollLabelConstant.Add(this.labelConstant5);
|
||||
this.CollLabelConstant.Add(this.labelConstant6);
|
||||
this.CollLabelConstant.Add(this.labelConstant7);
|
||||
this.CollLabelConstant.Add(this.labelConstant8);
|
||||
this.CollLabelConstant.Add(this.labelConstant9);
|
||||
this.CollLabelConstant.Add(this.labelConstant10);
|
||||
this.CollLabelConstant.Add(this.labelConstant11);
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollCalStatus.Add(new CalibrationStatus());
|
||||
}
|
||||
private void InitilizeControls()
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
this.CollLabelWeight[i].Text = "0.0";
|
||||
this.CollLabelADC[i].Text = "0.0";
|
||||
this.CollLabelConstant[i].Text = "0.0";
|
||||
}
|
||||
}
|
||||
private void InitializeDesign()
|
||||
{
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
{
|
||||
if (this.CollButtonLane == null || this.CollButtonLane.Count == 0)
|
||||
return;
|
||||
|
||||
for (int i = 0; i < this.CollButtonLane.Count; i++)
|
||||
{
|
||||
this.CollButtonLane[i].ButtonUp();
|
||||
this.CollCalStatus[i].Initialize();
|
||||
}
|
||||
}
|
||||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
string detail = "";
|
||||
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("výpočet...");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Vyčkejte.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
for (int i = 0; i < this.CollButtonLane.Count; i++)
|
||||
{
|
||||
if (this.CollButtonLane[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, this.CollButtonLane[i].Tag.ToString());
|
||||
|
||||
// Part 11
|
||||
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
{
|
||||
detail = string.Format("{0} Lane Balance", i + 1);
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Calibration, detail);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(false, false, true);
|
||||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
string detail = "";
|
||||
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Vyčkejte.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
for (int i = 0; i < this.CollButtonLane.Count; i++)
|
||||
{
|
||||
if (this.CollButtonLane[i].ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, this.CollButtonLane[i].Tag.ToString());
|
||||
|
||||
// Part 11
|
||||
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
{
|
||||
this.CollCalStatus[i].Initialize();
|
||||
detail = string.Format("{0} Lane Start", i + 1);
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Calibration, detail);
|
||||
}
|
||||
}
|
||||
|
||||
this.CollButtonLane[i].Enabled = false;
|
||||
}
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(false, false, false);
|
||||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
string detail = "";
|
||||
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
for (int i = 0; i < this.CollButtonLane.Count; i++)
|
||||
{
|
||||
if (this.CollButtonLane[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, this.CollButtonLane[i].Tag.ToString());
|
||||
|
||||
// Part 11
|
||||
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
{
|
||||
if (this.CollCalStatus[i].IsCancel == false)
|
||||
{
|
||||
this.CollCalStatus[i].IsCancel = true;
|
||||
detail = string.Format("{0} Lane Cancel", i + 1);
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Calibration, detail);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.CollButtonLane[i].Enabled = true;
|
||||
}
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
||||
public void UpdateConfiguration(DataStore.EquipmentStatus status, CalibrationItem config)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant1.Trim(), 6);
|
||||
if (this.labelConstant1.Text != value)
|
||||
this.labelConstant1.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant2.Trim(), 6);
|
||||
if (this.labelConstant2.Text != value)
|
||||
this.labelConstant2.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant3.Trim(), 6);
|
||||
if (this.labelConstant3.Text != value)
|
||||
this.labelConstant3.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant4.Trim(), 6);
|
||||
if (this.labelConstant4.Text != value)
|
||||
this.labelConstant4.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant5.Trim(), 6);
|
||||
if (this.labelConstant5.Text != value)
|
||||
this.labelConstant5.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant6.Trim(), 6);
|
||||
if (this.labelConstant6.Text != value)
|
||||
this.labelConstant6.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant7.Trim(), 6);
|
||||
if (this.labelConstant7.Text != value)
|
||||
this.labelConstant7.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant8.Trim(), 6);
|
||||
if (this.labelConstant8.Text != value)
|
||||
this.labelConstant8.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant9.Trim(), 6);
|
||||
if (this.labelConstant9.Text != value)
|
||||
this.labelConstant9.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant10.Trim(), 6);
|
||||
if (this.labelConstant10.Text != value)
|
||||
this.labelConstant10.Text = value;
|
||||
|
||||
value = Helper.StringToDecimalPlaces(config.Constant11.Trim(), 6);
|
||||
if (this.labelConstant11.Text != value)
|
||||
this.labelConstant11.Text = value;
|
||||
}
|
||||
public void UpdateWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weights)
|
||||
{
|
||||
if (this.CollLabelWeight == null || weights.Count < this.CollLabelWeight.Count || status == DataStore.EquipmentStatus.Start)
|
||||
return;
|
||||
|
||||
for (int i = 0; i < weights.Count; i++)
|
||||
{
|
||||
if (this.CollButtonLane[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
this.UpdateLabelWeight(i, this.CollButtonLane[i], this.CollLabelWeight[i], this.CollLabelADC[i], weights[i], true);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.UpdateLabelWeight(i, this.CollButtonLane[i], this.CollLabelWeight[i], this.CollLabelADC[i], weights[i], false);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void UpdateLabelWeight(int index, SmartButton buttonLane, SmartLabel labelWeight, SmartLabel labelADC, WeightData weightData, bool rbChecked)
|
||||
{
|
||||
string detail = "";
|
||||
|
||||
switch (weightData.Status)
|
||||
{
|
||||
case DataStore.WeightStatus.CalNomal:
|
||||
labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
labelADC.Text = weightData.ADCValue;
|
||||
break;
|
||||
case DataStore.WeightStatus.CalStandby:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
// 분동중량 표시
|
||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
labelADC.Text = weightData.ADCValue;
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||
}
|
||||
break;
|
||||
case DataStore.WeightStatus.CalBalans:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
// 분동중량표시
|
||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
labelADC.Text = weightData.ADCValue;
|
||||
this.ParentForm.CalibrationButtonEnable(false, false, true);
|
||||
}
|
||||
break;
|
||||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollButtonLane)
|
||||
bt.Enabled = true;
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
{
|
||||
if (this.CollCalStatus[index].IsFinish == false)
|
||||
{
|
||||
this.CollCalStatus[index].IsFinish = true;
|
||||
detail = string.Format("{0} Lane Success", index + 1);
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Calibration, detail);
|
||||
}
|
||||
}
|
||||
}
|
||||
labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
labelWeight.ForeColor = this.FinishColor;
|
||||
labelADC.Text = weightData.ADCValue;
|
||||
break;
|
||||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollButtonLane)
|
||||
bt.Enabled = true;
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
{
|
||||
if (this.CollCalStatus[index].IsError == false)
|
||||
{
|
||||
this.CollCalStatus[index].IsError = true;
|
||||
detail = string.Format("{0} Lane Error", index + 1);
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Calibration, detail);
|
||||
}
|
||||
}
|
||||
}
|
||||
labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
labelADC.Text = weightData.ADCValue;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
private void buttonLine_Click(object sender, EventArgs e)
|
||||
{
|
||||
SmartButton bt = sender as SmartButton;
|
||||
|
||||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -117,7 +117,7 @@ namespace INT69DC_7C.Controls
|
|||
this.CollLabelConstant.Add(this.labelConstant11);
|
||||
this.CollLabelConstant.Add(this.labelConstant12);
|
||||
|
||||
for (int i = 0; i < 12; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollCalStatus.Add(new CalibrationStatus());
|
||||
}
|
||||
private void InitilizeControls()
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ namespace INT69DC_7C.Controls
|
|||
this.CollLabelConstant.Add(this.labelConstant6);
|
||||
this.CollLabelConstant.Add(this.labelConstant7);
|
||||
|
||||
for (int i = 0; i < 7; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollCalStatus.Add(new CalibrationStatus());
|
||||
}
|
||||
private void InitilizeControls()
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ namespace INT69DC_7C.Controls
|
|||
this.CollLabelConstant.Add(this.labelConstant7);
|
||||
this.CollLabelConstant.Add(this.labelConstant8);
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollCalStatus.Add(new CalibrationStatus());
|
||||
}
|
||||
private void InitilizeControls()
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
namespace INT69DC_7C.Controls
|
||||
{
|
||||
partial class ControlCommunicationModbus
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace INT69DC_7C.Controls
|
||||
{
|
||||
public partial class ControlCommunicationModbus : UserControl
|
||||
{
|
||||
public ControlCommunicationModbus()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,885 @@
|
|||
namespace INT69DC_7C.Controls
|
||||
{
|
||||
partial class ControlMainDisplayDotGraph11
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlMainDisplayDotGraph11));
|
||||
this.draw10 = new SmartX.SmartDraw();
|
||||
this.draw9 = new SmartX.SmartDraw();
|
||||
this.draw8 = new SmartX.SmartDraw();
|
||||
this.draw7 = new SmartX.SmartDraw();
|
||||
this.draw6 = new SmartX.SmartDraw();
|
||||
this.draw5 = new SmartX.SmartDraw();
|
||||
this.draw4 = new SmartX.SmartDraw();
|
||||
this.draw3 = new SmartX.SmartDraw();
|
||||
this.draw2 = new SmartX.SmartDraw();
|
||||
this.draw1 = new SmartX.SmartDraw();
|
||||
this.pictureBox11 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox10 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox9 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox8 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox7 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox6 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox5 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox4 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox3 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.button11 = new SmartX.SmartButton();
|
||||
this.button10 = new SmartX.SmartButton();
|
||||
this.button9 = new SmartX.SmartButton();
|
||||
this.button8 = new SmartX.SmartButton();
|
||||
this.button7 = new SmartX.SmartButton();
|
||||
this.button6 = new SmartX.SmartButton();
|
||||
this.button5 = new SmartX.SmartButton();
|
||||
this.button4 = new SmartX.SmartButton();
|
||||
this.button3 = new SmartX.SmartButton();
|
||||
this.button2 = new SmartX.SmartButton();
|
||||
this.button1 = new SmartX.SmartButton();
|
||||
this.draw11 = new SmartX.SmartDraw();
|
||||
this.pictureBoxBypass1 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass2 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass3 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass4 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass5 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass6 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass7 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass8 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass9 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass10 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxBypass11 = new System.Windows.Forms.PictureBox();
|
||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||
this.smartGroupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// draw10
|
||||
//
|
||||
this.draw10.AnimationGIFFrameInterval = 0;
|
||||
this.draw10.BackPictureBox = null;
|
||||
this.draw10.BackPictureBox1 = null;
|
||||
this.draw10.ChartChannelPenStyle = null;
|
||||
this.draw10.ChartDrawStep = 1;
|
||||
this.draw10.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw10.InitVisible = true;
|
||||
this.draw10.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw10.Name = "draw10";
|
||||
this.draw10.SetBackimage = null;
|
||||
this.draw10.SetBackImageAutoSize = true;
|
||||
this.draw10.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw10.TabIndex = 50;
|
||||
this.draw10.Text = "Lane10";
|
||||
//
|
||||
// draw9
|
||||
//
|
||||
this.draw9.AnimationGIFFrameInterval = 0;
|
||||
this.draw9.BackPictureBox = null;
|
||||
this.draw9.BackPictureBox1 = null;
|
||||
this.draw9.ChartChannelPenStyle = null;
|
||||
this.draw9.ChartDrawStep = 1;
|
||||
this.draw9.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw9.InitVisible = true;
|
||||
this.draw9.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw9.Name = "draw9";
|
||||
this.draw9.SetBackimage = null;
|
||||
this.draw9.SetBackImageAutoSize = true;
|
||||
this.draw9.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw9.TabIndex = 47;
|
||||
this.draw9.Text = "Lane9";
|
||||
//
|
||||
// draw8
|
||||
//
|
||||
this.draw8.AnimationGIFFrameInterval = 0;
|
||||
this.draw8.BackPictureBox = null;
|
||||
this.draw8.BackPictureBox1 = null;
|
||||
this.draw8.ChartChannelPenStyle = null;
|
||||
this.draw8.ChartDrawStep = 1;
|
||||
this.draw8.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw8.InitVisible = true;
|
||||
this.draw8.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw8.Name = "draw8";
|
||||
this.draw8.SetBackimage = null;
|
||||
this.draw8.SetBackImageAutoSize = true;
|
||||
this.draw8.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw8.TabIndex = 46;
|
||||
this.draw8.Text = "Lane8";
|
||||
//
|
||||
// draw7
|
||||
//
|
||||
this.draw7.AnimationGIFFrameInterval = 0;
|
||||
this.draw7.BackPictureBox = null;
|
||||
this.draw7.BackPictureBox1 = null;
|
||||
this.draw7.ChartChannelPenStyle = null;
|
||||
this.draw7.ChartDrawStep = 1;
|
||||
this.draw7.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw7.InitVisible = true;
|
||||
this.draw7.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw7.Name = "draw7";
|
||||
this.draw7.SetBackimage = null;
|
||||
this.draw7.SetBackImageAutoSize = true;
|
||||
this.draw7.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw7.TabIndex = 43;
|
||||
this.draw7.Text = "Lane7";
|
||||
//
|
||||
// draw6
|
||||
//
|
||||
this.draw6.AnimationGIFFrameInterval = 0;
|
||||
this.draw6.BackPictureBox = null;
|
||||
this.draw6.BackPictureBox1 = null;
|
||||
this.draw6.ChartChannelPenStyle = null;
|
||||
this.draw6.ChartDrawStep = 1;
|
||||
this.draw6.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw6.InitVisible = true;
|
||||
this.draw6.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw6.Name = "draw6";
|
||||
this.draw6.SetBackimage = null;
|
||||
this.draw6.SetBackImageAutoSize = true;
|
||||
this.draw6.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw6.TabIndex = 42;
|
||||
this.draw6.Text = "Lane6";
|
||||
//
|
||||
// draw5
|
||||
//
|
||||
this.draw5.AnimationGIFFrameInterval = 0;
|
||||
this.draw5.BackPictureBox = null;
|
||||
this.draw5.BackPictureBox1 = null;
|
||||
this.draw5.ChartChannelPenStyle = null;
|
||||
this.draw5.ChartDrawStep = 1;
|
||||
this.draw5.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw5.InitVisible = true;
|
||||
this.draw5.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw5.Name = "draw5";
|
||||
this.draw5.SetBackimage = null;
|
||||
this.draw5.SetBackImageAutoSize = true;
|
||||
this.draw5.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw5.TabIndex = 39;
|
||||
this.draw5.Text = "Lane5";
|
||||
//
|
||||
// draw4
|
||||
//
|
||||
this.draw4.AnimationGIFFrameInterval = 0;
|
||||
this.draw4.BackPictureBox = null;
|
||||
this.draw4.BackPictureBox1 = null;
|
||||
this.draw4.ChartChannelPenStyle = null;
|
||||
this.draw4.ChartDrawStep = 1;
|
||||
this.draw4.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw4.InitVisible = true;
|
||||
this.draw4.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw4.Name = "draw4";
|
||||
this.draw4.SetBackimage = null;
|
||||
this.draw4.SetBackImageAutoSize = true;
|
||||
this.draw4.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw4.TabIndex = 37;
|
||||
this.draw4.Text = "Lane4";
|
||||
//
|
||||
// draw3
|
||||
//
|
||||
this.draw3.AnimationGIFFrameInterval = 0;
|
||||
this.draw3.BackPictureBox = null;
|
||||
this.draw3.BackPictureBox1 = null;
|
||||
this.draw3.ChartChannelPenStyle = null;
|
||||
this.draw3.ChartDrawStep = 1;
|
||||
this.draw3.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw3.InitVisible = true;
|
||||
this.draw3.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw3.Name = "draw3";
|
||||
this.draw3.SetBackimage = null;
|
||||
this.draw3.SetBackImageAutoSize = true;
|
||||
this.draw3.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw3.TabIndex = 36;
|
||||
this.draw3.Text = "Lane3";
|
||||
//
|
||||
// draw2
|
||||
//
|
||||
this.draw2.AnimationGIFFrameInterval = 0;
|
||||
this.draw2.BackPictureBox = null;
|
||||
this.draw2.BackPictureBox1 = null;
|
||||
this.draw2.ChartChannelPenStyle = null;
|
||||
this.draw2.ChartDrawStep = 1;
|
||||
this.draw2.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw2.InitVisible = true;
|
||||
this.draw2.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw2.Name = "draw2";
|
||||
this.draw2.SetBackimage = null;
|
||||
this.draw2.SetBackImageAutoSize = true;
|
||||
this.draw2.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw2.TabIndex = 33;
|
||||
this.draw2.Text = "Lane2";
|
||||
//
|
||||
// draw1
|
||||
//
|
||||
this.draw1.AnimationGIFFrameInterval = 0;
|
||||
this.draw1.BackPictureBox = null;
|
||||
this.draw1.BackPictureBox1 = null;
|
||||
this.draw1.ChartChannelPenStyle = null;
|
||||
this.draw1.ChartDrawStep = 1;
|
||||
this.draw1.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw1.InitVisible = true;
|
||||
this.draw1.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw1.Name = "draw1";
|
||||
this.draw1.SetBackimage = null;
|
||||
this.draw1.SetBackImageAutoSize = true;
|
||||
this.draw1.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw1.TabIndex = 31;
|
||||
this.draw1.Text = "Lane1";
|
||||
//
|
||||
// pictureBox11
|
||||
//
|
||||
this.pictureBox11.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox11.Image")));
|
||||
this.pictureBox11.Location = new System.Drawing.Point(880, 420);
|
||||
this.pictureBox11.Name = "pictureBox11";
|
||||
this.pictureBox11.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox10
|
||||
//
|
||||
this.pictureBox10.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox10.Image")));
|
||||
this.pictureBox10.Location = new System.Drawing.Point(799, 420);
|
||||
this.pictureBox10.Name = "pictureBox10";
|
||||
this.pictureBox10.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox9
|
||||
//
|
||||
this.pictureBox9.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox9.Image")));
|
||||
this.pictureBox9.Location = new System.Drawing.Point(718, 420);
|
||||
this.pictureBox9.Name = "pictureBox9";
|
||||
this.pictureBox9.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox8
|
||||
//
|
||||
this.pictureBox8.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox8.Image")));
|
||||
this.pictureBox8.Location = new System.Drawing.Point(637, 420);
|
||||
this.pictureBox8.Name = "pictureBox8";
|
||||
this.pictureBox8.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox7
|
||||
//
|
||||
this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image")));
|
||||
this.pictureBox7.Location = new System.Drawing.Point(556, 420);
|
||||
this.pictureBox7.Name = "pictureBox7";
|
||||
this.pictureBox7.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox6
|
||||
//
|
||||
this.pictureBox6.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox6.Image")));
|
||||
this.pictureBox6.Location = new System.Drawing.Point(475, 420);
|
||||
this.pictureBox6.Name = "pictureBox6";
|
||||
this.pictureBox6.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox5
|
||||
//
|
||||
this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
|
||||
this.pictureBox5.Location = new System.Drawing.Point(394, 420);
|
||||
this.pictureBox5.Name = "pictureBox5";
|
||||
this.pictureBox5.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox4
|
||||
//
|
||||
this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
|
||||
this.pictureBox4.Location = new System.Drawing.Point(313, 420);
|
||||
this.pictureBox4.Name = "pictureBox4";
|
||||
this.pictureBox4.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox3
|
||||
//
|
||||
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
|
||||
this.pictureBox3.Location = new System.Drawing.Point(232, 420);
|
||||
this.pictureBox3.Name = "pictureBox3";
|
||||
this.pictureBox3.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
|
||||
this.pictureBox2.Location = new System.Drawing.Point(151, 420);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(70, 420);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// button11
|
||||
//
|
||||
this.button11.BackPictureBox = null;
|
||||
this.button11.BackPictureBox1 = null;
|
||||
this.button11.BackPictureBox2 = null;
|
||||
this.button11.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button11.ButtonImageAutoSize = true;
|
||||
this.button11.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button11.DisableImage = null;
|
||||
this.button11.DownImage = ((System.Drawing.Image)(resources.GetObject("button11.DownImage")));
|
||||
this.button11.GroupID = 0;
|
||||
this.button11.InitVisible = true;
|
||||
this.button11.Location = new System.Drawing.Point(877, 425);
|
||||
this.button11.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button11.Name = "button11";
|
||||
this.button11.NestedClickEventPrevent = false;
|
||||
this.button11.OutlinePixel = 1;
|
||||
this.button11.RepeatInterval = 200;
|
||||
this.button11.RepeatIntervalAccelerate = null;
|
||||
this.button11.SafeInterval = 200;
|
||||
this.button11.Size = new System.Drawing.Size(80, 52);
|
||||
this.button11.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button11.TabIndex = 78;
|
||||
this.button11.TextColor = System.Drawing.Color.Black;
|
||||
this.button11.TextDownColor = System.Drawing.Color.White;
|
||||
this.button11.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button11.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button11.UpImage = ((System.Drawing.Image)(resources.GetObject("button11.UpImage")));
|
||||
this.button11.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button10
|
||||
//
|
||||
this.button10.BackPictureBox = null;
|
||||
this.button10.BackPictureBox1 = null;
|
||||
this.button10.BackPictureBox2 = null;
|
||||
this.button10.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button10.ButtonImageAutoSize = true;
|
||||
this.button10.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button10.DisableImage = null;
|
||||
this.button10.DownImage = ((System.Drawing.Image)(resources.GetObject("button10.DownImage")));
|
||||
this.button10.GroupID = 0;
|
||||
this.button10.InitVisible = true;
|
||||
this.button10.Location = new System.Drawing.Point(796, 425);
|
||||
this.button10.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button10.Name = "button10";
|
||||
this.button10.NestedClickEventPrevent = false;
|
||||
this.button10.OutlinePixel = 1;
|
||||
this.button10.RepeatInterval = 200;
|
||||
this.button10.RepeatIntervalAccelerate = null;
|
||||
this.button10.SafeInterval = 200;
|
||||
this.button10.Size = new System.Drawing.Size(80, 52);
|
||||
this.button10.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button10.TabIndex = 77;
|
||||
this.button10.TextColor = System.Drawing.Color.Black;
|
||||
this.button10.TextDownColor = System.Drawing.Color.White;
|
||||
this.button10.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button10.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button10.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button10.UpImage = ((System.Drawing.Image)(resources.GetObject("button10.UpImage")));
|
||||
this.button10.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button9
|
||||
//
|
||||
this.button9.BackPictureBox = null;
|
||||
this.button9.BackPictureBox1 = null;
|
||||
this.button9.BackPictureBox2 = null;
|
||||
this.button9.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button9.ButtonImageAutoSize = true;
|
||||
this.button9.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button9.DisableImage = null;
|
||||
this.button9.DownImage = ((System.Drawing.Image)(resources.GetObject("button9.DownImage")));
|
||||
this.button9.GroupID = 0;
|
||||
this.button9.InitVisible = true;
|
||||
this.button9.Location = new System.Drawing.Point(715, 425);
|
||||
this.button9.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button9.Name = "button9";
|
||||
this.button9.NestedClickEventPrevent = false;
|
||||
this.button9.OutlinePixel = 1;
|
||||
this.button9.RepeatInterval = 200;
|
||||
this.button9.RepeatIntervalAccelerate = null;
|
||||
this.button9.SafeInterval = 200;
|
||||
this.button9.Size = new System.Drawing.Size(80, 52);
|
||||
this.button9.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button9.TabIndex = 80;
|
||||
this.button9.TextColor = System.Drawing.Color.Black;
|
||||
this.button9.TextDownColor = System.Drawing.Color.White;
|
||||
this.button9.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button9.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button9.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button9.UpImage = ((System.Drawing.Image)(resources.GetObject("button9.UpImage")));
|
||||
this.button9.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button8
|
||||
//
|
||||
this.button8.BackPictureBox = null;
|
||||
this.button8.BackPictureBox1 = null;
|
||||
this.button8.BackPictureBox2 = null;
|
||||
this.button8.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button8.ButtonImageAutoSize = true;
|
||||
this.button8.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button8.DisableImage = null;
|
||||
this.button8.DownImage = ((System.Drawing.Image)(resources.GetObject("button8.DownImage")));
|
||||
this.button8.GroupID = 0;
|
||||
this.button8.InitVisible = true;
|
||||
this.button8.Location = new System.Drawing.Point(634, 425);
|
||||
this.button8.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button8.Name = "button8";
|
||||
this.button8.NestedClickEventPrevent = false;
|
||||
this.button8.OutlinePixel = 1;
|
||||
this.button8.RepeatInterval = 200;
|
||||
this.button8.RepeatIntervalAccelerate = null;
|
||||
this.button8.SafeInterval = 200;
|
||||
this.button8.Size = new System.Drawing.Size(80, 52);
|
||||
this.button8.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button8.TabIndex = 76;
|
||||
this.button8.TextColor = System.Drawing.Color.Black;
|
||||
this.button8.TextDownColor = System.Drawing.Color.White;
|
||||
this.button8.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button8.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button8.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button8.UpImage = ((System.Drawing.Image)(resources.GetObject("button8.UpImage")));
|
||||
this.button8.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.BackPictureBox = null;
|
||||
this.button7.BackPictureBox1 = null;
|
||||
this.button7.BackPictureBox2 = null;
|
||||
this.button7.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button7.ButtonImageAutoSize = true;
|
||||
this.button7.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button7.DisableImage = null;
|
||||
this.button7.DownImage = ((System.Drawing.Image)(resources.GetObject("button7.DownImage")));
|
||||
this.button7.GroupID = 0;
|
||||
this.button7.InitVisible = true;
|
||||
this.button7.Location = new System.Drawing.Point(553, 425);
|
||||
this.button7.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button7.Name = "button7";
|
||||
this.button7.NestedClickEventPrevent = false;
|
||||
this.button7.OutlinePixel = 1;
|
||||
this.button7.RepeatInterval = 200;
|
||||
this.button7.RepeatIntervalAccelerate = null;
|
||||
this.button7.SafeInterval = 200;
|
||||
this.button7.Size = new System.Drawing.Size(80, 52);
|
||||
this.button7.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button7.TabIndex = 74;
|
||||
this.button7.TextColor = System.Drawing.Color.Black;
|
||||
this.button7.TextDownColor = System.Drawing.Color.White;
|
||||
this.button7.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button7.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button7.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button7.UpImage = ((System.Drawing.Image)(resources.GetObject("button7.UpImage")));
|
||||
this.button7.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.BackPictureBox = null;
|
||||
this.button6.BackPictureBox1 = null;
|
||||
this.button6.BackPictureBox2 = null;
|
||||
this.button6.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button6.ButtonImageAutoSize = true;
|
||||
this.button6.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button6.DisableImage = null;
|
||||
this.button6.DownImage = ((System.Drawing.Image)(resources.GetObject("button6.DownImage")));
|
||||
this.button6.GroupID = 0;
|
||||
this.button6.InitVisible = true;
|
||||
this.button6.Location = new System.Drawing.Point(472, 425);
|
||||
this.button6.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button6.Name = "button6";
|
||||
this.button6.NestedClickEventPrevent = false;
|
||||
this.button6.OutlinePixel = 1;
|
||||
this.button6.RepeatInterval = 200;
|
||||
this.button6.RepeatIntervalAccelerate = null;
|
||||
this.button6.SafeInterval = 200;
|
||||
this.button6.Size = new System.Drawing.Size(80, 52);
|
||||
this.button6.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button6.TabIndex = 75;
|
||||
this.button6.TextColor = System.Drawing.Color.Black;
|
||||
this.button6.TextDownColor = System.Drawing.Color.White;
|
||||
this.button6.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button6.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button6.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button6.UpImage = ((System.Drawing.Image)(resources.GetObject("button6.UpImage")));
|
||||
this.button6.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.BackPictureBox = null;
|
||||
this.button5.BackPictureBox1 = null;
|
||||
this.button5.BackPictureBox2 = null;
|
||||
this.button5.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button5.ButtonImageAutoSize = true;
|
||||
this.button5.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button5.DisableImage = null;
|
||||
this.button5.DownImage = ((System.Drawing.Image)(resources.GetObject("button5.DownImage")));
|
||||
this.button5.GroupID = 0;
|
||||
this.button5.InitVisible = true;
|
||||
this.button5.Location = new System.Drawing.Point(391, 425);
|
||||
this.button5.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button5.Name = "button5";
|
||||
this.button5.NestedClickEventPrevent = false;
|
||||
this.button5.OutlinePixel = 1;
|
||||
this.button5.RepeatInterval = 200;
|
||||
this.button5.RepeatIntervalAccelerate = null;
|
||||
this.button5.SafeInterval = 200;
|
||||
this.button5.Size = new System.Drawing.Size(80, 52);
|
||||
this.button5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button5.TabIndex = 84;
|
||||
this.button5.TextColor = System.Drawing.Color.Black;
|
||||
this.button5.TextDownColor = System.Drawing.Color.White;
|
||||
this.button5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button5.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button5.UpImage = ((System.Drawing.Image)(resources.GetObject("button5.UpImage")));
|
||||
this.button5.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.BackPictureBox = null;
|
||||
this.button4.BackPictureBox1 = null;
|
||||
this.button4.BackPictureBox2 = null;
|
||||
this.button4.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button4.ButtonImageAutoSize = true;
|
||||
this.button4.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button4.DisableImage = null;
|
||||
this.button4.DownImage = ((System.Drawing.Image)(resources.GetObject("button4.DownImage")));
|
||||
this.button4.GroupID = 0;
|
||||
this.button4.InitVisible = true;
|
||||
this.button4.Location = new System.Drawing.Point(310, 425);
|
||||
this.button4.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button4.Name = "button4";
|
||||
this.button4.NestedClickEventPrevent = false;
|
||||
this.button4.OutlinePixel = 1;
|
||||
this.button4.RepeatInterval = 200;
|
||||
this.button4.RepeatIntervalAccelerate = null;
|
||||
this.button4.SafeInterval = 200;
|
||||
this.button4.Size = new System.Drawing.Size(80, 52);
|
||||
this.button4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button4.TabIndex = 85;
|
||||
this.button4.TextColor = System.Drawing.Color.Black;
|
||||
this.button4.TextDownColor = System.Drawing.Color.White;
|
||||
this.button4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button4.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button4.UpImage = ((System.Drawing.Image)(resources.GetObject("button4.UpImage")));
|
||||
this.button4.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.BackPictureBox = null;
|
||||
this.button3.BackPictureBox1 = null;
|
||||
this.button3.BackPictureBox2 = null;
|
||||
this.button3.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button3.ButtonImageAutoSize = true;
|
||||
this.button3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button3.DisableImage = null;
|
||||
this.button3.DownImage = ((System.Drawing.Image)(resources.GetObject("button3.DownImage")));
|
||||
this.button3.GroupID = 0;
|
||||
this.button3.InitVisible = true;
|
||||
this.button3.Location = new System.Drawing.Point(229, 425);
|
||||
this.button3.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button3.Name = "button3";
|
||||
this.button3.NestedClickEventPrevent = false;
|
||||
this.button3.OutlinePixel = 1;
|
||||
this.button3.RepeatInterval = 200;
|
||||
this.button3.RepeatIntervalAccelerate = null;
|
||||
this.button3.SafeInterval = 200;
|
||||
this.button3.Size = new System.Drawing.Size(80, 52);
|
||||
this.button3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button3.TabIndex = 83;
|
||||
this.button3.TextColor = System.Drawing.Color.Black;
|
||||
this.button3.TextDownColor = System.Drawing.Color.White;
|
||||
this.button3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button3.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button3.UpImage = ((System.Drawing.Image)(resources.GetObject("button3.UpImage")));
|
||||
this.button3.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.BackPictureBox = null;
|
||||
this.button2.BackPictureBox1 = null;
|
||||
this.button2.BackPictureBox2 = null;
|
||||
this.button2.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button2.ButtonImageAutoSize = true;
|
||||
this.button2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button2.DisableImage = null;
|
||||
this.button2.DownImage = ((System.Drawing.Image)(resources.GetObject("button2.DownImage")));
|
||||
this.button2.GroupID = 0;
|
||||
this.button2.InitVisible = true;
|
||||
this.button2.Location = new System.Drawing.Point(148, 425);
|
||||
this.button2.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button2.Name = "button2";
|
||||
this.button2.NestedClickEventPrevent = false;
|
||||
this.button2.OutlinePixel = 1;
|
||||
this.button2.RepeatInterval = 200;
|
||||
this.button2.RepeatIntervalAccelerate = null;
|
||||
this.button2.SafeInterval = 200;
|
||||
this.button2.Size = new System.Drawing.Size(80, 52);
|
||||
this.button2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button2.TabIndex = 81;
|
||||
this.button2.TextColor = System.Drawing.Color.Black;
|
||||
this.button2.TextDownColor = System.Drawing.Color.White;
|
||||
this.button2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button2.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button2.UpImage = ((System.Drawing.Image)(resources.GetObject("button2.UpImage")));
|
||||
this.button2.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackPictureBox = null;
|
||||
this.button1.BackPictureBox1 = null;
|
||||
this.button1.BackPictureBox2 = null;
|
||||
this.button1.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.button1.ButtonImageAutoSize = true;
|
||||
this.button1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.button1.DisableImage = null;
|
||||
this.button1.DownImage = ((System.Drawing.Image)(resources.GetObject("button1.DownImage")));
|
||||
this.button1.GroupID = 0;
|
||||
this.button1.InitVisible = true;
|
||||
this.button1.Location = new System.Drawing.Point(67, 425);
|
||||
this.button1.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.button1.Name = "button1";
|
||||
this.button1.NestedClickEventPrevent = false;
|
||||
this.button1.OutlinePixel = 1;
|
||||
this.button1.RepeatInterval = 200;
|
||||
this.button1.RepeatIntervalAccelerate = null;
|
||||
this.button1.SafeInterval = 200;
|
||||
this.button1.Size = new System.Drawing.Size(80, 52);
|
||||
this.button1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.button1.TabIndex = 82;
|
||||
this.button1.TextColor = System.Drawing.Color.Black;
|
||||
this.button1.TextDownColor = System.Drawing.Color.White;
|
||||
this.button1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.button1.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.button1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.button1.UpImage = ((System.Drawing.Image)(resources.GetObject("button1.UpImage")));
|
||||
this.button1.Click += new System.EventHandler(this.buttonSelectDraw_Click);
|
||||
//
|
||||
// draw11
|
||||
//
|
||||
this.draw11.AnimationGIFFrameInterval = 0;
|
||||
this.draw11.BackPictureBox = null;
|
||||
this.draw11.BackPictureBox1 = null;
|
||||
this.draw11.ChartChannelPenStyle = null;
|
||||
this.draw11.ChartDrawStep = 1;
|
||||
this.draw11.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
|
||||
this.draw11.InitVisible = true;
|
||||
this.draw11.Location = new System.Drawing.Point(17, 7);
|
||||
this.draw11.Name = "draw11";
|
||||
this.draw11.SetBackimage = null;
|
||||
this.draw11.SetBackImageAutoSize = true;
|
||||
this.draw11.Size = new System.Drawing.Size(988, 408);
|
||||
this.draw11.TabIndex = 87;
|
||||
this.draw11.Text = "Lane11";
|
||||
//
|
||||
// pictureBoxBypass1
|
||||
//
|
||||
this.pictureBoxBypass1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass1.Image")));
|
||||
this.pictureBoxBypass1.Location = new System.Drawing.Point(70, 475);
|
||||
this.pictureBoxBypass1.Name = "pictureBoxBypass1";
|
||||
this.pictureBoxBypass1.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass2
|
||||
//
|
||||
this.pictureBoxBypass2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass2.Image")));
|
||||
this.pictureBoxBypass2.Location = new System.Drawing.Point(151, 475);
|
||||
this.pictureBoxBypass2.Name = "pictureBoxBypass2";
|
||||
this.pictureBoxBypass2.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass3
|
||||
//
|
||||
this.pictureBoxBypass3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass3.Image")));
|
||||
this.pictureBoxBypass3.Location = new System.Drawing.Point(232, 475);
|
||||
this.pictureBoxBypass3.Name = "pictureBoxBypass3";
|
||||
this.pictureBoxBypass3.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass4
|
||||
//
|
||||
this.pictureBoxBypass4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass4.Image")));
|
||||
this.pictureBoxBypass4.Location = new System.Drawing.Point(313, 475);
|
||||
this.pictureBoxBypass4.Name = "pictureBoxBypass4";
|
||||
this.pictureBoxBypass4.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass5
|
||||
//
|
||||
this.pictureBoxBypass5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass5.Image")));
|
||||
this.pictureBoxBypass5.Location = new System.Drawing.Point(394, 475);
|
||||
this.pictureBoxBypass5.Name = "pictureBoxBypass5";
|
||||
this.pictureBoxBypass5.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass6
|
||||
//
|
||||
this.pictureBoxBypass6.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass6.Image")));
|
||||
this.pictureBoxBypass6.Location = new System.Drawing.Point(475, 475);
|
||||
this.pictureBoxBypass6.Name = "pictureBoxBypass6";
|
||||
this.pictureBoxBypass6.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass7
|
||||
//
|
||||
this.pictureBoxBypass7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass7.Image")));
|
||||
this.pictureBoxBypass7.Location = new System.Drawing.Point(556, 475);
|
||||
this.pictureBoxBypass7.Name = "pictureBoxBypass7";
|
||||
this.pictureBoxBypass7.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass8
|
||||
//
|
||||
this.pictureBoxBypass8.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass8.Image")));
|
||||
this.pictureBoxBypass8.Location = new System.Drawing.Point(637, 475);
|
||||
this.pictureBoxBypass8.Name = "pictureBoxBypass8";
|
||||
this.pictureBoxBypass8.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass9
|
||||
//
|
||||
this.pictureBoxBypass9.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass9.Image")));
|
||||
this.pictureBoxBypass9.Location = new System.Drawing.Point(718, 475);
|
||||
this.pictureBoxBypass9.Name = "pictureBoxBypass9";
|
||||
this.pictureBoxBypass9.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass10
|
||||
//
|
||||
this.pictureBoxBypass10.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass10.Image")));
|
||||
this.pictureBoxBypass10.Location = new System.Drawing.Point(799, 475);
|
||||
this.pictureBoxBypass10.Name = "pictureBoxBypass10";
|
||||
this.pictureBoxBypass10.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// pictureBoxBypass11
|
||||
//
|
||||
this.pictureBoxBypass11.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBypass11.Image")));
|
||||
this.pictureBoxBypass11.Location = new System.Drawing.Point(880, 475);
|
||||
this.pictureBoxBypass11.Name = "pictureBoxBypass11";
|
||||
this.pictureBoxBypass11.Size = new System.Drawing.Size(74, 7);
|
||||
//
|
||||
// smartGroupBox1
|
||||
//
|
||||
this.smartGroupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(151)))), ((int)(((byte)(151)))));
|
||||
this.smartGroupBox1.BackPictureBox = null;
|
||||
this.smartGroupBox1.BackPictureBox1 = null;
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass11);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass10);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass9);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass8);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass7);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass6);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass5);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass4);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass3);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass2);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBoxBypass1);
|
||||
this.smartGroupBox1.Controls.Add(this.draw11);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox11);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox10);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox9);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox8);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox7);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox6);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox5);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox4);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox3);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox2);
|
||||
this.smartGroupBox1.Controls.Add(this.pictureBox1);
|
||||
this.smartGroupBox1.Controls.Add(this.button11);
|
||||
this.smartGroupBox1.Controls.Add(this.button10);
|
||||
this.smartGroupBox1.Controls.Add(this.button9);
|
||||
this.smartGroupBox1.Controls.Add(this.button8);
|
||||
this.smartGroupBox1.Controls.Add(this.button7);
|
||||
this.smartGroupBox1.Controls.Add(this.button6);
|
||||
this.smartGroupBox1.Controls.Add(this.button5);
|
||||
this.smartGroupBox1.Controls.Add(this.button4);
|
||||
this.smartGroupBox1.Controls.Add(this.button3);
|
||||
this.smartGroupBox1.Controls.Add(this.button2);
|
||||
this.smartGroupBox1.Controls.Add(this.button1);
|
||||
this.smartGroupBox1.Controls.Add(this.draw10);
|
||||
this.smartGroupBox1.Controls.Add(this.draw9);
|
||||
this.smartGroupBox1.Controls.Add(this.draw8);
|
||||
this.smartGroupBox1.Controls.Add(this.draw7);
|
||||
this.smartGroupBox1.Controls.Add(this.draw6);
|
||||
this.smartGroupBox1.Controls.Add(this.draw5);
|
||||
this.smartGroupBox1.Controls.Add(this.draw4);
|
||||
this.smartGroupBox1.Controls.Add(this.draw3);
|
||||
this.smartGroupBox1.Controls.Add(this.draw2);
|
||||
this.smartGroupBox1.Controls.Add(this.draw1);
|
||||
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.Black;
|
||||
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.Black;
|
||||
this.smartGroupBox1.FrameLineThickness = 1;
|
||||
this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.None;
|
||||
this.smartGroupBox1.Image = null;
|
||||
this.smartGroupBox1.InitVisible = true;
|
||||
this.smartGroupBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.smartGroupBox1.Name = "smartGroupBox1";
|
||||
this.smartGroupBox1.RoundRadius = 5;
|
||||
this.smartGroupBox1.Size = new System.Drawing.Size(1023, 484);
|
||||
this.smartGroupBox1.TabIndex = 101;
|
||||
this.smartGroupBox1.Text = "smartGroupBox1";
|
||||
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
|
||||
//
|
||||
// ControlMainDisplayDotGraph11
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.Controls.Add(this.smartGroupBox1);
|
||||
this.Name = "ControlMainDisplayDotGraph11";
|
||||
this.Size = new System.Drawing.Size(1024, 485);
|
||||
this.smartGroupBox1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private SmartX.SmartDraw draw10;
|
||||
private SmartX.SmartDraw draw9;
|
||||
private SmartX.SmartDraw draw8;
|
||||
private SmartX.SmartDraw draw7;
|
||||
private SmartX.SmartDraw draw6;
|
||||
private SmartX.SmartDraw draw5;
|
||||
private SmartX.SmartDraw draw4;
|
||||
private SmartX.SmartDraw draw3;
|
||||
private SmartX.SmartDraw draw2;
|
||||
private SmartX.SmartDraw draw1;
|
||||
private System.Windows.Forms.PictureBox pictureBox11;
|
||||
private System.Windows.Forms.PictureBox pictureBox10;
|
||||
private System.Windows.Forms.PictureBox pictureBox9;
|
||||
private System.Windows.Forms.PictureBox pictureBox8;
|
||||
private System.Windows.Forms.PictureBox pictureBox7;
|
||||
private System.Windows.Forms.PictureBox pictureBox6;
|
||||
private System.Windows.Forms.PictureBox pictureBox5;
|
||||
private System.Windows.Forms.PictureBox pictureBox4;
|
||||
private System.Windows.Forms.PictureBox pictureBox3;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private SmartX.SmartButton button11;
|
||||
private SmartX.SmartButton button10;
|
||||
private SmartX.SmartButton button9;
|
||||
private SmartX.SmartButton button8;
|
||||
private SmartX.SmartButton button7;
|
||||
private SmartX.SmartButton button6;
|
||||
private SmartX.SmartButton button5;
|
||||
private SmartX.SmartButton button4;
|
||||
private SmartX.SmartButton button3;
|
||||
private SmartX.SmartButton button2;
|
||||
private SmartX.SmartButton button1;
|
||||
private SmartX.SmartDraw draw11;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass1;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass2;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass3;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass4;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass5;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass6;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass7;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass8;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass9;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass10;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBypass11;
|
||||
private SmartX.SmartGroupBox smartGroupBox1;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,336 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT69DC_7C.Forms;
|
||||
|
||||
namespace INT69DC_7C.Controls
|
||||
{
|
||||
public partial class ControlMainDisplayDotGraph11 : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormMainDisplay m_ParentForm;
|
||||
|
||||
private string CurrentUnderWeight;
|
||||
private string CurrentOverWeight;
|
||||
private int CurrentDecimalPlaces;
|
||||
|
||||
private Collection<PictureBox> CollectionPictureBoxZero;
|
||||
private Collection<SmartDraw> CollectionDraw;
|
||||
private Collection<PictureBox> CollectionPictureBoxBypass;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlMainDisplayDotGraph11(FormMainDisplay parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
|
||||
this.CreateCollection();
|
||||
this.InitializeControl();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormMainDisplay ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
private set { this.m_ParentForm = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void CreateCollection()
|
||||
{
|
||||
// PictureBoxZero
|
||||
this.CollectionPictureBoxZero = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxZero.Clear();
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox1);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox2);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox3);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox4);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox5);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox6);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox7);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox8);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox9);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox10);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox11);
|
||||
|
||||
// SmartDraw
|
||||
this.CollectionDraw = new Collection<SmartDraw>();
|
||||
this.CollectionDraw.Clear();
|
||||
this.CollectionDraw.Add(this.draw1);
|
||||
this.CollectionDraw.Add(this.draw2);
|
||||
this.CollectionDraw.Add(this.draw3);
|
||||
this.CollectionDraw.Add(this.draw4);
|
||||
this.CollectionDraw.Add(this.draw5);
|
||||
this.CollectionDraw.Add(this.draw6);
|
||||
this.CollectionDraw.Add(this.draw7);
|
||||
this.CollectionDraw.Add(this.draw8);
|
||||
this.CollectionDraw.Add(this.draw9);
|
||||
this.CollectionDraw.Add(this.draw10);
|
||||
this.CollectionDraw.Add(this.draw11);
|
||||
|
||||
// PictureBoxBypass
|
||||
this.CollectionPictureBoxBypass = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxBypass.Clear();
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass1);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass2);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass3);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass4);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass5);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass6);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass7);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass8);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass9);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass10);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass11);
|
||||
}
|
||||
private void InitializeControl()
|
||||
{
|
||||
foreach (PictureBox picture in this.CollectionPictureBoxZero)
|
||||
picture.Visible = false;
|
||||
|
||||
foreach (PictureBox picture in this.CollectionPictureBoxBypass)
|
||||
picture.Visible = false;
|
||||
|
||||
this.InitialzeDraws();
|
||||
this.draw1.BringToFront();
|
||||
this.button1.ButtonDown();
|
||||
}
|
||||
private void InitialzeDraws()
|
||||
{
|
||||
this.CurrentOverWeight = this.ParentForm.ParentForm.CurrentProductItem.OverRange;
|
||||
this.CurrentUnderWeight = this.ParentForm.ParentForm.CurrentProductItem.UnderRange;
|
||||
this.CurrentDecimalPlaces = this.ParentForm.ParentForm.SystemConfig.DecimalPlaces;
|
||||
|
||||
foreach (SmartDraw draw in this.CollectionDraw)
|
||||
this.InitializeDraw(draw, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig);
|
||||
}
|
||||
private void InitializeDraw(SmartDraw draw, ProductItem pItem, SystemConfigurationItem sItem)
|
||||
{
|
||||
draw.BackDraw.SetPenStyle(Color.Blue, 3);
|
||||
|
||||
draw.BackDraw.Line(100, 20, 100, 380);
|
||||
draw.BackDraw.Line(100, 380, 968, 380);
|
||||
|
||||
draw.BackDraw.SetPenStyle(Color.Gray, 1);
|
||||
|
||||
draw.BackDraw.SetFontCfg(25, Color.Red);
|
||||
draw.BackDraw.TextOut(880, 2, draw.Text);
|
||||
draw.BackDraw.SetFontCfg(30, Color.White);
|
||||
|
||||
// Chart의 가로 그리드 그리기
|
||||
draw.BackDraw.Line(103, 380 - (1 * 127) + 7, 968, 380 - (1 * 127) + 7);
|
||||
draw.BackDraw.TextOut(15, 365 - (1 * 127) + 7, Helper.StringToDecimalPlaces(pItem.UnderRange, sItem.DecimalPlaces));
|
||||
|
||||
draw.BackDraw.Line(103, 380 - (2 * 127) + 14, 968, 380 - (2 * 127) + 14);
|
||||
draw.BackDraw.TextOut(15, 365 - (2 * 127) + 14, Helper.StringToDecimalPlaces(pItem.OverRange, sItem.DecimalPlaces));
|
||||
|
||||
SmartX.SmartDraw.CHARTPENSTYLE[] chartchPenStyle = new SmartX.SmartDraw.CHARTPENSTYLE[1];
|
||||
chartchPenStyle[0].m_chColor = Color.Yellow;
|
||||
chartchPenStyle[0].m_iPenWidth = 2;
|
||||
|
||||
draw.SetChartCfg(103, 380, 865, 360, 16, SmartX.SmartDraw.CHARTREFRESH.LEFTSCROLL, 1);
|
||||
draw.ChartChannelPenStyle = chartchPenStyle;
|
||||
}
|
||||
|
||||
public void RescaleControl()
|
||||
{
|
||||
foreach (SmartDraw draw in this.CollectionDraw)
|
||||
{
|
||||
draw.BackDraw.BackErase(Color.Black);
|
||||
draw.Erase();
|
||||
draw.PutDataAllClear();
|
||||
}
|
||||
this.InitialzeDraws();
|
||||
}
|
||||
public void Clear()
|
||||
{
|
||||
foreach (SmartX.SmartDraw draw in this.CollectionDraw)
|
||||
draw.PutDataAllClear();
|
||||
}
|
||||
|
||||
private void UpdateDraw(SmartDraw draw, WeightData weightData)
|
||||
{
|
||||
int iValue = 0, gap = 0, startingPoint = 0;
|
||||
double scale = 0.0, value = 0.0;
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
// 스케일 계산
|
||||
gap = int.Parse(this.ParentForm.ParentForm.CurrentProductItem.OverRange)
|
||||
- int.Parse(this.ParentForm.ParentForm.CurrentProductItem.UnderRange);
|
||||
scale = 120.0 / gap;
|
||||
startingPoint = int.Parse(this.ParentForm.ParentForm.CurrentProductItem.UnderRange) - gap;
|
||||
|
||||
try
|
||||
{
|
||||
value = (int.Parse(weightData.WeightString) - startingPoint) * scale;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
value = 0;
|
||||
}
|
||||
|
||||
// 그래프를 스케일을 넘어가면 Max값 적용
|
||||
if (value > 355)
|
||||
value = 355;
|
||||
if (value < 2)
|
||||
value = 2;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", value));
|
||||
|
||||
draw.PutData(iValue);
|
||||
}
|
||||
|
||||
public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status)
|
||||
{
|
||||
|
||||
}
|
||||
public void UpdateCurrentProductDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
|
||||
}
|
||||
public void UpdateBypassDisplay(Collection<WeightData> weightData)
|
||||
{
|
||||
for (int i = 0; i < this.CollectionPictureBoxBypass.Count; i++)
|
||||
{
|
||||
if (weightData[i].IsBypassMode == true)
|
||||
this.CollectionPictureBoxBypass[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxBypass[i].Visible = false;
|
||||
}
|
||||
}
|
||||
public void UpdateStopWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EquipmentColumns > weightDatas.Count)
|
||||
return;
|
||||
|
||||
if (status == DataStore.EquipmentStatus.Stop)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
// 영점표시
|
||||
if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero)
|
||||
this.CollectionPictureBoxZero[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxZero[i].Visible = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
// 영점표시
|
||||
if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero)
|
||||
this.CollectionPictureBoxZero[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxZero[i].Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
public void UpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
this.UpdateStartWeightDisplay1(status, weightDatas[0]);
|
||||
this.UpdateStartWeightDisplay2(status, weightDatas[1]);
|
||||
this.UpdateStartWeightDisplay3(status, weightDatas[2]);
|
||||
this.UpdateStartWeightDisplay4(status, weightDatas[3]);
|
||||
this.UpdateStartWeightDisplay5(status, weightDatas[4]);
|
||||
this.UpdateStartWeightDisplay6(status, weightDatas[5]);
|
||||
this.UpdateStartWeightDisplay7(status, weightDatas[6]);
|
||||
this.UpdateStartWeightDisplay8(status, weightDatas[7]);
|
||||
this.UpdateStartWeightDisplay9(status, weightDatas[8]);
|
||||
this.UpdateStartWeightDisplay10(status, weightDatas[9]);
|
||||
this.UpdateStartWeightDisplay11(status, weightDatas[10]);
|
||||
}
|
||||
public void UpdateStartWeightDisplay1(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[0], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay2(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[1], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay3(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[2], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay4(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[3], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay5(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[4], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay6(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[5], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay7(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[6], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay8(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[7], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay9(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[8], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay10(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[9], weightData);
|
||||
}
|
||||
public void UpdateStartWeightDisplay11(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
this.UpdateDraw(this.CollectionDraw[10], weightData);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
private void buttonSelectDraw_Click(object sender, EventArgs e)
|
||||
{
|
||||
SmartButton button = sender as SmartButton;
|
||||
|
||||
if (button == null)
|
||||
return;
|
||||
|
||||
if (button == this.button1)
|
||||
this.draw1.BringToFront();
|
||||
else if (button == this.button2)
|
||||
this.draw2.BringToFront();
|
||||
else if (button == this.button3)
|
||||
this.draw3.BringToFront();
|
||||
else if (button == this.button4)
|
||||
this.draw4.BringToFront();
|
||||
else if (button == this.button5)
|
||||
this.draw5.BringToFront();
|
||||
else if (button == this.button6)
|
||||
this.draw6.BringToFront();
|
||||
else if (button == this.button7)
|
||||
this.draw7.BringToFront();
|
||||
else if (button == this.button8)
|
||||
this.draw8.BringToFront();
|
||||
else if (button == this.button9)
|
||||
this.draw9.BringToFront();
|
||||
else if (button == this.button10)
|
||||
this.draw10.BringToFront();
|
||||
else if (button == this.button11)
|
||||
this.draw11.BringToFront();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,580 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT69DC_7C.Forms;
|
||||
|
||||
namespace INT69DC_7C.Controls
|
||||
{
|
||||
public partial class ControlMainDisplayEachBarGraph11 : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormMainDisplay m_ParentForm;
|
||||
|
||||
private Collection<PictureBox> CollectionPictureBoxZero;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue;
|
||||
private Collection<SmartProgressBar> CollectionProgressBar;
|
||||
private Collection<PictureBox> CollectionPictureBoxBypass;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlMainDisplayEachBarGraph11(FormMainDisplay parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
|
||||
this.CreateCollection();
|
||||
this.InitializeControl();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormMainDisplay ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
private set { this.m_ParentForm = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void CreateCollection()
|
||||
{
|
||||
// PictureBoxZero
|
||||
this.CollectionPictureBoxZero = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxZero.Clear();
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox1);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox2);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox3);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox4);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox5);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox6);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox7);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox8);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox9);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox10);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox11);
|
||||
|
||||
// LabelWeightValue
|
||||
this.CollectionLabelWeightValue = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue.Clear();
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue1);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue2);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue3);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue4);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue5);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue6);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue7);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue8);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue9);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue10);
|
||||
this.CollectionLabelWeightValue.Add(this.labelWeightValue11);
|
||||
|
||||
// ProgressBar
|
||||
this.CollectionProgressBar = new Collection<SmartProgressBar>();
|
||||
this.CollectionProgressBar.Clear();
|
||||
this.CollectionProgressBar.Add(this.progressBar1);
|
||||
this.CollectionProgressBar.Add(this.progressBar2);
|
||||
this.CollectionProgressBar.Add(this.progressBar3);
|
||||
this.CollectionProgressBar.Add(this.progressBar4);
|
||||
this.CollectionProgressBar.Add(this.progressBar5);
|
||||
this.CollectionProgressBar.Add(this.progressBar6);
|
||||
this.CollectionProgressBar.Add(this.progressBar7);
|
||||
this.CollectionProgressBar.Add(this.progressBar8);
|
||||
this.CollectionProgressBar.Add(this.progressBar9);
|
||||
this.CollectionProgressBar.Add(this.progressBar10);
|
||||
this.CollectionProgressBar.Add(this.progressBar11);
|
||||
|
||||
// PictureBoxBypass
|
||||
this.CollectionPictureBoxBypass = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxBypass.Clear();
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass1);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass2);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass3);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass4);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass5);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass6);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass7);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass8);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass9);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass10);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass11);
|
||||
}
|
||||
private void InitializeControl()
|
||||
{
|
||||
foreach (PictureBox picture in this.CollectionPictureBoxZero)
|
||||
picture.Visible = false;
|
||||
|
||||
foreach (SmartLabel label in this.CollectionLabelWeightValue)
|
||||
label.Text = Helper.StringToDecimalPlaces("0", this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
|
||||
foreach (SmartProgressBar bar in this.CollectionProgressBar)
|
||||
bar.Value = bar.Minimum;
|
||||
|
||||
foreach (PictureBox picture in this.CollectionPictureBoxBypass)
|
||||
picture.Visible = false;
|
||||
|
||||
this.SetCount(this.ParentForm.ParentForm.CollectionWeightData);
|
||||
}
|
||||
private void SetCount(Collection<WeightData> weightdatas)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
#region Line 1
|
||||
value = weightdatas[0].TotalNGCount.ToString();
|
||||
if (this.labelNGCount1.Text != value)
|
||||
this.labelNGCount1.Text = value;
|
||||
|
||||
value = weightdatas[0].PassCount.ToString();
|
||||
if (this.labelPassCount1.Text != value)
|
||||
this.labelPassCount1.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 2
|
||||
value = weightdatas[1].TotalNGCount.ToString();
|
||||
if (this.labelNGCount2.Text != value)
|
||||
this.labelNGCount2.Text = value;
|
||||
|
||||
value = weightdatas[1].PassCount.ToString();
|
||||
if (this.labelPassCount2.Text != value)
|
||||
this.labelPassCount2.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 3
|
||||
value = weightdatas[2].TotalNGCount.ToString();
|
||||
if (this.labelNGCount3.Text != value)
|
||||
this.labelNGCount3.Text = value;
|
||||
|
||||
value = weightdatas[2].PassCount.ToString();
|
||||
if (this.labelPassCount3.Text != value)
|
||||
this.labelPassCount3.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 4
|
||||
value = weightdatas[3].TotalNGCount.ToString();
|
||||
if (this.labelNGCount4.Text != value)
|
||||
this.labelNGCount4.Text = value;
|
||||
|
||||
value = weightdatas[3].PassCount.ToString();
|
||||
if (this.labelPassCount4.Text != value)
|
||||
this.labelPassCount4.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 5
|
||||
value = weightdatas[4].TotalNGCount.ToString();
|
||||
if (this.labelNGCount5.Text != value)
|
||||
this.labelNGCount5.Text = value;
|
||||
|
||||
value = weightdatas[4].PassCount.ToString();
|
||||
if (this.labelPassCount5.Text != value)
|
||||
this.labelPassCount5.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 6
|
||||
value = weightdatas[5].TotalNGCount.ToString();
|
||||
if (this.labelNGCount6.Text != value)
|
||||
this.labelNGCount6.Text = value;
|
||||
|
||||
value = weightdatas[5].PassCount.ToString();
|
||||
if (this.labelPassCount6.Text != value)
|
||||
this.labelPassCount6.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 7
|
||||
value = weightdatas[6].TotalNGCount.ToString();
|
||||
if (this.labelNGCount7.Text != value)
|
||||
this.labelNGCount7.Text = value;
|
||||
|
||||
value = weightdatas[6].PassCount.ToString();
|
||||
if (this.labelPassCount7.Text != value)
|
||||
this.labelPassCount7.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 8
|
||||
value = weightdatas[7].TotalNGCount.ToString();
|
||||
if (this.labelNGCount8.Text != value)
|
||||
this.labelNGCount8.Text = value;
|
||||
|
||||
value = weightdatas[7].PassCount.ToString();
|
||||
if (this.labelPassCount8.Text != value)
|
||||
this.labelPassCount8.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 9
|
||||
value = weightdatas[8].TotalNGCount.ToString();
|
||||
if (this.labelNGCount9.Text != value)
|
||||
this.labelNGCount9.Text = value;
|
||||
|
||||
value = weightdatas[8].PassCount.ToString();
|
||||
if (this.labelPassCount9.Text != value)
|
||||
this.labelPassCount9.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 10
|
||||
value = weightdatas[9].TotalNGCount.ToString();
|
||||
if (this.labelNGCount10.Text != value)
|
||||
this.labelNGCount10.Text = value;
|
||||
|
||||
value = weightdatas[9].PassCount.ToString();
|
||||
if (this.labelPassCount10.Text != value)
|
||||
this.labelPassCount10.Text = value;
|
||||
#endregion
|
||||
|
||||
#region Line 11
|
||||
value = weightdatas[10].TotalNGCount.ToString();
|
||||
if (this.labelNGCount11.Text != value)
|
||||
this.labelNGCount11.Text = value;
|
||||
|
||||
value = weightdatas[10].PassCount.ToString();
|
||||
if (this.labelPassCount11.Text != value)
|
||||
this.labelPassCount11.Text = value;
|
||||
#endregion
|
||||
|
||||
this.ParentForm.SetTotalCount();
|
||||
}
|
||||
|
||||
public void RescaleControl()
|
||||
{
|
||||
foreach (SmartProgressBar bar in this.CollectionProgressBar)
|
||||
{
|
||||
Helper.RescaleProgressBar(bar, this.ParentForm.ParentForm.CurrentProductItem.ProgressBarMaximum, this.ParentForm.ParentForm.CurrentProductItem.ProgressBarMinimum);
|
||||
bar.Value = bar.Minimum;
|
||||
}
|
||||
}
|
||||
public void Clear()
|
||||
{
|
||||
foreach (SmartX.SmartLabel label in this.CollectionLabelWeightValue)
|
||||
label.Text = Helper.StringToDecimalPlaces("0", this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
|
||||
foreach (SmartX.SmartProgressBar bar in this.CollectionProgressBar)
|
||||
bar.Value = bar.Minimum;
|
||||
|
||||
foreach (WeightData data in this.ParentForm.ParentForm.CollectionWeightData)
|
||||
data.ClearCount();
|
||||
|
||||
this.SetCount(this.ParentForm.ParentForm.CollectionWeightData);
|
||||
|
||||
this.ParentForm.ParentForm.SaveCounterFile(this.ParentForm.ParentForm.CollectionWeightData, this.ParentForm.ParentForm.SystemConfig.ProductNumber - 1);
|
||||
}
|
||||
|
||||
public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status)
|
||||
{
|
||||
string temp = "";
|
||||
|
||||
foreach (SmartX.SmartLabel label in this.CollectionLabelWeightValue)
|
||||
{
|
||||
temp = Helper.StringToDecimalPlaces("0", this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (label.Text != temp)
|
||||
label.Text = temp;
|
||||
}
|
||||
|
||||
foreach (SmartProgressBar bar in this.CollectionProgressBar)
|
||||
bar.Value = bar.Minimum;
|
||||
}
|
||||
public void UpdateCurrentProductDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
foreach (SmartProgressBar bar in this.CollectionProgressBar)
|
||||
bar.Value = bar.Minimum;
|
||||
|
||||
this.SetCount(this.ParentForm.ParentForm.CollectionWeightData);
|
||||
}
|
||||
public void UpdateBypassDisplay(Collection<WeightData> weightData)
|
||||
{
|
||||
for (int i = 0; i < this.CollectionPictureBoxBypass.Count; i++)
|
||||
{
|
||||
if (weightData[i].IsBypassMode == true)
|
||||
this.CollectionPictureBoxBypass[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxBypass[i].Visible = false;
|
||||
}
|
||||
}
|
||||
public void UpdateStopWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EquipmentColumns > weightDatas.Count)
|
||||
return;
|
||||
|
||||
if (status == DataStore.EquipmentStatus.Stop)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
// 중량
|
||||
value = Helper.DoubleToString(weightDatas[i].Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.CollectionLabelWeightValue[i].Text != value)
|
||||
this.CollectionLabelWeightValue[i].Text = value;
|
||||
|
||||
// 영점표시
|
||||
if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero)
|
||||
this.CollectionPictureBoxZero[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxZero[i].Visible = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
// 영점표시
|
||||
if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero)
|
||||
this.CollectionPictureBoxZero[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxZero[i].Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
public void UpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
this.UpdateStartWeightDisplay1(status, weightDatas[0]);
|
||||
this.UpdateStartWeightDisplay2(status, weightDatas[1]);
|
||||
this.UpdateStartWeightDisplay3(status, weightDatas[2]);
|
||||
this.UpdateStartWeightDisplay4(status, weightDatas[3]);
|
||||
this.UpdateStartWeightDisplay5(status, weightDatas[4]);
|
||||
this.UpdateStartWeightDisplay6(status, weightDatas[5]);
|
||||
this.UpdateStartWeightDisplay7(status, weightDatas[6]);
|
||||
this.UpdateStartWeightDisplay8(status, weightDatas[7]);
|
||||
this.UpdateStartWeightDisplay9(status, weightDatas[8]);
|
||||
this.UpdateStartWeightDisplay10(status, weightDatas[9]);
|
||||
this.UpdateStartWeightDisplay11(status, weightDatas[10]);
|
||||
}
|
||||
public void UpdateStartWeightDisplay1(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue1.Text != value)
|
||||
this.labelWeightValue1.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount1.Text != value)
|
||||
this.labelPassCount1.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount1.Text != value)
|
||||
this.labelNGCount1.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar1, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay2(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue2.Text != value)
|
||||
this.labelWeightValue2.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount2.Text != value)
|
||||
this.labelPassCount2.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount2.Text != value)
|
||||
this.labelNGCount2.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar2, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay3(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue3.Text != value)
|
||||
this.labelWeightValue3.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount3.Text != value)
|
||||
this.labelPassCount3.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount3.Text != value)
|
||||
this.labelNGCount3.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar3, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay4(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue4.Text != value)
|
||||
this.labelWeightValue4.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount4.Text != value)
|
||||
this.labelPassCount4.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount4.Text != value)
|
||||
this.labelNGCount4.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar4, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay5(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue5.Text != value)
|
||||
this.labelWeightValue5.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount5.Text != value)
|
||||
this.labelPassCount5.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount5.Text != value)
|
||||
this.labelNGCount5.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar5, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay6(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue6.Text != value)
|
||||
this.labelWeightValue6.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount6.Text != value)
|
||||
this.labelPassCount6.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount6.Text != value)
|
||||
this.labelNGCount6.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar6, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay7(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue7.Text != value)
|
||||
this.labelWeightValue7.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount7.Text != value)
|
||||
this.labelPassCount7.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount7.Text != value)
|
||||
this.labelNGCount7.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar7, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay8(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue8.Text != value)
|
||||
this.labelWeightValue8.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount8.Text != value)
|
||||
this.labelPassCount8.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount8.Text != value)
|
||||
this.labelNGCount8.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar8, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay9(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue9.Text != value)
|
||||
this.labelWeightValue9.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount9.Text != value)
|
||||
this.labelPassCount9.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount9.Text != value)
|
||||
this.labelNGCount9.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar9, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay10(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue10.Text != value)
|
||||
this.labelWeightValue10.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount10.Text != value)
|
||||
this.labelPassCount10.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount10.Text != value)
|
||||
this.labelNGCount10.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar10, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
public void UpdateStartWeightDisplay11(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
value = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
if (this.labelWeightValue11.Text != value)
|
||||
this.labelWeightValue11.Text = value;
|
||||
|
||||
value = weightData.PassCount.ToString();
|
||||
if (this.labelPassCount11.Text != value)
|
||||
this.labelPassCount11.Text = value;
|
||||
|
||||
value = weightData.TotalNGCount.ToString();
|
||||
if (this.labelNGCount11.Text != value)
|
||||
this.labelNGCount11.Text = value;
|
||||
|
||||
Helper.SetProgressBarValue(this.progressBar11, weightData.Weight, weightData.JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -98,7 +98,7 @@ namespace INT69DC_7C.Controls
|
|||
// WeightStorage
|
||||
this.CollectionWeightStorageItem = new Collection<WeightStorageItem>();
|
||||
this.CollectionWeightStorageItem.Clear();
|
||||
for (int i = 0; i < 10; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollectionWeightStorageItem.Add(new WeightStorageItem());
|
||||
|
||||
#region Add Label
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,866 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT69DC_7C.Forms;
|
||||
|
||||
namespace INT69DC_7C.Controls
|
||||
{
|
||||
public partial class ControlMainDisplayTable11 : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormMainDisplay m_ParentForm;
|
||||
|
||||
private Color WeightOverColor = Color.Yellow;
|
||||
private Color WeightStandardColor = Color.Black;
|
||||
private Color WeightUnderColor = Color.Red;
|
||||
private Color WeightPassColor = Color.Green;
|
||||
private Color WeightExNGColor = Color.Blue;
|
||||
|
||||
/// <summary>
|
||||
/// true : total average
|
||||
/// fals : total pass average
|
||||
/// </summary>
|
||||
private bool IsTotalAverageView = true;
|
||||
|
||||
private Collection<PictureBox> CollectionPictureBoxZero;
|
||||
private Collection<PictureBox> CollectionPictureBoxBypass;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue1;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue2;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue3;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue4;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue5;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue6;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue7;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue8;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue9;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue10;
|
||||
private Collection<SmartLabel> CollectionLabelWeightValue11;
|
||||
private Collection<WeightStorageItem> CollectionWeightStorageItem;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlMainDisplayTable11(FormMainDisplay parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
|
||||
this.CreateCollection();
|
||||
this.InitializeControl();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormMainDisplay ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
private set { this.m_ParentForm = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void CreateCollection()
|
||||
{
|
||||
// PictureBoxZero
|
||||
this.CollectionPictureBoxZero = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxZero.Clear();
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox1);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox2);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox3);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox4);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox5);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox6);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox7);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox8);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox9);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox10);
|
||||
this.CollectionPictureBoxZero.Add(this.pictureBox11);
|
||||
|
||||
// PictureBoxBypass
|
||||
this.CollectionPictureBoxBypass = new Collection<PictureBox>();
|
||||
this.CollectionPictureBoxBypass.Clear();
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass1);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass2);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass3);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass4);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass5);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass6);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass7);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass8);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass9);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass10);
|
||||
this.CollectionPictureBoxBypass.Add(this.pictureBoxBypass11);
|
||||
|
||||
// WeightStorage
|
||||
this.CollectionWeightStorageItem = new Collection<WeightStorageItem>();
|
||||
this.CollectionWeightStorageItem.Clear();
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollectionWeightStorageItem.Add(new WeightStorageItem());
|
||||
|
||||
#region Add Label
|
||||
this.CollectionLabelWeightValue1 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue1.Clear();
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col1Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col2Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col3Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col4Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col5Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col6Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col7Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col8Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col9Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col10Row);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1Col5Avg);
|
||||
this.CollectionLabelWeightValue1.Add(this.label1AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue2 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue2.Clear();
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col1Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col2Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col3Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col4Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col5Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col6Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col7Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col8Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col9Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col10Row);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2Col5Avg);
|
||||
this.CollectionLabelWeightValue2.Add(this.label2AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue3 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue3.Clear();
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col1Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col2Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col3Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col4Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col5Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col6Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col7Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col8Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col9Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col10Row);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3Col5Avg);
|
||||
this.CollectionLabelWeightValue3.Add(this.label3AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue4 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue4.Clear();
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col1Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col2Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col3Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col4Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col5Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col6Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col7Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col8Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col9Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col10Row);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4Col5Avg);
|
||||
this.CollectionLabelWeightValue4.Add(this.label4AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue5 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue5.Clear();
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col1Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col2Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col3Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col4Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col5Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col6Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col7Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col8Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col9Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col10Row);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5Col5Avg);
|
||||
this.CollectionLabelWeightValue5.Add(this.label5AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue6 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue6.Clear();
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col1Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col2Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col3Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col4Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col5Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col6Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col7Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col8Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col9Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col10Row);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6Col5Avg);
|
||||
this.CollectionLabelWeightValue6.Add(this.label6AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue7 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue7.Clear();
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col1Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col2Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col3Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col4Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col5Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col6Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col7Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col8Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col9Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col10Row);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7Col5Avg);
|
||||
this.CollectionLabelWeightValue7.Add(this.label7AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue8 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue8.Clear();
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col1Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col2Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col3Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col4Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col5Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col6Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col7Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col8Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col9Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col10Row);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8Col5Avg);
|
||||
this.CollectionLabelWeightValue8.Add(this.label8AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue9 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue9.Clear();
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col1Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col2Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col3Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col4Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col5Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col6Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col7Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col8Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col9Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col10Row);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9Col5Avg);
|
||||
this.CollectionLabelWeightValue9.Add(this.label9AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue10 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue10.Clear();
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col1Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col2Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col3Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col4Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col5Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col6Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col7Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col8Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col9Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col10Row);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10Col5Avg);
|
||||
this.CollectionLabelWeightValue10.Add(this.label10AllAvg);
|
||||
|
||||
this.CollectionLabelWeightValue11 = new Collection<SmartLabel>();
|
||||
this.CollectionLabelWeightValue11.Clear();
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col1Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col2Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col3Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col4Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col5Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col6Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col7Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col8Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col9Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col10Row);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11Col5Avg);
|
||||
this.CollectionLabelWeightValue11.Add(this.label11AllAvg);
|
||||
#endregion
|
||||
}
|
||||
private void InitializeControl()
|
||||
{
|
||||
foreach (PictureBox picture in this.CollectionPictureBoxZero)
|
||||
picture.Visible = false;
|
||||
|
||||
foreach (PictureBox picture in this.CollectionPictureBoxBypass)
|
||||
picture.Visible = false;
|
||||
|
||||
for (int i = 0; i < 12; i++)
|
||||
{
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
|
||||
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue7[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue8[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue9[i]);
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue10[i]);
|
||||
|
||||
this.SetLabelProperty(this.CollectionLabelWeightValue11[i]);
|
||||
}
|
||||
|
||||
this.UpdateLabelDisplay();
|
||||
}
|
||||
private void SetLabelProperty(Control label)
|
||||
{
|
||||
label.Font = new Font("Tahoma", 16, FontStyle.Bold);
|
||||
}
|
||||
private void SetLabelText(SmartLabel label, double value, bool labelTotalCNT, DataStore.JudgmentStatus judge)
|
||||
{
|
||||
string sValue = "";
|
||||
Color labelColor = Color.Black;
|
||||
|
||||
//if (value < Helper.StringToWeight(this.ParentForm.ParentForm.CurrentProductItem.UnderRange, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces))
|
||||
// labelColor = this.WeightUnderColor;
|
||||
//else if (value > Helper.StringToWeight(this.ParentForm.ParentForm.CurrentProductItem.OverRange, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces))
|
||||
// labelColor = this.WeightOverColor;
|
||||
//else
|
||||
// labelColor = this.WeightStandardColor;
|
||||
|
||||
if (judge == DataStore.JudgmentStatus.Over)
|
||||
labelColor = this.WeightOverColor;
|
||||
else if (judge == DataStore.JudgmentStatus.Under)
|
||||
labelColor = this.WeightUnderColor;
|
||||
else if (judge == DataStore.JudgmentStatus.EXNg)
|
||||
labelColor = this.WeightExNGColor;
|
||||
else
|
||||
labelColor = this.WeightStandardColor;
|
||||
|
||||
if (labelTotalCNT == true)
|
||||
{
|
||||
if (this.IsTotalAverageView == false)
|
||||
labelColor = this.WeightPassColor;
|
||||
}
|
||||
|
||||
sValue = Helper.DoubleToString(value, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces);
|
||||
|
||||
if (label.ForeColor != labelColor)
|
||||
label.ForeColor = labelColor;
|
||||
|
||||
if (label.Text != sValue)
|
||||
label.Text = sValue;
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
foreach (WeightStorageItem weight in this.CollectionWeightStorageItem)
|
||||
weight.AllClear();
|
||||
|
||||
this.UpdateLabelDisplay();
|
||||
}
|
||||
|
||||
private void UpdateLabelDisplay()
|
||||
{
|
||||
this.SetLabelText(this.label1Col1Row, this.CollectionWeightStorageItem[0].Weight1, false, this.CollectionWeightStorageItem[0].Grade1);
|
||||
this.SetLabelText(this.label1Col2Row, this.CollectionWeightStorageItem[0].Weight2, false, this.CollectionWeightStorageItem[0].Grade2);
|
||||
this.SetLabelText(this.label1Col3Row, this.CollectionWeightStorageItem[0].Weight3, false, this.CollectionWeightStorageItem[0].Grade3);
|
||||
this.SetLabelText(this.label1Col4Row, this.CollectionWeightStorageItem[0].Weight4, false, this.CollectionWeightStorageItem[0].Grade4);
|
||||
this.SetLabelText(this.label1Col5Row, this.CollectionWeightStorageItem[0].Weight5, false, this.CollectionWeightStorageItem[0].Grade5);
|
||||
this.SetLabelText(this.label1Col6Row, this.CollectionWeightStorageItem[0].Weight6, false, this.CollectionWeightStorageItem[0].Grade6);
|
||||
this.SetLabelText(this.label1Col7Row, this.CollectionWeightStorageItem[0].Weight7, false, this.CollectionWeightStorageItem[0].Grade7);
|
||||
this.SetLabelText(this.label1Col8Row, this.CollectionWeightStorageItem[0].Weight8, false, this.CollectionWeightStorageItem[0].Grade8);
|
||||
this.SetLabelText(this.label1Col9Row, this.CollectionWeightStorageItem[0].Weight9, false, this.CollectionWeightStorageItem[0].Grade9);
|
||||
this.SetLabelText(this.label1Col10Row, this.CollectionWeightStorageItem[0].Weight10, false, this.CollectionWeightStorageItem[0].Grade10);
|
||||
this.SetLabelText(this.label1Col5Avg, this.CollectionWeightStorageItem[0].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label1AllAvg, this.CollectionWeightStorageItem[0].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label2Col1Row, this.CollectionWeightStorageItem[1].Weight1, false, this.CollectionWeightStorageItem[1].Grade1);
|
||||
this.SetLabelText(this.label2Col2Row, this.CollectionWeightStorageItem[1].Weight2, false, this.CollectionWeightStorageItem[1].Grade2);
|
||||
this.SetLabelText(this.label2Col3Row, this.CollectionWeightStorageItem[1].Weight3, false, this.CollectionWeightStorageItem[1].Grade3);
|
||||
this.SetLabelText(this.label2Col4Row, this.CollectionWeightStorageItem[1].Weight4, false, this.CollectionWeightStorageItem[1].Grade4);
|
||||
this.SetLabelText(this.label2Col5Row, this.CollectionWeightStorageItem[1].Weight5, false, this.CollectionWeightStorageItem[1].Grade5);
|
||||
this.SetLabelText(this.label2Col6Row, this.CollectionWeightStorageItem[1].Weight6, false, this.CollectionWeightStorageItem[1].Grade6);
|
||||
this.SetLabelText(this.label2Col7Row, this.CollectionWeightStorageItem[1].Weight7, false, this.CollectionWeightStorageItem[1].Grade7);
|
||||
this.SetLabelText(this.label2Col8Row, this.CollectionWeightStorageItem[1].Weight8, false, this.CollectionWeightStorageItem[1].Grade8);
|
||||
this.SetLabelText(this.label2Col9Row, this.CollectionWeightStorageItem[1].Weight9, false, this.CollectionWeightStorageItem[1].Grade9);
|
||||
this.SetLabelText(this.label2Col10Row, this.CollectionWeightStorageItem[1].Weight10, false, this.CollectionWeightStorageItem[1].Grade10);
|
||||
this.SetLabelText(this.label2Col5Avg, this.CollectionWeightStorageItem[1].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label2AllAvg, this.CollectionWeightStorageItem[1].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label3Col1Row, this.CollectionWeightStorageItem[2].Weight1, false, this.CollectionWeightStorageItem[2].Grade1);
|
||||
this.SetLabelText(this.label3Col2Row, this.CollectionWeightStorageItem[2].Weight2, false, this.CollectionWeightStorageItem[2].Grade2);
|
||||
this.SetLabelText(this.label3Col3Row, this.CollectionWeightStorageItem[2].Weight3, false, this.CollectionWeightStorageItem[2].Grade3);
|
||||
this.SetLabelText(this.label3Col4Row, this.CollectionWeightStorageItem[2].Weight4, false, this.CollectionWeightStorageItem[2].Grade4);
|
||||
this.SetLabelText(this.label3Col5Row, this.CollectionWeightStorageItem[2].Weight5, false, this.CollectionWeightStorageItem[2].Grade5);
|
||||
this.SetLabelText(this.label3Col6Row, this.CollectionWeightStorageItem[2].Weight6, false, this.CollectionWeightStorageItem[2].Grade6);
|
||||
this.SetLabelText(this.label3Col7Row, this.CollectionWeightStorageItem[2].Weight7, false, this.CollectionWeightStorageItem[2].Grade7);
|
||||
this.SetLabelText(this.label3Col8Row, this.CollectionWeightStorageItem[2].Weight8, false, this.CollectionWeightStorageItem[2].Grade8);
|
||||
this.SetLabelText(this.label3Col9Row, this.CollectionWeightStorageItem[2].Weight9, false, this.CollectionWeightStorageItem[2].Grade9);
|
||||
this.SetLabelText(this.label3Col10Row, this.CollectionWeightStorageItem[2].Weight10, false, this.CollectionWeightStorageItem[2].Grade10);
|
||||
this.SetLabelText(this.label3Col5Avg, this.CollectionWeightStorageItem[2].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label3AllAvg, this.CollectionWeightStorageItem[2].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label4Col1Row, this.CollectionWeightStorageItem[3].Weight1, false, this.CollectionWeightStorageItem[3].Grade1);
|
||||
this.SetLabelText(this.label4Col2Row, this.CollectionWeightStorageItem[3].Weight2, false, this.CollectionWeightStorageItem[3].Grade2);
|
||||
this.SetLabelText(this.label4Col3Row, this.CollectionWeightStorageItem[3].Weight3, false, this.CollectionWeightStorageItem[3].Grade3);
|
||||
this.SetLabelText(this.label4Col4Row, this.CollectionWeightStorageItem[3].Weight4, false, this.CollectionWeightStorageItem[3].Grade4);
|
||||
this.SetLabelText(this.label4Col5Row, this.CollectionWeightStorageItem[3].Weight5, false, this.CollectionWeightStorageItem[3].Grade5);
|
||||
this.SetLabelText(this.label4Col6Row, this.CollectionWeightStorageItem[3].Weight6, false, this.CollectionWeightStorageItem[3].Grade6);
|
||||
this.SetLabelText(this.label4Col7Row, this.CollectionWeightStorageItem[3].Weight7, false, this.CollectionWeightStorageItem[3].Grade7);
|
||||
this.SetLabelText(this.label4Col8Row, this.CollectionWeightStorageItem[3].Weight8, false, this.CollectionWeightStorageItem[3].Grade8);
|
||||
this.SetLabelText(this.label4Col9Row, this.CollectionWeightStorageItem[3].Weight9, false, this.CollectionWeightStorageItem[3].Grade9);
|
||||
this.SetLabelText(this.label4Col10Row, this.CollectionWeightStorageItem[3].Weight10, false, this.CollectionWeightStorageItem[3].Grade10);
|
||||
this.SetLabelText(this.label4Col5Avg, this.CollectionWeightStorageItem[3].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label4AllAvg, this.CollectionWeightStorageItem[3].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label5Col1Row, this.CollectionWeightStorageItem[4].Weight1, false, this.CollectionWeightStorageItem[4].Grade1);
|
||||
this.SetLabelText(this.label5Col2Row, this.CollectionWeightStorageItem[4].Weight2, false, this.CollectionWeightStorageItem[4].Grade2);
|
||||
this.SetLabelText(this.label5Col3Row, this.CollectionWeightStorageItem[4].Weight3, false, this.CollectionWeightStorageItem[4].Grade3);
|
||||
this.SetLabelText(this.label5Col4Row, this.CollectionWeightStorageItem[4].Weight4, false, this.CollectionWeightStorageItem[4].Grade4);
|
||||
this.SetLabelText(this.label5Col5Row, this.CollectionWeightStorageItem[4].Weight5, false, this.CollectionWeightStorageItem[4].Grade5);
|
||||
this.SetLabelText(this.label5Col6Row, this.CollectionWeightStorageItem[4].Weight6, false, this.CollectionWeightStorageItem[4].Grade6);
|
||||
this.SetLabelText(this.label5Col7Row, this.CollectionWeightStorageItem[4].Weight7, false, this.CollectionWeightStorageItem[4].Grade7);
|
||||
this.SetLabelText(this.label5Col8Row, this.CollectionWeightStorageItem[4].Weight8, false, this.CollectionWeightStorageItem[4].Grade8);
|
||||
this.SetLabelText(this.label5Col9Row, this.CollectionWeightStorageItem[4].Weight9, false, this.CollectionWeightStorageItem[4].Grade9);
|
||||
this.SetLabelText(this.label5Col10Row, this.CollectionWeightStorageItem[4].Weight10, false, this.CollectionWeightStorageItem[4].Grade10);
|
||||
this.SetLabelText(this.label5Col5Avg, this.CollectionWeightStorageItem[4].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label5AllAvg, this.CollectionWeightStorageItem[4].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label6Col1Row, this.CollectionWeightStorageItem[5].Weight1, false, this.CollectionWeightStorageItem[5].Grade1);
|
||||
this.SetLabelText(this.label6Col2Row, this.CollectionWeightStorageItem[5].Weight2, false, this.CollectionWeightStorageItem[5].Grade2);
|
||||
this.SetLabelText(this.label6Col3Row, this.CollectionWeightStorageItem[5].Weight3, false, this.CollectionWeightStorageItem[5].Grade3);
|
||||
this.SetLabelText(this.label6Col4Row, this.CollectionWeightStorageItem[5].Weight4, false, this.CollectionWeightStorageItem[5].Grade4);
|
||||
this.SetLabelText(this.label6Col5Row, this.CollectionWeightStorageItem[5].Weight5, false, this.CollectionWeightStorageItem[5].Grade5);
|
||||
this.SetLabelText(this.label6Col6Row, this.CollectionWeightStorageItem[5].Weight6, false, this.CollectionWeightStorageItem[5].Grade6);
|
||||
this.SetLabelText(this.label6Col7Row, this.CollectionWeightStorageItem[5].Weight7, false, this.CollectionWeightStorageItem[5].Grade7);
|
||||
this.SetLabelText(this.label6Col8Row, this.CollectionWeightStorageItem[5].Weight8, false, this.CollectionWeightStorageItem[5].Grade8);
|
||||
this.SetLabelText(this.label6Col9Row, this.CollectionWeightStorageItem[5].Weight9, false, this.CollectionWeightStorageItem[5].Grade9);
|
||||
this.SetLabelText(this.label6Col10Row, this.CollectionWeightStorageItem[5].Weight10, false, this.CollectionWeightStorageItem[5].Grade10);
|
||||
this.SetLabelText(this.label6Col5Avg, this.CollectionWeightStorageItem[5].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label6AllAvg, this.CollectionWeightStorageItem[5].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label7Col1Row, this.CollectionWeightStorageItem[6].Weight1, false, this.CollectionWeightStorageItem[6].Grade1);
|
||||
this.SetLabelText(this.label7Col2Row, this.CollectionWeightStorageItem[6].Weight2, false, this.CollectionWeightStorageItem[6].Grade2);
|
||||
this.SetLabelText(this.label7Col3Row, this.CollectionWeightStorageItem[6].Weight3, false, this.CollectionWeightStorageItem[6].Grade3);
|
||||
this.SetLabelText(this.label7Col4Row, this.CollectionWeightStorageItem[6].Weight4, false, this.CollectionWeightStorageItem[6].Grade4);
|
||||
this.SetLabelText(this.label7Col5Row, this.CollectionWeightStorageItem[6].Weight5, false, this.CollectionWeightStorageItem[6].Grade5);
|
||||
this.SetLabelText(this.label7Col6Row, this.CollectionWeightStorageItem[6].Weight6, false, this.CollectionWeightStorageItem[6].Grade6);
|
||||
this.SetLabelText(this.label7Col7Row, this.CollectionWeightStorageItem[6].Weight7, false, this.CollectionWeightStorageItem[6].Grade7);
|
||||
this.SetLabelText(this.label7Col8Row, this.CollectionWeightStorageItem[6].Weight8, false, this.CollectionWeightStorageItem[6].Grade8);
|
||||
this.SetLabelText(this.label7Col9Row, this.CollectionWeightStorageItem[6].Weight9, false, this.CollectionWeightStorageItem[6].Grade9);
|
||||
this.SetLabelText(this.label7Col10Row, this.CollectionWeightStorageItem[6].Weight10, false, this.CollectionWeightStorageItem[6].Grade10);
|
||||
this.SetLabelText(this.label7Col5Avg, this.CollectionWeightStorageItem[6].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label7AllAvg, this.CollectionWeightStorageItem[6].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label8Col1Row, this.CollectionWeightStorageItem[7].Weight1, false, this.CollectionWeightStorageItem[7].Grade1);
|
||||
this.SetLabelText(this.label8Col2Row, this.CollectionWeightStorageItem[7].Weight2, false, this.CollectionWeightStorageItem[7].Grade2);
|
||||
this.SetLabelText(this.label8Col3Row, this.CollectionWeightStorageItem[7].Weight3, false, this.CollectionWeightStorageItem[7].Grade3);
|
||||
this.SetLabelText(this.label8Col4Row, this.CollectionWeightStorageItem[7].Weight4, false, this.CollectionWeightStorageItem[7].Grade4);
|
||||
this.SetLabelText(this.label8Col5Row, this.CollectionWeightStorageItem[7].Weight5, false, this.CollectionWeightStorageItem[7].Grade5);
|
||||
this.SetLabelText(this.label8Col6Row, this.CollectionWeightStorageItem[7].Weight6, false, this.CollectionWeightStorageItem[7].Grade6);
|
||||
this.SetLabelText(this.label8Col7Row, this.CollectionWeightStorageItem[7].Weight7, false, this.CollectionWeightStorageItem[7].Grade7);
|
||||
this.SetLabelText(this.label8Col8Row, this.CollectionWeightStorageItem[7].Weight8, false, this.CollectionWeightStorageItem[7].Grade8);
|
||||
this.SetLabelText(this.label8Col9Row, this.CollectionWeightStorageItem[7].Weight9, false, this.CollectionWeightStorageItem[7].Grade9);
|
||||
this.SetLabelText(this.label8Col10Row, this.CollectionWeightStorageItem[7].Weight10, false, this.CollectionWeightStorageItem[7].Grade10);
|
||||
this.SetLabelText(this.label8Col5Avg, this.CollectionWeightStorageItem[7].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label8AllAvg, this.CollectionWeightStorageItem[7].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label9Col1Row, this.CollectionWeightStorageItem[8].Weight1, false, this.CollectionWeightStorageItem[8].Grade1);
|
||||
this.SetLabelText(this.label9Col2Row, this.CollectionWeightStorageItem[8].Weight2, false, this.CollectionWeightStorageItem[8].Grade2);
|
||||
this.SetLabelText(this.label9Col3Row, this.CollectionWeightStorageItem[8].Weight3, false, this.CollectionWeightStorageItem[8].Grade3);
|
||||
this.SetLabelText(this.label9Col4Row, this.CollectionWeightStorageItem[8].Weight4, false, this.CollectionWeightStorageItem[8].Grade4);
|
||||
this.SetLabelText(this.label9Col5Row, this.CollectionWeightStorageItem[8].Weight5, false, this.CollectionWeightStorageItem[8].Grade5);
|
||||
this.SetLabelText(this.label9Col6Row, this.CollectionWeightStorageItem[8].Weight6, false, this.CollectionWeightStorageItem[8].Grade6);
|
||||
this.SetLabelText(this.label9Col7Row, this.CollectionWeightStorageItem[8].Weight7, false, this.CollectionWeightStorageItem[8].Grade7);
|
||||
this.SetLabelText(this.label9Col8Row, this.CollectionWeightStorageItem[8].Weight8, false, this.CollectionWeightStorageItem[8].Grade8);
|
||||
this.SetLabelText(this.label9Col9Row, this.CollectionWeightStorageItem[8].Weight9, false, this.CollectionWeightStorageItem[8].Grade9);
|
||||
this.SetLabelText(this.label9Col10Row, this.CollectionWeightStorageItem[8].Weight10, false, this.CollectionWeightStorageItem[8].Grade10);
|
||||
this.SetLabelText(this.label9Col5Avg, this.CollectionWeightStorageItem[8].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label9AllAvg, this.CollectionWeightStorageItem[8].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label10Col1Row, this.CollectionWeightStorageItem[9].Weight1, false, this.CollectionWeightStorageItem[9].Grade1);
|
||||
this.SetLabelText(this.label10Col2Row, this.CollectionWeightStorageItem[9].Weight2, false, this.CollectionWeightStorageItem[9].Grade2);
|
||||
this.SetLabelText(this.label10Col3Row, this.CollectionWeightStorageItem[9].Weight3, false, this.CollectionWeightStorageItem[9].Grade3);
|
||||
this.SetLabelText(this.label10Col4Row, this.CollectionWeightStorageItem[9].Weight4, false, this.CollectionWeightStorageItem[9].Grade4);
|
||||
this.SetLabelText(this.label10Col5Row, this.CollectionWeightStorageItem[9].Weight5, false, this.CollectionWeightStorageItem[9].Grade5);
|
||||
this.SetLabelText(this.label10Col6Row, this.CollectionWeightStorageItem[9].Weight6, false, this.CollectionWeightStorageItem[9].Grade6);
|
||||
this.SetLabelText(this.label10Col7Row, this.CollectionWeightStorageItem[9].Weight7, false, this.CollectionWeightStorageItem[9].Grade7);
|
||||
this.SetLabelText(this.label10Col8Row, this.CollectionWeightStorageItem[9].Weight8, false, this.CollectionWeightStorageItem[9].Grade8);
|
||||
this.SetLabelText(this.label10Col9Row, this.CollectionWeightStorageItem[9].Weight9, false, this.CollectionWeightStorageItem[9].Grade9);
|
||||
this.SetLabelText(this.label10Col10Row, this.CollectionWeightStorageItem[9].Weight10, false, this.CollectionWeightStorageItem[9].Grade10);
|
||||
this.SetLabelText(this.label10Col5Avg, this.CollectionWeightStorageItem[9].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label10AllAvg, this.CollectionWeightStorageItem[9].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
this.SetLabelText(this.label11Col1Row, this.CollectionWeightStorageItem[10].Weight1, false, this.CollectionWeightStorageItem[10].Grade1);
|
||||
this.SetLabelText(this.label11Col2Row, this.CollectionWeightStorageItem[10].Weight2, false, this.CollectionWeightStorageItem[10].Grade2);
|
||||
this.SetLabelText(this.label11Col3Row, this.CollectionWeightStorageItem[10].Weight3, false, this.CollectionWeightStorageItem[10].Grade3);
|
||||
this.SetLabelText(this.label11Col4Row, this.CollectionWeightStorageItem[10].Weight4, false, this.CollectionWeightStorageItem[10].Grade4);
|
||||
this.SetLabelText(this.label11Col5Row, this.CollectionWeightStorageItem[10].Weight5, false, this.CollectionWeightStorageItem[10].Grade5);
|
||||
this.SetLabelText(this.label11Col6Row, this.CollectionWeightStorageItem[10].Weight6, false, this.CollectionWeightStorageItem[10].Grade6);
|
||||
this.SetLabelText(this.label11Col7Row, this.CollectionWeightStorageItem[10].Weight7, false, this.CollectionWeightStorageItem[10].Grade7);
|
||||
this.SetLabelText(this.label11Col8Row, this.CollectionWeightStorageItem[10].Weight8, false, this.CollectionWeightStorageItem[10].Grade8);
|
||||
this.SetLabelText(this.label11Col9Row, this.CollectionWeightStorageItem[10].Weight9, false, this.CollectionWeightStorageItem[10].Grade9);
|
||||
this.SetLabelText(this.label11Col10Row, this.CollectionWeightStorageItem[10].Weight10, false, this.CollectionWeightStorageItem[10].Grade10);
|
||||
this.SetLabelText(this.label11Col5Avg, this.CollectionWeightStorageItem[10].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label11AllAvg, this.CollectionWeightStorageItem[10].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
private void UpdateTotalAverage(bool totalAverageView)
|
||||
{
|
||||
if (totalAverageView == true)
|
||||
{
|
||||
this.SetLabelText(this.label1AllAvg, this.CollectionWeightStorageItem[0].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label2AllAvg, this.CollectionWeightStorageItem[1].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label3AllAvg, this.CollectionWeightStorageItem[2].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label4AllAvg, this.CollectionWeightStorageItem[3].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label5AllAvg, this.CollectionWeightStorageItem[4].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label6AllAvg, this.CollectionWeightStorageItem[5].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label7AllAvg, this.CollectionWeightStorageItem[6].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label8AllAvg, this.CollectionWeightStorageItem[7].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label9AllAvg, this.CollectionWeightStorageItem[8].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label10AllAvg, this.CollectionWeightStorageItem[9].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label11AllAvg, this.CollectionWeightStorageItem[10].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SetLabelText(this.label1AllAvg, this.CollectionWeightStorageItem[0].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label2AllAvg, this.CollectionWeightStorageItem[1].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label3AllAvg, this.CollectionWeightStorageItem[2].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label4AllAvg, this.CollectionWeightStorageItem[3].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label5AllAvg, this.CollectionWeightStorageItem[4].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label6AllAvg, this.CollectionWeightStorageItem[5].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label7AllAvg, this.CollectionWeightStorageItem[6].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label8AllAvg, this.CollectionWeightStorageItem[7].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label9AllAvg, this.CollectionWeightStorageItem[8].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label10AllAvg, this.CollectionWeightStorageItem[9].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
this.SetLabelText(this.label11AllAvg, this.CollectionWeightStorageItem[10].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateCurrentProductDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
// 초기화
|
||||
}
|
||||
public void UpdateBypassDisplay(Collection<WeightData> weightData)
|
||||
{
|
||||
for (int i = 0; i < this.CollectionPictureBoxBypass.Count; i++)
|
||||
{
|
||||
if (weightData[i].IsBypassMode == true)
|
||||
this.CollectionPictureBoxBypass[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxBypass[i].Visible = false;
|
||||
}
|
||||
}
|
||||
public void UpdateStopWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EquipmentColumns > weightDatas.Count)
|
||||
return;
|
||||
|
||||
if (status == DataStore.EquipmentStatus.Stop)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
// 영점표시
|
||||
if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero)
|
||||
this.CollectionPictureBoxZero[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxZero[i].Visible = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
// 영점표시
|
||||
if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero)
|
||||
this.CollectionPictureBoxZero[i].Visible = true;
|
||||
else
|
||||
this.CollectionPictureBoxZero[i].Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
public void UpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
|
||||
{
|
||||
this.UpdateStartWeightDisplay1(status, weightDatas[0]);
|
||||
this.UpdateStartWeightDisplay2(status, weightDatas[1]);
|
||||
this.UpdateStartWeightDisplay3(status, weightDatas[2]);
|
||||
this.UpdateStartWeightDisplay4(status, weightDatas[3]);
|
||||
this.UpdateStartWeightDisplay5(status, weightDatas[4]);
|
||||
this.UpdateStartWeightDisplay6(status, weightDatas[5]);
|
||||
this.UpdateStartWeightDisplay7(status, weightDatas[6]);
|
||||
this.UpdateStartWeightDisplay8(status, weightDatas[7]);
|
||||
this.UpdateStartWeightDisplay9(status, weightDatas[8]);
|
||||
this.UpdateStartWeightDisplay10(status, weightDatas[9]);
|
||||
this.UpdateStartWeightDisplay11(status, weightDatas[10]);
|
||||
}
|
||||
public void UpdateStartWeightDisplay1(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[0].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label1Col1Row, this.CollectionWeightStorageItem[0].Weight1, false, this.CollectionWeightStorageItem[0].Grade1);
|
||||
this.SetLabelText(this.label1Col2Row, this.CollectionWeightStorageItem[0].Weight2, false, this.CollectionWeightStorageItem[0].Grade2);
|
||||
this.SetLabelText(this.label1Col3Row, this.CollectionWeightStorageItem[0].Weight3, false, this.CollectionWeightStorageItem[0].Grade3);
|
||||
this.SetLabelText(this.label1Col4Row, this.CollectionWeightStorageItem[0].Weight4, false, this.CollectionWeightStorageItem[0].Grade4);
|
||||
this.SetLabelText(this.label1Col5Row, this.CollectionWeightStorageItem[0].Weight5, false, this.CollectionWeightStorageItem[0].Grade5);
|
||||
this.SetLabelText(this.label1Col6Row, this.CollectionWeightStorageItem[0].Weight6, false, this.CollectionWeightStorageItem[0].Grade6);
|
||||
this.SetLabelText(this.label1Col7Row, this.CollectionWeightStorageItem[0].Weight7, false, this.CollectionWeightStorageItem[0].Grade7);
|
||||
this.SetLabelText(this.label1Col8Row, this.CollectionWeightStorageItem[0].Weight8, false, this.CollectionWeightStorageItem[0].Grade8);
|
||||
this.SetLabelText(this.label1Col9Row, this.CollectionWeightStorageItem[0].Weight9, false, this.CollectionWeightStorageItem[0].Grade9);
|
||||
this.SetLabelText(this.label1Col10Row, this.CollectionWeightStorageItem[0].Weight10, false, this.CollectionWeightStorageItem[0].Grade10);
|
||||
this.SetLabelText(this.label1Col5Avg, this.CollectionWeightStorageItem[0].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label1AllAvg, this.CollectionWeightStorageItem[0].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label1AllAvg, this.CollectionWeightStorageItem[0].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay2(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[1].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label2Col1Row, this.CollectionWeightStorageItem[1].Weight1, false, this.CollectionWeightStorageItem[1].Grade1);
|
||||
this.SetLabelText(this.label2Col2Row, this.CollectionWeightStorageItem[1].Weight2, false, this.CollectionWeightStorageItem[1].Grade2);
|
||||
this.SetLabelText(this.label2Col3Row, this.CollectionWeightStorageItem[1].Weight3, false, this.CollectionWeightStorageItem[1].Grade3);
|
||||
this.SetLabelText(this.label2Col4Row, this.CollectionWeightStorageItem[1].Weight4, false, this.CollectionWeightStorageItem[1].Grade4);
|
||||
this.SetLabelText(this.label2Col5Row, this.CollectionWeightStorageItem[1].Weight5, false, this.CollectionWeightStorageItem[1].Grade5);
|
||||
this.SetLabelText(this.label2Col6Row, this.CollectionWeightStorageItem[1].Weight6, false, this.CollectionWeightStorageItem[1].Grade6);
|
||||
this.SetLabelText(this.label2Col7Row, this.CollectionWeightStorageItem[1].Weight7, false, this.CollectionWeightStorageItem[1].Grade7);
|
||||
this.SetLabelText(this.label2Col8Row, this.CollectionWeightStorageItem[1].Weight8, false, this.CollectionWeightStorageItem[1].Grade8);
|
||||
this.SetLabelText(this.label2Col9Row, this.CollectionWeightStorageItem[1].Weight9, false, this.CollectionWeightStorageItem[1].Grade9);
|
||||
this.SetLabelText(this.label2Col10Row, this.CollectionWeightStorageItem[1].Weight10, false, this.CollectionWeightStorageItem[1].Grade10);
|
||||
this.SetLabelText(this.label2Col5Avg, this.CollectionWeightStorageItem[1].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label2AllAvg, this.CollectionWeightStorageItem[1].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label2AllAvg, this.CollectionWeightStorageItem[1].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay3(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[2].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label3Col1Row, this.CollectionWeightStorageItem[2].Weight1, false, this.CollectionWeightStorageItem[2].Grade1);
|
||||
this.SetLabelText(this.label3Col2Row, this.CollectionWeightStorageItem[2].Weight2, false, this.CollectionWeightStorageItem[2].Grade2);
|
||||
this.SetLabelText(this.label3Col3Row, this.CollectionWeightStorageItem[2].Weight3, false, this.CollectionWeightStorageItem[2].Grade3);
|
||||
this.SetLabelText(this.label3Col4Row, this.CollectionWeightStorageItem[2].Weight4, false, this.CollectionWeightStorageItem[2].Grade4);
|
||||
this.SetLabelText(this.label3Col5Row, this.CollectionWeightStorageItem[2].Weight5, false, this.CollectionWeightStorageItem[2].Grade5);
|
||||
this.SetLabelText(this.label3Col6Row, this.CollectionWeightStorageItem[2].Weight6, false, this.CollectionWeightStorageItem[2].Grade6);
|
||||
this.SetLabelText(this.label3Col7Row, this.CollectionWeightStorageItem[2].Weight7, false, this.CollectionWeightStorageItem[2].Grade7);
|
||||
this.SetLabelText(this.label3Col8Row, this.CollectionWeightStorageItem[2].Weight8, false, this.CollectionWeightStorageItem[2].Grade8);
|
||||
this.SetLabelText(this.label3Col9Row, this.CollectionWeightStorageItem[2].Weight9, false, this.CollectionWeightStorageItem[2].Grade9);
|
||||
this.SetLabelText(this.label3Col10Row, this.CollectionWeightStorageItem[2].Weight10, false, this.CollectionWeightStorageItem[2].Grade10);
|
||||
this.SetLabelText(this.label3Col5Avg, this.CollectionWeightStorageItem[2].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label3AllAvg, this.CollectionWeightStorageItem[2].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label3AllAvg, this.CollectionWeightStorageItem[2].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay4(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[3].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label4Col1Row, this.CollectionWeightStorageItem[3].Weight1, false, this.CollectionWeightStorageItem[3].Grade1);
|
||||
this.SetLabelText(this.label4Col2Row, this.CollectionWeightStorageItem[3].Weight2, false, this.CollectionWeightStorageItem[3].Grade2);
|
||||
this.SetLabelText(this.label4Col3Row, this.CollectionWeightStorageItem[3].Weight3, false, this.CollectionWeightStorageItem[3].Grade3);
|
||||
this.SetLabelText(this.label4Col4Row, this.CollectionWeightStorageItem[3].Weight4, false, this.CollectionWeightStorageItem[3].Grade4);
|
||||
this.SetLabelText(this.label4Col5Row, this.CollectionWeightStorageItem[3].Weight5, false, this.CollectionWeightStorageItem[3].Grade5);
|
||||
this.SetLabelText(this.label4Col6Row, this.CollectionWeightStorageItem[3].Weight6, false, this.CollectionWeightStorageItem[3].Grade6);
|
||||
this.SetLabelText(this.label4Col7Row, this.CollectionWeightStorageItem[3].Weight7, false, this.CollectionWeightStorageItem[3].Grade7);
|
||||
this.SetLabelText(this.label4Col8Row, this.CollectionWeightStorageItem[3].Weight8, false, this.CollectionWeightStorageItem[3].Grade8);
|
||||
this.SetLabelText(this.label4Col9Row, this.CollectionWeightStorageItem[3].Weight9, false, this.CollectionWeightStorageItem[3].Grade9);
|
||||
this.SetLabelText(this.label4Col10Row, this.CollectionWeightStorageItem[3].Weight10, false, this.CollectionWeightStorageItem[3].Grade10);
|
||||
this.SetLabelText(this.label4Col5Avg, this.CollectionWeightStorageItem[3].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label4AllAvg, this.CollectionWeightStorageItem[3].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label4AllAvg, this.CollectionWeightStorageItem[3].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay5(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[4].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label5Col1Row, this.CollectionWeightStorageItem[4].Weight1, false, this.CollectionWeightStorageItem[4].Grade1);
|
||||
this.SetLabelText(this.label5Col2Row, this.CollectionWeightStorageItem[4].Weight2, false, this.CollectionWeightStorageItem[4].Grade2);
|
||||
this.SetLabelText(this.label5Col3Row, this.CollectionWeightStorageItem[4].Weight3, false, this.CollectionWeightStorageItem[4].Grade3);
|
||||
this.SetLabelText(this.label5Col4Row, this.CollectionWeightStorageItem[4].Weight4, false, this.CollectionWeightStorageItem[4].Grade4);
|
||||
this.SetLabelText(this.label5Col5Row, this.CollectionWeightStorageItem[4].Weight5, false, this.CollectionWeightStorageItem[4].Grade5);
|
||||
this.SetLabelText(this.label5Col6Row, this.CollectionWeightStorageItem[4].Weight6, false, this.CollectionWeightStorageItem[4].Grade6);
|
||||
this.SetLabelText(this.label5Col7Row, this.CollectionWeightStorageItem[4].Weight7, false, this.CollectionWeightStorageItem[4].Grade7);
|
||||
this.SetLabelText(this.label5Col8Row, this.CollectionWeightStorageItem[4].Weight8, false, this.CollectionWeightStorageItem[4].Grade8);
|
||||
this.SetLabelText(this.label5Col9Row, this.CollectionWeightStorageItem[4].Weight9, false, this.CollectionWeightStorageItem[4].Grade9);
|
||||
this.SetLabelText(this.label5Col10Row, this.CollectionWeightStorageItem[4].Weight10, false, this.CollectionWeightStorageItem[4].Grade10);
|
||||
this.SetLabelText(this.label5Col5Avg, this.CollectionWeightStorageItem[4].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label5AllAvg, this.CollectionWeightStorageItem[4].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label5AllAvg, this.CollectionWeightStorageItem[4].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay6(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[5].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label6Col1Row, this.CollectionWeightStorageItem[5].Weight1, false, this.CollectionWeightStorageItem[5].Grade1);
|
||||
this.SetLabelText(this.label6Col2Row, this.CollectionWeightStorageItem[5].Weight2, false, this.CollectionWeightStorageItem[5].Grade2);
|
||||
this.SetLabelText(this.label6Col3Row, this.CollectionWeightStorageItem[5].Weight3, false, this.CollectionWeightStorageItem[5].Grade3);
|
||||
this.SetLabelText(this.label6Col4Row, this.CollectionWeightStorageItem[5].Weight4, false, this.CollectionWeightStorageItem[5].Grade4);
|
||||
this.SetLabelText(this.label6Col5Row, this.CollectionWeightStorageItem[5].Weight5, false, this.CollectionWeightStorageItem[5].Grade5);
|
||||
this.SetLabelText(this.label6Col6Row, this.CollectionWeightStorageItem[5].Weight6, false, this.CollectionWeightStorageItem[5].Grade6);
|
||||
this.SetLabelText(this.label6Col7Row, this.CollectionWeightStorageItem[5].Weight7, false, this.CollectionWeightStorageItem[5].Grade7);
|
||||
this.SetLabelText(this.label6Col8Row, this.CollectionWeightStorageItem[5].Weight8, false, this.CollectionWeightStorageItem[5].Grade8);
|
||||
this.SetLabelText(this.label6Col9Row, this.CollectionWeightStorageItem[5].Weight9, false, this.CollectionWeightStorageItem[5].Grade9);
|
||||
this.SetLabelText(this.label6Col10Row, this.CollectionWeightStorageItem[5].Weight10, false, this.CollectionWeightStorageItem[5].Grade10);
|
||||
this.SetLabelText(this.label6Col5Avg, this.CollectionWeightStorageItem[5].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label6AllAvg, this.CollectionWeightStorageItem[5].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label6AllAvg, this.CollectionWeightStorageItem[5].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay7(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[6].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label7Col1Row, this.CollectionWeightStorageItem[6].Weight1, false, this.CollectionWeightStorageItem[6].Grade1);
|
||||
this.SetLabelText(this.label7Col2Row, this.CollectionWeightStorageItem[6].Weight2, false, this.CollectionWeightStorageItem[6].Grade2);
|
||||
this.SetLabelText(this.label7Col3Row, this.CollectionWeightStorageItem[6].Weight3, false, this.CollectionWeightStorageItem[6].Grade3);
|
||||
this.SetLabelText(this.label7Col4Row, this.CollectionWeightStorageItem[6].Weight4, false, this.CollectionWeightStorageItem[6].Grade4);
|
||||
this.SetLabelText(this.label7Col5Row, this.CollectionWeightStorageItem[6].Weight5, false, this.CollectionWeightStorageItem[6].Grade5);
|
||||
this.SetLabelText(this.label7Col6Row, this.CollectionWeightStorageItem[6].Weight6, false, this.CollectionWeightStorageItem[6].Grade6);
|
||||
this.SetLabelText(this.label7Col7Row, this.CollectionWeightStorageItem[6].Weight7, false, this.CollectionWeightStorageItem[6].Grade7);
|
||||
this.SetLabelText(this.label7Col8Row, this.CollectionWeightStorageItem[6].Weight8, false, this.CollectionWeightStorageItem[6].Grade8);
|
||||
this.SetLabelText(this.label7Col9Row, this.CollectionWeightStorageItem[6].Weight9, false, this.CollectionWeightStorageItem[6].Grade9);
|
||||
this.SetLabelText(this.label7Col10Row, this.CollectionWeightStorageItem[6].Weight10, false, this.CollectionWeightStorageItem[6].Grade10);
|
||||
this.SetLabelText(this.label7Col5Avg, this.CollectionWeightStorageItem[6].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label7AllAvg, this.CollectionWeightStorageItem[6].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label7AllAvg, this.CollectionWeightStorageItem[6].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay8(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[7].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label8Col1Row, this.CollectionWeightStorageItem[7].Weight1, false, this.CollectionWeightStorageItem[7].Grade1);
|
||||
this.SetLabelText(this.label8Col2Row, this.CollectionWeightStorageItem[7].Weight2, false, this.CollectionWeightStorageItem[7].Grade2);
|
||||
this.SetLabelText(this.label8Col3Row, this.CollectionWeightStorageItem[7].Weight3, false, this.CollectionWeightStorageItem[7].Grade3);
|
||||
this.SetLabelText(this.label8Col4Row, this.CollectionWeightStorageItem[7].Weight4, false, this.CollectionWeightStorageItem[7].Grade4);
|
||||
this.SetLabelText(this.label8Col5Row, this.CollectionWeightStorageItem[7].Weight5, false, this.CollectionWeightStorageItem[7].Grade5);
|
||||
this.SetLabelText(this.label8Col6Row, this.CollectionWeightStorageItem[7].Weight6, false, this.CollectionWeightStorageItem[7].Grade6);
|
||||
this.SetLabelText(this.label8Col7Row, this.CollectionWeightStorageItem[7].Weight7, false, this.CollectionWeightStorageItem[7].Grade7);
|
||||
this.SetLabelText(this.label8Col8Row, this.CollectionWeightStorageItem[7].Weight8, false, this.CollectionWeightStorageItem[7].Grade8);
|
||||
this.SetLabelText(this.label8Col9Row, this.CollectionWeightStorageItem[7].Weight9, false, this.CollectionWeightStorageItem[7].Grade9);
|
||||
this.SetLabelText(this.label8Col10Row, this.CollectionWeightStorageItem[7].Weight10, false, this.CollectionWeightStorageItem[7].Grade10);
|
||||
this.SetLabelText(this.label8Col5Avg, this.CollectionWeightStorageItem[7].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label8AllAvg, this.CollectionWeightStorageItem[7].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label8AllAvg, this.CollectionWeightStorageItem[7].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay9(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[8].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label9Col1Row, this.CollectionWeightStorageItem[8].Weight1, false, this.CollectionWeightStorageItem[8].Grade1);
|
||||
this.SetLabelText(this.label9Col2Row, this.CollectionWeightStorageItem[8].Weight2, false, this.CollectionWeightStorageItem[8].Grade2);
|
||||
this.SetLabelText(this.label9Col3Row, this.CollectionWeightStorageItem[8].Weight3, false, this.CollectionWeightStorageItem[8].Grade3);
|
||||
this.SetLabelText(this.label9Col4Row, this.CollectionWeightStorageItem[8].Weight4, false, this.CollectionWeightStorageItem[8].Grade4);
|
||||
this.SetLabelText(this.label9Col5Row, this.CollectionWeightStorageItem[8].Weight5, false, this.CollectionWeightStorageItem[8].Grade5);
|
||||
this.SetLabelText(this.label9Col6Row, this.CollectionWeightStorageItem[8].Weight6, false, this.CollectionWeightStorageItem[8].Grade6);
|
||||
this.SetLabelText(this.label9Col7Row, this.CollectionWeightStorageItem[8].Weight7, false, this.CollectionWeightStorageItem[8].Grade7);
|
||||
this.SetLabelText(this.label9Col8Row, this.CollectionWeightStorageItem[8].Weight8, false, this.CollectionWeightStorageItem[8].Grade8);
|
||||
this.SetLabelText(this.label9Col9Row, this.CollectionWeightStorageItem[8].Weight9, false, this.CollectionWeightStorageItem[8].Grade9);
|
||||
this.SetLabelText(this.label9Col10Row, this.CollectionWeightStorageItem[8].Weight10, false, this.CollectionWeightStorageItem[8].Grade10);
|
||||
this.SetLabelText(this.label9Col5Avg, this.CollectionWeightStorageItem[8].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label9AllAvg, this.CollectionWeightStorageItem[8].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label9AllAvg, this.CollectionWeightStorageItem[8].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay10(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[9].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label10Col1Row, this.CollectionWeightStorageItem[9].Weight1, false, this.CollectionWeightStorageItem[9].Grade1);
|
||||
this.SetLabelText(this.label10Col2Row, this.CollectionWeightStorageItem[9].Weight2, false, this.CollectionWeightStorageItem[9].Grade2);
|
||||
this.SetLabelText(this.label10Col3Row, this.CollectionWeightStorageItem[9].Weight3, false, this.CollectionWeightStorageItem[9].Grade3);
|
||||
this.SetLabelText(this.label10Col4Row, this.CollectionWeightStorageItem[9].Weight4, false, this.CollectionWeightStorageItem[9].Grade4);
|
||||
this.SetLabelText(this.label10Col5Row, this.CollectionWeightStorageItem[9].Weight5, false, this.CollectionWeightStorageItem[9].Grade5);
|
||||
this.SetLabelText(this.label10Col6Row, this.CollectionWeightStorageItem[9].Weight6, false, this.CollectionWeightStorageItem[9].Grade6);
|
||||
this.SetLabelText(this.label10Col7Row, this.CollectionWeightStorageItem[9].Weight7, false, this.CollectionWeightStorageItem[9].Grade7);
|
||||
this.SetLabelText(this.label10Col8Row, this.CollectionWeightStorageItem[9].Weight8, false, this.CollectionWeightStorageItem[9].Grade8);
|
||||
this.SetLabelText(this.label10Col9Row, this.CollectionWeightStorageItem[9].Weight9, false, this.CollectionWeightStorageItem[9].Grade9);
|
||||
this.SetLabelText(this.label10Col10Row, this.CollectionWeightStorageItem[9].Weight10, false, this.CollectionWeightStorageItem[9].Grade10);
|
||||
this.SetLabelText(this.label10Col5Avg, this.CollectionWeightStorageItem[9].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label10AllAvg, this.CollectionWeightStorageItem[9].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label10AllAvg, this.CollectionWeightStorageItem[9].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
public void UpdateStartWeightDisplay11(DataStore.EquipmentStatus status, WeightData weightData)
|
||||
{
|
||||
if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty)
|
||||
return;
|
||||
|
||||
this.CollectionWeightStorageItem[10].SetValue(weightData.Weight, weightData.JudgmentStatus);
|
||||
|
||||
this.SetLabelText(this.label11Col1Row, this.CollectionWeightStorageItem[10].Weight1, false, this.CollectionWeightStorageItem[10].Grade1);
|
||||
this.SetLabelText(this.label11Col2Row, this.CollectionWeightStorageItem[10].Weight2, false, this.CollectionWeightStorageItem[10].Grade2);
|
||||
this.SetLabelText(this.label11Col3Row, this.CollectionWeightStorageItem[10].Weight3, false, this.CollectionWeightStorageItem[10].Grade3);
|
||||
this.SetLabelText(this.label11Col4Row, this.CollectionWeightStorageItem[10].Weight4, false, this.CollectionWeightStorageItem[10].Grade4);
|
||||
this.SetLabelText(this.label11Col5Row, this.CollectionWeightStorageItem[10].Weight5, false, this.CollectionWeightStorageItem[10].Grade5);
|
||||
this.SetLabelText(this.label11Col6Row, this.CollectionWeightStorageItem[10].Weight6, false, this.CollectionWeightStorageItem[10].Grade6);
|
||||
this.SetLabelText(this.label11Col7Row, this.CollectionWeightStorageItem[10].Weight7, false, this.CollectionWeightStorageItem[10].Grade7);
|
||||
this.SetLabelText(this.label11Col8Row, this.CollectionWeightStorageItem[10].Weight8, false, this.CollectionWeightStorageItem[10].Grade8);
|
||||
this.SetLabelText(this.label11Col9Row, this.CollectionWeightStorageItem[10].Weight9, false, this.CollectionWeightStorageItem[10].Grade9);
|
||||
this.SetLabelText(this.label11Col10Row, this.CollectionWeightStorageItem[10].Weight10, false, this.CollectionWeightStorageItem[10].Grade10);
|
||||
this.SetLabelText(this.label11Col5Avg, this.CollectionWeightStorageItem[10].GetWeightTenAverage(), false, DataStore.JudgmentStatus.Empty);
|
||||
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.SetLabelText(this.label11AllAvg, this.CollectionWeightStorageItem[10].GetWeightTotalAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
else
|
||||
this.SetLabelText(this.label11AllAvg, this.CollectionWeightStorageItem[10].GetWeightTotalPassAverage(), true, DataStore.JudgmentStatus.Empty);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
private void labelAllAvg_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.IsTotalAverageView == true)
|
||||
this.IsTotalAverageView = false;
|
||||
else
|
||||
this.IsTotalAverageView = true;
|
||||
|
||||
this.UpdateTotalAverage(this.IsTotalAverageView);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -105,7 +105,7 @@ namespace INT69DC_7C.Controls
|
|||
// WeightStorage
|
||||
this.CollectionWeightStorageItem = new Collection<WeightStorageItem>();
|
||||
this.CollectionWeightStorageItem.Clear();
|
||||
for (int i = 0; i < 12; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollectionWeightStorageItem.Add(new WeightStorageItem());
|
||||
|
||||
#region Add Label
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ namespace INT69DC_7C.Controls
|
|||
// WeightStorage
|
||||
this.CollectionWeightStorageItem = new Collection<WeightStorageItem>();
|
||||
this.CollectionWeightStorageItem.Clear();
|
||||
for (int i = 0; i < 7; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollectionWeightStorageItem.Add(new WeightStorageItem());
|
||||
|
||||
#region Add Label
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ namespace INT69DC_7C.Controls
|
|||
// WeightStorage
|
||||
this.CollectionWeightStorageItem = new Collection<WeightStorageItem>();
|
||||
this.CollectionWeightStorageItem.Clear();
|
||||
for (int i = 0; i < 8; i++)
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
this.CollectionWeightStorageItem.Add(new WeightStorageItem());
|
||||
|
||||
#region Add Label
|
||||
|
|
|
|||
|
|
@ -86,6 +86,9 @@ namespace INT69DC_7C.DialogForms
|
|||
this.checkBoxLane11.Visible = false;
|
||||
this.checkBoxLane12.Visible = false;
|
||||
break;
|
||||
case 11:
|
||||
this.checkBoxLane12.Visible = false;
|
||||
break;
|
||||
case 12:
|
||||
break;
|
||||
default:
|
||||
|
|
@ -214,6 +217,19 @@ namespace INT69DC_7C.DialogForms
|
|||
this.checkBoxLane9.Checked = true;
|
||||
this.checkBoxLane10.Checked = true;
|
||||
break;
|
||||
case 11:
|
||||
this.checkBoxLane1.Checked = true;
|
||||
this.checkBoxLane2.Checked = true;
|
||||
this.checkBoxLane3.Checked = true;
|
||||
this.checkBoxLane4.Checked = true;
|
||||
this.checkBoxLane5.Checked = true;
|
||||
this.checkBoxLane6.Checked = true;
|
||||
this.checkBoxLane7.Checked = true;
|
||||
this.checkBoxLane8.Checked = true;
|
||||
this.checkBoxLane9.Checked = true;
|
||||
this.checkBoxLane10.Checked = true;
|
||||
this.checkBoxLane11.Checked = true;
|
||||
break;
|
||||
case 12:
|
||||
this.checkBoxLane1.Checked = true;
|
||||
this.checkBoxLane2.Checked = true;
|
||||
|
|
@ -267,6 +283,19 @@ namespace INT69DC_7C.DialogForms
|
|||
this.checkBoxLane9.Checked = false;
|
||||
this.checkBoxLane10.Checked = false;
|
||||
break;
|
||||
case 11:
|
||||
this.checkBoxLane1.Checked = false;
|
||||
this.checkBoxLane2.Checked = false;
|
||||
this.checkBoxLane3.Checked = false;
|
||||
this.checkBoxLane4.Checked = false;
|
||||
this.checkBoxLane5.Checked = false;
|
||||
this.checkBoxLane6.Checked = false;
|
||||
this.checkBoxLane7.Checked = false;
|
||||
this.checkBoxLane8.Checked = false;
|
||||
this.checkBoxLane9.Checked = false;
|
||||
this.checkBoxLane10.Checked = false;
|
||||
this.checkBoxLane11.Checked = false;
|
||||
break;
|
||||
case 12:
|
||||
this.checkBoxLane1.Checked = false;
|
||||
this.checkBoxLane2.Checked = false;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ namespace INT69DC_7C.Forms
|
|||
private ControlCalibration7 Calibration7;
|
||||
private ControlCalibration8 Calibration8;
|
||||
private ControlCalibration10 Calibration10;
|
||||
private ControlCalibration11 Calibration11;
|
||||
private ControlCalibration12 Calibration12;
|
||||
#endregion
|
||||
|
||||
|
|
@ -149,25 +150,26 @@ namespace INT69DC_7C.Forms
|
|||
case 7:
|
||||
this.Calibration7 = new ControlCalibration7(this);
|
||||
this.Calibration7.Location = new Point(0, 80);
|
||||
|
||||
this.Controls.Add(this.Calibration7);
|
||||
break;
|
||||
case 8:
|
||||
this.Calibration8 = new ControlCalibration8(this);
|
||||
this.Calibration8.Location = new Point(0, 80);
|
||||
|
||||
this.Controls.Add(this.Calibration8);
|
||||
break;
|
||||
case 10:
|
||||
this.Calibration10 = new ControlCalibration10(this);
|
||||
this.Calibration10.Location = new Point(0, 70);
|
||||
|
||||
this.Controls.Add(this.Calibration10);
|
||||
break;
|
||||
case 11:
|
||||
this.Calibration11 = new ControlCalibration11(this);
|
||||
this.Calibration11.Location = new Point(0, 70);
|
||||
this.Controls.Add(this.Calibration11);
|
||||
break;
|
||||
case 12:
|
||||
this.Calibration12 = new ControlCalibration12(this);
|
||||
this.Calibration12.Location = new Point(0, 70);
|
||||
|
||||
this.Controls.Add(this.Calibration12);
|
||||
break;
|
||||
default:
|
||||
|
|
@ -231,6 +233,10 @@ namespace INT69DC_7C.Forms
|
|||
if (this.Calibration10 != null)
|
||||
this.Calibration10.DisplayRefresh();
|
||||
break;
|
||||
case 11:
|
||||
if (this.Calibration11 != null)
|
||||
this.Calibration11.DisplayRefresh();
|
||||
break;
|
||||
case 12:
|
||||
if (this.Calibration12 != null)
|
||||
this.Calibration12.DisplayRefresh();
|
||||
|
|
@ -321,6 +327,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.Calibration10.UpdateConfiguration(status, config);
|
||||
break;
|
||||
case 11:
|
||||
this.Calibration11.UpdateConfiguration(status, config);
|
||||
break;
|
||||
case 12:
|
||||
this.Calibration12.UpdateConfiguration(status, config);
|
||||
break;
|
||||
|
|
@ -341,6 +350,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.Calibration10.UpdateWeightDisplay(status, weightDatas);
|
||||
break;
|
||||
case 11:
|
||||
this.Calibration11.UpdateWeightDisplay(status, weightDatas);
|
||||
break;
|
||||
case 12:
|
||||
this.Calibration12.UpdateWeightDisplay(status, weightDatas);
|
||||
break;
|
||||
|
|
@ -376,7 +388,6 @@ namespace INT69DC_7C.Forms
|
|||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.CalDigit, "", before, after);
|
||||
}
|
||||
|
||||
private void labelBalanceWeight_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
|
@ -412,7 +423,6 @@ namespace INT69DC_7C.Forms
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void labelMaxWeight_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
|
@ -464,6 +474,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.Calibration10.CalibrationStart();
|
||||
break;
|
||||
case 11:
|
||||
this.Calibration11.CalibrationStart();
|
||||
break;
|
||||
case 12:
|
||||
this.Calibration12.CalibrationStart();
|
||||
break;
|
||||
|
|
@ -471,7 +484,6 @@ namespace INT69DC_7C.Forms
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonBalance_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ClearListBox();
|
||||
|
|
@ -487,6 +499,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.Calibration10.CalibrationBalance();
|
||||
break;
|
||||
case 11:
|
||||
this.Calibration11.CalibrationBalance();
|
||||
break;
|
||||
case 12:
|
||||
this.Calibration12.CalibrationBalance();
|
||||
break;
|
||||
|
|
@ -494,7 +509,6 @@ namespace INT69DC_7C.Forms
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ClearListBox();
|
||||
|
|
@ -510,6 +524,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.Calibration10.CalibrationCancel();
|
||||
break;
|
||||
case 11:
|
||||
this.Calibration11.CalibrationCancel();
|
||||
break;
|
||||
case 12:
|
||||
this.Calibration12.CalibrationCancel();
|
||||
break;
|
||||
|
|
@ -517,7 +534,6 @@ namespace INT69DC_7C.Forms
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonBack_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ClearListBox();
|
||||
|
|
@ -533,6 +549,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.Calibration10.CalibrationCancel();
|
||||
break;
|
||||
case 11:
|
||||
this.Calibration11.CalibrationCancel();
|
||||
break;
|
||||
case 12:
|
||||
this.Calibration12.CalibrationCancel();
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1730,75 +1730,75 @@ namespace INT69DC_7C.Forms
|
|||
|
||||
this.ParentForm.SystemConfig.Serial3BaudRate = this.comboBoxSerial3BaudRate.SelectedIndex;
|
||||
this.ParentForm.SystemConfig.Serial3Mode = this.comboBoxSerial3Mode.SelectedIndex;
|
||||
|
||||
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
|
||||
|
||||
if (this.ParentForm.smartSerialPortCom3.IsOpen == true)
|
||||
this.ParentForm.smartSerialPortCom3.Close();
|
||||
|
||||
// BaudRate
|
||||
switch (this.ParentForm.SystemConfig.Serial3BaudRate)
|
||||
{
|
||||
case 0:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._9600bps;
|
||||
afterBr = "9600";
|
||||
break;
|
||||
case 1:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._19200bps;
|
||||
afterBr = "19200";
|
||||
break;
|
||||
case 2:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._38400bps;
|
||||
afterBr = "38400";
|
||||
break;
|
||||
case 3:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._115200bps;
|
||||
afterBr = "115200";
|
||||
break;
|
||||
default:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._9600bps;
|
||||
afterBr = "9600";
|
||||
break;
|
||||
}
|
||||
// SerialMode
|
||||
switch (this.ParentForm.SystemConfig.Serial3Mode)
|
||||
{
|
||||
case 0:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "None";
|
||||
break;
|
||||
case 1:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT1";
|
||||
break;
|
||||
case 2:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT2";
|
||||
break;
|
||||
case 3:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT3";
|
||||
break;
|
||||
case 4:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT4";
|
||||
break;
|
||||
case 5:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.NONEFRAME_READTIMEOUT;
|
||||
afterMode = "Printer";
|
||||
break;
|
||||
case 6:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT5";
|
||||
break;
|
||||
default:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "None";
|
||||
break;
|
||||
}
|
||||
|
||||
if (this.ParentForm.SystemConfig.Serial3Mode != 0)
|
||||
{
|
||||
this.buttonSerialSend.Enabled = true;
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Serial3BaudRate)
|
||||
{
|
||||
case 0:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._9600bps;
|
||||
afterBr = "9600";
|
||||
break;
|
||||
case 1:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._19200bps;
|
||||
afterBr = "19200";
|
||||
break;
|
||||
case 2:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._38400bps;
|
||||
afterBr = "38400";
|
||||
break;
|
||||
case 3:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._115200bps;
|
||||
afterBr = "115200";
|
||||
break;
|
||||
default:
|
||||
this.ParentForm.smartSerialPortCom3.Baud_Rate = SmartSerialPort.BAUDRATE._9600bps;
|
||||
afterBr = "9600";
|
||||
break;
|
||||
}
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Serial3Mode)
|
||||
{
|
||||
case 0:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "None";
|
||||
break;
|
||||
case 1:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT1";
|
||||
break;
|
||||
case 2:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT2";
|
||||
break;
|
||||
case 3:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT3";
|
||||
break;
|
||||
case 4:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT4";
|
||||
break;
|
||||
case 5:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.NONEFRAME_READTIMEOUT;
|
||||
afterMode = "Printer";
|
||||
break;
|
||||
case 6:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
afterMode = "OPT5";
|
||||
break;
|
||||
default:
|
||||
this.ParentForm.smartSerialPortCom3.FrameSeparationType = SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
break;
|
||||
}
|
||||
|
||||
this.ParentForm.smartSerialPortCom3.Open();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1287,6 +1287,135 @@ namespace INT69DC_7C.Forms
|
|||
}
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.EquipmentColumns == 11)
|
||||
{
|
||||
#region 11열
|
||||
// Lane 8
|
||||
if (this.buttonBypassLane8.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[7].IsBypassMode != true)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[7].IsBypassMode = true;
|
||||
|
||||
before = "OFF";
|
||||
after = "ON";
|
||||
lane = "8";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[7].IsBypassMode != false)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[7].IsBypassMode = false;
|
||||
|
||||
before = "ON";
|
||||
after = "OFF";
|
||||
lane = "8";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
// Lane 9
|
||||
if (this.buttonBypassLane9.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[8].IsBypassMode != true)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[8].IsBypassMode = true;
|
||||
|
||||
before = "OFF";
|
||||
after = "ON";
|
||||
lane = "9";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[8].IsBypassMode != false)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[8].IsBypassMode = false;
|
||||
|
||||
before = "ON";
|
||||
after = "OFF";
|
||||
lane = "9";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
// Lane 10
|
||||
if (this.buttonBypassLane10.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[9].IsBypassMode != true)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[9].IsBypassMode = true;
|
||||
|
||||
before = "OFF";
|
||||
after = "ON";
|
||||
lane = "10";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[9].IsBypassMode != false)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[9].IsBypassMode = false;
|
||||
|
||||
before = "ON";
|
||||
after = "OFF";
|
||||
lane = "10";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
// Lane 11
|
||||
if (this.buttonBypassLane11.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[10].IsBypassMode != true)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[10].IsBypassMode = true;
|
||||
|
||||
before = "OFF";
|
||||
after = "ON";
|
||||
lane = "11";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ParentForm.CollectionWeightData[10].IsBypassMode != false)
|
||||
{
|
||||
this.ParentForm.CollectionWeightData[10].IsBypassMode = false;
|
||||
|
||||
before = "ON";
|
||||
after = "OFF";
|
||||
lane = "11";
|
||||
|
||||
// Part11
|
||||
if (this.ParentForm.SystemConfig.IsOptPart11 == true)
|
||||
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.EquipmentColumns == 12)
|
||||
{
|
||||
#region 12열
|
||||
|
|
|
|||
|
|
@ -238,6 +238,8 @@ namespace INT69DC_7C.Forms
|
|||
locationX = 40;
|
||||
else if (this.ParentForm.SystemConfig.EquipmentColumns == 10)
|
||||
locationX = 16;
|
||||
else if (this.ParentForm.SystemConfig.EquipmentColumns == 11)
|
||||
locationX = 10;
|
||||
|
||||
for (int i = 1; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||
{
|
||||
|
|
@ -567,6 +569,23 @@ namespace INT69DC_7C.Forms
|
|||
this.SetData(this.CollectionLaneData[9], this.CollectionWeightData[i][27], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][28]));
|
||||
}
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.EquipmentColumns == 11)
|
||||
{
|
||||
for (int i = 0; i < this.CollectionWeightData.Count; i++)
|
||||
{
|
||||
this.SetData(this.CollectionLaneData[0], this.CollectionWeightData[i][9], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][10]));
|
||||
this.SetData(this.CollectionLaneData[1], this.CollectionWeightData[i][11], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][12]));
|
||||
this.SetData(this.CollectionLaneData[2], this.CollectionWeightData[i][13], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][14]));
|
||||
this.SetData(this.CollectionLaneData[3], this.CollectionWeightData[i][15], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][16]));
|
||||
this.SetData(this.CollectionLaneData[4], this.CollectionWeightData[i][17], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][18]));
|
||||
this.SetData(this.CollectionLaneData[5], this.CollectionWeightData[i][19], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][20]));
|
||||
this.SetData(this.CollectionLaneData[6], this.CollectionWeightData[i][21], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][22]));
|
||||
this.SetData(this.CollectionLaneData[7], this.CollectionWeightData[i][23], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][24]));
|
||||
this.SetData(this.CollectionLaneData[8], this.CollectionWeightData[i][25], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][26]));
|
||||
this.SetData(this.CollectionLaneData[9], this.CollectionWeightData[i][27], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][28]));
|
||||
this.SetData(this.CollectionLaneData[10], this.CollectionWeightData[i][29], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][30]));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < this.CollectionWeightData.Count; i++)
|
||||
|
|
|
|||
|
|
@ -238,6 +238,7 @@ namespace INT69DC_7C.Forms
|
|||
this.comboBoxEquipmentColumn.Items.Add(7);
|
||||
this.comboBoxEquipmentColumn.Items.Add(8);
|
||||
this.comboBoxEquipmentColumn.Items.Add(10);
|
||||
this.comboBoxEquipmentColumn.Items.Add(11);
|
||||
this.comboBoxEquipmentColumn.Items.Add(12);
|
||||
this.comboBoxEquipmentColumn.SelectedItem = this.ParentForm.SystemConfig.EquipmentColumns;
|
||||
|
||||
|
|
@ -266,6 +267,11 @@ namespace INT69DC_7C.Forms
|
|||
|
||||
private void UpdateDisplay()
|
||||
{
|
||||
// 장비열
|
||||
this.comboBoxEquipmentColumn.SelectedItem = this.ParentForm.SystemConfig.EquipmentColumns;
|
||||
// 입력센서 선택
|
||||
this.comboBoxInputSensorSelect.SelectedItem = this.ParentForm.SystemConfig.InputSensorSelect;
|
||||
|
||||
// 장비타입
|
||||
if (this.ParentForm.SystemConfig.EquipmentMode == 0)
|
||||
this.radioButtonEquipmentModeConveyor.Checked = true;
|
||||
|
|
@ -507,6 +513,8 @@ namespace INT69DC_7C.Forms
|
|||
this.ParentForm.SystemConfig.EquipmentColumns = 8;
|
||||
else if (this.comboBoxEquipmentColumn.SelectedIndex == 2)
|
||||
this.ParentForm.SystemConfig.EquipmentColumns = 10;
|
||||
else if (this.comboBoxEquipmentColumn.SelectedIndex == 3)
|
||||
this.ParentForm.SystemConfig.EquipmentColumns = 11;
|
||||
else
|
||||
this.ParentForm.SystemConfig.EquipmentColumns = 12;
|
||||
|
||||
|
|
|
|||
|
|
@ -702,7 +702,7 @@
|
|||
this.labelInfo2.Name = "labelInfo2";
|
||||
this.labelInfo2.Size = new System.Drawing.Size(715, 40);
|
||||
this.labelInfo2.TabIndex = 194;
|
||||
this.labelInfo2.Text = "Automatic weighing system - Multilane Checkweigher";
|
||||
this.labelInfo2.Text = "Automatic weighing system / Multi-lane checkweigher";
|
||||
this.labelInfo2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.labelInfo2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelInfo2.Wordwrap = false;
|
||||
|
|
|
|||
|
|
@ -207,6 +207,22 @@ namespace INT69DC_7C.Forms
|
|||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion10);
|
||||
|
||||
this.labelSub11.Visible = this.labelSubBoardVersion11.Visible = false;
|
||||
this.labelSub12.Visible = this.labelSubBoardVersion12.Visible = false;
|
||||
break;
|
||||
case 11:
|
||||
this.CollectionControlVerLabel.Add(this.labelMainControlVer);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion1);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion2);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion3);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion4);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion5);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion6);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion7);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion8);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion9);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion10);
|
||||
this.CollectionControlVerLabel.Add(this.labelSubBoardVersion11);
|
||||
|
||||
this.labelSub12.Visible = this.labelSubBoardVersion12.Visible = false;
|
||||
break;
|
||||
case 12:
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1556,6 +1556,19 @@ namespace INT69DC_7C.Forms
|
|||
this.CurrentCalibrationItem.Constant9 = receiveData.Substring(77, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant10 = receiveData.Substring(84, 7).Trim();
|
||||
break;
|
||||
case 11:
|
||||
this.CurrentCalibrationItem.Constant1 = receiveData.Substring(21, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant2 = receiveData.Substring(28, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant3 = receiveData.Substring(35, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant4 = receiveData.Substring(42, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant5 = receiveData.Substring(49, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant6 = receiveData.Substring(56, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant7 = receiveData.Substring(63, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant8 = receiveData.Substring(70, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant9 = receiveData.Substring(77, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant10 = receiveData.Substring(84, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant11 = receiveData.Substring(91, 7).Trim();
|
||||
break;
|
||||
case 12:
|
||||
this.CurrentCalibrationItem.Constant1 = receiveData.Substring(21, 7).Trim();
|
||||
this.CurrentCalibrationItem.Constant2 = receiveData.Substring(28, 7).Trim();
|
||||
|
|
@ -1899,6 +1912,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay10(this.EquipmentStatus, this.CollectionWeightData[9]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay10(this.EquipmentStatus, this.CollectionFeedbackStatus[9]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay11(this.EquipmentStatus, this.CollectionWeightData[10]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay11(this.EquipmentStatus, this.CollectionFeedbackStatus[10]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay12(this.EquipmentStatus, this.CollectionWeightData[11]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay12(this.EquipmentStatus, this.CollectionFeedbackStatus[11]);
|
||||
|
|
@ -2184,6 +2201,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay10(this.EquipmentStatus, this.CollectionWeightDataTest[9]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay11(this.EquipmentStatus, this.CollectionWeightDataTest[10]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay12(this.EquipmentStatus, this.CollectionWeightDataTest[11]);
|
||||
break;
|
||||
|
|
@ -2236,6 +2256,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay9(this.EquipmentStatus, this.CollectionWeightData[8]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay9(this.EquipmentStatus, this.CollectionFeedbackStatus[8]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay10(this.EquipmentStatus, this.CollectionWeightData[9]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay10(this.EquipmentStatus, this.CollectionFeedbackStatus[9]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay11(this.EquipmentStatus, this.CollectionWeightData[10]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay11(this.EquipmentStatus, this.CollectionFeedbackStatus[10]);
|
||||
|
|
@ -2485,6 +2509,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay9(this.EquipmentStatus, this.CollectionWeightDataTest[8]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay10(this.EquipmentStatus, this.CollectionWeightDataTest[9]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay11(this.EquipmentStatus, this.CollectionWeightDataTest[10]);
|
||||
break;
|
||||
|
|
@ -2537,6 +2564,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay8(this.EquipmentStatus, this.CollectionWeightData[7]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay8(this.EquipmentStatus, this.CollectionFeedbackStatus[7]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay9(this.EquipmentStatus, this.CollectionWeightData[8]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay9(this.EquipmentStatus, this.CollectionFeedbackStatus[8]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay10(this.EquipmentStatus, this.CollectionWeightData[9]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay10(this.EquipmentStatus, this.CollectionFeedbackStatus[9]);
|
||||
|
|
@ -2786,6 +2817,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay8(this.EquipmentStatus, this.CollectionWeightDataTest[7]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay9(this.EquipmentStatus, this.CollectionWeightDataTest[8]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay10(this.EquipmentStatus, this.CollectionWeightDataTest[9]);
|
||||
break;
|
||||
|
|
@ -2838,6 +2872,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay7(this.EquipmentStatus, this.CollectionWeightData[6]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay7(this.EquipmentStatus, this.CollectionFeedbackStatus[6]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay8(this.EquipmentStatus, this.CollectionWeightData[7]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay8(this.EquipmentStatus, this.CollectionFeedbackStatus[7]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay9(this.EquipmentStatus, this.CollectionWeightData[8]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay9(this.EquipmentStatus, this.CollectionFeedbackStatus[8]);
|
||||
|
|
@ -3087,6 +3125,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay7(this.EquipmentStatus, this.CollectionWeightDataTest[6]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay8(this.EquipmentStatus, this.CollectionWeightDataTest[7]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay9(this.EquipmentStatus, this.CollectionWeightDataTest[8]);
|
||||
break;
|
||||
|
|
@ -3139,6 +3180,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay6(this.EquipmentStatus, this.CollectionWeightData[5]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay6(this.EquipmentStatus, this.CollectionFeedbackStatus[5]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay7(this.EquipmentStatus, this.CollectionWeightData[6]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay7(this.EquipmentStatus, this.CollectionFeedbackStatus[6]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay8(this.EquipmentStatus, this.CollectionWeightData[7]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay8(this.EquipmentStatus, this.CollectionFeedbackStatus[7]);
|
||||
|
|
@ -3388,6 +3433,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay6(this.EquipmentStatus, this.CollectionWeightDataTest[5]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay7(this.EquipmentStatus, this.CollectionWeightDataTest[6]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay8(this.EquipmentStatus, this.CollectionWeightDataTest[7]);
|
||||
break;
|
||||
|
|
@ -3440,6 +3488,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay5(this.EquipmentStatus, this.CollectionWeightData[4]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay5(this.EquipmentStatus, this.CollectionFeedbackStatus[4]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay6(this.EquipmentStatus, this.CollectionWeightData[5]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay6(this.EquipmentStatus, this.CollectionFeedbackStatus[5]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay7(this.EquipmentStatus, this.CollectionWeightData[6]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay7(this.EquipmentStatus, this.CollectionFeedbackStatus[6]);
|
||||
|
|
@ -3689,6 +3741,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay5(this.EquipmentStatus, this.CollectionWeightDataTest[4]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay6(this.EquipmentStatus, this.CollectionWeightDataTest[5]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay7(this.EquipmentStatus, this.CollectionWeightDataTest[6]);
|
||||
break;
|
||||
|
|
@ -3741,6 +3796,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay4(this.EquipmentStatus, this.CollectionWeightData[3]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay4(this.EquipmentStatus, this.CollectionFeedbackStatus[3]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay5(this.EquipmentStatus, this.CollectionWeightData[4]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay5(this.EquipmentStatus, this.CollectionFeedbackStatus[4]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay6(this.EquipmentStatus, this.CollectionWeightData[5]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay6(this.EquipmentStatus, this.CollectionFeedbackStatus[5]);
|
||||
|
|
@ -3990,6 +4049,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay4(this.EquipmentStatus, this.CollectionWeightDataTest[3]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay5(this.EquipmentStatus, this.CollectionWeightDataTest[4]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay6(this.EquipmentStatus, this.CollectionWeightDataTest[5]);
|
||||
break;
|
||||
|
|
@ -4040,6 +4102,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay3(this.EquipmentStatus, this.CollectionWeightData[2]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay3(this.EquipmentStatus, this.CollectionFeedbackStatus[2]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay4(this.EquipmentStatus, this.CollectionWeightData[3]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay4(this.EquipmentStatus, this.CollectionFeedbackStatus[3]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay5(this.EquipmentStatus, this.CollectionWeightData[4]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay5(this.EquipmentStatus, this.CollectionFeedbackStatus[4]);
|
||||
|
|
@ -4288,6 +4354,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay3(this.EquipmentStatus, this.CollectionWeightDataTest[2]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay4(this.EquipmentStatus, this.CollectionWeightDataTest[3]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay5(this.EquipmentStatus, this.CollectionWeightDataTest[4]);
|
||||
break;
|
||||
|
|
@ -4336,6 +4405,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay2(this.EquipmentStatus, this.CollectionWeightData[1]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay2(this.EquipmentStatus, this.CollectionFeedbackStatus[1]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay3(this.EquipmentStatus, this.CollectionWeightData[2]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay3(this.EquipmentStatus, this.CollectionFeedbackStatus[2]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay4(this.EquipmentStatus, this.CollectionWeightData[3]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay4(this.EquipmentStatus, this.CollectionFeedbackStatus[3]);
|
||||
|
|
@ -4583,6 +4656,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay2(this.EquipmentStatus, this.CollectionWeightDataTest[1]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay3(this.EquipmentStatus, this.CollectionWeightDataTest[2]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay4(this.EquipmentStatus, this.CollectionWeightDataTest[3]);
|
||||
break;
|
||||
|
|
@ -4631,6 +4707,10 @@ namespace INT69DC_7C.Forms
|
|||
this.ChildFormMainDisplay.UpdateStartWeightDisplay1(this.EquipmentStatus, this.CollectionWeightData[0]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay1(this.EquipmentStatus, this.CollectionFeedbackStatus[0]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay2(this.EquipmentStatus, this.CollectionWeightData[1]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay2(this.EquipmentStatus, this.CollectionFeedbackStatus[1]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay3(this.EquipmentStatus, this.CollectionWeightData[2]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay3(this.EquipmentStatus, this.CollectionFeedbackStatus[2]);
|
||||
|
|
@ -4878,6 +4958,9 @@ namespace INT69DC_7C.Forms
|
|||
case 10:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay1(this.EquipmentStatus, this.CollectionWeightDataTest[0]);
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay2(this.EquipmentStatus, this.CollectionWeightDataTest[1]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay3(this.EquipmentStatus, this.CollectionWeightDataTest[2]);
|
||||
break;
|
||||
|
|
@ -4924,6 +5007,10 @@ namespace INT69DC_7C.Forms
|
|||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay1(this.EquipmentStatus, this.CollectionWeightData[0]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay1(this.EquipmentStatus, this.CollectionFeedbackStatus[0]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormMainDisplay.UpdateStartWeightDisplay2(this.EquipmentStatus, this.CollectionWeightData[1]);
|
||||
this.ChildFormMainDisplay.UpdateFeedbackDataDisplay2(this.EquipmentStatus, this.CollectionFeedbackStatus[1]);
|
||||
|
|
@ -5170,6 +5257,9 @@ namespace INT69DC_7C.Forms
|
|||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay1(this.EquipmentStatus, this.CollectionWeightDataTest[0]);
|
||||
break;
|
||||
case 12:
|
||||
this.ChildFormEquipmentTest.UpdateUpdateStartWeightDisplay2(this.EquipmentStatus, this.CollectionWeightDataTest[1]);
|
||||
break;
|
||||
|
|
@ -7051,6 +7141,33 @@ namespace INT69DC_7C.Forms
|
|||
structItem.UnderCount12 = 0;
|
||||
structItem.ExNGCount12 = 0;
|
||||
}
|
||||
else if (this.SystemConfig.EquipmentColumns == 11)
|
||||
{
|
||||
structItem.OverCount8 = items[7].OverCount;
|
||||
structItem.PassCount8 = items[7].PassCount;
|
||||
structItem.UnderCount8 = items[7].UnderCount;
|
||||
structItem.ExNGCount8 = items[7].ExNGCount;
|
||||
|
||||
structItem.OverCount9 = items[8].OverCount;
|
||||
structItem.PassCount9 = items[8].PassCount;
|
||||
structItem.UnderCount9 = items[8].UnderCount;
|
||||
structItem.ExNGCount9 = items[8].ExNGCount;
|
||||
|
||||
structItem.OverCount10 = items[9].OverCount;
|
||||
structItem.PassCount10 = items[9].PassCount;
|
||||
structItem.UnderCount10 = items[9].UnderCount;
|
||||
structItem.ExNGCount10 = items[9].ExNGCount;
|
||||
|
||||
structItem.OverCount11 = items[10].OverCount;
|
||||
structItem.PassCount11 = items[10].PassCount;
|
||||
structItem.UnderCount11 = items[10].UnderCount;
|
||||
structItem.ExNGCount11 = items[10].ExNGCount;
|
||||
|
||||
structItem.OverCount12 = 0;
|
||||
structItem.PassCount12 = 0;
|
||||
structItem.UnderCount12 = 0;
|
||||
structItem.ExNGCount12 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
structItem.OverCount8 = items[7].OverCount;
|
||||
|
|
@ -7182,6 +7299,27 @@ namespace INT69DC_7C.Forms
|
|||
items[9].OverCount = structItem.OverCount10;
|
||||
items[9].ExNGCount = structItem.ExNGCount10;
|
||||
break;
|
||||
case 11:
|
||||
items[7].UnderCount = structItem.UnderCount8;
|
||||
items[7].PassCount = structItem.PassCount8;
|
||||
items[7].OverCount = structItem.OverCount8;
|
||||
items[7].ExNGCount = structItem.ExNGCount8;
|
||||
|
||||
items[8].UnderCount = structItem.UnderCount9;
|
||||
items[8].PassCount = structItem.PassCount9;
|
||||
items[8].OverCount = structItem.OverCount9;
|
||||
items[8].ExNGCount = structItem.ExNGCount9;
|
||||
|
||||
items[9].UnderCount = structItem.UnderCount10;
|
||||
items[9].PassCount = structItem.PassCount10;
|
||||
items[9].OverCount = structItem.OverCount10;
|
||||
items[9].ExNGCount = structItem.ExNGCount10;
|
||||
|
||||
items[10].UnderCount = structItem.UnderCount11;
|
||||
items[10].PassCount = structItem.PassCount11;
|
||||
items[10].OverCount = structItem.OverCount11;
|
||||
items[10].ExNGCount = structItem.ExNGCount11;
|
||||
break;
|
||||
case 12:
|
||||
items[7].UnderCount = structItem.UnderCount8;
|
||||
items[7].PassCount = structItem.PassCount8;
|
||||
|
|
|
|||
|
|
@ -40,14 +40,17 @@ namespace INT69DC_7C.Forms
|
|||
private ControlMainDisplayEachBarGraph7 MainDisplayEachBarGraph7;
|
||||
private ControlMainDisplayEachBarGraph8 MainDisplayEachBarGraph8;
|
||||
private ControlMainDisplayEachBarGraph10 MainDisplayEachBarGraph10;
|
||||
private ControlMainDisplayEachBarGraph11 MainDisplayEachBarGraph11;
|
||||
private ControlMainDisplayEachBarGraph12 MainDisplayEachBarGraph12;
|
||||
private ControlMainDisplayDotGraph7 MainDisplayDotGraph7;
|
||||
private ControlMainDisplayDotGraph8 MainDisplayDotGraph8;
|
||||
private ControlMainDisplayDotGraph10 MainDisplayDotGraph10;
|
||||
private ControlMainDisplayDotGraph11 MainDisplayDotGraph11;
|
||||
private ControlMainDisplayDotGraph12 MainDisplayDotGraph12;
|
||||
private ControlMainDisplayTable7 MainDisplayTable7;
|
||||
private ControlMainDisplayTable8 MainDisplayTable8;
|
||||
private ControlMainDisplayTable10 MainDisplayTable10;
|
||||
private ControlMainDisplayTable11 MainDisplayTable11;
|
||||
private ControlMainDisplayTable12 MainDisplayTable12;
|
||||
#endregion
|
||||
|
||||
|
|
@ -655,6 +658,23 @@ namespace INT69DC_7C.Forms
|
|||
this.MainDisplayTable10.BringToFront();
|
||||
this.MainDisplayTable10.Location = new Point(0, 75);
|
||||
break;
|
||||
case 11:
|
||||
this.MainDisplayEachBarGraph11 = new ControlMainDisplayEachBarGraph11(this);
|
||||
this.Controls.Add(this.MainDisplayEachBarGraph11);
|
||||
this.MainDisplayEachBarGraph11.BringToFront();
|
||||
this.MainDisplayEachBarGraph11.Location = new Point(0, 75);
|
||||
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
|
||||
|
||||
this.MainDisplayDotGraph11 = new ControlMainDisplayDotGraph11(this);
|
||||
this.Controls.Add(this.MainDisplayDotGraph11);
|
||||
this.MainDisplayDotGraph11.BringToFront();
|
||||
this.MainDisplayDotGraph11.Location = new Point(0, 75);
|
||||
|
||||
this.MainDisplayTable11 = new ControlMainDisplayTable11(this);
|
||||
this.Controls.Add(this.MainDisplayTable11);
|
||||
this.MainDisplayTable11.BringToFront();
|
||||
this.MainDisplayTable11.Location = new Point(0, 75);
|
||||
break;
|
||||
case 12:
|
||||
this.MainDisplayEachBarGraph12 = new ControlMainDisplayEachBarGraph12(this);
|
||||
this.Controls.Add(this.MainDisplayEachBarGraph12);
|
||||
|
|
@ -756,6 +776,16 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.Visible = false;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.Visible = true;
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.Visible = false;
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.Visible = false;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP);
|
||||
break;
|
||||
case 12:
|
||||
|
|
@ -809,6 +839,16 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.Visible = false;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.Visible = false;
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.Visible = true;
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.Visible = false;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP);
|
||||
break;
|
||||
case 12:
|
||||
|
|
@ -862,6 +902,16 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.Visible = true;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.Visible = false;
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.Visible = false;
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.Visible = true;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP);
|
||||
break;
|
||||
case 12:
|
||||
|
|
@ -918,6 +968,16 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.Visible = false;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.DOWN);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.Visible = false;
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.Visible = false;
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.Visible = false;
|
||||
|
||||
this.UpdateDisplayButton(SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.DOWN);
|
||||
break;
|
||||
case 12:
|
||||
|
|
@ -1451,6 +1511,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateCurrentProductDisplay(status, weightDatas);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateCurrentProductDisplay(status, weightDatas);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateCurrentProductDisplay(status, weightDatas);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateCurrentProductDisplay(status, weightDatas);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateCurrentProductDisplay(status, weightDatas);
|
||||
|
|
@ -1526,6 +1594,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateEquipmentStatusDisplay(status);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateEquipmentStatusDisplay(status);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateEquipmentStatusDisplay(status);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateEquipmentStatusDisplay(status);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateEquipmentStatusDisplay(status);
|
||||
|
|
@ -1572,6 +1648,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStopWeightDisplay(status, weightDatas);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStopWeightDisplay(status, weightDatas);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStopWeightDisplay(status, weightDatas);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStopWeightDisplay(status, weightDatas);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStopWeightDisplay(status, weightDatas);
|
||||
|
|
@ -1624,6 +1708,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay(status, weightDatas);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay(status, weightDatas);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay(status, weightDatas);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay(status, weightDatas);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay(status, weightDatas);
|
||||
|
|
@ -1675,6 +1767,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay1(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay1(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay1(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay1(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay1(status, weightData);
|
||||
|
|
@ -1720,6 +1820,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay2(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay2(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay2(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay2(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay2(status, weightData);
|
||||
|
|
@ -1742,32 +1850,40 @@ namespace INT69DC_7C.Forms
|
|||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||
{
|
||||
case 7:
|
||||
if (this.MainDisplayEachBarGraph7 != null)
|
||||
this.MainDisplayEachBarGraph7.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayEachBarGraph7 != null)
|
||||
this.MainDisplayEachBarGraph7.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayDotGraph7 != null)
|
||||
this.MainDisplayDotGraph7.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayTable7 != null)
|
||||
this.MainDisplayTable7.UpdateStartWeightDisplay3(status, weightData);
|
||||
break;
|
||||
case 8:
|
||||
if (this.MainDisplayEachBarGraph8 != null)
|
||||
this.MainDisplayEachBarGraph8.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayEachBarGraph8 != null)
|
||||
this.MainDisplayEachBarGraph8.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayDotGraph8 != null)
|
||||
this.MainDisplayDotGraph8.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayTable8 != null)
|
||||
this.MainDisplayTable8.UpdateStartWeightDisplay3(status, weightData);
|
||||
break;
|
||||
case 10:
|
||||
if (this.MainDisplayEachBarGraph10 != null)
|
||||
this.MainDisplayEachBarGraph10.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayEachBarGraph10 != null)
|
||||
this.MainDisplayEachBarGraph10.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayDotGraph10 != null)
|
||||
this.MainDisplayDotGraph10.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay3(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay3(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayDotGraph12 != null)
|
||||
this.MainDisplayDotGraph12.UpdateStartWeightDisplay3(status, weightData);
|
||||
if (this.MainDisplayTable12 != null)
|
||||
|
|
@ -1810,6 +1926,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay4(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay4(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay4(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay4(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay4(status, weightData);
|
||||
|
|
@ -1855,6 +1979,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay5(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay5(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay5(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay5(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay5(status, weightData);
|
||||
|
|
@ -1900,6 +2032,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay6(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay6(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay6(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay6(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay6(status, weightData);
|
||||
|
|
@ -1945,6 +2085,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay7(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay7(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay7(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay7(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay7(status, weightData);
|
||||
|
|
@ -1984,6 +2132,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay8(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay8(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay8(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay8(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay8(status, weightData);
|
||||
|
|
@ -2015,6 +2171,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay9(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay9(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay9(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay9(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay9(status, weightData);
|
||||
|
|
@ -2046,6 +2210,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateStartWeightDisplay10(status, weightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay10(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay10(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay10(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay10(status, weightData);
|
||||
|
|
@ -2071,6 +2243,14 @@ namespace INT69DC_7C.Forms
|
|||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateStartWeightDisplay11(status, weightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateStartWeightDisplay11(status, weightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateStartWeightDisplay11(status, weightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay11(status, weightData);
|
||||
|
|
@ -2096,6 +2276,8 @@ namespace INT69DC_7C.Forms
|
|||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateStartWeightDisplay12(status, weightData);
|
||||
|
|
@ -2273,6 +2455,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.Clear();
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.Clear();
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.Clear();
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.Clear();
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.Clear();
|
||||
|
|
@ -2320,6 +2510,13 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayDotGraph10 != null)
|
||||
this.MainDisplayDotGraph10.RescaleControl();
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.RescaleControl();
|
||||
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.RescaleControl();
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.RescaleControl();
|
||||
|
|
@ -2785,6 +2982,14 @@ namespace INT69DC_7C.Forms
|
|||
if (this.MainDisplayTable10 != null)
|
||||
this.MainDisplayTable10.UpdateBypassDisplay(this.ParentForm.CollectionWeightData);
|
||||
break;
|
||||
case 11:
|
||||
if (this.MainDisplayEachBarGraph11 != null)
|
||||
this.MainDisplayEachBarGraph11.UpdateBypassDisplay(this.ParentForm.CollectionWeightData);
|
||||
if (this.MainDisplayDotGraph11 != null)
|
||||
this.MainDisplayDotGraph11.UpdateBypassDisplay(this.ParentForm.CollectionWeightData);
|
||||
if (this.MainDisplayTable11 != null)
|
||||
this.MainDisplayTable11.UpdateBypassDisplay(this.ParentForm.CollectionWeightData);
|
||||
break;
|
||||
case 12:
|
||||
if (this.MainDisplayEachBarGraph12 != null)
|
||||
this.MainDisplayEachBarGraph12.UpdateBypassDisplay(this.ParentForm.CollectionWeightData);
|
||||
|
|
|
|||
|
|
@ -93,12 +93,6 @@
|
|||
<Compile Include="Controls\ControlChildformSystemSetting.Designer.cs">
|
||||
<DependentUpon>ControlChildformSystemSetting.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlCommunicationModbus.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlCommunicationModbus.Designer.cs">
|
||||
<DependentUpon>ControlCommunicationModbus.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlConfiguration1.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
|
|
@ -213,6 +207,30 @@
|
|||
<Compile Include="Controls\ControlUserSetting.designer.cs">
|
||||
<DependentUpon>ControlUserSetting.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlCalibration11.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlCalibration11.Designer.cs">
|
||||
<DependentUpon>ControlCalibration11.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlMainDisplayDotGraph11.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlMainDisplayDotGraph11.Designer.cs">
|
||||
<DependentUpon>ControlMainDisplayDotGraph11.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlMainDisplayEachBarGraph11.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlMainDisplayEachBarGraph11.Designer.cs">
|
||||
<DependentUpon>ControlMainDisplayEachBarGraph11.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlMainDisplayTable11.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ControlMainDisplayTable11.Designer.cs">
|
||||
<DependentUpon>ControlMainDisplayTable11.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DataStore.cs" />
|
||||
<Compile Include="DialogForms\DialogFormDataStatistics.cs">
|
||||
<SubType>Form</SubType>
|
||||
|
|
@ -510,6 +528,22 @@
|
|||
<DependentUpon>ControlUserSetting.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Controls\ControlCalibration11.resx">
|
||||
<DependentUpon>ControlCalibration11.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Controls\ControlMainDisplayDotGraph11.resx">
|
||||
<DependentUpon>ControlMainDisplayDotGraph11.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Controls\ControlMainDisplayEachBarGraph11.resx">
|
||||
<DependentUpon>ControlMainDisplayEachBarGraph11.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Controls\ControlMainDisplayTable11.resx">
|
||||
<DependentUpon>ControlMainDisplayTable11.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="DialogForms\DialogFormDataStatistics.resx">
|
||||
<DependentUpon>DialogFormDataStatistics.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
- 알람 기능 추가
|
||||
SA000 : 1-입력센서, 2-로드셀, 8-비상정지
|
||||
Part11 : TrackingAlarm history 추가
|
||||
- 11열 추가
|
||||
|
||||
@ Ver 12.3.1 by CJY
|
||||
- 2025.08.21
|
||||
|
|
|
|||
Loading…
Reference in New Issue