@ Ver 4.1.0 by LSJ

- 2025.07.21
 - Ver 4.0.0 Modify
 - Framework : SmartX Framework V3.2.4(update: 2021.01.20)
 - Sorter2 Delay, Run 파라미터 추가 (바이킹마섹 NG 신호 관련 추가함)
   3~6열 프로그램에는 적용되어 있는 내용임
main V4.1.0
DESKTOP-S459P9R\LSJ 2025-07-22 09:06:24 +09:00
parent 4e0180f422
commit e8cebd75f9
22 changed files with 3993 additions and 3305 deletions

View File

@ -212,8 +212,10 @@ namespace INT99DC_7C
JudgmentDelayTime,
JudgmentDamperDelayTime,
JudgmentCount,
SorterDelayTime,
SorterRunTime,
Sorter1DelayTime,
Sorter1RunTime,
Sorter2DelayTime,
Sorter2RunTime,
RejectCVDelayTime,
RejectCVRunTime,
FeedingCVDelayTime,
@ -551,12 +553,18 @@ namespace INT99DC_7C
public static readonly string ImpellerDelayTime = "5013";
// 판정설정 - 댐퍼지연시간
public static readonly string DamperDelayTime = "5014";
// 판정설정 - 선별기 모드 값
// 판정설정 - 선별기1 모드 값
public static readonly string Sorter1Mode = "5101";
// 판정설정 - 선별기 지연시간
// 판정설정 - 선별기1 지연시간
public static readonly string Sorter1DelayTime = "5102";
// 판정설정 - 선별기 동작시간
// 판정설정 - 선별기1 동작시간
public static readonly string Sorter1RunTime = "5103";
// 판정설정 - 선별기2 모드 값
public static readonly string Sorter2Mode = "5104";
// 판정설정 - 선별기2 지연시간
public static readonly string Sorter2DelayTime = "5105";
// 판정설정 - 선별기2 동작시간
public static readonly string Sorter2RunTime = "5106";
// 옵션 - 부저 ON시간
public static readonly string BuzzerOnTime = "6001";

View File

@ -32,9 +32,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.InitializeControl();
}
#endregion
@ -384,6 +381,16 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.InitializeControl();
}
#endregion
#region Event Handler
private void comboBoxDigit_SelectedIndexChanged(object sender, EventArgs e)
{

View File

@ -40,7 +40,6 @@ namespace INT99DC_7C.Forms
this.ParentForm = parent;
this.InitializeDesign();
this.InitializeControl();
this.DefaultSetting();
}
@ -760,6 +759,15 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{
@ -2025,7 +2033,6 @@ namespace INT99DC_7C.Forms
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ATPC_Activate, "", before, after);
}
#endregion
#region SpecialFunction Menu
private void buttonZeroRange_Click(object sender, EventArgs e)
@ -2057,5 +2064,7 @@ namespace INT99DC_7C.Forms
this.ParentForm.TransferDataStream(CommunicationCommand.Read, CommunicationID.SubBoardAll, CommunicationAddress.Filter, "");
}
#endregion
#endregion
}
}

View File

@ -28,9 +28,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.DefaultSetting();
}
#endregion
@ -206,6 +203,16 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.DefaultSetting();
}
#endregion
#region Event Handler
private void radioButtonEnable_Click(object sender, EventArgs e)
{

View File

@ -25,8 +25,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
}
#endregion
@ -333,6 +331,15 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
}
#endregion
#region Event Handler
private void control_Click(object sender, EventArgs e)
{

View File

@ -33,10 +33,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.DefaultSetting();
this.InitializeDesign();
this.InitializeControl();
}
#endregion
@ -540,6 +536,17 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.DefaultSetting();
this.InitializeDesign();
this.InitializeControl();
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{

View File

@ -24,8 +24,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
}
#endregion
@ -424,6 +422,15 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
}
#endregion
#region Event Handler
private void timer1_Tick(object sender, EventArgs e)
{

View File

@ -34,10 +34,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.DefaultSetting();
this.InitializeControl();
}
#endregion
@ -253,6 +249,17 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.DefaultSetting();
this.InitializeControl();
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{

View File

@ -30,10 +30,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.InitializeAsInfomation();
this.DefaultSetting();
}
#endregion
@ -144,7 +140,7 @@ namespace INT99DC_7C.Forms
}
private void DefaultSetting()
{
this.labelDisplayVer.Text = "4.0.0";
this.labelDisplayVer.Text = "4.1.0";
this.labelUserMgerVer.Text = "";
this.labelAes128Ver.Text = "";
this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber;
@ -401,6 +397,17 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.InitializeAsInfomation();
this.DefaultSetting();
}
#endregion
#region Event Handler
private void labelSerialNo_Click(object sender, EventArgs e)
{

View File

@ -598,8 +598,8 @@ namespace INT99DC_7C.Forms
sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter1Mode.ToString()));
sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter1DelayTime.ToString()));
sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter1RunTime.ToString()));
sb.Append(Helper.StringZeroFillDigits4("0000"));
sb.Append(Helper.StringZeroFillDigits4("0000"));
sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter2DelayTime.ToString()));
sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter2RunTime.ToString()));
sb.Append(Helper.StringZeroFillDigits4("0000"));
sb.Append(Helper.StringZeroFillDigits4("0000"));
sb.Append(Helper.StringZeroFillDigits4(productNumber.ToString()));

View File

