- 판정설정
1. 필터, 이동평균 -> 엔지니어 메뉴로 2. 동보정 추가 - 초기화 시 판정설정 값 이상 버그 수정 - 엔지니어 모드 진입 시 비밀번호 추가(MMdd0810)master
parent
2d07ddd60e
commit
e2e0531925
|
@ -30,6 +30,10 @@
|
|||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlCenterEquipEngineer));
|
||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||
this.labelMovingAverage = new SmartX.SmartLabel();
|
||||
this.labelTitleMovingAverage = new SmartX.SmartLabel();
|
||||
this.labelFilter = new SmartX.SmartLabel();
|
||||
this.labelTitleFilter = new SmartX.SmartLabel();
|
||||
this.labelConveyorLength = new SmartX.SmartLabel();
|
||||
this.labelTitleConveyorLength = new SmartX.SmartLabel();
|
||||
this.comboBoxStatisticsPrintFormat = new System.Windows.Forms.ComboBox();
|
||||
|
@ -57,6 +61,10 @@
|
|||
this.smartGroupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46)))));
|
||||
this.smartGroupBox1.BackPictureBox = null;
|
||||
this.smartGroupBox1.BackPictureBox1 = null;
|
||||
this.smartGroupBox1.Controls.Add(this.labelMovingAverage);
|
||||
this.smartGroupBox1.Controls.Add(this.labelTitleMovingAverage);
|
||||
this.smartGroupBox1.Controls.Add(this.labelFilter);
|
||||
this.smartGroupBox1.Controls.Add(this.labelTitleFilter);
|
||||
this.smartGroupBox1.Controls.Add(this.labelConveyorLength);
|
||||
this.smartGroupBox1.Controls.Add(this.labelTitleConveyorLength);
|
||||
this.smartGroupBox1.Controls.Add(this.comboBoxStatisticsPrintFormat);
|
||||
|
@ -89,6 +97,86 @@
|
|||
this.smartGroupBox1.TabIndex = 3;
|
||||
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
|
||||
//
|
||||
// labelMovingAverage
|
||||
//
|
||||
this.labelMovingAverage.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.labelMovingAverage.BackPictureBox = null;
|
||||
this.labelMovingAverage.BackPictureBox1 = null;
|
||||
this.labelMovingAverage.BackPictureBox2 = null;
|
||||
this.labelMovingAverage.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelMovingAverage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.labelMovingAverage.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.labelMovingAverage.InitVisible = true;
|
||||
this.labelMovingAverage.LineSpacing = 0F;
|
||||
this.labelMovingAverage.Location = new System.Drawing.Point(381, 184);
|
||||
this.labelMovingAverage.Name = "labelMovingAverage";
|
||||
this.labelMovingAverage.Size = new System.Drawing.Size(120, 28);
|
||||
this.labelMovingAverage.TabIndex = 212;
|
||||
this.labelMovingAverage.Text = "100";
|
||||
this.labelMovingAverage.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.labelMovingAverage.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMovingAverage.Wordwrap = true;
|
||||
this.labelMovingAverage.Click += new System.EventHandler(this.labelMovingAverage_Click);
|
||||
//
|
||||
// labelTitleMovingAverage
|
||||
//
|
||||
this.labelTitleMovingAverage.BackPictureBox1 = null;
|
||||
this.labelTitleMovingAverage.BackPictureBox2 = this.smartGroupBox1;
|
||||
this.labelTitleMovingAverage.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleMovingAverage.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.labelTitleMovingAverage.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.labelTitleMovingAverage.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleMovingAverage.InitVisible = true;
|
||||
this.labelTitleMovingAverage.LineSpacing = 0F;
|
||||
this.labelTitleMovingAverage.Location = new System.Drawing.Point(115, 184);
|
||||
this.labelTitleMovingAverage.Name = "labelTitleMovingAverage";
|
||||
this.labelTitleMovingAverage.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleMovingAverage.TabIndex = 211;
|
||||
this.labelTitleMovingAverage.Text = "이동평균";
|
||||
this.labelTitleMovingAverage.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.labelTitleMovingAverage.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelTitleMovingAverage.Wordwrap = true;
|
||||
//
|
||||
// labelFilter
|
||||
//
|
||||
this.labelFilter.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.labelFilter.BackPictureBox = null;
|
||||
this.labelFilter.BackPictureBox1 = null;
|
||||
this.labelFilter.BackPictureBox2 = null;
|
||||
this.labelFilter.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelFilter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.labelFilter.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.labelFilter.InitVisible = true;
|
||||
this.labelFilter.LineSpacing = 0F;
|
||||
this.labelFilter.Location = new System.Drawing.Point(381, 150);
|
||||
this.labelFilter.Name = "labelFilter";
|
||||
this.labelFilter.Size = new System.Drawing.Size(120, 28);
|
||||
this.labelFilter.TabIndex = 210;
|
||||
this.labelFilter.Text = "100";
|
||||
this.labelFilter.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.labelFilter.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelFilter.Wordwrap = true;
|
||||
this.labelFilter.Click += new System.EventHandler(this.labelFilter_Click);
|
||||
//
|
||||
// labelTitleFilter
|
||||
//
|
||||
this.labelTitleFilter.BackPictureBox1 = null;
|
||||
this.labelTitleFilter.BackPictureBox2 = this.smartGroupBox1;
|
||||
this.labelTitleFilter.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleFilter.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.labelTitleFilter.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.labelTitleFilter.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleFilter.InitVisible = true;
|
||||
this.labelTitleFilter.LineSpacing = 0F;
|
||||
this.labelTitleFilter.Location = new System.Drawing.Point(115, 150);
|
||||
this.labelTitleFilter.Name = "labelTitleFilter";
|
||||
this.labelTitleFilter.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleFilter.TabIndex = 209;
|
||||
this.labelTitleFilter.Text = "필터";
|
||||
this.labelTitleFilter.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.labelTitleFilter.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelTitleFilter.Wordwrap = true;
|
||||
//
|
||||
// labelConveyorLength
|
||||
//
|
||||
this.labelConveyorLength.BackColor = System.Drawing.SystemColors.Window;
|
||||
|
@ -100,7 +188,7 @@
|
|||
this.labelConveyorLength.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.labelConveyorLength.InitVisible = true;
|
||||
this.labelConveyorLength.LineSpacing = 0F;
|
||||
this.labelConveyorLength.Location = new System.Drawing.Point(381, 129);
|
||||
this.labelConveyorLength.Location = new System.Drawing.Point(381, 98);
|
||||
this.labelConveyorLength.Name = "labelConveyorLength";
|
||||
this.labelConveyorLength.Size = new System.Drawing.Size(120, 28);
|
||||
this.labelConveyorLength.TabIndex = 208;
|
||||
|
@ -121,7 +209,7 @@
|
|||
this.labelTitleConveyorLength.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleConveyorLength.InitVisible = true;
|
||||
this.labelTitleConveyorLength.LineSpacing = 0F;
|
||||
this.labelTitleConveyorLength.Location = new System.Drawing.Point(115, 129);
|
||||
this.labelTitleConveyorLength.Location = new System.Drawing.Point(115, 98);
|
||||
this.labelTitleConveyorLength.Name = "labelTitleConveyorLength";
|
||||
this.labelTitleConveyorLength.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleConveyorLength.TabIndex = 207;
|
||||
|
@ -134,7 +222,7 @@
|
|||
// comboBoxStatisticsPrintFormat
|
||||
//
|
||||
this.comboBoxStatisticsPrintFormat.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.comboBoxStatisticsPrintFormat.Location = new System.Drawing.Point(381, 289);
|
||||
this.comboBoxStatisticsPrintFormat.Location = new System.Drawing.Point(381, 343);
|
||||
this.comboBoxStatisticsPrintFormat.Name = "comboBoxStatisticsPrintFormat";
|
||||
this.comboBoxStatisticsPrintFormat.Size = new System.Drawing.Size(120, 28);
|
||||
this.comboBoxStatisticsPrintFormat.TabIndex = 206;
|
||||
|
@ -150,7 +238,7 @@
|
|||
this.labelTitleStatPrintFormat.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleStatPrintFormat.InitVisible = true;
|
||||
this.labelTitleStatPrintFormat.LineSpacing = 0F;
|
||||
this.labelTitleStatPrintFormat.Location = new System.Drawing.Point(115, 289);
|
||||
this.labelTitleStatPrintFormat.Location = new System.Drawing.Point(115, 343);
|
||||
this.labelTitleStatPrintFormat.Name = "labelTitleStatPrintFormat";
|
||||
this.labelTitleStatPrintFormat.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleStatPrintFormat.TabIndex = 205;
|
||||
|
@ -162,7 +250,7 @@
|
|||
// comboBoxFilenameExtension
|
||||
//
|
||||
this.comboBoxFilenameExtension.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.comboBoxFilenameExtension.Location = new System.Drawing.Point(381, 221);
|
||||
this.comboBoxFilenameExtension.Location = new System.Drawing.Point(381, 275);
|
||||
this.comboBoxFilenameExtension.Name = "comboBoxFilenameExtension";
|
||||
this.comboBoxFilenameExtension.Size = new System.Drawing.Size(120, 28);
|
||||
this.comboBoxFilenameExtension.TabIndex = 204;
|
||||
|
@ -178,7 +266,7 @@
|
|||
this.labelTitleFileNameExtension.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleFileNameExtension.InitVisible = true;
|
||||
this.labelTitleFileNameExtension.LineSpacing = 0F;
|
||||
this.labelTitleFileNameExtension.Location = new System.Drawing.Point(115, 221);
|
||||
this.labelTitleFileNameExtension.Location = new System.Drawing.Point(115, 275);
|
||||
this.labelTitleFileNameExtension.Name = "labelTitleFileNameExtension";
|
||||
this.labelTitleFileNameExtension.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleFileNameExtension.TabIndex = 203;
|
||||
|
@ -197,7 +285,7 @@
|
|||
this.labelTitleBarcode.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleBarcode.InitVisible = true;
|
||||
this.labelTitleBarcode.LineSpacing = 0F;
|
||||
this.labelTitleBarcode.Location = new System.Drawing.Point(115, 323);
|
||||
this.labelTitleBarcode.Location = new System.Drawing.Point(115, 377);
|
||||
this.labelTitleBarcode.Name = "labelTitleBarcode";
|
||||
this.labelTitleBarcode.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleBarcode.TabIndex = 202;
|
||||
|
@ -218,7 +306,7 @@
|
|||
this.buttonBarcode.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBarcode.DownImage")));
|
||||
this.buttonBarcode.GroupID = 0;
|
||||
this.buttonBarcode.InitVisible = true;
|
||||
this.buttonBarcode.Location = new System.Drawing.Point(381, 323);
|
||||
this.buttonBarcode.Location = new System.Drawing.Point(381, 377);
|
||||
this.buttonBarcode.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||
this.buttonBarcode.Name = "buttonBarcode";
|
||||
this.buttonBarcode.NestedClickEventPrevent = false;
|
||||
|
@ -240,7 +328,7 @@
|
|||
// comboBoxDataBackupFormat
|
||||
//
|
||||
this.comboBoxDataBackupFormat.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.comboBoxDataBackupFormat.Location = new System.Drawing.Point(381, 255);
|
||||
this.comboBoxDataBackupFormat.Location = new System.Drawing.Point(381, 309);
|
||||
this.comboBoxDataBackupFormat.Name = "comboBoxDataBackupFormat";
|
||||
this.comboBoxDataBackupFormat.Size = new System.Drawing.Size(120, 28);
|
||||
this.comboBoxDataBackupFormat.TabIndex = 200;
|
||||
|
@ -256,7 +344,7 @@
|
|||
this.labelTitleDataBackupFormat.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleDataBackupFormat.InitVisible = true;
|
||||
this.labelTitleDataBackupFormat.LineSpacing = 0F;
|
||||
this.labelTitleDataBackupFormat.Location = new System.Drawing.Point(115, 255);
|
||||
this.labelTitleDataBackupFormat.Location = new System.Drawing.Point(115, 309);
|
||||
this.labelTitleDataBackupFormat.Name = "labelTitleDataBackupFormat";
|
||||
this.labelTitleDataBackupFormat.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleDataBackupFormat.TabIndex = 199;
|
||||
|
@ -268,7 +356,7 @@
|
|||
// comboBoxOptionBoard
|
||||
//
|
||||
this.comboBoxOptionBoard.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.comboBoxOptionBoard.Location = new System.Drawing.Point(381, 187);
|
||||
this.comboBoxOptionBoard.Location = new System.Drawing.Point(381, 241);
|
||||
this.comboBoxOptionBoard.Name = "comboBoxOptionBoard";
|
||||
this.comboBoxOptionBoard.Size = new System.Drawing.Size(120, 28);
|
||||
this.comboBoxOptionBoard.TabIndex = 198;
|
||||
|
@ -285,7 +373,7 @@
|
|||
this.labelTitleOptionBoard.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleOptionBoard.InitVisible = true;
|
||||
this.labelTitleOptionBoard.LineSpacing = 0F;
|
||||
this.labelTitleOptionBoard.Location = new System.Drawing.Point(115, 187);
|
||||
this.labelTitleOptionBoard.Location = new System.Drawing.Point(115, 241);
|
||||
this.labelTitleOptionBoard.Name = "labelTitleOptionBoard";
|
||||
this.labelTitleOptionBoard.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleOptionBoard.TabIndex = 197;
|
||||
|
@ -305,7 +393,7 @@
|
|||
this.labelTitleCommunicationOption.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleCommunicationOption.InitVisible = true;
|
||||
this.labelTitleCommunicationOption.LineSpacing = 0F;
|
||||
this.labelTitleCommunicationOption.Location = new System.Drawing.Point(115, 95);
|
||||
this.labelTitleCommunicationOption.Location = new System.Drawing.Point(115, 64);
|
||||
this.labelTitleCommunicationOption.Name = "labelTitleCommunicationOption";
|
||||
this.labelTitleCommunicationOption.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleCommunicationOption.TabIndex = 196;
|
||||
|
@ -326,7 +414,7 @@
|
|||
this.buttonCommunicationOption.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCommunicationOption.DownImage")));
|
||||
this.buttonCommunicationOption.GroupID = 0;
|
||||
this.buttonCommunicationOption.InitVisible = true;
|
||||
this.buttonCommunicationOption.Location = new System.Drawing.Point(381, 95);
|
||||
this.buttonCommunicationOption.Location = new System.Drawing.Point(381, 64);
|
||||
this.buttonCommunicationOption.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||
this.buttonCommunicationOption.Name = "buttonCommunicationOption";
|
||||
this.buttonCommunicationOption.NestedClickEventPrevent = false;
|
||||
|
@ -348,7 +436,7 @@
|
|||
// comboBoxEquipmentType
|
||||
//
|
||||
this.comboBoxEquipmentType.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.comboBoxEquipmentType.Location = new System.Drawing.Point(381, 61);
|
||||
this.comboBoxEquipmentType.Location = new System.Drawing.Point(381, 30);
|
||||
this.comboBoxEquipmentType.Name = "comboBoxEquipmentType";
|
||||
this.comboBoxEquipmentType.Size = new System.Drawing.Size(180, 28);
|
||||
this.comboBoxEquipmentType.TabIndex = 190;
|
||||
|
@ -447,7 +535,7 @@
|
|||
this.labelTitleEquipmentType.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleEquipmentType.InitVisible = true;
|
||||
this.labelTitleEquipmentType.LineSpacing = 0F;
|
||||
this.labelTitleEquipmentType.Location = new System.Drawing.Point(115, 61);
|
||||
this.labelTitleEquipmentType.Location = new System.Drawing.Point(115, 30);
|
||||
this.labelTitleEquipmentType.Name = "labelTitleEquipmentType";
|
||||
this.labelTitleEquipmentType.Size = new System.Drawing.Size(260, 28);
|
||||
this.labelTitleEquipmentType.TabIndex = 117;
|
||||
|
@ -491,5 +579,9 @@
|
|||
private SmartX.SmartLabel labelTitleOptionBoard;
|
||||
public SmartX.SmartLabel labelConveyorLength;
|
||||
private SmartX.SmartLabel labelTitleConveyorLength;
|
||||
public SmartX.SmartLabel labelMovingAverage;
|
||||
private SmartX.SmartLabel labelTitleMovingAverage;
|
||||
public SmartX.SmartLabel labelFilter;
|
||||
private SmartX.SmartLabel labelTitleFilter;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,6 +64,9 @@ namespace ITC81DB_0H.Controls
|
|||
this.labelTitleDataBackupFormat.Text = "Databackup Format";
|
||||
this.labelTitleStatPrintFormat.Text = "Statistics Print Format";
|
||||
|
||||
this.labelTitleFilter.Text = "Filter";
|
||||
this.labelTitleMovingAverage.Text = "Moving Average";
|
||||
|
||||
this.comboBoxEquipmentType.SelectedIndexChanged -= new EventHandler(this.comboBoxEquipmentType_SelectedIndexChanged);
|
||||
this.comboBoxEquipmentType.Items.Clear();
|
||||
this.comboBoxEquipmentType.Items.Add("Conveyor");
|
||||
|
@ -99,6 +102,9 @@ namespace ITC81DB_0H.Controls
|
|||
this.labelTitleDataBackupFormat.Text = "数据备份:格式";
|
||||
this.labelTitleStatPrintFormat.Text = "数据统计:列印格式";
|
||||
|
||||
this.labelTitleFilter.Text = "필터";
|
||||
this.labelTitleMovingAverage.Text = "이동평균";
|
||||
|
||||
this.comboBoxEquipmentType.SelectedIndexChanged -= new EventHandler(this.comboBoxEquipmentType_SelectedIndexChanged);
|
||||
this.comboBoxEquipmentType.Items.Clear();
|
||||
this.comboBoxEquipmentType.Items.Add("输送带");
|
||||
|
@ -137,6 +143,9 @@ namespace ITC81DB_0H.Controls
|
|||
this.labelTitleDataBackupFormat.Text = "Формат";
|
||||
this.labelTitleStatPrintFormat.Text = "Формат печати(Статистика)";
|
||||
|
||||
this.labelTitleFilter.Text = "필터";
|
||||
this.labelTitleMovingAverage.Text = "이동평균";
|
||||
|
||||
this.comboBoxEquipmentType.SelectedIndexChanged -= new EventHandler(this.comboBoxEquipmentType_SelectedIndexChanged);
|
||||
this.comboBoxEquipmentType.Items.Clear();
|
||||
this.comboBoxEquipmentType.Items.Add("Конвейер");
|
||||
|
@ -172,6 +181,9 @@ namespace ITC81DB_0H.Controls
|
|||
this.labelTitleDataBackupFormat.Text = "Datensicherung Format";
|
||||
this.labelTitleStatPrintFormat.Text = "Statistik-Druckformat";
|
||||
|
||||
this.labelTitleFilter.Text = "필터";
|
||||
this.labelTitleMovingAverage.Text = "이동평균";
|
||||
|
||||
this.comboBoxEquipmentType.SelectedIndexChanged -= new EventHandler(this.comboBoxEquipmentType_SelectedIndexChanged);
|
||||
this.comboBoxEquipmentType.Items.Clear();
|
||||
this.comboBoxEquipmentType.Items.Add("Förderer");
|
||||
|
@ -207,6 +219,9 @@ namespace ITC81DB_0H.Controls
|
|||
this.labelTitleDataBackupFormat.Text = "데이터백업 포맷";
|
||||
this.labelTitleStatPrintFormat.Text = "데이터집계 출력 포맷";
|
||||
|
||||
this.labelTitleFilter.Text = "필터";
|
||||
this.labelTitleMovingAverage.Text = "이동평균";
|
||||
|
||||
this.comboBoxEquipmentType.SelectedIndexChanged -= new EventHandler(this.comboBoxEquipmentType_SelectedIndexChanged);
|
||||
this.comboBoxEquipmentType.Items.Clear();
|
||||
this.comboBoxEquipmentType.Items.Add("컨베어");
|
||||
|
@ -250,6 +265,18 @@ namespace ITC81DB_0H.Controls
|
|||
this.comboBoxStatisticsPrintFormat.SelectedIndexChanged += new EventHandler(this.comboBoxStatisticsPrintFormat_SelectedIndexChanged);
|
||||
}
|
||||
|
||||
private void UpdateSystemParameterDisplay(JudgmentSetItem item)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = item.Filter.ToString();
|
||||
if (this.labelFilter.Text != value)
|
||||
this.labelFilter.Text = value;
|
||||
|
||||
value = item.MovingAverage.ToString();
|
||||
if (this.labelMovingAverage.Text != value)
|
||||
this.labelMovingAverage.Text = value;
|
||||
}
|
||||
private void UpdateParameterDisplay(SystemConfigurationItem1 item, SystemConfigurationItem2 item2, SystemParameter1 parameter)
|
||||
{
|
||||
int index = 0;
|
||||
|
@ -339,6 +366,7 @@ namespace ITC81DB_0H.Controls
|
|||
this.ParentForm.ParentForm.SetDisplayMode(DataStore.DisplayMode.Menu);
|
||||
this.ParentForm.DisplayTitleRoot(this.ParentForm.ParentForm.CurrentSystemStatus);
|
||||
|
||||
this.UpdateSystemParameterDisplay(this.ParentForm.ParentForm.CurrentJudgmentSetItem);
|
||||
this.UpdateParameterDisplay(this.ParentForm.ParentForm.SystemConfig1, this.ParentForm.ParentForm.SystemConfig2,
|
||||
this.ParentForm.ParentForm.CurrentSystemParameter1);
|
||||
}
|
||||
|
@ -407,6 +435,51 @@ namespace ITC81DB_0H.Controls
|
|||
}
|
||||
}
|
||||
|
||||
private void labelFilter_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", message = "";
|
||||
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelFilter.Text, 2, 0, false, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 16)
|
||||
{
|
||||
// 입력범위를 확인하세요
|
||||
message = "1~16";
|
||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig1.Language, message);
|
||||
myMsg.ShowDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.labelFilter.Text = myKeyPad.StringValue;
|
||||
this.ParentForm.ParentForm.CurrentJudgmentSetItem.Filter = myKeyPad.IntValue;
|
||||
|
||||
value = Helper.StringZeroFillDigits4(myKeyPad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.Filter, value);
|
||||
|
||||
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.ParentForm.CurrentJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void labelMovingAverage_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", message = "";
|
||||
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelMovingAverage.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
this.labelMovingAverage.Text = myKeyPad.StringValue;
|
||||
|
||||
value = Helper.StringZeroFillDigits4(myKeyPad.StringValue);
|
||||
this.ParentForm.ParentForm.CurrentJudgmentSetItem.MovingAverage = myKeyPad.IntValue;
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.MovingAverage, value);
|
||||
|
||||
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.ParentForm.CurrentJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||
}
|
||||
}
|
||||
|
||||
private void comboBoxOptionBoard_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
string value = "";
|
||||
|
|
|
@ -441,9 +441,9 @@ namespace ITC81DB_0H.Controls
|
|||
this.comboBoxLanguage.Items.Clear();
|
||||
this.comboBoxLanguage.Items.Add("한국어");
|
||||
this.comboBoxLanguage.Items.Add("English");
|
||||
this.comboBoxLanguage.Items.Add("Deutsch");
|
||||
this.comboBoxLanguage.Items.Add("中文");
|
||||
this.comboBoxLanguage.Items.Add("русский");
|
||||
//this.comboBoxLanguage.Items.Add("Deutsch");
|
||||
//this.comboBoxLanguage.Items.Add("中文");
|
||||
//this.comboBoxLanguage.Items.Add("русский");
|
||||
this.comboBoxLanguage.SelectedIndexChanged += new EventHandler(this.comboBoxLanguage_SelectedIndexChanged);
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace ITC81DB_0H.Controls
|
|||
private void DefaultSetting()
|
||||
{
|
||||
this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig1.SerialNumber;
|
||||
this.labelDisplayVer.Text = "1.0.4";
|
||||
this.labelDisplayVer.Text = "1.0.5";
|
||||
}
|
||||
|
||||
public void UpdateMainBoardVersionDisplay(string version)
|
||||
|
@ -107,23 +107,25 @@ namespace ITC81DB_0H.Controls
|
|||
#region Event Handler
|
||||
private void labelSerialNo_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogFormPasswordKeyPad password = new DialogFormPasswordKeyPad(this.ParentForm.ParentForm.SystemConfig1.Language, this.ParentForm.ParentForm.CurrentSystemStatus.CurrentUserPasswordType);
|
||||
DialogFormPasswordKeyPad password = new DialogFormPasswordKeyPad(4, this.ParentForm.ParentForm.SystemConfig1.Language, this.ParentForm.ParentForm.CurrentSystemStatus.CurrentUserPasswordType);
|
||||
DialogResult dialogResult = password.ShowDialog();
|
||||
if (dialogResult == DialogResult.OK)
|
||||
{
|
||||
if (password.Group == DataStore.UserGroup.Level4Developer)
|
||||
{
|
||||
this.textBoxSerialNo.Visible = true;
|
||||
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
|
||||
this.smartKeyboard.Left = 15;
|
||||
this.smartKeyboard.Top = 118;
|
||||
this.smartKeyboard.Width = 680;
|
||||
this.smartKeyboard.Height = 268;
|
||||
this.smartKeyboard.Hide();
|
||||
|
||||
this.textBoxSerialNo.Visible = true;
|
||||
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
|
||||
this.smartKeyboard.Left = 15;
|
||||
this.smartKeyboard.Top = 118;
|
||||
this.smartKeyboard.Width = 680;
|
||||
this.smartKeyboard.Height = 268;
|
||||
this.smartKeyboard.Hide();
|
||||
this.smartKeyboard.TargetInputObject = this.textBoxSerialNo;
|
||||
this.textBoxSerialNo.Text = this.labelSerialNo.Text;
|
||||
|
||||
this.smartKeyboard.TargetInputObject = this.textBoxSerialNo;
|
||||
this.textBoxSerialNo.Text = this.labelSerialNo.Text;
|
||||
|
||||
this.smartKeyboard.Show();
|
||||
this.smartKeyboard.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlCenterSystemCalibration));
|
||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||
this.buttonBalance = new SmartX.SmartButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.radioButtonDecimalPlaces2 = new SmartX.SmartRadioButton();
|
||||
this.radioButtonDecimalPlaces1 = new SmartX.SmartRadioButton();
|
||||
|
@ -42,7 +43,6 @@
|
|||
this.labelWeight = new SmartX.SmartLabel();
|
||||
this.buttonStart = new SmartX.SmartButton();
|
||||
this.pictureBoxStep1 = new System.Windows.Forms.PictureBox();
|
||||
this.buttonBalance = new SmartX.SmartButton();
|
||||
this.smartGroupBox1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
|
@ -76,6 +76,39 @@
|
|||
this.smartGroupBox1.TabIndex = 176;
|
||||
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
|
||||
//
|
||||
// buttonBalance
|
||||
//
|
||||
this.buttonBalance.BackPictureBox = null;
|
||||
this.buttonBalance.BackPictureBox1 = null;
|
||||
this.buttonBalance.BackPictureBox2 = null;
|
||||
this.buttonBalance.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.buttonBalance.ButtonImageAutoSize = true;
|
||||
this.buttonBalance.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonBalance.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonBalance.DisableImage")));
|
||||
this.buttonBalance.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBalance.DownImage")));
|
||||
this.buttonBalance.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonBalance.ForeColor = System.Drawing.Color.Black;
|
||||
this.buttonBalance.GroupID = 0;
|
||||
this.buttonBalance.InitVisible = true;
|
||||
this.buttonBalance.Location = new System.Drawing.Point(464, 121);
|
||||
this.buttonBalance.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonBalance.Name = "buttonBalance";
|
||||
this.buttonBalance.NestedClickEventPrevent = false;
|
||||
this.buttonBalance.OutlinePixel = 1;
|
||||
this.buttonBalance.RepeatInterval = 200;
|
||||
this.buttonBalance.RepeatIntervalAccelerate = null;
|
||||
this.buttonBalance.SafeInterval = 200;
|
||||
this.buttonBalance.Size = new System.Drawing.Size(120, 44);
|
||||
this.buttonBalance.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.buttonBalance.TabIndex = 490;
|
||||
this.buttonBalance.TextColor = System.Drawing.Color.Black;
|
||||
this.buttonBalance.TextDownColor = System.Drawing.Color.White;
|
||||
this.buttonBalance.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonBalance.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.buttonBalance.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonBalance.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonBalance.UpImage")));
|
||||
this.buttonBalance.Click += new System.EventHandler(this.buttonBalance_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Black;
|
||||
|
@ -303,7 +336,7 @@
|
|||
this.buttonStart.ForeColor = System.Drawing.Color.Black;
|
||||
this.buttonStart.GroupID = 0;
|
||||
this.buttonStart.InitVisible = true;
|
||||
this.buttonStart.Location = new System.Drawing.Point(464, 121);
|
||||
this.buttonStart.Location = new System.Drawing.Point(464, 71);
|
||||
this.buttonStart.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonStart.Name = "buttonStart";
|
||||
this.buttonStart.NestedClickEventPrevent = false;
|
||||
|
@ -329,39 +362,6 @@
|
|||
this.pictureBoxStep1.Name = "pictureBoxStep1";
|
||||
this.pictureBoxStep1.Size = new System.Drawing.Size(330, 194);
|
||||
//
|
||||
// buttonBalance
|
||||
//
|
||||
this.buttonBalance.BackPictureBox = null;
|
||||
this.buttonBalance.BackPictureBox1 = null;
|
||||
this.buttonBalance.BackPictureBox2 = null;
|
||||
this.buttonBalance.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.buttonBalance.ButtonImageAutoSize = true;
|
||||
this.buttonBalance.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonBalance.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonBalance.DisableImage")));
|
||||
this.buttonBalance.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBalance.DownImage")));
|
||||
this.buttonBalance.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonBalance.ForeColor = System.Drawing.Color.Black;
|
||||
this.buttonBalance.GroupID = 0;
|
||||
this.buttonBalance.InitVisible = true;
|
||||
this.buttonBalance.Location = new System.Drawing.Point(464, 71);
|
||||
this.buttonBalance.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonBalance.Name = "buttonBalance";
|
||||
this.buttonBalance.NestedClickEventPrevent = false;
|
||||
this.buttonBalance.OutlinePixel = 1;
|
||||
this.buttonBalance.RepeatInterval = 200;
|
||||
this.buttonBalance.RepeatIntervalAccelerate = null;
|
||||
this.buttonBalance.SafeInterval = 200;
|
||||
this.buttonBalance.Size = new System.Drawing.Size(120, 44);
|
||||
this.buttonBalance.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.buttonBalance.TabIndex = 490;
|
||||
this.buttonBalance.TextColor = System.Drawing.Color.Black;
|
||||
this.buttonBalance.TextDownColor = System.Drawing.Color.White;
|
||||
this.buttonBalance.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonBalance.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.buttonBalance.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonBalance.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonBalance.UpImage")));
|
||||
this.buttonBalance.Click += new System.EventHandler(this.buttonBalance_Click);
|
||||
//
|
||||
// ControlCenterSystemCalibration
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
|
|
|
@ -30,7 +30,9 @@
|
|||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlCenterSystemJudgmentManual));
|
||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||
this.labelProductNo = new SmartX.SmartLabel();
|
||||
this.buttonProductNo = new SmartX.SmartButton();
|
||||
this.labelDynamicCorrection = new SmartX.SmartLabel();
|
||||
this.smartLabel1 = new SmartX.SmartLabel();
|
||||
this.labelDescendDelayTime = new SmartX.SmartLabel();
|
||||
this.labelSensingTime = new SmartX.SmartLabel();
|
||||
this.labelAscendDelayTime = new SmartX.SmartLabel();
|
||||
|
@ -41,15 +43,12 @@
|
|||
this.labelFeedSpeed = new SmartX.SmartLabel();
|
||||
this.labelWeightValue = new SmartX.SmartLabel();
|
||||
this.labelWeightJudgment = new SmartX.SmartLabel();
|
||||
this.labelFilter = new SmartX.SmartLabel();
|
||||
this.buttonPasteAll = new SmartX.SmartButton();
|
||||
this.buttonPaste = new SmartX.SmartButton();
|
||||
this.buttonCopy = new SmartX.SmartButton();
|
||||
this.labelJudgmentDelayTime = new SmartX.SmartLabel();
|
||||
this.labelMovingAverage = new SmartX.SmartLabel();
|
||||
this.labelJudgmentCount = new SmartX.SmartLabel();
|
||||
this.labelDoubleDelayTime = new SmartX.SmartLabel();
|
||||
this.smartLabel1 = new SmartX.SmartLabel();
|
||||
this.smartGroupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
|
@ -58,8 +57,9 @@
|
|||
this.smartGroupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46)))));
|
||||
this.smartGroupBox1.BackPictureBox = null;
|
||||
this.smartGroupBox1.BackPictureBox1 = null;
|
||||
this.smartGroupBox1.Controls.Add(this.buttonProductNo);
|
||||
this.smartGroupBox1.Controls.Add(this.labelDynamicCorrection);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel1);
|
||||
this.smartGroupBox1.Controls.Add(this.labelProductNo);
|
||||
this.smartGroupBox1.Controls.Add(this.labelDescendDelayTime);
|
||||
this.smartGroupBox1.Controls.Add(this.labelSensingTime);
|
||||
this.smartGroupBox1.Controls.Add(this.labelAscendDelayTime);
|
||||
|
@ -70,12 +70,10 @@
|
|||
this.smartGroupBox1.Controls.Add(this.labelFeedSpeed);
|
||||
this.smartGroupBox1.Controls.Add(this.labelWeightValue);
|
||||
this.smartGroupBox1.Controls.Add(this.labelWeightJudgment);
|
||||
this.smartGroupBox1.Controls.Add(this.labelFilter);
|
||||
this.smartGroupBox1.Controls.Add(this.buttonPasteAll);
|
||||
this.smartGroupBox1.Controls.Add(this.buttonPaste);
|
||||
this.smartGroupBox1.Controls.Add(this.buttonCopy);
|
||||
this.smartGroupBox1.Controls.Add(this.labelJudgmentDelayTime);
|
||||
this.smartGroupBox1.Controls.Add(this.labelMovingAverage);
|
||||
this.smartGroupBox1.Controls.Add(this.labelJudgmentCount);
|
||||
this.smartGroupBox1.Controls.Add(this.labelDoubleDelayTime);
|
||||
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(81)))), ((int)(((byte)(159)))), ((int)(((byte)(198)))));
|
||||
|
@ -91,27 +89,82 @@
|
|||
this.smartGroupBox1.TabIndex = 174;
|
||||
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
|
||||
//
|
||||
// labelProductNo
|
||||
// buttonProductNo
|
||||
//
|
||||
this.labelProductNo.BackColor = System.Drawing.Color.Black;
|
||||
this.labelProductNo.BackPictureBox = null;
|
||||
this.labelProductNo.BackPictureBox1 = null;
|
||||
this.labelProductNo.BackPictureBox2 = null;
|
||||
this.labelProductNo.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelProductNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.labelProductNo.Font = new System.Drawing.Font("Arial", 17F, System.Drawing.FontStyle.Bold);
|
||||
this.labelProductNo.ForeColor = System.Drawing.Color.White;
|
||||
this.labelProductNo.InitVisible = true;
|
||||
this.labelProductNo.LineSpacing = 0F;
|
||||
this.labelProductNo.Location = new System.Drawing.Point(519, 80);
|
||||
this.labelProductNo.Name = "labelProductNo";
|
||||
this.labelProductNo.Size = new System.Drawing.Size(130, 39);
|
||||
this.labelProductNo.TabIndex = 193;
|
||||
this.labelProductNo.Text = "1000";
|
||||
this.labelProductNo.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.labelProductNo.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelProductNo.Wordwrap = false;
|
||||
this.labelProductNo.Click += new System.EventHandler(this.labelProductNo_Click);
|
||||
this.buttonProductNo.BackPictureBox = null;
|
||||
this.buttonProductNo.BackPictureBox1 = null;
|
||||
this.buttonProductNo.BackPictureBox2 = null;
|
||||
this.buttonProductNo.ButtonColor = System.Drawing.Color.Gray;
|
||||
this.buttonProductNo.ButtonImageAutoSize = true;
|
||||
this.buttonProductNo.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonProductNo.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonProductNo.DisableImage")));
|
||||
this.buttonProductNo.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonProductNo.DownImage")));
|
||||
this.buttonProductNo.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonProductNo.ForeColor = System.Drawing.Color.White;
|
||||
this.buttonProductNo.GroupID = 0;
|
||||
this.buttonProductNo.InitVisible = true;
|
||||
this.buttonProductNo.Location = new System.Drawing.Point(422, 78);
|
||||
this.buttonProductNo.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonProductNo.Name = "buttonProductNo";
|
||||
this.buttonProductNo.NestedClickEventPrevent = false;
|
||||
this.buttonProductNo.OutlinePixel = 1;
|
||||
this.buttonProductNo.RepeatInterval = 200;
|
||||
this.buttonProductNo.RepeatIntervalAccelerate = null;
|
||||
this.buttonProductNo.SafeInterval = 200;
|
||||
this.buttonProductNo.Size = new System.Drawing.Size(212, 48);
|
||||
this.buttonProductNo.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.buttonProductNo.TabIndex = 196;
|
||||
this.buttonProductNo.Text = "0000";
|
||||
this.buttonProductNo.TextColor = System.Drawing.Color.White;
|
||||
this.buttonProductNo.TextDownColor = System.Drawing.Color.White;
|
||||
this.buttonProductNo.TextHAlign = SmartX.SmartButton.TextHorAlign.Right;
|
||||
this.buttonProductNo.TextLocation = new System.Drawing.Point(-18, 0);
|
||||
this.buttonProductNo.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonProductNo.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonProductNo.UpImage")));
|
||||
this.buttonProductNo.Click += new System.EventHandler(this.buttonProductNo_Click);
|
||||
//
|
||||
// labelDynamicCorrection
|
||||
//
|
||||
this.labelDynamicCorrection.BackColor = System.Drawing.Color.Black;
|
||||
this.labelDynamicCorrection.BackPictureBox = null;
|
||||
this.labelDynamicCorrection.BackPictureBox1 = null;
|
||||
this.labelDynamicCorrection.BackPictureBox2 = null;
|
||||
this.labelDynamicCorrection.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelDynamicCorrection.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.labelDynamicCorrection.Font = new System.Drawing.Font("Arial", 17F, System.Drawing.FontStyle.Bold);
|
||||
this.labelDynamicCorrection.ForeColor = System.Drawing.Color.White;
|
||||
this.labelDynamicCorrection.InitVisible = true;
|
||||
this.labelDynamicCorrection.LineSpacing = 0F;
|
||||
this.labelDynamicCorrection.Location = new System.Drawing.Point(519, 338);
|
||||
this.labelDynamicCorrection.Name = "labelDynamicCorrection";
|
||||
this.labelDynamicCorrection.Size = new System.Drawing.Size(110, 44);
|
||||
this.labelDynamicCorrection.TabIndex = 195;
|
||||
this.labelDynamicCorrection.Text = "1.000000";
|
||||
this.labelDynamicCorrection.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.labelDynamicCorrection.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelDynamicCorrection.Wordwrap = false;
|
||||
this.labelDynamicCorrection.Click += new System.EventHandler(this.labelDynamicCorrection_Click);
|
||||
//
|
||||
// smartLabel1
|
||||
//
|
||||
this.smartLabel1.BackColor = System.Drawing.Color.Black;
|
||||
this.smartLabel1.BackPictureBox = null;
|
||||
this.smartLabel1.BackPictureBox1 = null;
|
||||
this.smartLabel1.BackPictureBox2 = null;
|
||||
this.smartLabel1.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.smartLabel1.Font = new System.Drawing.Font("Arial", 17F, System.Drawing.FontStyle.Bold);
|
||||
this.smartLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.smartLabel1.InitVisible = true;
|
||||
this.smartLabel1.LineSpacing = 0F;
|
||||
this.smartLabel1.Location = new System.Drawing.Point(367, 400);
|
||||
this.smartLabel1.Name = "smartLabel1";
|
||||
this.smartLabel1.Size = new System.Drawing.Size(20, 34);
|
||||
this.smartLabel1.TabIndex = 194;
|
||||
this.smartLabel1.Text = "g";
|
||||
this.smartLabel1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel1.Wordwrap = false;
|
||||
//
|
||||
// labelDescendDelayTime
|
||||
//
|
||||
|
@ -147,7 +200,7 @@
|
|||
this.labelSensingTime.ForeColor = System.Drawing.Color.White;
|
||||
this.labelSensingTime.InitVisible = true;
|
||||
this.labelSensingTime.LineSpacing = 0F;
|
||||
this.labelSensingTime.Location = new System.Drawing.Point(386, 46);
|
||||
this.labelSensingTime.Location = new System.Drawing.Point(362, 47);
|
||||
this.labelSensingTime.Name = "labelSensingTime";
|
||||
this.labelSensingTime.Size = new System.Drawing.Size(53, 25);
|
||||
this.labelSensingTime.TabIndex = 143;
|
||||
|
@ -321,9 +374,9 @@
|
|||
this.labelFeedSpeed.ForeColor = System.Drawing.Color.White;
|
||||
this.labelFeedSpeed.InitVisible = true;
|
||||
this.labelFeedSpeed.LineSpacing = 0F;
|
||||
this.labelFeedSpeed.Location = new System.Drawing.Point(519, 299);
|
||||
this.labelFeedSpeed.Location = new System.Drawing.Point(519, 287);
|
||||
this.labelFeedSpeed.Name = "labelFeedSpeed";
|
||||
this.labelFeedSpeed.Size = new System.Drawing.Size(130, 39);
|
||||
this.labelFeedSpeed.Size = new System.Drawing.Size(110, 44);
|
||||
this.labelFeedSpeed.TabIndex = 124;
|
||||
this.labelFeedSpeed.Text = "60";
|
||||
this.labelFeedSpeed.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
|
@ -372,28 +425,6 @@
|
|||
this.labelWeightJudgment.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelWeightJudgment.Wordwrap = false;
|
||||
//
|
||||
// labelFilter
|
||||
//
|
||||
this.labelFilter.BackColor = System.Drawing.Color.Black;
|
||||
this.labelFilter.BackPictureBox = null;
|
||||
this.labelFilter.BackPictureBox1 = null;
|
||||
this.labelFilter.BackPictureBox2 = null;
|
||||
this.labelFilter.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelFilter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.labelFilter.Font = new System.Drawing.Font("Arial", 17F, System.Drawing.FontStyle.Bold);
|
||||
this.labelFilter.ForeColor = System.Drawing.Color.White;
|
||||
this.labelFilter.InitVisible = true;
|
||||
this.labelFilter.LineSpacing = 0F;
|
||||
this.labelFilter.Location = new System.Drawing.Point(519, 123);
|
||||
this.labelFilter.Name = "labelFilter";
|
||||
this.labelFilter.Size = new System.Drawing.Size(130, 39);
|
||||
this.labelFilter.TabIndex = 105;
|
||||
this.labelFilter.Text = "8";
|
||||
this.labelFilter.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.labelFilter.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelFilter.Wordwrap = false;
|
||||
this.labelFilter.Click += new System.EventHandler(this.labelFilter_Click);
|
||||
//
|
||||
// buttonPasteAll
|
||||
//
|
||||
this.buttonPasteAll.BackPictureBox = null;
|
||||
|
@ -406,7 +437,7 @@
|
|||
this.buttonPasteAll.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonPasteAll.DownImage")));
|
||||
this.buttonPasteAll.GroupID = 0;
|
||||
this.buttonPasteAll.InitVisible = true;
|
||||
this.buttonPasteAll.Location = new System.Drawing.Point(607, 21);
|
||||
this.buttonPasteAll.Location = new System.Drawing.Point(584, 22);
|
||||
this.buttonPasteAll.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonPasteAll.Name = "buttonPasteAll";
|
||||
this.buttonPasteAll.NestedClickEventPrevent = false;
|
||||
|
@ -437,7 +468,7 @@
|
|||
this.buttonPaste.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonPaste.DownImage")));
|
||||
this.buttonPaste.GroupID = 0;
|
||||
this.buttonPaste.InitVisible = true;
|
||||
this.buttonPaste.Location = new System.Drawing.Point(551, 21);
|
||||
this.buttonPaste.Location = new System.Drawing.Point(528, 22);
|
||||
this.buttonPaste.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonPaste.Name = "buttonPaste";
|
||||
this.buttonPaste.NestedClickEventPrevent = false;
|
||||
|
@ -470,7 +501,7 @@
|
|||
this.buttonCopy.ForeColor = System.Drawing.Color.White;
|
||||
this.buttonCopy.GroupID = 0;
|
||||
this.buttonCopy.InitVisible = true;
|
||||
this.buttonCopy.Location = new System.Drawing.Point(445, 21);
|
||||
this.buttonCopy.Location = new System.Drawing.Point(422, 22);
|
||||
this.buttonCopy.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonCopy.Name = "buttonCopy";
|
||||
this.buttonCopy.NestedClickEventPrevent = false;
|
||||
|
@ -502,9 +533,9 @@
|
|||
this.labelJudgmentDelayTime.ForeColor = System.Drawing.Color.White;
|
||||
this.labelJudgmentDelayTime.InitVisible = true;
|
||||
this.labelJudgmentDelayTime.LineSpacing = 0F;
|
||||
this.labelJudgmentDelayTime.Location = new System.Drawing.Point(519, 167);
|
||||
this.labelJudgmentDelayTime.Location = new System.Drawing.Point(519, 135);
|
||||
this.labelJudgmentDelayTime.Name = "labelJudgmentDelayTime";
|
||||
this.labelJudgmentDelayTime.Size = new System.Drawing.Size(130, 39);
|
||||
this.labelJudgmentDelayTime.Size = new System.Drawing.Size(110, 44);
|
||||
this.labelJudgmentDelayTime.TabIndex = 91;
|
||||
this.labelJudgmentDelayTime.Text = "1000";
|
||||
this.labelJudgmentDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
|
@ -512,28 +543,6 @@
|
|||
this.labelJudgmentDelayTime.Wordwrap = false;
|
||||
this.labelJudgmentDelayTime.Click += new System.EventHandler(this.labelJudgmentDelayTime_Click);
|
||||
//
|
||||
// labelMovingAverage
|
||||
//
|
||||
this.labelMovingAverage.BackColor = System.Drawing.Color.Black;
|
||||
this.labelMovingAverage.BackPictureBox = null;
|
||||
this.labelMovingAverage.BackPictureBox1 = null;
|
||||
this.labelMovingAverage.BackPictureBox2 = null;
|
||||
this.labelMovingAverage.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelMovingAverage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.labelMovingAverage.Font = new System.Drawing.Font("Arial", 17F, System.Drawing.FontStyle.Bold);
|
||||
this.labelMovingAverage.ForeColor = System.Drawing.Color.White;
|
||||
this.labelMovingAverage.InitVisible = true;
|
||||
this.labelMovingAverage.LineSpacing = 0F;
|
||||
this.labelMovingAverage.Location = new System.Drawing.Point(519, 343);
|
||||
this.labelMovingAverage.Name = "labelMovingAverage";
|
||||
this.labelMovingAverage.Size = new System.Drawing.Size(130, 39);
|
||||
this.labelMovingAverage.TabIndex = 92;
|
||||
this.labelMovingAverage.Text = "50";
|
||||
this.labelMovingAverage.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.labelMovingAverage.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMovingAverage.Wordwrap = false;
|
||||
this.labelMovingAverage.Click += new System.EventHandler(this.labelMovingAverage_Click);
|
||||
//
|
||||
// labelJudgmentCount
|
||||
//
|
||||
this.labelJudgmentCount.BackColor = System.Drawing.Color.Black;
|
||||
|
@ -546,9 +555,9 @@
|
|||
this.labelJudgmentCount.ForeColor = System.Drawing.Color.White;
|
||||
this.labelJudgmentCount.InitVisible = true;
|
||||
this.labelJudgmentCount.LineSpacing = 0F;
|
||||
this.labelJudgmentCount.Location = new System.Drawing.Point(519, 255);
|
||||
this.labelJudgmentCount.Location = new System.Drawing.Point(519, 236);
|
||||
this.labelJudgmentCount.Name = "labelJudgmentCount";
|
||||
this.labelJudgmentCount.Size = new System.Drawing.Size(130, 39);
|
||||
this.labelJudgmentCount.Size = new System.Drawing.Size(110, 44);
|
||||
this.labelJudgmentCount.TabIndex = 92;
|
||||
this.labelJudgmentCount.Text = "10";
|
||||
this.labelJudgmentCount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
|
@ -568,9 +577,9 @@
|
|||
this.labelDoubleDelayTime.ForeColor = System.Drawing.Color.White;
|
||||
this.labelDoubleDelayTime.InitVisible = true;
|
||||
this.labelDoubleDelayTime.LineSpacing = 0F;
|
||||
this.labelDoubleDelayTime.Location = new System.Drawing.Point(519, 211);
|
||||
this.labelDoubleDelayTime.Location = new System.Drawing.Point(519, 185);
|
||||
this.labelDoubleDelayTime.Name = "labelDoubleDelayTime";
|
||||
this.labelDoubleDelayTime.Size = new System.Drawing.Size(130, 39);
|
||||
this.labelDoubleDelayTime.Size = new System.Drawing.Size(110, 44);
|
||||
this.labelDoubleDelayTime.TabIndex = 92;
|
||||
this.labelDoubleDelayTime.Text = "900";
|
||||
this.labelDoubleDelayTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
|
@ -578,27 +587,6 @@
|
|||
this.labelDoubleDelayTime.Wordwrap = false;
|
||||
this.labelDoubleDelayTime.Click += new System.EventHandler(this.labelDoubleDelayTime_Click);
|
||||
//
|
||||
// smartLabel1
|
||||
//
|
||||
this.smartLabel1.BackColor = System.Drawing.Color.Black;
|
||||
this.smartLabel1.BackPictureBox = null;
|
||||
this.smartLabel1.BackPictureBox1 = null;
|
||||
this.smartLabel1.BackPictureBox2 = null;
|
||||
this.smartLabel1.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.smartLabel1.Font = new System.Drawing.Font("Arial", 17F, System.Drawing.FontStyle.Bold);
|
||||
this.smartLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.smartLabel1.InitVisible = true;
|
||||
this.smartLabel1.LineSpacing = 0F;
|
||||
this.smartLabel1.Location = new System.Drawing.Point(367, 400);
|
||||
this.smartLabel1.Name = "smartLabel1";
|
||||
this.smartLabel1.Size = new System.Drawing.Size(20, 34);
|
||||
this.smartLabel1.TabIndex = 194;
|
||||
this.smartLabel1.Text = "g";
|
||||
this.smartLabel1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
|
||||
this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel1.Wordwrap = false;
|
||||
//
|
||||
// ControlCenterSystemJudgmentManual
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
|
@ -620,10 +608,8 @@
|
|||
private SmartX.SmartButton buttonPasteAll;
|
||||
private SmartX.SmartButton buttonPaste;
|
||||
private SmartX.SmartButton buttonCopy;
|
||||
public SmartX.SmartLabel labelFilter;
|
||||
private SmartX.SmartLabel labelWeightValue;
|
||||
private SmartX.SmartLabel labelWeightJudgment;
|
||||
public SmartX.SmartLabel labelMovingAverage;
|
||||
public SmartX.SmartLabel labelJudgmentCount;
|
||||
public SmartX.SmartLabel labelFeedSpeed;
|
||||
private SmartX.SmartButton buttonWeightReference;
|
||||
|
@ -633,7 +619,8 @@
|
|||
public SmartX.SmartLabel labelSensingTime;
|
||||
public SmartX.SmartLabel labelDescendDelayTime;
|
||||
private SmartX.SmartButton buttonUsingAutoMode;
|
||||
public SmartX.SmartLabel labelProductNo;
|
||||
private SmartX.SmartLabel smartLabel1;
|
||||
public SmartX.SmartLabel labelDynamicCorrection;
|
||||
private SmartX.SmartButton buttonProductNo;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -110,7 +110,7 @@ namespace ITC81DB_0H.Controls
|
|||
}
|
||||
private void ControlInitialize()
|
||||
{
|
||||
this.labelProductNo.Text = this.ParentForm.ParentForm.SystemConfig1.ProductNumber.ToString();
|
||||
this.buttonProductNo.Text = this.ParentForm.ParentForm.SystemConfig1.ProductNumber.ToString();
|
||||
this.buttonCopy.Text = "00";
|
||||
this.labelSensingTime.Text = "";
|
||||
this.buttonWeightReference.Text = Helper.StringToDecimalPlaces("0", this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces);
|
||||
|
@ -118,7 +118,6 @@ namespace ITC81DB_0H.Controls
|
|||
|
||||
this.labelDoubleDelayTime.Text = " -";
|
||||
this.labelJudgmentDelayTime.Text = " -";
|
||||
this.labelFilter.Text = " -";
|
||||
}
|
||||
|
||||
public void ChangeScreen()
|
||||
|
@ -263,26 +262,8 @@ namespace ITC81DB_0H.Controls
|
|||
switch (equipmentType)
|
||||
{
|
||||
case 4:
|
||||
this.labelDescendDelayTime.Visible = true;
|
||||
this.labelAscendDelayTime.Visible = true;
|
||||
|
||||
this.labelDescendDelayTime.Location = new Point(109, 152);
|
||||
this.labelJudgmentDelayTime.Location = new Point(109, 196);
|
||||
this.labelDoubleDelayTime.Location = new Point(109, 240);
|
||||
this.labelAscendDelayTime.Location = new Point(109, 284);
|
||||
this.labelJudgmentCount.Location = new Point(109, 328);
|
||||
this.labelFeedSpeed.Location = new Point(109, 372);
|
||||
this.labelMovingAverage.Location = new Point(109, 416);
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
this.labelDescendDelayTime.Visible = false;
|
||||
this.labelAscendDelayTime.Visible = false;
|
||||
|
||||
this.labelJudgmentDelayTime.Location = new Point(109, 152);
|
||||
this.labelDoubleDelayTime.Location = new Point(109, 196);
|
||||
this.labelJudgmentCount.Location = new Point(109, 240);
|
||||
this.labelFeedSpeed.Location = new Point(109, 284);
|
||||
this.labelMovingAverage.Location = new Point(109, 328);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -324,10 +305,6 @@ namespace ITC81DB_0H.Controls
|
|||
{
|
||||
string value = "";
|
||||
|
||||
value = item.Filter.ToString();
|
||||
if (this.labelFilter.Text != value)
|
||||
this.labelFilter.Text = value;
|
||||
|
||||
value = item.DescendDelayTime.ToString();
|
||||
if (this.labelDescendDelayTime.Text != value)
|
||||
this.labelDescendDelayTime.Text = value;
|
||||
|
@ -352,16 +329,16 @@ namespace ITC81DB_0H.Controls
|
|||
if (this.labelFeedSpeed.Text != value)
|
||||
this.labelFeedSpeed.Text = value;
|
||||
|
||||
value = item.MovingAverage.ToString();
|
||||
if (this.labelMovingAverage.Text != value)
|
||||
this.labelMovingAverage.Text = value;
|
||||
value = Helper.DoubleToString(item.DynamicCorrection, 6);
|
||||
if (this.labelDynamicCorrection.Text != value)
|
||||
this.labelDynamicCorrection.Text = value;
|
||||
|
||||
}
|
||||
public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status)
|
||||
{
|
||||
if (status == DataStore.EquipmentStatus.Start)
|
||||
{
|
||||
this.labelProductNo.Enabled = false;
|
||||
this.buttonProductNo.Enabled = false;
|
||||
this.buttonWeightReference.Enabled = false;
|
||||
this.buttonCopy.Enabled = false;
|
||||
this.buttonPaste.Enabled = false;
|
||||
|
@ -369,7 +346,7 @@ namespace ITC81DB_0H.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.labelProductNo.Enabled = true;
|
||||
this.buttonProductNo.Enabled = true;
|
||||
this.buttonWeightReference.Enabled = true;
|
||||
this.buttonCopy.Enabled = true;
|
||||
this.buttonPaste.Enabled = true;
|
||||
|
@ -389,8 +366,8 @@ namespace ITC81DB_0H.Controls
|
|||
string value = "";
|
||||
|
||||
value = pItem.Number.ToString();
|
||||
if (this.labelProductNo.Text != value)
|
||||
this.labelProductNo.Text = value;
|
||||
if (this.buttonProductNo.Text != value)
|
||||
this.buttonProductNo.Text = value;
|
||||
|
||||
this.UpdateSystemParameterDisplay(this.ParentForm.ParentForm.CurrentJudgmentSetItem);
|
||||
}
|
||||
|
@ -431,11 +408,11 @@ namespace ITC81DB_0H.Controls
|
|||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
private void labelProductNo_Click(object sender, EventArgs e)
|
||||
private void buttonProductNo_Click(object sender, EventArgs e)
|
||||
{
|
||||
string message = "";
|
||||
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelProductNo.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.buttonProductNo.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
|
@ -448,41 +425,14 @@ namespace ITC81DB_0H.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.labelProductNo.Text = myKeyPad.StringValue;
|
||||
this.buttonProductNo.Text = myKeyPad.StringValue;
|
||||
|
||||
this.labelProductNo.Text = "**";
|
||||
this.buttonProductNo.Text = "**";
|
||||
this.ParentForm.ParentForm.TransferProductParameter(myKeyPad.IntValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void labelFilter_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", message = "";
|
||||
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelFilter.Text, 2, 0, false, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 16)
|
||||
{
|
||||
// 입력범위를 확인하세요
|
||||
message = "1~16";
|
||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig1.Language, message);
|
||||
myMsg.ShowDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.labelFilter.Text = myKeyPad.StringValue;
|
||||
this.ParentForm.ParentForm.CurrentJudgmentSetItem.Filter = myKeyPad.IntValue;
|
||||
|
||||
value = Helper.StringZeroFillDigits4(myKeyPad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.Filter, value);
|
||||
|
||||
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.ParentForm.CurrentJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void labelJudgmentDelayTime_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", message = "";
|
||||
|
@ -609,23 +559,6 @@ namespace ITC81DB_0H.Controls
|
|||
}
|
||||
}
|
||||
}
|
||||
private void labelMovingAverage_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", message = "";
|
||||
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelMovingAverage.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
this.labelMovingAverage.Text = myKeyPad.StringValue;
|
||||
|
||||
value = Helper.StringZeroFillDigits4(myKeyPad.StringValue);
|
||||
this.ParentForm.ParentForm.CurrentJudgmentSetItem.MovingAverage = myKeyPad.IntValue;
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.MovingAverage, value);
|
||||
|
||||
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.ParentForm.CurrentJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||
}
|
||||
}
|
||||
|
||||
private void labelDescendDelayTime_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -682,6 +615,36 @@ namespace ITC81DB_0H.Controls
|
|||
}
|
||||
}
|
||||
|
||||
private void labelDynamicCorrection_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", message = "";
|
||||
|
||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelDynamicCorrection.Text, 7, 6, false, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||
|
||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeyPad.doubleValue < 0.500000 || myKeyPad.doubleValue > 2.000000)
|
||||
{
|
||||
// 입력범위를 확인하세요
|
||||
message = "0.500000~2.000000";
|
||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig1.Language, message);
|
||||
myMsg.ShowDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.labelDynamicCorrection.Text = myKeyPad.StringValue;
|
||||
this.ParentForm.ParentForm.CurrentJudgmentSetItem.DynamicCorrection = myKeyPad.doubleValue;
|
||||
|
||||
value = string.Format("{0:f6}", this.labelDynamicCorrection.Text);
|
||||
value = value.Remove(1, 1);
|
||||
value = Helper.StringZeroFillDigits7(value);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.DynamicCorrection, value);
|
||||
|
||||
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.ParentForm.CurrentJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonUsingAutoMode_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.buttonUsingAutoMode.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
|
@ -776,7 +739,7 @@ namespace ITC81DB_0H.Controls
|
|||
|
||||
private void buttonCopy_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.buttonCopy.Text = this.labelProductNo.Text;
|
||||
this.buttonCopy.Text = this.buttonProductNo.Text;
|
||||
|
||||
this.CaptureJudgmentSetItem.Filter = this.ParentForm.ParentForm.CurrentJudgmentSetItem.Filter;
|
||||
this.CaptureJudgmentSetItem.JudgmentDelayTime = this.ParentForm.ParentForm.CurrentJudgmentSetItem.JudgmentDelayTime;
|
||||
|
@ -823,7 +786,7 @@ namespace ITC81DB_0H.Controls
|
|||
|
||||
this.ParentForm.ParentForm.SaveJudgmentSetFile(this.ParentForm.ParentForm.CurrentJudgmentSetItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||
|
||||
this.labelProductNo.Text = "**";
|
||||
this.buttonProductNo.Text = "**";
|
||||
this.ParentForm.ParentForm.TransferProductParameter(this.ParentForm.ParentForm.SystemConfig1.ProductNumber);
|
||||
}
|
||||
private void buttonPasteAll_Click(object sender, EventArgs e)
|
||||
|
@ -888,7 +851,7 @@ namespace ITC81DB_0H.Controls
|
|||
|
||||
this.ParentForm.ParentForm.ReLoadJudgmentSetFile();
|
||||
|
||||
this.labelProductNo.Text = "**";
|
||||
this.buttonProductNo.Text = "**";
|
||||
this.ParentForm.ParentForm.TransferProductParameter(this.ParentForm.ParentForm.SystemConfig1.ProductNumber);
|
||||
|
||||
this.ParentForm.Enabled = true;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2503,7 +2503,7 @@ namespace ITC81DB_0H
|
|||
private int m_FeedSpeed2;
|
||||
private int m_FeedSpeed3;
|
||||
private double m_DynamicCorrection;
|
||||
public int m_MovingAverage;
|
||||
private int m_MovingAverage;
|
||||
|
||||
private int m_Sorter1Mode;
|
||||
private int m_Sorter1DelayTime;
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
this.labelScreen.BackPictureBox2 = null;
|
||||
this.labelScreen.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelScreen.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.labelScreen.Font = new System.Drawing.Font("Arial", 40F, System.Drawing.FontStyle.Bold);
|
||||
this.labelScreen.Font = new System.Drawing.Font("Arial", 35F, System.Drawing.FontStyle.Bold);
|
||||
this.labelScreen.InitVisible = true;
|
||||
this.labelScreen.LineSpacing = 0F;
|
||||
this.labelScreen.Location = new System.Drawing.Point(22, 38);
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace ITC81DB_0H.DialogForms
|
|||
private string m_PasswordEngineer;
|
||||
private string m_PasswordManager;
|
||||
private string m_PasswordDeveloper;
|
||||
private string m_PasswordHiddenMenu;
|
||||
|
||||
private int m_Digit;
|
||||
private int m_DecPoint;
|
||||
|
@ -53,6 +54,11 @@ namespace ITC81DB_0H.DialogForms
|
|||
get { return this.m_PasswordDeveloper; }
|
||||
set { this.m_PasswordDeveloper = value; }
|
||||
}
|
||||
public string PasswordHiddenMenu
|
||||
{
|
||||
get { return this.m_PasswordHiddenMenu; }
|
||||
set { this.m_PasswordHiddenMenu = value; }
|
||||
}
|
||||
|
||||
private int Digit
|
||||
{
|
||||
|
@ -73,14 +79,16 @@ namespace ITC81DB_0H.DialogForms
|
|||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public DialogFormPasswordKeyPad(DataStore.LanguageID language, UserPasswordType user)
|
||||
public DialogFormPasswordKeyPad(int digit, DataStore.LanguageID language, UserPasswordType user)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.Digit = digit;
|
||||
this.PasswordOperator = user.Level1Password;
|
||||
this.PasswordEngineer = user.Level2Password;
|
||||
this.PasswordManager = user.Level3Password;
|
||||
this.PasswordDeveloper = user.Level4Password;
|
||||
this.PasswordHiddenMenu = DateTime.Now.ToString("MMdd") + "0810";
|
||||
|
||||
this.InitializeDesign(language);
|
||||
}
|
||||
|
@ -89,7 +97,7 @@ namespace ITC81DB_0H.DialogForms
|
|||
#region Method
|
||||
private void InputNum(string key)
|
||||
{
|
||||
if (this.InputKey.Length >= 4)
|
||||
if (this.InputKey.Length >= this.Digit)
|
||||
{
|
||||
this.InputKey = key;
|
||||
this.labelScreen.Text = "*";
|
||||
|
@ -165,25 +173,36 @@ namespace ITC81DB_0H.DialogForms
|
|||
{
|
||||
if (this.labelScreen.Text.Length == 4)
|
||||
{
|
||||
if (this.InputKey == this.PasswordDeveloper)
|
||||
if (this.Digit == 4)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level4Developer;
|
||||
if (this.InputKey == this.PasswordDeveloper)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level4Developer;
|
||||
}
|
||||
else if (this.InputKey == this.PasswordManager)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level3Manager;
|
||||
}
|
||||
else if (this.InputKey == this.PasswordEngineer)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level2Engineer;
|
||||
}
|
||||
else if (this.InputKey == this.PasswordOperator)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level1Operator;
|
||||
}
|
||||
}
|
||||
else if (this.InputKey == this.PasswordManager)
|
||||
}
|
||||
else if (this.labelScreen.Text.Length == 8)
|
||||
{
|
||||
if (this.Digit == 8)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level3Manager;
|
||||
}
|
||||
else if (this.InputKey == this.PasswordEngineer)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level2Engineer;
|
||||
}
|
||||
else if (this.InputKey == this.PasswordOperator)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Group = DataStore.UserGroup.Level1Operator;
|
||||
if (this.InputKey == this.PasswordHiddenMenu)
|
||||
this.DialogResult = DialogResult.OK;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,6 @@
|
|||
this.smartSerialPort2.ReceiveFrameDebugMode = false;
|
||||
this.smartSerialPort2.RS485SoftwareDetection = false;
|
||||
this.smartSerialPort2.STXCode = ((byte)(2));
|
||||
this.smartSerialPort2.STXCodes = null;
|
||||
this.smartSerialPort2.TailErrorCodeOffset = 0;
|
||||
this.smartSerialPort2.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort2_OnReadQueueEvent);
|
||||
//
|
||||
|
@ -113,7 +112,6 @@
|
|||
this.smartSerialPort1.ReceiveFrameDebugMode = false;
|
||||
this.smartSerialPort1.RS485SoftwareDetection = false;
|
||||
this.smartSerialPort1.STXCode = ((byte)(2));
|
||||
this.smartSerialPort1.STXCodes = null;
|
||||
this.smartSerialPort1.TailErrorCodeOffset = 0;
|
||||
this.smartSerialPort1.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort1_OnReadQueueEvent);
|
||||
//
|
||||
|
@ -134,7 +132,6 @@
|
|||
this.smartSerialPort4.ReceiveFrameDebugMode = false;
|
||||
this.smartSerialPort4.RS485SoftwareDetection = false;
|
||||
this.smartSerialPort4.STXCode = ((byte)(2));
|
||||
this.smartSerialPort4.STXCodes = null;
|
||||
this.smartSerialPort4.TailErrorCodeOffset = 0;
|
||||
this.smartSerialPort4.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort4_OnReadQueueEvent);
|
||||
//
|
||||
|
@ -155,7 +152,6 @@
|
|||
this.smartSerialPort3.ReceiveFrameDebugMode = false;
|
||||
this.smartSerialPort3.RS485SoftwareDetection = false;
|
||||
this.smartSerialPort3.STXCode = ((byte)(2));
|
||||
this.smartSerialPort3.STXCodes = null;
|
||||
this.smartSerialPort3.TailErrorCodeOffset = 0;
|
||||
this.smartSerialPort3.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort3_OnReadQueueEvent);
|
||||
//
|
||||
|
|
|
@ -1684,12 +1684,6 @@ namespace ITC81DB_0H.Forms
|
|||
}
|
||||
else
|
||||
{
|
||||
if (this.CurrentSystemStatus.CurrentDisplay == DataStore.DisplayStore.SystemIOTest)
|
||||
{
|
||||
if (this.ChildFormMenu.CenterSystemIOTest != null)
|
||||
this.ChildFormMenu.CenterSystemIOTest.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.Equipment);
|
||||
}
|
||||
|
||||
if (this.ChildFormMenu != null)
|
||||
this.ChildFormMenu.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.Equipment);
|
||||
}
|
||||
|
@ -6927,11 +6921,13 @@ namespace ITC81DB_0H.Forms
|
|||
pItem = this.CollectionProductItem[productNumber - 1];
|
||||
jItem = this.CollectionJudgmentItem[productNumber - 1];
|
||||
|
||||
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
||||
sb.Append(Helper.StringZeroFillDigits7(pItem.PassRange)); // 기준값(7)
|
||||
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
||||
sb.Append(Helper.StringZeroFillDigits7(pItem.PassRange)); // 기준값(7)
|
||||
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
||||
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
||||
sb.Append(Helper.StringZeroFillDigits7(jItem.MovingAverage.ToString())); // 이동평균(7)
|
||||
value = Helper.DoubleToString(jItem.DynamicCorrection, 6);
|
||||
value = value.Replace(".", "");
|
||||
sb.Append(Helper.StringZeroFillDigits7(value)); // 동보정(7)
|
||||
sb.Append(Helper.StringZeroFillDigits4(jItem.Filter.ToString())); // 필터(4)
|
||||
sb.Append(Helper.StringZeroFillDigits4(jItem.JudgmentDelayTime.ToString())); // 판정지연(4)
|
||||
sb.Append(Helper.StringZeroFillDigits4(jItem.DoubleDelayTime.ToString())); // 이중지연(4)
|
||||
|
@ -6955,7 +6951,7 @@ namespace ITC81DB_0H.Forms
|
|||
sb.Append("0000000"); // Dummy1(7)
|
||||
sb.Append("0000000"); // Dummy2(7)
|
||||
sb.Append("0000"); // Dummy3(4)
|
||||
sb.Append("0000"); // Dummy4(4)
|
||||
sb.Append(Helper.StringZeroFillDigits4(jItem.MovingAverage.ToString())); // 이동평균(4)
|
||||
sb.Append(Helper.StringZeroFillDigits4(this.SystemConfig1.DecimalPlaces.ToString())); // 소수점(4)
|
||||
sb.Append(Helper.StringZeroFillDigits4(productNumber.ToString())); // 품번
|
||||
|
||||
|
@ -7549,6 +7545,7 @@ namespace ITC81DB_0H.Forms
|
|||
|
||||
this.smartFileIO.WriteStructure_Begin(structItem, i);
|
||||
}
|
||||
this.smartFileIO.WriteStructure_End();
|
||||
}
|
||||
public void OpenSmartFileIO()
|
||||
{
|
||||
|
@ -8020,7 +8017,6 @@ namespace ITC81DB_0H.Forms
|
|||
items[i].FeedSpeed2 = structJudgment.FeedSpeed2;
|
||||
items[i].FeedSpeed3 = structJudgment.FeedSpeed3;
|
||||
items[i].DynamicCorrection = structJudgment.DynamicCorrection;
|
||||
items[i].MovingAverage = structJudgment.MovingAverage;
|
||||
|
||||
items[i].Sorter1Mode = structJudgment.Sorter1Mode;
|
||||
items[i].Sorter1DelayTime = structJudgment.Sorter1DelayTime;
|
||||
|
@ -8036,6 +8032,7 @@ namespace ITC81DB_0H.Forms
|
|||
|
||||
items[i].AscendDelayTime = structJudgment.AscendDelayTime;
|
||||
items[i].DescendDelayTime = structJudgment.DescendDelayTime;
|
||||
items[i].MovingAverage = structJudgment.MovingAverage;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -526,9 +526,7 @@ namespace ITC81DB_0H.Forms
|
|||
private bool EquipmentRun(DataStore.DisplayStore currentDisplay)
|
||||
{
|
||||
if (currentDisplay == DataStore.DisplayStore.SystemJudgmentManual
|
||||
|| currentDisplay == DataStore.DisplayStore.SystemSorterSetting
|
||||
|| currentDisplay == DataStore.DisplayStore.SystemIOTest
|
||||
|| currentDisplay == DataStore.DisplayStore.SystemJudgmentAuto)
|
||||
|| currentDisplay == DataStore.DisplayStore.SystemSorterSetting)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
@ -605,8 +603,13 @@ namespace ITC81DB_0H.Forms
|
|||
this.CenterInforSystem.DisplayHiddenMenu(true);
|
||||
break;
|
||||
case DataStore.DisplayStore.EquipHelp:
|
||||
this.CenterEquipHelp.DisplayHiddenMenu(true);
|
||||
this.bottomEquipment.DisplayHiddenMenu(true);
|
||||
DialogFormPasswordKeyPad password = new DialogFormPasswordKeyPad(8, this.ParentForm.SystemConfig1.Language, this.ParentForm.CurrentSystemStatus.CurrentUserPasswordType);
|
||||
DialogResult dialogResult = password.ShowDialog();
|
||||
if (dialogResult == DialogResult.OK)
|
||||
{
|
||||
this.CenterEquipHelp.DisplayHiddenMenu(true);
|
||||
this.bottomEquipment.DisplayHiddenMenu(true);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -1442,6 +1445,11 @@ namespace ITC81DB_0H.Forms
|
|||
{
|
||||
this.DisplayHiddenMenu(this.ParentForm.CurrentSystemStatus.CurrentDisplay, this.ParentForm.SystemConfig1);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Group == DataStore.UserGroup.Level3Manager)
|
||||
this.DisplayHiddenMenu(this.ParentForm.CurrentSystemStatus.CurrentDisplay, this.ParentForm.SystemConfig1);
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonMain_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -12,6 +12,14 @@
|
|||
기본형 컨베어 고정밀센서 계량기
|
||||
*/
|
||||
|
||||
@ Ver 1.0.5 by CJY
|
||||
- 2020.11.27
|
||||
- Ver 1.0.4 Modify
|
||||
- 판정설정
|
||||
1. 필터, 이동평균 -> 엔지니어 메뉴로
|
||||
2. 동보정 추가
|
||||
- 초기화 시 판정설정 값 이상 버그 수정
|
||||
|
||||
@ Ver 1.0.4 by CJY
|
||||
- 2020.11.19
|
||||
- Ver 1.0.3 Modify
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -3004,9 +3004,6 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\korBackgroundCalibration.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\korBackgroundJudgment.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\korJudgmentStandardUp.png" />
|
||||
</ItemGroup>
|
||||
|
@ -3055,9 +3052,6 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\engJudgmentStandardUp.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\engBackgroundJudgment.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\engJudgmentStandardDisable.png" />
|
||||
</ItemGroup>
|
||||
|
@ -3244,6 +3238,12 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\gerCalibrationStartDisable.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\korBackgroundJudgment.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\engBackgroundJudgment.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 57 KiB |
Binary file not shown.
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 46 KiB |
Binary file not shown.
Loading…
Reference in New Issue