@ -53,6 +53,7 @@
this.buttonClear = new SmartX.SmartButton();
this.buttonMenu = new SmartX.SmartButton();
this.panelSetting = new System.Windows.Forms.Panel();
this.comboBoxExternalOutputMode = new System.Windows.Forms.ComboBox();
this.groupBoxConveyor = new SmartX.SmartGroupBox();
this.labelStaticFeedingConveyor = new SmartX.SmartLabel();
this.labelStaticRejectConveyor = new SmartX.SmartLabel();
@ -66,11 +67,14 @@
this.labelStaticRejectConveyorRunTime = new SmartX.SmartLabel();
this.buttonClose = new System.Windows.Forms.Button();
this.groupBoxSorter = new SmartX.SmartGroupBox();
this.comboBoxExternalOutputMode = new System.Windows.Forms.ComboBox();
this.labelSorterRunTime = new SmartX.SmartLabel();
this.labelSorterDelayTime = new SmartX.SmartLabel();
this.labelStaticSorterDelayTime = new SmartX.SmartLabel();
this.labelStaticSorterRunTime = new SmartX.SmartLabel();
this.labelSorter2RunTime = new SmartX.SmartLabel();
this.labelSorter2DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter2DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter2RunTime = new SmartX.SmartLabel();
this.labelSorter1RunTime = new SmartX.SmartLabel();
this.labelSorter1DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter1DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter1RunTime = new SmartX.SmartLabel();
this.pictureBoxCH3 = new System.Windows.Forms.PictureBox();
this.pictureBoxBypass = new System.Windows.Forms.PictureBox();
this.pictureBoxAlarm = new System.Windows.Forms.PictureBox();
@ -676,6 +680,7 @@
// panelSetting
//
this.panelSetting.BackColor = System.Drawing.Color.SteelBlue;
this.panelSetting.Controls.Add(this.comboBoxExternalOutputMode);
this.panelSetting.Controls.Add(this.groupBoxConveyor);
this.panelSetting.Controls.Add(this.buttonClose);
this.panelSetting.Controls.Add(this.groupBoxSorter);
@ -683,6 +688,15 @@
this.panelSetting.Name = "panelSetting";
this.panelSetting.Size = new System.Drawing.Size(500, 480);
//
// comboBoxExternalOutputMode
//
this.comboBoxExternalOutputMode.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
this.comboBoxExternalOutputMode.Location = new System.Drawing.Point(148, 446);
this.comboBoxExternalOutputMode.Name = "comboBoxExternalOutputMode";
this.comboBoxExternalOutputMode.Size = new System.Drawing.Size(206, 26);
this.comboBoxExternalOutputMode.TabIndex = 109;
this.comboBoxExternalOutputMode.Visible = false;
//
// groupBoxConveyor
//
this.groupBoxConveyor.BackColor = System.Drawing.Color.SteelBlue;
@ -705,10 +719,10 @@
this.groupBoxConveyor.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.RoundRectangle;
this.groupBoxConveyor.Image = null;
this.groupBoxConveyor.InitVisible = true;
this.groupBoxConveyor.Location = new System.Drawing.Point(109, 171);
this.groupBoxConveyor.Location = new System.Drawing.Point(109, 196);
this.groupBoxConveyor.Name = "groupBoxConveyor";
this.groupBoxConveyor.RoundRadius = 0;
this.groupBoxConveyor.Size = new System.Drawing.Size(295, 212);
this.groupBoxConveyor.RoundRadius = 5;
this.groupBoxConveyor.Size = new System.Drawing.Size(295, 221);
this.groupBoxConveyor.TabIndex = 242;
this.groupBoxConveyor.Text = "컨베어설정";
this.groupBoxConveyor.TextColor = System.Drawing.Color.White;
@ -767,9 +781,9 @@
this.labelFeedingConveyorRunTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelFeedingConveyorRunTime.InitVisible = true;
this.labelFeedingConveyorRunTime.LineSpacing = 0F;
this.labelFeedingConveyorRunTime.Location = new System.Drawing.Point(173, 166);
this.labelFeedingConveyorRunTime.Location = new System.Drawing.Point(216, 173);
this.labelFeedingConveyorRunTime.Name = "labelFeedingConveyorRunTime";
this.labelFeedingConveyorRunTime.Size = new System.Drawing.Size(100, 30);
this.labelFeedingConveyorRunTime.Size = new System.Drawing.Size(60, 30);
this.labelFeedingConveyorRunTime.TabIndex = 241;
this.labelFeedingConveyorRunTime.Text = "100";
this.labelFeedingConveyorRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
@ -788,9 +802,9 @@
this.labelRejectConveyorDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelRejectConveyorDelayTime.InitVisible = true;
this.labelRejectConveyorDelayTime.LineSpacing = 0F;
this.labelRejectConveyorDelayTime.Location = new System.Drawing.Point(173, 40);
this.labelRejectConveyorDelayTime.Location = new System.Drawing.Point(216, 40);
this.labelRejectConveyorDelayTime.Name = "labelRejectConveyorDelayTime";
this.labelRejectConveyorDelayTime.Size = new System.Drawing.Size(100, 30);
this.labelRejectConveyorDelayTime.Size = new System.Drawing.Size(60, 30);
this.labelRejectConveyorDelayTime.TabIndex = 246;
this.labelRejectConveyorDelayTime.Text = "100";
this.labelRejectConveyorDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
@ -809,9 +823,9 @@
this.labelRejectConveyorRunTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelRejectConveyorRunTime.InitVisible = true;
this.labelRejectConveyorRunTime.LineSpacing = 0F;
this.labelRejectConveyorRunTime.Location = new System.Drawing.Point(173, 76);
this.labelRejectConveyorRunTime.Location = new System.Drawing.Point(216, 76);
this.labelRejectConveyorRunTime.Name = "labelRejectConveyorRunTime";
this.labelRejectConveyorRunTime.Size = new System.Drawing.Size(100, 30);
this.labelRejectConveyorRunTime.Size = new System.Drawing.Size(60, 30);
this.labelRejectConveyorRunTime.TabIndex = 245;
this.labelRejectConveyorRunTime.Text = "100";
this.labelRejectConveyorRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
@ -833,7 +847,7 @@
this.labelStaticRejectConveyorDelayTime.LineSpacing = 0F;
this.labelStaticRejectConveyorDelayTime.Location = new System.Drawing.Point(20, 40);
this.labelStaticRejectConveyorDelayTime.Name = "labelStaticRejectConveyorDelayTime";
this.labelStaticRejectConveyorDelayTime.Size = new System.Drawing.Size(147, 30);
this.labelStaticRejectConveyorDelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticRejectConveyorDelayTime.TabIndex = 243;
this.labelStaticRejectConveyorDelayTime.Text = "지연 시간";
this.labelStaticRejectConveyorDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -851,9 +865,9 @@
this.labelFeedingConveyorDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelFeedingConveyorDelayTime.InitVisible = true;
this.labelFeedingConveyorDelayTime.LineSpacing = 0F;
this.labelFeedingConveyorDelayTime.Location = new System.Drawing.Point(173, 130);
this.labelFeedingConveyorDelayTime.Location = new System.Drawing.Point(216, 137);
this.labelFeedingConveyorDelayTime.Name = "labelFeedingConveyorDelayTime";
this.labelFeedingConveyorDelayTime.Size = new System.Drawing.Size(100, 30);
this.labelFeedingConveyorDelayTime.Size = new System.Drawing.Size(60, 30);
this.labelFeedingConveyorDelayTime.TabIndex = 242;
this.labelFeedingConveyorDelayTime.Text = "100";
this.labelFeedingConveyorDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
@ -873,9 +887,9 @@
this.labelStaticFeedingRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingRunTime.InitVisible = true;
this.labelStaticFeedingRunTime.LineSpacing = 0F;
this.labelStaticFeedingRunTime.Location = new System.Drawing.Point(20, 166);
this.labelStaticFeedingRunTime.Location = new System.Drawing.Point(20, 173);
this.labelStaticFeedingRunTime.Name = "labelStaticFeedingRunTime";
this.labelStaticFeedingRunTime.Size = new System.Drawing.Size(147, 30);
this.labelStaticFeedingRunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticFeedingRunTime.TabIndex = 239;
this.labelStaticFeedingRunTime.Text = "동작 시간";
this.labelStaticFeedingRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -894,9 +908,9 @@
this.labelStaticFeedingDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingDelayTime.InitVisible = true;
this.labelStaticFeedingDelayTime.LineSpacing = 0F;
this.labelStaticFeedingDelayTime.Location = new System.Drawing.Point(20, 130);
this.labelStaticFeedingDelayTime.Location = new System.Drawing.Point(20, 137);
this.labelStaticFeedingDelayTime.Name = "labelStaticFeedingDelayTime";
this.labelStaticFeedingDelayTime.Size = new System.Drawing.Size(147, 30);
this.labelStaticFeedingDelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticFeedingDelayTime.TabIndex = 240;
this.labelStaticFeedingDelayTime.Text = "지연 시간";
this.labelStaticFeedingDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -917,7 +931,7 @@
this.labelStaticRejectConveyorRunTime.LineSpacing = 0F;
this.labelStaticRejectConveyorRunTime.Location = new System.Drawing.Point(20, 76);
this.labelStaticRejectConveyorRunTime.Name = "labelStaticRejectConveyorRunTime";
this.labelStaticRejectConveyorRunTime.Size = new System.Drawing.Size(147, 30);
this.labelStaticRejectConveyorRunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticRejectConveyorRunTime.TabIndex = 244;
this.labelStaticRejectConveyorRunTime.Text = "동작 시간";
this.labelStaticRejectConveyorRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -938,11 +952,14 @@
this.groupBoxSorter.BackColor = System.Drawing.Color.SteelBlue;
this.groupBoxSorter.BackPictureBox = null;
this.groupBoxSorter.BackPictureBox1 = null;
this.groupBoxSorter.Controls.Add(this.comboBoxExternalOutputMode);
this.groupBoxSorter.Controls.Add(this.labelSorterRunTime);
this.groupBoxSorter.Controls.Add(this.labelSorterDelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorterDelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorterRunTime);
this.groupBoxSorter.Controls.Add(this.labelSorter2RunTime);
this.groupBoxSorter.Controls.Add(this.labelSorter2DelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorter2DelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorter2RunTime);
this.groupBoxSorter.Controls.Add(this.labelSorter1RunTime);
this.groupBoxSorter.Controls.Add(this.labelSorter1DelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorter1DelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorter1RunTime);
this.groupBoxSorter.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxSorter.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxSorter.FrameLineColor2 = System.Drawing.Color.Black;
@ -950,106 +967,181 @@
this.groupBoxSorter.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.RoundRectangle;
this.groupBoxSorter.Image = null;
this.groupBoxSorter.InitVisible = true;
this.groupBoxSorter.Location = new System.Drawing.Point(109, 14);
this.groupBoxSorter.Location = new System.Drawing.Point(109, 6);
this.groupBoxSorter.Name = "groupBoxSorter";
this.groupBoxSorter.RoundRadius = 0;
this.groupBoxSorter.Size = new System.Drawing.Size(295, 151);
this.groupBoxSorter.RoundRadius = 5;
this.groupBoxSorter.Size = new System.Drawing.Size(295, 184);
this.groupBoxSorter.TabIndex = 175;
this.groupBoxSorter.Text = "선별기설정";
this.groupBoxSorter.TextColor = System.Drawing.Color.White;
//
// comboBoxExternalOutputMode
// labelSorter2RunTime
//
this.comboBoxExternalOutputMode.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
this.comboBoxExternalOutputMode.Location = new System.Drawing.Point(67, 101);
this.comboBoxExternalOutputMode.Name = "comboBoxExternalOutputMode";
this.comboBoxExternalOutputMode.Size = new System.Drawing.Size(206, 26);
this.comboBoxExternalOutputMode.TabIndex = 109;
this.comboBoxExternalOutputMode.Visible = false;
this.labelSorter2RunTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter2RunTime.BackPictureBox = null;
this.labelSorter2RunTime.BackPictureBox1 = null;
this.labelSorter2RunTime.BackPictureBox2 = null;
this.labelSorter2RunTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter2RunTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter2RunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter2RunTime.InitVisible = true;
this.labelSorter2RunTime.LineSpacing = 0F;
this.labelSorter2RunTime.Location = new System.Drawing.Point(216, 134);
this.labelSorter2RunTime.Name = "labelSorter2RunTime";
this.labelSorter2RunTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter2RunTime.TabIndex = 111;
this.labelSorter2RunTime.Text = "100";
this.labelSorter2RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter2RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter2RunTime.Wordwrap = false;
this.labelSorter2RunTime.Click += new System.EventHandler(this.labelSorter2RunTime_Click);
//
// labelSorterRunTime
// labelSorter2DelayTime
//
this.labelSorterRunTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorterRunTime.BackPictureBox = null;
this.labelSorterRunTime.BackPictureBox1 = null;
this.labelSorterRunTime.BackPictureBox2 = null;
this.labelSorterRunTime.BorderColor = System.Drawing.Color.Black;
this.labelSorterRunTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorterRunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorterRunTime.InitVisible = true;
this.labelSorterRunTime.LineSpacing = 0F;
this.labelSorterRunTime.Location = new System.Drawing.Point(180, 65);
this.labelSorterRunTime.Name = "labelSorterRunTime";
this.labelSorterRunTime.Size = new System.Drawing.Size(93, 30);
this.labelSorterRunTime.TabIndex = 108;
this.labelSorterRunTime.Text = "100";
this.labelSorterRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorterRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorterRunTime.Wordwrap = false;
this.labelSorterRunTime.Click += new System.EventHandler(this.labelSorterRunTime_Click);
this.labelSorter2DelayTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter2DelayTime.BackPictureBox = null;
this.labelSorter2DelayTime.BackPictureBox1 = null;
this.labelSorter2DelayTime.BackPictureBox2 = null;
this.labelSorter2DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter2DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter2DelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter2DelayTime.InitVisible = true;
this.labelSorter2DelayTime.LineSpacing = 0F;
this.labelSorter2DelayTime.Location = new System.Drawing.Point(216, 98);
this.labelSorter2DelayTime.Name = "labelSorter2DelayTime";
this.labelSorter2DelayTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter2DelayTime.TabIndex = 112;
this.labelSorter2DelayTime.Text = "100";
this.labelSorter2DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter2DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter2DelayTime.Wordwrap = false;
this.labelSorter2DelayTime.Click += new System.EventHandler(this.labelSorter2DelayTime_Click);
//
// labelSorterDelayTime
// labelStaticSorter2DelayTime
//
this.labelSorterDelayTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorterDelayTime.BackPictureBox = null;
this.labelSorterDelayTime.BackPictureBox1 = null;
this.labelSorterDelayTime.BackPictureBox2 = null;
this.labelSorterDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelSorterDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorterDelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorterDelayTime.InitVisible = true;
this.labelSorterDelayTime.LineSpacing = 0F;
this.labelSorterDelayTime.Location = new System.Drawing.Point(180, 29);
this.labelSorterDelayTime.Name = "labelSorterDelayTime";
this.labelSorterDelayTime.Size = new System.Drawing.Size(93, 30);
this.labelSorterDelayTime.TabIndex = 108;
this.labelSorterDelayTime.Text = "100";
this.labelSorterDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorterDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorterDelayTime.Wordwrap = false;
this.labelSorterDelayTime.Click += new System.EventHandler(this.labelSorterDelayTime_Click);
this.labelStaticSorter2DelayTime.BackColor = System.Drawing.Color.SteelBlue;
this.labelStaticSorter2DelayTime.BackPictureBox = null;
this.labelStaticSorter2DelayTime.BackPictureBox1 = null;
this.labelStaticSorter2DelayTime.BackPictureBox2 = null;
this.labelStaticSorter2DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter2DelayTime.InitVisible = true;
this.labelStaticSorter2DelayTime.LineSpacing = 0F;
this.labelStaticSorter2DelayTime.Location = new System.Drawing.Point(20, 98);
this.labelStaticSorter2DelayTime.Name = "labelStaticSorter2DelayTime";
this.labelStaticSorter2DelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter2DelayTime.TabIndex = 109;
this.labelStaticSorter2DelayTime.Text = "선별2 지연";
this.labelStaticSorter2DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter2DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter2DelayTime.Wordwrap = false;
//
// labelStaticSorterDelayTime
// labelStaticSorter2RunTime
//
this.labelStaticSorterDelayTime.BackColor = System.Drawing.Color.SteelBlue;
this.labelStaticSorterDelayTime.BackPictureBox = null;
this.labelStaticSorterDelayTime.BackPictureBox1 = null;
this.labelStaticSorterDelayTime.BackPictureBox2 = null;
this.labelStaticSorterDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorterDelayTime.InitVisible = true;
this.labelStaticSorterDelayTime.LineSpacing = 0F;
this.labelStaticSorterDelayTime.Location = new System.Drawing.Point(20, 29);
this.labelStaticSorterDelayTime.Name = "labelStaticSorterDelayTime";
this.labelStaticSorterDelayTime.Size = new System.Drawing.Size(154, 30);
this.labelStaticSorterDelayTime.TabIndex = 107;
this.labelStaticSorterDelayTime.Text = "지연시간";
this.labelStaticSorterDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorterDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorterDelayTime.Wordwrap = false;
this.labelStaticSorter2RunTime.BackColor = System.Drawing.Color.SteelBlue;
this.labelStaticSorter2RunTime.BackPictureBox = null;
this.labelStaticSorter2RunTime.BackPictureBox1 = null;
this.labelStaticSorter2RunTime.BackPictureBox2 = null;
this.labelStaticSorter2RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter2RunTime.InitVisible = true;
this.labelStaticSorter2RunTime.LineSpacing = 0F;
this.labelStaticSorter2RunTime.Location = new System.Drawing.Point(20, 134);
this.labelStaticSorter2RunTime.Name = "labelStaticSorter2RunTime";
this.labelStaticSorter2RunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter2RunTime.TabIndex = 110;
this.labelStaticSorter2RunTime.Text = "선별2 동작";
this.labelStaticSorter2RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter2RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter2RunTime.Wordwrap = false;
//
// labelStaticSorterRunTime
// labelSorter1RunTime
//
this.labelStaticSorterRunTime.BackColor = System.Drawing.Color.SteelBlue;
this.labelStaticSorterRunTime.BackPictureBox = null;
this.labelStaticSorterRunTime.BackPictureBox1 = null;
this.labelStaticSorterRunTime.BackPictureBox2 = null;
this.labelStaticSorterRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterRunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorterRunTime.InitVisible = true;
this.labelStaticSorterRunTime.LineSpacing = 0F;
this.labelStaticSorterRunTime.Location = new System.Drawing.Point(20, 65);
this.labelStaticSorterRunTime.Name = "labelStaticSorterRunTime";
this.labelStaticSorterRunTime.Size = new System.Drawing.Size(154, 30);
this.labelStaticSorterRunTime.TabIndex = 107;
this.labelStaticSorterRunTime.Text = "동작시간";
this.labelStaticSorterRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorterRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorterRunTime.Wordwrap = false;
this.labelSorter1RunTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter1RunTime.BackPictureBox = null;
this.labelSorter1RunTime.BackPictureBox1 = null;
this.labelSorter1RunTime.BackPictureBox2 = null;
this.labelSorter1RunTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter1RunTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter1RunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter1RunTime.InitVisible = true;
this.labelSorter1RunTime.LineSpacing = 0F;
this.labelSorter1RunTime.Location = new System.Drawing.Point(216, 62);
this.labelSorter1RunTime.Name = "labelSorter1RunTime";
this.labelSorter1RunTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter1RunTime.TabIndex = 108;
this.labelSorter1RunTime.Text = "100";
this.labelSorter1RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter1RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter1RunTime.Wordwrap = false;
this.labelSorter1RunTime.Click += new System.EventHandler(this.labelSorter1RunTime_Click);
//
// labelSorter1DelayTime
//
this.labelSorter1DelayTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter1DelayTime.BackPictureBox = null;
this.labelSorter1DelayTime.BackPictureBox1 = null;
this.labelSorter1DelayTime.BackPictureBox2 = null;
this.labelSorter1DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter1DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter1DelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter1DelayTime.InitVisible = true;
this.labelSorter1DelayTime.LineSpacing = 0F;
this.labelSorter1DelayTime.Location = new System.Drawing.Point(216, 26);
this.labelSorter1DelayTime.Name = "labelSorter1DelayTime";
this.labelSorter1DelayTime.Size = new System.Drawing.Size(60, 30);
this.labelSorter1DelayTime.TabIndex = 108;
this.labelSorter1DelayTime.Text = "100";
this.labelSorter1DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter1DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter1DelayTime.Wordwrap = false;
this.labelSorter1DelayTime.Click += new System.EventHandler(this.labelSorter1DelayTime_Click);
//
// labelStaticSorter1DelayTime
//
this.labelStaticSorter1DelayTime.BackColor = System.Drawing.Color.SteelBlue;
this.labelStaticSorter1DelayTime.BackPictureBox = null;
this.labelStaticSorter1DelayTime.BackPictureBox1 = null;
this.labelStaticSorter1DelayTime.BackPictureBox2 = null;
this.labelStaticSorter1DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter1DelayTime.InitVisible = true;
this.labelStaticSorter1DelayTime.LineSpacing = 0F;
this.labelStaticSorter1DelayTime.Location = new System.Drawing.Point(20, 26);
this.labelStaticSorter1DelayTime.Name = "labelStaticSorter1DelayTime";
this.labelStaticSorter1DelayTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter1DelayTime.TabIndex = 107;
this.labelStaticSorter1DelayTime.Text = "선별1 지연";
this.labelStaticSorter1DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter1DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter1DelayTime.Wordwrap = false;
//
// labelStaticSorter1RunTime
//
this.labelStaticSorter1RunTime.BackColor = System.Drawing.Color.SteelBlue;
this.labelStaticSorter1RunTime.BackPictureBox = null;
this.labelStaticSorter1RunTime.BackPictureBox1 = null;
this.labelStaticSorter1RunTime.BackPictureBox2 = null;
this.labelStaticSorter1RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorter1RunTime.InitVisible = true;
this.labelStaticSorter1RunTime.LineSpacing = 0F;
this.labelStaticSorter1RunTime.Location = new System.Drawing.Point(20, 62);
this.labelStaticSorter1RunTime.Name = "labelStaticSorter1RunTime";
this.labelStaticSorter1RunTime.Size = new System.Drawing.Size(190, 30);
this.labelStaticSorter1RunTime.TabIndex = 107;
this.labelStaticSorter1RunTime.Text = "선별1 동작";
this.labelStaticSorter1RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter1RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter1RunTime.Wordwrap = false;
//
// pictureBoxCH3
//
@ -2297,10 +2389,10 @@
private System.Windows.Forms.Panel panelSetting;
private SmartX.SmartGroupBox groupBoxSorter;
private System.Windows.Forms.ComboBox comboBoxExternalOutputMode;
public SmartX.SmartLabel labelSorterRunTime;
public SmartX.SmartLabel labelSorterDelayTime;
private SmartX.SmartLabel labelStaticSorterDelayTime;
private SmartX.SmartLabel labelStaticSorterRunTime;
public SmartX.SmartLabel labelSorter1RunTime;
public SmartX.SmartLabel labelSorter1DelayTime;
private SmartX.SmartLabel labelStaticSorter1DelayTime;
private SmartX.SmartLabel labelStaticSorter1RunTime;
private System.Windows.Forms.Button buttonClose;
private SmartX.SmartGroupBox groupBoxConveyor;
private SmartX.SmartLabel labelStaticFeedingConveyor;
@ -2372,5 +2464,9 @@
private System.Windows.Forms.PictureBox pictureBoxEthernetConnection;
private System.Windows.Forms.Timer timerServer;
private SmartX.SmartButton buttonModbus;
public SmartX.SmartLabel labelSorter2RunTime;
public SmartX.SmartLabel labelSorter2DelayTime;
private SmartX.SmartLabel labelStaticSorter2DelayTime;
private SmartX.SmartLabel labelStaticSorter2RunTime;
}
}

View File

@ -157,8 +157,10 @@ namespace INT99DC_7C.Forms
}
this.groupBoxSorter.Text = "Sorter settings";
this.labelStaticSorterDelayTime.Text = "Delay";
this.labelStaticSorterRunTime.Text = "Run";
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
this.groupBoxConveyor.Text = "Conveyor settings";
this.labelStaticRejectConveyor.Text = "Reject conveyor";
@ -235,8 +237,10 @@ namespace INT99DC_7C.Forms
}
this.groupBoxSorter.Text = "筛选设定";
this.labelStaticSorterDelayTime.Text = "延迟时间";
this.labelStaticSorterRunTime.Text = "运行时间";
this.labelStaticSorter1DelayTime.Text = "分类机1 延迟时间";
this.labelStaticSorter1RunTime.Text = "分类机1 运行时间";
this.labelStaticSorter2DelayTime.Text = "分类机2 延迟时间";
this.labelStaticSorter2RunTime.Text = "分类机2 运行时间";
this.groupBoxConveyor.Text = "输送带设置";
this.labelStaticRejectConveyor.Text = "筛选输送带";
@ -312,8 +316,10 @@ namespace INT99DC_7C.Forms
}
this.groupBoxSorter.Text = "Nastavení třídiče";
this.labelStaticSorterDelayTime.Text = "Doba zpoždění";
this.labelStaticSorterRunTime.Text = "Doba chodu";
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
this.groupBoxConveyor.Text = "Nastavení dopravníku";
this.labelStaticRejectConveyor.Text = "Vyřazení dopravníku";
@ -383,8 +389,10 @@ namespace INT99DC_7C.Forms
}
this.groupBoxSorter.Text = "Sortierereinstellung";
this.labelStaticSorterDelayTime.Text = "Vezögerung";
this.labelStaticSorterRunTime.Text = "Laufzeit";
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
this.groupBoxConveyor.Text = "Förderereinstellung";
this.labelStaticRejectConveyor.Text = "Aussortierförderer";
@ -413,8 +421,6 @@ namespace INT99DC_7C.Forms
}
private void InitializeControl()
{
string value = "";
if (this.ParentForm.IsBootingComplete == false)
this.buttonProductNo.Text = "**";
else
@ -1256,12 +1262,20 @@ namespace INT99DC_7C.Forms
this.buttonTare.Text = value;
value = jItem.Sorter1DelayTime.ToString();
if (this.labelSorterDelayTime.Text != value)
this.labelSorterDelayTime.Text = value;
if (this.labelSorter1DelayTime.Text != value)
this.labelSorter1DelayTime.Text = value;
value = jItem.Sorter1RunTime.ToString();
if (this.labelSorterRunTime.Text != value)
this.labelSorterRunTime.Text = value;
if (this.labelSorter1RunTime.Text != value)
this.labelSorter1RunTime.Text = value;
value = jItem.Sorter2DelayTime.ToString();
if (this.labelSorter2DelayTime.Text != value)
this.labelSorter2DelayTime.Text = value;
value = jItem.Sorter2RunTime.ToString();
if (this.labelSorter2RunTime.Text != value)
this.labelSorter2RunTime.Text = value;
value = jItem.RejectConveyorDelayTime.ToString();
if (this.labelRejectConveyorDelayTime.Text != value)
@ -2592,7 +2606,7 @@ namespace INT99DC_7C.Forms
}
}
private void labelSorterDelayTime_Click(object sender, EventArgs e)
private void labelSorter1DelayTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
@ -2600,10 +2614,10 @@ namespace INT99DC_7C.Forms
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelSorterDelayTime.Text;
before = this.labelSorter1DelayTime.Text;
number = this.ParentForm.SystemConfig.ProductNumber.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorterDelayTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter1DelayTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -2615,21 +2629,21 @@ namespace INT99DC_7C.Forms
}
else
{
this.labelSorterDelayTime.Text = myKeyPad.StringValue;
this.labelSorter1DelayTime.Text = myKeyPad.StringValue;
this.ParentForm.CurrentJudgmentSetItem.Sorter1DelayTime = myKeyPad.IntValue;
after = myKeyPad.StringValue;
value = Helper.StringZeroFillDigits4(this.labelSorterDelayTime.Text);
value = Helper.StringZeroFillDigits4(this.labelSorter1DelayTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter1DelayTime, value);
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.SorterDelayTime, "", before, after);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1DelayTime, "", before, after);
}
}
}
private void labelSorterRunTime_Click(object sender, EventArgs e)
private void labelSorter1RunTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
@ -2637,10 +2651,10 @@ namespace INT99DC_7C.Forms
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelSorterRunTime.Text;
before = this.labelSorter1RunTime.Text;
number = this.ParentForm.SystemConfig.ProductNumber.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorterRunTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter1RunTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -2652,17 +2666,91 @@ namespace INT99DC_7C.Forms
}
else
{
this.labelSorterRunTime.Text = myKeyPad.StringValue;
this.labelSorter1RunTime.Text = myKeyPad.StringValue;
this.ParentForm.CurrentJudgmentSetItem.Sorter1RunTime = myKeyPad.IntValue;
after = myKeyPad.StringValue;
value = Helper.StringZeroFillDigits4(this.labelSorterRunTime.Text);
value = Helper.StringZeroFillDigits4(this.labelSorter1RunTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter1RunTime, value);
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.SorterRunTime, "", before, after);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1RunTime, "", before, after);
}
}
}
private void labelSorter2DelayTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelSorter2DelayTime.Text;
number = this.ParentForm.SystemConfig.ProductNumber.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter2DelayTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 9999)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
this.labelSorter2DelayTime.Text = myKeyPad.StringValue;
this.ParentForm.CurrentJudgmentSetItem.Sorter2DelayTime = myKeyPad.IntValue;
after = myKeyPad.StringValue;
value = Helper.StringZeroFillDigits4(this.labelSorter2DelayTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter2DelayTime, value);
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2DelayTime, "", before, after);
}
}
}
private void labelSorter2RunTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelSorter2RunTime.Text;
number = this.ParentForm.SystemConfig.ProductNumber.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter2RunTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 9999)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
this.labelSorter2RunTime.Text = myKeyPad.StringValue;
this.ParentForm.CurrentJudgmentSetItem.Sorter2RunTime = myKeyPad.IntValue;
after = myKeyPad.StringValue;
value = Helper.StringZeroFillDigits4(this.labelSorter2RunTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter2RunTime, value);
this.ParentForm.SaveJudgmentSetFile(this.ParentForm.CurrentJudgmentSetItem, this.ParentForm.SystemConfig.ProductNumber - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2RunTime, "", before, after);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -25,9 +25,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.InitializeControl();
}
#endregion
@ -577,6 +574,16 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.InitializeControl();
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{

View File

@ -28,10 +28,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.InitializeControl();
this.DefaultSetting();
}
#endregion
@ -331,6 +327,17 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.InitializeControl();
this.DefaultSetting();
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{

View File

@ -26,9 +26,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.DefaultSetting();
}
#endregion
@ -147,6 +144,16 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.DefaultSetting();
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{

View File

@ -65,11 +65,14 @@
this.listBoxProductList = new System.Windows.Forms.ListBox();
this.groupBoxJudgment = new SmartX.SmartGroupBox();
this.groupBoxSorterSetting = new SmartX.SmartGroupBox();
this.comboBoxExternalOutputMode = new System.Windows.Forms.ComboBox();
this.labelSorterRunTime = new SmartX.SmartLabel();
this.labelSorterDelayTime = new SmartX.SmartLabel();
this.labelStaticSorterDelayTime = new SmartX.SmartLabel();
this.labelStaticSorterRunTime = new SmartX.SmartLabel();
this.labelSorter2RunTime = new SmartX.SmartLabel();
this.labelSorter2DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter2DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter2RunTime = new SmartX.SmartLabel();
this.labelSorter1RunTime = new SmartX.SmartLabel();
this.labelSorter1DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter1DelayTime = new SmartX.SmartLabel();
this.labelStaticSorter1RunTime = new SmartX.SmartLabel();
this.groupBoxJudgmentSetting = new SmartX.SmartGroupBox();
this.labelDamperDelayTime = new SmartX.SmartLabel();
this.labelTitleDamperDelayTime = new SmartX.SmartLabel();
@ -88,6 +91,7 @@
this.labelWeightJudgment = new SmartX.SmartLabel();
this.labelWeightReference = new SmartX.SmartLabel();
this.smartDraw = new SmartX.SmartDraw();
this.comboBoxExternalOutputMode = new System.Windows.Forms.ComboBox();
this.labelImpellerDelayTime = new SmartX.SmartLabel();
this.labelTitleImpellerDelayTime = new SmartX.SmartLabel();
this.labelDynamicCorrection = new SmartX.SmartLabel();
@ -268,7 +272,7 @@
// comboBoxLane
//
this.comboBoxLane.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Bold);
this.comboBoxLane.Location = new System.Drawing.Point(32, 309);
this.comboBoxLane.Location = new System.Drawing.Point(44, 309);
this.comboBoxLane.Name = "comboBoxLane";
this.comboBoxLane.Size = new System.Drawing.Size(94, 43);
this.comboBoxLane.TabIndex = 152;
@ -839,7 +843,7 @@
this.groupBoxJudgment.Location = new System.Drawing.Point(476, 73);
this.groupBoxJudgment.Name = "groupBoxJudgment";
this.groupBoxJudgment.RoundRadius = 5;
this.groupBoxJudgment.Size = new System.Drawing.Size(535, 587);
this.groupBoxJudgment.Size = new System.Drawing.Size(548, 587);
this.groupBoxJudgment.TabIndex = 248;
this.groupBoxJudgment.Text = "판정설정";
this.groupBoxJudgment.TextColor = System.Drawing.Color.Black;
@ -848,11 +852,14 @@
//
this.groupBoxSorterSetting.BackPictureBox = this.smartForm1;
this.groupBoxSorterSetting.BackPictureBox1 = null;
this.groupBoxSorterSetting.Controls.Add(this.comboBoxExternalOutputMode);
this.groupBoxSorterSetting.Controls.Add(this.labelSorterRunTime);
this.groupBoxSorterSetting.Controls.Add(this.labelSorterDelayTime);
this.groupBoxSorterSetting.Controls.Add(this.labelStaticSorterDelayTime);
this.groupBoxSorterSetting.Controls.Add(this.labelStaticSorterRunTime);
this.groupBoxSorterSetting.Controls.Add(this.labelSorter2RunTime);
this.groupBoxSorterSetting.Controls.Add(this.labelSorter2DelayTime);
this.groupBoxSorterSetting.Controls.Add(this.labelStaticSorter2DelayTime);
this.groupBoxSorterSetting.Controls.Add(this.labelStaticSorter2RunTime);
this.groupBoxSorterSetting.Controls.Add(this.labelSorter1RunTime);
this.groupBoxSorterSetting.Controls.Add(this.labelSorter1DelayTime);
this.groupBoxSorterSetting.Controls.Add(this.labelStaticSorter1DelayTime);
this.groupBoxSorterSetting.Controls.Add(this.labelStaticSorter1RunTime);
this.groupBoxSorterSetting.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxSorterSetting.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxSorterSetting.FrameLineColor2 = System.Drawing.Color.Black;
@ -863,101 +870,174 @@
this.groupBoxSorterSetting.Location = new System.Drawing.Point(273, 361);
this.groupBoxSorterSetting.Name = "groupBoxSorterSetting";
this.groupBoxSorterSetting.RoundRadius = 5;
this.groupBoxSorterSetting.Size = new System.Drawing.Size(251, 212);
this.groupBoxSorterSetting.Size = new System.Drawing.Size(262, 212);
this.groupBoxSorterSetting.TabIndex = 174;
this.groupBoxSorterSetting.Text = "선별기설정";
this.groupBoxSorterSetting.TextColor = System.Drawing.Color.Black;
//
// comboBoxExternalOutputMode
// labelSorter2RunTime
//
this.comboBoxExternalOutputMode.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
this.comboBoxExternalOutputMode.Location = new System.Drawing.Point(30, 128);
this.comboBoxExternalOutputMode.Name = "comboBoxExternalOutputMode";
this.comboBoxExternalOutputMode.Size = new System.Drawing.Size(206, 26);
this.comboBoxExternalOutputMode.TabIndex = 109;
this.comboBoxExternalOutputMode.Visible = false;
this.labelSorter2RunTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter2RunTime.BackPictureBox = null;
this.labelSorter2RunTime.BackPictureBox1 = null;
this.labelSorter2RunTime.BackPictureBox2 = null;
this.labelSorter2RunTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter2RunTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter2RunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter2RunTime.InitVisible = true;
this.labelSorter2RunTime.LineSpacing = 0F;
this.labelSorter2RunTime.Location = new System.Drawing.Point(174, 146);
this.labelSorter2RunTime.Name = "labelSorter2RunTime";
this.labelSorter2RunTime.Size = new System.Drawing.Size(70, 30);
this.labelSorter2RunTime.TabIndex = 111;
this.labelSorter2RunTime.Text = "100";
this.labelSorter2RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter2RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter2RunTime.Wordwrap = false;
this.labelSorter2RunTime.Click += new System.EventHandler(this.labelSorter2RunTime_Click);
//
// labelSorterRunTime
// labelSorter2DelayTime
//
this.labelSorterRunTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorterRunTime.BackPictureBox = null;
this.labelSorterRunTime.BackPictureBox1 = null;
this.labelSorterRunTime.BackPictureBox2 = null;
this.labelSorterRunTime.BorderColor = System.Drawing.Color.Black;
this.labelSorterRunTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorterRunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorterRunTime.InitVisible = true;
this.labelSorterRunTime.LineSpacing = 0F;
this.labelSorterRunTime.Location = new System.Drawing.Point(146, 92);
this.labelSorterRunTime.Name = "labelSorterRunTime";
this.labelSorterRunTime.Size = new System.Drawing.Size(90, 30);
this.labelSorterRunTime.TabIndex = 108;
this.labelSorterRunTime.Text = "100";
this.labelSorterRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorterRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorterRunTime.Wordwrap = false;
this.labelSorterRunTime.Click += new System.EventHandler(this.labelSorterRunTime_Click);
this.labelSorter2DelayTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter2DelayTime.BackPictureBox = null;
this.labelSorter2DelayTime.BackPictureBox1 = null;
this.labelSorter2DelayTime.BackPictureBox2 = null;
this.labelSorter2DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter2DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter2DelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter2DelayTime.InitVisible = true;
this.labelSorter2DelayTime.LineSpacing = 0F;
this.labelSorter2DelayTime.Location = new System.Drawing.Point(174, 110);
this.labelSorter2DelayTime.Name = "labelSorter2DelayTime";
this.labelSorter2DelayTime.Size = new System.Drawing.Size(70, 30);
this.labelSorter2DelayTime.TabIndex = 112;
this.labelSorter2DelayTime.Text = "100";
this.labelSorter2DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter2DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter2DelayTime.Wordwrap = false;
this.labelSorter2DelayTime.Click += new System.EventHandler(this.labelSorter2DelayTime_Click);
//
// labelSorterDelayTime
// labelStaticSorter2DelayTime
//
this.labelSorterDelayTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorterDelayTime.BackPictureBox = null;
this.labelSorterDelayTime.BackPictureBox1 = null;
this.labelSorterDelayTime.BackPictureBox2 = null;
this.labelSorterDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelSorterDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorterDelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorterDelayTime.InitVisible = true;
this.labelSorterDelayTime.LineSpacing = 0F;
this.labelSorterDelayTime.Location = new System.Drawing.Point(146, 56);
this.labelSorterDelayTime.Name = "labelSorterDelayTime";
this.labelSorterDelayTime.Size = new System.Drawing.Size(90, 30);
this.labelSorterDelayTime.TabIndex = 108;
this.labelSorterDelayTime.Text = "100";
this.labelSorterDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorterDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorterDelayTime.Wordwrap = false;
this.labelSorterDelayTime.Click += new System.EventHandler(this.labelSorterDelayTime_Click);
this.labelStaticSorter2DelayTime.BackPictureBox = this.smartForm1;
this.labelStaticSorter2DelayTime.BackPictureBox1 = null;
this.labelStaticSorter2DelayTime.BackPictureBox2 = null;
this.labelStaticSorter2DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2DelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter2DelayTime.InitVisible = true;
this.labelStaticSorter2DelayTime.LineSpacing = 0F;
this.labelStaticSorter2DelayTime.Location = new System.Drawing.Point(18, 110);
this.labelStaticSorter2DelayTime.Name = "labelStaticSorter2DelayTime";
this.labelStaticSorter2DelayTime.Size = new System.Drawing.Size(150, 30);
this.labelStaticSorter2DelayTime.TabIndex = 109;
this.labelStaticSorter2DelayTime.Text = "선별2 지연";
this.labelStaticSorter2DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter2DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter2DelayTime.Wordwrap = false;
//
// labelStaticSorterDelayTime
// labelStaticSorter2RunTime
//
this.labelStaticSorterDelayTime.BackPictureBox = this.smartForm1;
this.labelStaticSorterDelayTime.BackPictureBox1 = null;
this.labelStaticSorterDelayTime.BackPictureBox2 = null;
this.labelStaticSorterDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterDelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterDelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorterDelayTime.InitVisible = true;
this.labelStaticSorterDelayTime.LineSpacing = 0F;
this.labelStaticSorterDelayTime.Location = new System.Drawing.Point(15, 56);
this.labelStaticSorterDelayTime.Name = "labelStaticSorterDelayTime";
this.labelStaticSorterDelayTime.Size = new System.Drawing.Size(125, 30);
this.labelStaticSorterDelayTime.TabIndex = 107;
this.labelStaticSorterDelayTime.Text = "지연시간";
this.labelStaticSorterDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorterDelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorterDelayTime.Wordwrap = false;
this.labelStaticSorter2RunTime.BackPictureBox = this.smartForm1;
this.labelStaticSorter2RunTime.BackPictureBox1 = null;
this.labelStaticSorter2RunTime.BackPictureBox2 = null;
this.labelStaticSorter2RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter2RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter2RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter2RunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter2RunTime.InitVisible = true;
this.labelStaticSorter2RunTime.LineSpacing = 0F;
this.labelStaticSorter2RunTime.Location = new System.Drawing.Point(18, 146);
this.labelStaticSorter2RunTime.Name = "labelStaticSorter2RunTime";
this.labelStaticSorter2RunTime.Size = new System.Drawing.Size(150, 30);
this.labelStaticSorter2RunTime.TabIndex = 110;
this.labelStaticSorter2RunTime.Text = "선별2 동작";
this.labelStaticSorter2RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter2RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter2RunTime.Wordwrap = false;
//
// labelStaticSorterRunTime
// labelSorter1RunTime
//
this.labelStaticSorterRunTime.BackPictureBox = this.smartForm1;
this.labelStaticSorterRunTime.BackPictureBox1 = null;
this.labelStaticSorterRunTime.BackPictureBox2 = null;
this.labelStaticSorterRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterRunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterRunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorterRunTime.InitVisible = true;
this.labelStaticSorterRunTime.LineSpacing = 0F;
this.labelStaticSorterRunTime.Location = new System.Drawing.Point(15, 92);
this.labelStaticSorterRunTime.Name = "labelStaticSorterRunTime";
this.labelStaticSorterRunTime.Size = new System.Drawing.Size(125, 30);
this.labelStaticSorterRunTime.TabIndex = 107;
this.labelStaticSorterRunTime.Text = "동작시간";
this.labelStaticSorterRunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorterRunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorterRunTime.Wordwrap = false;
this.labelSorter1RunTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter1RunTime.BackPictureBox = null;
this.labelSorter1RunTime.BackPictureBox1 = null;
this.labelSorter1RunTime.BackPictureBox2 = null;
this.labelSorter1RunTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter1RunTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter1RunTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter1RunTime.InitVisible = true;
this.labelSorter1RunTime.LineSpacing = 0F;
this.labelSorter1RunTime.Location = new System.Drawing.Point(174, 74);
this.labelSorter1RunTime.Name = "labelSorter1RunTime";
this.labelSorter1RunTime.Size = new System.Drawing.Size(70, 30);
this.labelSorter1RunTime.TabIndex = 108;
this.labelSorter1RunTime.Text = "100";
this.labelSorter1RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter1RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter1RunTime.Wordwrap = false;
this.labelSorter1RunTime.Click += new System.EventHandler(this.labelSorter1RunTime_Click);
//
// labelSorter1DelayTime
//
this.labelSorter1DelayTime.BackColor = System.Drawing.SystemColors.Window;
this.labelSorter1DelayTime.BackPictureBox = null;
this.labelSorter1DelayTime.BackPictureBox1 = null;
this.labelSorter1DelayTime.BackPictureBox2 = null;
this.labelSorter1DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelSorter1DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelSorter1DelayTime.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelSorter1DelayTime.InitVisible = true;
this.labelSorter1DelayTime.LineSpacing = 0F;
this.labelSorter1DelayTime.Location = new System.Drawing.Point(174, 38);
this.labelSorter1DelayTime.Name = "labelSorter1DelayTime";
this.labelSorter1DelayTime.Size = new System.Drawing.Size(70, 30);
this.labelSorter1DelayTime.TabIndex = 108;
this.labelSorter1DelayTime.Text = "100";
this.labelSorter1DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelSorter1DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelSorter1DelayTime.Wordwrap = false;
this.labelSorter1DelayTime.Click += new System.EventHandler(this.labelSorter1DelayTime_Click);
//
// labelStaticSorter1DelayTime
//
this.labelStaticSorter1DelayTime.BackPictureBox = this.smartForm1;
this.labelStaticSorter1DelayTime.BackPictureBox1 = null;
this.labelStaticSorter1DelayTime.BackPictureBox2 = null;
this.labelStaticSorter1DelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1DelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1DelayTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1DelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter1DelayTime.InitVisible = true;
this.labelStaticSorter1DelayTime.LineSpacing = 0F;
this.labelStaticSorter1DelayTime.Location = new System.Drawing.Point(18, 38);
this.labelStaticSorter1DelayTime.Name = "labelStaticSorter1DelayTime";
this.labelStaticSorter1DelayTime.Size = new System.Drawing.Size(150, 30);
this.labelStaticSorter1DelayTime.TabIndex = 107;
this.labelStaticSorter1DelayTime.Text = "선별1 지연";
this.labelStaticSorter1DelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter1DelayTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter1DelayTime.Wordwrap = false;
//
// labelStaticSorter1RunTime
//
this.labelStaticSorter1RunTime.BackPictureBox = this.smartForm1;
this.labelStaticSorter1RunTime.BackPictureBox1 = null;
this.labelStaticSorter1RunTime.BackPictureBox2 = null;
this.labelStaticSorter1RunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorter1RunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorter1RunTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticSorter1RunTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticSorter1RunTime.InitVisible = true;
this.labelStaticSorter1RunTime.LineSpacing = 0F;
this.labelStaticSorter1RunTime.Location = new System.Drawing.Point(18, 74);
this.labelStaticSorter1RunTime.Name = "labelStaticSorter1RunTime";
this.labelStaticSorter1RunTime.Size = new System.Drawing.Size(150, 30);
this.labelStaticSorter1RunTime.TabIndex = 107;
this.labelStaticSorter1RunTime.Text = "선별1 동작";
this.labelStaticSorter1RunTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStaticSorter1RunTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticSorter1RunTime.Wordwrap = false;
//
// groupBoxJudgmentSetting
//
@ -996,7 +1076,7 @@
this.labelDamperDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelDamperDelayTime.InitVisible = true;
this.labelDamperDelayTime.LineSpacing = 0F;
this.labelDamperDelayTime.Location = new System.Drawing.Point(186, 92);
this.labelDamperDelayTime.Location = new System.Drawing.Point(186, 109);
this.labelDamperDelayTime.Name = "labelDamperDelayTime";
this.labelDamperDelayTime.Size = new System.Drawing.Size(70, 30);
this.labelDamperDelayTime.TabIndex = 110;
@ -1017,7 +1097,7 @@
this.labelTitleDamperDelayTime.ForeColor = System.Drawing.Color.Black;
this.labelTitleDamperDelayTime.InitVisible = true;
this.labelTitleDamperDelayTime.LineSpacing = 0F;
this.labelTitleDamperDelayTime.Location = new System.Drawing.Point(15, 92);
this.labelTitleDamperDelayTime.Location = new System.Drawing.Point(15, 109);
this.labelTitleDamperDelayTime.Name = "labelTitleDamperDelayTime";
this.labelTitleDamperDelayTime.Size = new System.Drawing.Size(165, 30);
this.labelTitleDamperDelayTime.TabIndex = 109;
@ -1037,7 +1117,7 @@
this.labelJudgmentCount.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelJudgmentCount.InitVisible = true;
this.labelJudgmentCount.LineSpacing = 0F;
this.labelJudgmentCount.Location = new System.Drawing.Point(186, 128);
this.labelJudgmentCount.Location = new System.Drawing.Point(186, 145);
this.labelJudgmentCount.Name = "labelJudgmentCount";
this.labelJudgmentCount.Size = new System.Drawing.Size(70, 30);
this.labelJudgmentCount.TabIndex = 108;
@ -1058,7 +1138,7 @@
this.labelJudgmentDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelJudgmentDelayTime.InitVisible = true;
this.labelJudgmentDelayTime.LineSpacing = 0F;
this.labelJudgmentDelayTime.Location = new System.Drawing.Point(186, 56);
this.labelJudgmentDelayTime.Location = new System.Drawing.Point(186, 73);
this.labelJudgmentDelayTime.Name = "labelJudgmentDelayTime";
this.labelJudgmentDelayTime.Size = new System.Drawing.Size(70, 30);
this.labelJudgmentDelayTime.TabIndex = 108;
@ -1079,7 +1159,7 @@
this.labelFilter.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelFilter.InitVisible = true;
this.labelFilter.LineSpacing = 0F;
this.labelFilter.Location = new System.Drawing.Point(186, 20);
this.labelFilter.Location = new System.Drawing.Point(186, 37);
this.labelFilter.Name = "labelFilter";
this.labelFilter.Size = new System.Drawing.Size(70, 30);
this.labelFilter.TabIndex = 108;
@ -1100,7 +1180,7 @@
this.labelStaticJudgmentCount.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgmentCount.InitVisible = true;
this.labelStaticJudgmentCount.LineSpacing = 0F;
this.labelStaticJudgmentCount.Location = new System.Drawing.Point(15, 128);
this.labelStaticJudgmentCount.Location = new System.Drawing.Point(15, 145);
this.labelStaticJudgmentCount.Name = "labelStaticJudgmentCount";
this.labelStaticJudgmentCount.Size = new System.Drawing.Size(165, 30);
this.labelStaticJudgmentCount.TabIndex = 107;
@ -1120,7 +1200,7 @@
this.labelStaticJudgmentDelayTime.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgmentDelayTime.InitVisible = true;
this.labelStaticJudgmentDelayTime.LineSpacing = 0F;
this.labelStaticJudgmentDelayTime.Location = new System.Drawing.Point(15, 56);
this.labelStaticJudgmentDelayTime.Location = new System.Drawing.Point(15, 73);
this.labelStaticJudgmentDelayTime.Name = "labelStaticJudgmentDelayTime";
this.labelStaticJudgmentDelayTime.Size = new System.Drawing.Size(165, 30);
this.labelStaticJudgmentDelayTime.TabIndex = 107;
@ -1140,7 +1220,7 @@
this.labelStaticFilter.ForeColor = System.Drawing.Color.Black;
this.labelStaticFilter.InitVisible = true;
this.labelStaticFilter.LineSpacing = 0F;
this.labelStaticFilter.Location = new System.Drawing.Point(15, 20);
this.labelStaticFilter.Location = new System.Drawing.Point(15, 37);
this.labelStaticFilter.Name = "labelStaticFilter";
this.labelStaticFilter.Size = new System.Drawing.Size(165, 30);
this.labelStaticFilter.TabIndex = 107;
@ -1160,7 +1240,7 @@
this.smartLabel33.ForeColor = System.Drawing.Color.Black;
this.smartLabel33.InitVisible = true;
this.smartLabel33.LineSpacing = 0F;
this.smartLabel33.Location = new System.Drawing.Point(412, 309);
this.smartLabel33.Location = new System.Drawing.Point(424, 309);
this.smartLabel33.Name = "smartLabel33";
this.smartLabel33.Size = new System.Drawing.Size(80, 20);
this.smartLabel33.TabIndex = 170;
@ -1180,7 +1260,7 @@
this.labelWeightValue.ForeColor = System.Drawing.Color.Black;
this.labelWeightValue.InitVisible = true;
this.labelWeightValue.LineSpacing = 0F;
this.labelWeightValue.Location = new System.Drawing.Point(412, 335);
this.labelWeightValue.Location = new System.Drawing.Point(424, 335);
this.labelWeightValue.Name = "labelWeightValue";
this.labelWeightValue.Size = new System.Drawing.Size(80, 20);
this.labelWeightValue.TabIndex = 169;
@ -1202,7 +1282,7 @@
this.buttonWeightReference.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.buttonWeightReference.GroupID = 0;
this.buttonWeightReference.InitVisible = true;
this.buttonWeightReference.Location = new System.Drawing.Point(132, 309);
this.buttonWeightReference.Location = new System.Drawing.Point(144, 309);
this.buttonWeightReference.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonWeightReference.Name = "buttonWeightReference";
this.buttonWeightReference.NestedClickEventPrevent = false;
@ -1233,7 +1313,7 @@
this.smartLabel32.ForeColor = System.Drawing.Color.Black;
this.smartLabel32.InitVisible = true;
this.smartLabel32.LineSpacing = 0F;
this.smartLabel32.Location = new System.Drawing.Point(326, 309);
this.smartLabel32.Location = new System.Drawing.Point(338, 309);
this.smartLabel32.Name = "smartLabel32";
this.smartLabel32.Size = new System.Drawing.Size(80, 20);
this.smartLabel32.TabIndex = 171;
@ -1253,7 +1333,7 @@
this.labelADCValue.ForeColor = System.Drawing.Color.Black;
this.labelADCValue.InitVisible = true;
this.labelADCValue.LineSpacing = 0F;
this.labelADCValue.Location = new System.Drawing.Point(326, 335);
this.labelADCValue.Location = new System.Drawing.Point(338, 335);
this.labelADCValue.Name = "labelADCValue";
this.labelADCValue.Size = new System.Drawing.Size(80, 20);
this.labelADCValue.TabIndex = 166;
@ -1273,7 +1353,7 @@
this.labelStaticJudgment.ForeColor = System.Drawing.Color.Black;
this.labelStaticJudgment.InitVisible = true;
this.labelStaticJudgment.LineSpacing = 0F;
this.labelStaticJudgment.Location = new System.Drawing.Point(218, 309);
this.labelStaticJudgment.Location = new System.Drawing.Point(230, 309);
this.labelStaticJudgment.Name = "labelStaticJudgment";
this.labelStaticJudgment.Size = new System.Drawing.Size(80, 20);
this.labelStaticJudgment.TabIndex = 165;
@ -1293,7 +1373,7 @@
this.labelWeightJudgment.ForeColor = System.Drawing.Color.Black;
this.labelWeightJudgment.InitVisible = true;
this.labelWeightJudgment.LineSpacing = 0F;
this.labelWeightJudgment.Location = new System.Drawing.Point(218, 335);
this.labelWeightJudgment.Location = new System.Drawing.Point(230, 335);
this.labelWeightJudgment.Name = "labelWeightJudgment";
this.labelWeightJudgment.Size = new System.Drawing.Size(80, 20);
this.labelWeightJudgment.TabIndex = 168;
@ -1313,7 +1393,7 @@
this.labelWeightReference.ForeColor = System.Drawing.Color.Black;
this.labelWeightReference.InitVisible = true;
this.labelWeightReference.LineSpacing = 0F;
this.labelWeightReference.Location = new System.Drawing.Point(133, 335);
this.labelWeightReference.Location = new System.Drawing.Point(145, 335);
this.labelWeightReference.Name = "labelWeightReference";
this.labelWeightReference.Size = new System.Drawing.Size(80, 20);
this.labelWeightReference.TabIndex = 167;
@ -1332,7 +1412,7 @@
this.smartDraw.ChartDrawStep = 1;
this.smartDraw.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT;
this.smartDraw.InitVisible = true;
this.smartDraw.Location = new System.Drawing.Point(32, 23);
this.smartDraw.Location = new System.Drawing.Point(44, 23);
this.smartDraw.Name = "smartDraw";
this.smartDraw.SetBackimage = null;
this.smartDraw.SetBackImageAutoSize = true;
@ -1340,6 +1420,15 @@
this.smartDraw.TabIndex = 164;
this.smartDraw.Text = "smartDraw2";
//
// comboBoxExternalOutputMode
//
this.comboBoxExternalOutputMode.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
this.comboBoxExternalOutputMode.Location = new System.Drawing.Point(712, 670);
this.comboBoxExternalOutputMode.Name = "comboBoxExternalOutputMode";
this.comboBoxExternalOutputMode.Size = new System.Drawing.Size(206, 26);
this.comboBoxExternalOutputMode.TabIndex = 109;
this.comboBoxExternalOutputMode.Visible = false;
//
// labelImpellerDelayTime
//
this.labelImpellerDelayTime.BackColor = System.Drawing.SystemColors.Window;
@ -1468,6 +1557,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(1024, 768);
this.Controls.Add(this.comboBoxExternalOutputMode);
this.Controls.Add(this.labelDynamicCorrection);
this.Controls.Add(this.labelImpellerDelayTime);
this.Controls.Add(this.smartKeyboard);
@ -1531,10 +1621,10 @@
private SmartX.SmartGroupBox groupBoxJudgment;
private SmartX.SmartGroupBox groupBoxSorterSetting;
private System.Windows.Forms.ComboBox comboBoxExternalOutputMode;
public SmartX.SmartLabel labelSorterRunTime;
public SmartX.SmartLabel labelSorterDelayTime;
private SmartX.SmartLabel labelStaticSorterDelayTime;
private SmartX.SmartLabel labelStaticSorterRunTime;
public SmartX.SmartLabel labelSorter1RunTime;
public SmartX.SmartLabel labelSorter1DelayTime;
private SmartX.SmartLabel labelStaticSorter1DelayTime;
private SmartX.SmartLabel labelStaticSorter1RunTime;
private SmartX.SmartGroupBox groupBoxJudgmentSetting;
public SmartX.SmartLabel labelDynamicCorrection;
public SmartX.SmartLabel labelJudgmentCount;
@ -1562,5 +1652,9 @@
private SmartX.SmartLabel labelTitleImpellerDelayTime;
public SmartX.SmartLabel labelDamperDelayTime;
private SmartX.SmartLabel labelTitleDamperDelayTime;
public SmartX.SmartLabel labelSorter2RunTime;
public SmartX.SmartLabel labelSorter2DelayTime;
private SmartX.SmartLabel labelStaticSorter2DelayTime;
private SmartX.SmartLabel labelStaticSorter2RunTime;
}
}

View File

@ -35,9 +35,6 @@ namespace INT99DC_7C.Forms
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.DefaultSetting();
}
#endregion
@ -53,6 +50,7 @@ namespace INT99DC_7C.Forms
private void InitializeDesign()
{
ImageDll images = new ImageDll();
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
{
@ -73,8 +71,10 @@ namespace INT99DC_7C.Forms
this.labelStaticDynamic.Text = "Dynamic";
this.groupBoxSorterSetting.Text = "Sorter settings";
this.labelStaticSorterDelayTime.Text = "Delay";
this.labelStaticSorterRunTime.Text = "Run";
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
this.groupBoxConveyor.Text = "Conveyor settings";
this.labelStaticRejectConveyor.Text = "Reject conveyor";
@ -119,8 +119,10 @@ namespace INT99DC_7C.Forms
this.labelStaticDynamic.Text = "动态校正";
this.groupBoxSorterSetting.Text = "筛选设定";
this.labelStaticSorterDelayTime.Text = "延迟时间";
this.labelStaticSorterRunTime.Text = "运行时间";
this.labelStaticSorter1DelayTime.Text = "分类机1 延迟时间";
this.labelStaticSorter1RunTime.Text = "分类机1 运行时间";
this.labelStaticSorter2DelayTime.Text = "分类机2 延迟时间";
this.labelStaticSorter2RunTime.Text = "分类机2 运行时间";
this.groupBoxConveyor.Text = "输送带设置";
this.labelStaticRejectConveyor.Text = "筛选输送带";
@ -174,8 +176,14 @@ namespace INT99DC_7C.Forms
this.labelStaticDynamic.Text = "Dynamická korekce";
this.groupBoxSorterSetting.Text = "Nastavení vyřazování";
this.labelStaticSorterDelayTime.Text = "Zpoždění ";
this.labelStaticSorterRunTime.Text = "Čas chodu";
this.labelStaticSorter1DelayTime.Font = font;
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
this.labelStaticSorter1RunTime.Font = font;
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
this.labelStaticSorter2DelayTime.Font = font;
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
this.labelStaticSorter2RunTime.Font = font;
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
this.labelTitleDamperDelayTime.Text = "Zpoždění klapky";
this.groupBoxConveyor.Text = "Nastavení dopravníku";
@ -228,8 +236,14 @@ namespace INT99DC_7C.Forms
this.labelStaticDynamic.Text = "Dynamische Konstante";
this.groupBoxSorterSetting.Text = "Sortierereinstellung";
this.labelStaticSorterDelayTime.Text = "Vezögerung";
this.labelStaticSorterRunTime.Text = "Laufzeit";
this.labelStaticSorter1DelayTime.Font = font;
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
this.labelStaticSorter1RunTime.Font = font;
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
this.labelStaticSorter2DelayTime.Font = font;
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
this.labelStaticSorter2RunTime.Font = font;
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
this.groupBoxConveyor.Text = "Förderereinstellung";
this.labelStaticRejectConveyor.Text = "Aussortierförderer";
@ -287,8 +301,10 @@ namespace INT99DC_7C.Forms
this.labelDamperDelayTime.Text = "-";
this.labelJudgmentCount.Text = "-";
this.labelDynamicCorrection.Text = "-";
this.labelSorterDelayTime.Text = "-";
this.labelSorterRunTime.Text = "-";
this.labelSorter1DelayTime.Text = "-";
this.labelSorter1RunTime.Text = "-";
this.labelSorter2DelayTime.Text = "-";
this.labelSorter2RunTime.Text = "-";
this.labelRejectConveyorDelayTime.Text = "-";
this.labelRejectConveyorRunTime.Text = "-";
this.labelFeedingConveyorDelayTime.Text = "-";
@ -678,12 +694,20 @@ namespace INT99DC_7C.Forms
this.labelDynamicCorrection.Text = sValue;
sValue = item.Sorter1DelayTime.ToString();
if (this.labelSorterDelayTime.Text != sValue)
this.labelSorterDelayTime.Text = sValue;
if (this.labelSorter1DelayTime.Text != sValue)
this.labelSorter1DelayTime.Text = sValue;
sValue = item.Sorter1RunTime.ToString();
if (this.labelSorterRunTime.Text != sValue)
this.labelSorterRunTime.Text = sValue;
if (this.labelSorter1RunTime.Text != sValue)
this.labelSorter1RunTime.Text = sValue;
sValue = item.Sorter2DelayTime.ToString();
if (this.labelSorter2DelayTime.Text != sValue)
this.labelSorter2DelayTime.Text = sValue;
sValue = item.Sorter2RunTime.ToString();
if (this.labelSorter2RunTime.Text != sValue)
this.labelSorter2RunTime.Text = sValue;
sValue = item.RejectConveyorDelayTime.ToString();
if (this.labelRejectConveyorDelayTime.Text != sValue)
@ -706,6 +730,17 @@ namespace INT99DC_7C.Forms
#endregion
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
this.InitializeControl();
this.DefaultSetting();
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{
@ -1237,14 +1272,14 @@ namespace INT99DC_7C.Forms
}
}
private void labelSorterDelayTime_Click(object sender, EventArgs e)
private void labelSorter1DelayTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
before = this.labelSorterDelayTime.Text;
before = this.labelSorter1DelayTime.Text;
number = this.SelectedProductNo.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorterDelayTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter1DelayTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1256,29 +1291,29 @@ namespace INT99DC_7C.Forms
}
else
{
this.labelSorterDelayTime.Text = myKeyPad.StringValue;
this.labelSorter1DelayTime.Text = myKeyPad.StringValue;
this.SelectedJudgmentSetItem.Sorter1DelayTime = myKeyPad.IntValue;
after = this.labelSorterDelayTime.Text;
after = this.labelSorter1DelayTime.Text;
value = Helper.StringZeroFillDigits4(this.labelSorterDelayTime.Text);
value = Helper.StringZeroFillDigits4(this.labelSorter1DelayTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter1DelayTime, value);
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.SorterDelayTime, number, before, after);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1DelayTime, number, before, after);
}
}
}
private void labelSorterRunTime_Click(object sender, EventArgs e)
private void labelSorter1RunTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
before = this.labelSorterRunTime.Text;
before = this.labelSorter1RunTime.Text;
number = this.SelectedProductNo.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorterRunTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter1RunTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1290,18 +1325,86 @@ namespace INT99DC_7C.Forms
}
else
{
this.labelSorterRunTime.Text = myKeyPad.StringValue;
this.labelSorter1RunTime.Text = myKeyPad.StringValue;
this.SelectedJudgmentSetItem.Sorter1RunTime = myKeyPad.IntValue;
after = this.labelSorterRunTime.Text;
after = this.labelSorter1RunTime.Text;
value = Helper.StringZeroFillDigits4(this.labelSorterRunTime.Text);
value = Helper.StringZeroFillDigits4(this.labelSorter1RunTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter1RunTime, value);
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.SorterRunTime, number, before, after);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter1RunTime, number, before, after);
}
}
}
private void labelSorter2DelayTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
before = this.labelSorter2DelayTime.Text;
number = this.SelectedProductNo.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter2DelayTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 9999)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
this.labelSorter2DelayTime.Text = myKeyPad.StringValue;
this.SelectedJudgmentSetItem.Sorter2DelayTime = myKeyPad.IntValue;
after = this.labelSorter2DelayTime.Text;
value = Helper.StringZeroFillDigits4(this.labelSorter2DelayTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter2DelayTime, value);
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2DelayTime, number, before, after);
}
}
}
private void labelSorter2RunTime_Click(object sender, EventArgs e)
{
string value = "", before = "", after = "", number = "";
before = this.labelSorter2RunTime.Text;
number = this.SelectedProductNo.ToString();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelSorter2RunTime.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 0 || myKeyPad.doubleValue > 9999)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
this.labelSorter2RunTime.Text = myKeyPad.StringValue;
this.SelectedJudgmentSetItem.Sorter2RunTime = myKeyPad.IntValue;
after = this.labelSorter2RunTime.Text;
value = Helper.StringZeroFillDigits4(this.labelSorter2RunTime.Text);
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress.Sorter2RunTime, value);
this.ParentForm.SaveJudgmentSetFile(this.SelectedJudgmentSetItem, this.SelectedProductNo - 1);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Sorter2RunTime, number, before, after);
}
}
}
@ -1562,7 +1665,6 @@ namespace INT99DC_7C.Forms
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.ProductCopy, this.buttonCopy.Text);
}
private void buttonPaste_Click(object sender, EventArgs e)
{
if (this.buttonCopy.Text == "00")
@ -1602,7 +1704,6 @@ namespace INT99DC_7C.Forms
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.ProductPaste, this.SelectedProductNo.ToString());
}
private void buttonPasteAll_Click(object sender, EventArgs e)
{
string fullFilePath = "";
@ -1732,6 +1833,7 @@ namespace INT99DC_7C.Forms
this.smartDraw.PutData(0);
}
#endregion
#endregion
}
}

View File

@ -26,8 +26,6 @@ namespace INT99DC_7C.Forms
this.ParentForm = parent;
this.TimerForTimeSetting.Enabled = true;
this.InitializeDesign();
}
#endregion
@ -127,6 +125,15 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
}
#endregion
#region Event Handler
private void buttonTimeSetting_Click(object sender, EventArgs e)
{

View File

@ -1048,6 +1048,13 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{

View File

@ -412,6 +412,13 @@ namespace INT99DC_7C.Forms
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{

View File

@ -14,6 +14,13 @@
멀티형 8,10,12열 튜브스틱 계량기
*/
@ Ver 4.1.0 by LSJ
- 2025.07.21
- Ver 4.0.0 Modify
- Framework : SmartX Framework V3.2.4(update: 2021.01.20)
- Sorter2 Delay, Run 파라미터 추가 (바이킹마섹 NG 신호 관련 추가함)
3~6열 프로그램에는 적용되어 있는 내용임
@ Ver 4.0.0 by LSJ
- 2025.06.02
- Ver 3.5.3 Modify