- 메인보드 업데이트 부분 수정

- 외부출력 모드 정리
 - 프로그램 에러 메시지 로그 저장 기능 추가(SD Card\\DataBackup\\)
master
CJY 2020-09-24 15:20:07 +09:00
parent 3696c544ad
commit 27e9ae116a
13 changed files with 279 additions and 191 deletions

View File

@ -135,7 +135,7 @@ namespace ITC81DB_0H.Controls
foreach (FileInfo file in files) foreach (FileInfo file in files)
{ {
if (file.Name.StartsWith("20") == true || file.Name.StartsWith("Communicationlog") == true || file.Name.EndsWith(".jpg") == true) if (file.Name.StartsWith("20") == true || file.Name.StartsWith("Communicationlog") == true || file.Name.EndsWith(".jpg") == true || file.Name.EndsWith(".txt") == true)
this.listBoxDataList.Items.Add(file.Name); this.listBoxDataList.Items.Add(file.Name);
} }
@ -245,7 +245,7 @@ namespace ITC81DB_0H.Controls
foreach (FileInfo file in files) foreach (FileInfo file in files)
{ {
if (file.Name.StartsWith("20") == true || file.Name.StartsWith("Communicationlog") == true if (file.Name.StartsWith("20") == true || file.Name.StartsWith("Communicationlog") == true
|| file.Name.EndsWith(".jpg") == true) || file.Name.EndsWith(".jpg") == true || file.Name.EndsWith(".txt") == true)
{ {
this.FileCopy(file, filePath + file.Name); this.FileCopy(file, filePath + file.Name);

View File

@ -100,7 +100,7 @@
this.labelConveyorLength.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold); this.labelConveyorLength.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelConveyorLength.InitVisible = true; this.labelConveyorLength.InitVisible = true;
this.labelConveyorLength.LineSpacing = 0F; this.labelConveyorLength.LineSpacing = 0F;
this.labelConveyorLength.Location = new System.Drawing.Point(401, 118); this.labelConveyorLength.Location = new System.Drawing.Point(381, 129);
this.labelConveyorLength.Name = "labelConveyorLength"; this.labelConveyorLength.Name = "labelConveyorLength";
this.labelConveyorLength.Size = new System.Drawing.Size(120, 28); this.labelConveyorLength.Size = new System.Drawing.Size(120, 28);
this.labelConveyorLength.TabIndex = 208; this.labelConveyorLength.TabIndex = 208;
@ -121,9 +121,9 @@
this.labelTitleConveyorLength.ForeColor = System.Drawing.Color.White; this.labelTitleConveyorLength.ForeColor = System.Drawing.Color.White;
this.labelTitleConveyorLength.InitVisible = true; this.labelTitleConveyorLength.InitVisible = true;
this.labelTitleConveyorLength.LineSpacing = 0F; this.labelTitleConveyorLength.LineSpacing = 0F;
this.labelTitleConveyorLength.Location = new System.Drawing.Point(130, 118); this.labelTitleConveyorLength.Location = new System.Drawing.Point(115, 129);
this.labelTitleConveyorLength.Name = "labelTitleConveyorLength"; this.labelTitleConveyorLength.Name = "labelTitleConveyorLength";
this.labelTitleConveyorLength.Size = new System.Drawing.Size(265, 28); this.labelTitleConveyorLength.Size = new System.Drawing.Size(260, 28);
this.labelTitleConveyorLength.TabIndex = 207; this.labelTitleConveyorLength.TabIndex = 207;
this.labelTitleConveyorLength.Text = "컨베어 길이"; this.labelTitleConveyorLength.Text = "컨베어 길이";
this.labelTitleConveyorLength.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleConveyorLength.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -134,7 +134,7 @@
// comboBoxStatisticsPrintFormat // comboBoxStatisticsPrintFormat
// //
this.comboBoxStatisticsPrintFormat.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.comboBoxStatisticsPrintFormat.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
this.comboBoxStatisticsPrintFormat.Location = new System.Drawing.Point(401, 274); this.comboBoxStatisticsPrintFormat.Location = new System.Drawing.Point(381, 289);
this.comboBoxStatisticsPrintFormat.Name = "comboBoxStatisticsPrintFormat"; this.comboBoxStatisticsPrintFormat.Name = "comboBoxStatisticsPrintFormat";
this.comboBoxStatisticsPrintFormat.Size = new System.Drawing.Size(120, 28); this.comboBoxStatisticsPrintFormat.Size = new System.Drawing.Size(120, 28);
this.comboBoxStatisticsPrintFormat.TabIndex = 206; this.comboBoxStatisticsPrintFormat.TabIndex = 206;
@ -150,9 +150,9 @@
this.labelTitleStatPrintFormat.ForeColor = System.Drawing.Color.White; this.labelTitleStatPrintFormat.ForeColor = System.Drawing.Color.White;
this.labelTitleStatPrintFormat.InitVisible = true; this.labelTitleStatPrintFormat.InitVisible = true;
this.labelTitleStatPrintFormat.LineSpacing = 0F; this.labelTitleStatPrintFormat.LineSpacing = 0F;
this.labelTitleStatPrintFormat.Location = new System.Drawing.Point(130, 274); this.labelTitleStatPrintFormat.Location = new System.Drawing.Point(115, 289);
this.labelTitleStatPrintFormat.Name = "labelTitleStatPrintFormat"; this.labelTitleStatPrintFormat.Name = "labelTitleStatPrintFormat";
this.labelTitleStatPrintFormat.Size = new System.Drawing.Size(265, 28); this.labelTitleStatPrintFormat.Size = new System.Drawing.Size(260, 28);
this.labelTitleStatPrintFormat.TabIndex = 205; this.labelTitleStatPrintFormat.TabIndex = 205;
this.labelTitleStatPrintFormat.Text = "데이터집계 출력 포맷"; this.labelTitleStatPrintFormat.Text = "데이터집계 출력 포맷";
this.labelTitleStatPrintFormat.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleStatPrintFormat.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -162,7 +162,7 @@
// comboBoxFilenameExtension // comboBoxFilenameExtension
// //
this.comboBoxFilenameExtension.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.comboBoxFilenameExtension.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
this.comboBoxFilenameExtension.Location = new System.Drawing.Point(401, 206); this.comboBoxFilenameExtension.Location = new System.Drawing.Point(381, 221);
this.comboBoxFilenameExtension.Name = "comboBoxFilenameExtension"; this.comboBoxFilenameExtension.Name = "comboBoxFilenameExtension";
this.comboBoxFilenameExtension.Size = new System.Drawing.Size(120, 28); this.comboBoxFilenameExtension.Size = new System.Drawing.Size(120, 28);
this.comboBoxFilenameExtension.TabIndex = 204; this.comboBoxFilenameExtension.TabIndex = 204;
@ -178,9 +178,9 @@
this.labelTitleFileNameExtension.ForeColor = System.Drawing.Color.White; this.labelTitleFileNameExtension.ForeColor = System.Drawing.Color.White;
this.labelTitleFileNameExtension.InitVisible = true; this.labelTitleFileNameExtension.InitVisible = true;
this.labelTitleFileNameExtension.LineSpacing = 0F; this.labelTitleFileNameExtension.LineSpacing = 0F;
this.labelTitleFileNameExtension.Location = new System.Drawing.Point(130, 206); this.labelTitleFileNameExtension.Location = new System.Drawing.Point(115, 221);
this.labelTitleFileNameExtension.Name = "labelTitleFileNameExtension"; this.labelTitleFileNameExtension.Name = "labelTitleFileNameExtension";
this.labelTitleFileNameExtension.Size = new System.Drawing.Size(265, 28); this.labelTitleFileNameExtension.Size = new System.Drawing.Size(260, 28);
this.labelTitleFileNameExtension.TabIndex = 203; this.labelTitleFileNameExtension.TabIndex = 203;
this.labelTitleFileNameExtension.Text = "데이터백업 확장자"; this.labelTitleFileNameExtension.Text = "데이터백업 확장자";
this.labelTitleFileNameExtension.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleFileNameExtension.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -197,9 +197,9 @@
this.labelTitleBarcode.ForeColor = System.Drawing.Color.White; this.labelTitleBarcode.ForeColor = System.Drawing.Color.White;
this.labelTitleBarcode.InitVisible = true; this.labelTitleBarcode.InitVisible = true;
this.labelTitleBarcode.LineSpacing = 0F; this.labelTitleBarcode.LineSpacing = 0F;
this.labelTitleBarcode.Location = new System.Drawing.Point(130, 308); this.labelTitleBarcode.Location = new System.Drawing.Point(115, 323);
this.labelTitleBarcode.Name = "labelTitleBarcode"; this.labelTitleBarcode.Name = "labelTitleBarcode";
this.labelTitleBarcode.Size = new System.Drawing.Size(265, 28); this.labelTitleBarcode.Size = new System.Drawing.Size(260, 28);
this.labelTitleBarcode.TabIndex = 202; this.labelTitleBarcode.TabIndex = 202;
this.labelTitleBarcode.Text = "바코드"; this.labelTitleBarcode.Text = "바코드";
this.labelTitleBarcode.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleBarcode.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -218,7 +218,7 @@
this.buttonBarcode.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBarcode.DownImage"))); this.buttonBarcode.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBarcode.DownImage")));
this.buttonBarcode.GroupID = 0; this.buttonBarcode.GroupID = 0;
this.buttonBarcode.InitVisible = true; this.buttonBarcode.InitVisible = true;
this.buttonBarcode.Location = new System.Drawing.Point(401, 308); this.buttonBarcode.Location = new System.Drawing.Point(381, 323);
this.buttonBarcode.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; this.buttonBarcode.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonBarcode.Name = "buttonBarcode"; this.buttonBarcode.Name = "buttonBarcode";
this.buttonBarcode.NestedClickEventPrevent = false; this.buttonBarcode.NestedClickEventPrevent = false;
@ -240,7 +240,7 @@
// comboBoxDataBackupFormat // comboBoxDataBackupFormat
// //
this.comboBoxDataBackupFormat.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.comboBoxDataBackupFormat.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
this.comboBoxDataBackupFormat.Location = new System.Drawing.Point(401, 240); this.comboBoxDataBackupFormat.Location = new System.Drawing.Point(381, 255);
this.comboBoxDataBackupFormat.Name = "comboBoxDataBackupFormat"; this.comboBoxDataBackupFormat.Name = "comboBoxDataBackupFormat";
this.comboBoxDataBackupFormat.Size = new System.Drawing.Size(120, 28); this.comboBoxDataBackupFormat.Size = new System.Drawing.Size(120, 28);
this.comboBoxDataBackupFormat.TabIndex = 200; this.comboBoxDataBackupFormat.TabIndex = 200;
@ -256,9 +256,9 @@
this.labelTitleDataBackupFormat.ForeColor = System.Drawing.Color.White; this.labelTitleDataBackupFormat.ForeColor = System.Drawing.Color.White;
this.labelTitleDataBackupFormat.InitVisible = true; this.labelTitleDataBackupFormat.InitVisible = true;
this.labelTitleDataBackupFormat.LineSpacing = 0F; this.labelTitleDataBackupFormat.LineSpacing = 0F;
this.labelTitleDataBackupFormat.Location = new System.Drawing.Point(130, 240); this.labelTitleDataBackupFormat.Location = new System.Drawing.Point(115, 255);
this.labelTitleDataBackupFormat.Name = "labelTitleDataBackupFormat"; this.labelTitleDataBackupFormat.Name = "labelTitleDataBackupFormat";
this.labelTitleDataBackupFormat.Size = new System.Drawing.Size(265, 28); this.labelTitleDataBackupFormat.Size = new System.Drawing.Size(260, 28);
this.labelTitleDataBackupFormat.TabIndex = 199; this.labelTitleDataBackupFormat.TabIndex = 199;
this.labelTitleDataBackupFormat.Text = "데이터백업 포맷"; this.labelTitleDataBackupFormat.Text = "데이터백업 포맷";
this.labelTitleDataBackupFormat.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleDataBackupFormat.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -268,7 +268,7 @@
// comboBoxOptionBoard // comboBoxOptionBoard
// //
this.comboBoxOptionBoard.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.comboBoxOptionBoard.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
this.comboBoxOptionBoard.Location = new System.Drawing.Point(401, 172); this.comboBoxOptionBoard.Location = new System.Drawing.Point(381, 187);
this.comboBoxOptionBoard.Name = "comboBoxOptionBoard"; this.comboBoxOptionBoard.Name = "comboBoxOptionBoard";
this.comboBoxOptionBoard.Size = new System.Drawing.Size(120, 28); this.comboBoxOptionBoard.Size = new System.Drawing.Size(120, 28);
this.comboBoxOptionBoard.TabIndex = 198; this.comboBoxOptionBoard.TabIndex = 198;
@ -285,9 +285,9 @@
this.labelTitleOptionBoard.ForeColor = System.Drawing.Color.White; this.labelTitleOptionBoard.ForeColor = System.Drawing.Color.White;
this.labelTitleOptionBoard.InitVisible = true; this.labelTitleOptionBoard.InitVisible = true;
this.labelTitleOptionBoard.LineSpacing = 0F; this.labelTitleOptionBoard.LineSpacing = 0F;
this.labelTitleOptionBoard.Location = new System.Drawing.Point(130, 172); this.labelTitleOptionBoard.Location = new System.Drawing.Point(115, 187);
this.labelTitleOptionBoard.Name = "labelTitleOptionBoard"; this.labelTitleOptionBoard.Name = "labelTitleOptionBoard";
this.labelTitleOptionBoard.Size = new System.Drawing.Size(265, 28); this.labelTitleOptionBoard.Size = new System.Drawing.Size(260, 28);
this.labelTitleOptionBoard.TabIndex = 197; this.labelTitleOptionBoard.TabIndex = 197;
this.labelTitleOptionBoard.Text = "옵션보드"; this.labelTitleOptionBoard.Text = "옵션보드";
this.labelTitleOptionBoard.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleOptionBoard.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -305,9 +305,9 @@
this.labelTitleCommunicationOption.ForeColor = System.Drawing.Color.White; this.labelTitleCommunicationOption.ForeColor = System.Drawing.Color.White;
this.labelTitleCommunicationOption.InitVisible = true; this.labelTitleCommunicationOption.InitVisible = true;
this.labelTitleCommunicationOption.LineSpacing = 0F; this.labelTitleCommunicationOption.LineSpacing = 0F;
this.labelTitleCommunicationOption.Location = new System.Drawing.Point(130, 84); this.labelTitleCommunicationOption.Location = new System.Drawing.Point(115, 95);
this.labelTitleCommunicationOption.Name = "labelTitleCommunicationOption"; this.labelTitleCommunicationOption.Name = "labelTitleCommunicationOption";
this.labelTitleCommunicationOption.Size = new System.Drawing.Size(265, 28); this.labelTitleCommunicationOption.Size = new System.Drawing.Size(260, 28);
this.labelTitleCommunicationOption.TabIndex = 196; this.labelTitleCommunicationOption.TabIndex = 196;
this.labelTitleCommunicationOption.Text = "통신모드 옵션 사용"; this.labelTitleCommunicationOption.Text = "통신모드 옵션 사용";
this.labelTitleCommunicationOption.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleCommunicationOption.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -326,7 +326,7 @@
this.buttonCommunicationOption.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCommunicationOption.DownImage"))); this.buttonCommunicationOption.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCommunicationOption.DownImage")));
this.buttonCommunicationOption.GroupID = 0; this.buttonCommunicationOption.GroupID = 0;
this.buttonCommunicationOption.InitVisible = true; this.buttonCommunicationOption.InitVisible = true;
this.buttonCommunicationOption.Location = new System.Drawing.Point(401, 84); this.buttonCommunicationOption.Location = new System.Drawing.Point(381, 95);
this.buttonCommunicationOption.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; this.buttonCommunicationOption.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonCommunicationOption.Name = "buttonCommunicationOption"; this.buttonCommunicationOption.Name = "buttonCommunicationOption";
this.buttonCommunicationOption.NestedClickEventPrevent = false; this.buttonCommunicationOption.NestedClickEventPrevent = false;
@ -348,7 +348,7 @@
// comboBoxEquipmentType // comboBoxEquipmentType
// //
this.comboBoxEquipmentType.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.comboBoxEquipmentType.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold);
this.comboBoxEquipmentType.Location = new System.Drawing.Point(401, 50); this.comboBoxEquipmentType.Location = new System.Drawing.Point(381, 61);
this.comboBoxEquipmentType.Name = "comboBoxEquipmentType"; this.comboBoxEquipmentType.Name = "comboBoxEquipmentType";
this.comboBoxEquipmentType.Size = new System.Drawing.Size(180, 28); this.comboBoxEquipmentType.Size = new System.Drawing.Size(180, 28);
this.comboBoxEquipmentType.TabIndex = 190; this.comboBoxEquipmentType.TabIndex = 190;
@ -447,9 +447,9 @@
this.labelTitleEquipmentType.ForeColor = System.Drawing.Color.White; this.labelTitleEquipmentType.ForeColor = System.Drawing.Color.White;
this.labelTitleEquipmentType.InitVisible = true; this.labelTitleEquipmentType.InitVisible = true;
this.labelTitleEquipmentType.LineSpacing = 0F; this.labelTitleEquipmentType.LineSpacing = 0F;
this.labelTitleEquipmentType.Location = new System.Drawing.Point(130, 50); this.labelTitleEquipmentType.Location = new System.Drawing.Point(115, 61);
this.labelTitleEquipmentType.Name = "labelTitleEquipmentType"; this.labelTitleEquipmentType.Name = "labelTitleEquipmentType";
this.labelTitleEquipmentType.Size = new System.Drawing.Size(265, 28); this.labelTitleEquipmentType.Size = new System.Drawing.Size(260, 28);
this.labelTitleEquipmentType.TabIndex = 117; this.labelTitleEquipmentType.TabIndex = 117;
this.labelTitleEquipmentType.Text = "장비타입"; this.labelTitleEquipmentType.Text = "장비타입";
this.labelTitleEquipmentType.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; this.labelTitleEquipmentType.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;

View File

@ -524,6 +524,5 @@ namespace ITC81DB_0H.Controls
} }
} }
#endregion #endregion
} }
} }

View File

@ -30,7 +30,7 @@
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlCenterEquipUpdate)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlCenterEquipUpdate));
this.smartGroupBox1 = new SmartX.SmartGroupBox(); this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.ButtonLCD = new SmartX.SmartButton(); this.buttonLCD = new SmartX.SmartButton();
this.buttonMainBoard = new SmartX.SmartButton(); this.buttonMainBoard = new SmartX.SmartButton();
this.labelMessage2 = new SmartX.SmartLabel(); this.labelMessage2 = new SmartX.SmartLabel();
this.labelMessage1 = new SmartX.SmartLabel(); this.labelMessage1 = new SmartX.SmartLabel();
@ -44,7 +44,7 @@
this.smartGroupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46))))); this.smartGroupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46)))));
this.smartGroupBox1.BackPictureBox = null; this.smartGroupBox1.BackPictureBox = null;
this.smartGroupBox1.BackPictureBox1 = null; this.smartGroupBox1.BackPictureBox1 = null;
this.smartGroupBox1.Controls.Add(this.ButtonLCD); this.smartGroupBox1.Controls.Add(this.buttonLCD);
this.smartGroupBox1.Controls.Add(this.buttonMainBoard); this.smartGroupBox1.Controls.Add(this.buttonMainBoard);
this.smartGroupBox1.Controls.Add(this.labelMessage2); this.smartGroupBox1.Controls.Add(this.labelMessage2);
this.smartGroupBox1.Controls.Add(this.labelMessage1); this.smartGroupBox1.Controls.Add(this.labelMessage1);
@ -62,38 +62,38 @@
this.smartGroupBox1.TabIndex = 176; this.smartGroupBox1.TabIndex = 176;
this.smartGroupBox1.TextColor = System.Drawing.Color.Black; this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
// //
// ButtonLCD // buttonLCD
// //
this.ButtonLCD.BackPictureBox = null; this.buttonLCD.BackPictureBox = null;
this.ButtonLCD.BackPictureBox1 = null; this.buttonLCD.BackPictureBox1 = null;
this.ButtonLCD.BackPictureBox2 = null; this.buttonLCD.BackPictureBox2 = null;
this.ButtonLCD.ButtonColor = System.Drawing.Color.Gray; this.buttonLCD.ButtonColor = System.Drawing.Color.Gray;
this.ButtonLCD.ButtonImageAutoSize = true; this.buttonLCD.ButtonImageAutoSize = true;
this.ButtonLCD.ColorKeySamplePosition = new System.Drawing.Point(0, 0); this.buttonLCD.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.ButtonLCD.DisableImage = ((System.Drawing.Image)(resources.GetObject("ButtonLCD.DisableImage"))); this.buttonLCD.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonLCD.DisableImage")));
this.ButtonLCD.DownImage = ((System.Drawing.Image)(resources.GetObject("ButtonLCD.DownImage"))); this.buttonLCD.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLCD.DownImage")));
this.ButtonLCD.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold); this.buttonLCD.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.ButtonLCD.GroupID = 0; this.buttonLCD.GroupID = 0;
this.ButtonLCD.InitVisible = true; this.buttonLCD.InitVisible = true;
this.ButtonLCD.Location = new System.Drawing.Point(360, 298); this.buttonLCD.Location = new System.Drawing.Point(360, 298);
this.ButtonLCD.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.buttonLCD.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.ButtonLCD.Name = "ButtonLCD"; this.buttonLCD.Name = "buttonLCD";
this.ButtonLCD.NestedClickEventPrevent = false; this.buttonLCD.NestedClickEventPrevent = false;
this.ButtonLCD.OutlinePixel = 1; this.buttonLCD.OutlinePixel = 1;
this.ButtonLCD.RepeatInterval = 200; this.buttonLCD.RepeatInterval = 200;
this.ButtonLCD.RepeatIntervalAccelerate = null; this.buttonLCD.RepeatIntervalAccelerate = null;
this.ButtonLCD.SafeInterval = 200; this.buttonLCD.SafeInterval = 200;
this.ButtonLCD.Size = new System.Drawing.Size(200, 50); this.buttonLCD.Size = new System.Drawing.Size(200, 50);
this.ButtonLCD.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; this.buttonLCD.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.ButtonLCD.TabIndex = 24; this.buttonLCD.TabIndex = 24;
this.ButtonLCD.Text = "LCD"; this.buttonLCD.Text = "LCD";
this.ButtonLCD.TextColor = System.Drawing.Color.White; this.buttonLCD.TextColor = System.Drawing.Color.White;
this.ButtonLCD.TextDownColor = System.Drawing.Color.White; this.buttonLCD.TextDownColor = System.Drawing.Color.White;
this.ButtonLCD.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; this.buttonLCD.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.ButtonLCD.TextLocation = new System.Drawing.Point(0, 0); this.buttonLCD.TextLocation = new System.Drawing.Point(0, 0);
this.ButtonLCD.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; this.buttonLCD.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.ButtonLCD.UpImage = ((System.Drawing.Image)(resources.GetObject("ButtonLCD.UpImage"))); this.buttonLCD.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLCD.UpImage")));
this.ButtonLCD.Click += new System.EventHandler(this.ButtonLCD_Click); this.buttonLCD.Click += new System.EventHandler(this.ButtonLCD_Click);
// //
// buttonMainBoard // buttonMainBoard
// //
@ -197,6 +197,7 @@
// timerForMainBoard // timerForMainBoard
// //
this.timerForMainBoard.Interval = 1000; this.timerForMainBoard.Interval = 1000;
this.timerForMainBoard.Tick += new System.EventHandler(this.timerForMainBoard_Tick);
// //
// ControlCenterEquipUpdate // ControlCenterEquipUpdate
// //
@ -217,7 +218,7 @@
public SmartX.SmartLabel labelMessage2; public SmartX.SmartLabel labelMessage2;
public SmartX.SmartLabel labelMessage1; public SmartX.SmartLabel labelMessage1;
public SmartX.SmartProgressBar progressBarUpdate; public SmartX.SmartProgressBar progressBarUpdate;
private SmartX.SmartButton ButtonLCD; private SmartX.SmartButton buttonLCD;
private SmartX.SmartButton buttonMainBoard; private SmartX.SmartButton buttonMainBoard;
private System.Windows.Forms.Timer timerForMainBoard; private System.Windows.Forms.Timer timerForMainBoard;
} }

View File

@ -240,8 +240,6 @@ namespace ITC81DB_0H.Controls
this.TreatmentCopyNewFile(newFiles); this.TreatmentCopyNewFile(newFiles);
this.progressBarUpdate.Value += 100;
this.ParentForm.Enabled = false; this.ParentForm.Enabled = false;
this.UpdateStep = DataStore.Step3.Step3; this.UpdateStep = DataStore.Step3.Step3;
@ -284,6 +282,10 @@ namespace ITC81DB_0H.Controls
long a = 0; long a = 0;
int count = 0, byteCount = 0; int count = 0, byteCount = 0;
this.ParentForm.Enabled = false;
this.buttonMainBoard.Enabled = false;
this.buttonLCD.Enabled = false;
FileStream fs = new FileStream(this.UpdateFilePath, FileMode.Open, FileAccess.Read); FileStream fs = new FileStream(this.UpdateFilePath, FileMode.Open, FileAccess.Read);
BinaryReader br = new BinaryReader(fs); BinaryReader br = new BinaryReader(fs);
@ -294,6 +296,9 @@ namespace ITC81DB_0H.Controls
count = byteCount / 100; count = byteCount / 100;
this.ParentForm.ParentForm.UpdateForMain.SendDataCount = count; this.ParentForm.ParentForm.UpdateForMain.SendDataCount = count;
this.UpdateStep = DataStore.Step3.Step2;
this.UpdateLabelStatus(this.UpdateStep, this.ParentForm.ParentForm.SystemConfig1.Language);
this.timerForMainBoard.Enabled = true; this.timerForMainBoard.Enabled = true;
} }
public void SetProgressBarValue(int value) public void SetProgressBarValue(int value)
@ -301,10 +306,50 @@ namespace ITC81DB_0H.Controls
this.progressBarUpdate.Value += value; this.progressBarUpdate.Value += value;
} }
public void UpdateMainBoardFail() public void UpdateMainBoardFail(DataStore.LanguageID language)
{ {
this.ParentForm.Enabled = false;
switch (language)
{
case DataStore.LanguageID.Korean:
this.labelMessage1.Font = new Font("새굴림", 17, FontStyle.Regular);
this.labelMessage1.Text = "업데이트가 실패하였습니다.";
this.labelMessage2.Font = new Font("새굴림", 17, FontStyle.Regular);
this.labelMessage2.Text = "메인보드를 체크해 주시기 바랍니다.";
break;
case DataStore.LanguageID.English:
this.labelMessage1.Font = new Font("새굴림", 17, FontStyle.Regular);
this.labelMessage1.Text = "Update Fail!"; this.labelMessage1.Text = "Update Fail!";
this.labelMessage2.Font = new Font("새굴림", 17, FontStyle.Regular);
this.labelMessage2.Text = "Please Check your MainBoard"; this.labelMessage2.Text = "Please Check your MainBoard";
break;
case DataStore.LanguageID.Chinese:
this.labelMessage1.Font = new Font("새굴림", 17, FontStyle.Regular);
this.labelMessage1.Text = "更新失败!";
this.labelMessage2.Font = new Font("새굴림", 17, FontStyle.Regular);
this.labelMessage2.Text = "请检查您的主板";
break;
case DataStore.LanguageID.German:
this.labelMessage1.Font = new Font("새굴림", 12, FontStyle.Regular);
this.labelMessage1.Text = "Update fehlgeschlagen!";
this.labelMessage2.Font = new Font("새굴림", 12, FontStyle.Regular);
this.labelMessage2.Text = "Bitte überprüfen Sie Ihr MainBoard";
break;
case DataStore.LanguageID.Russian:
this.labelMessage1.Font = new Font("새굴림", 12, FontStyle.Regular);
this.labelMessage1.Text = "Ошибка обновления!";
this.labelMessage2.Font = new Font("새굴림", 12, FontStyle.Regular);
this.labelMessage2.Text = "Пожалуйста, проверьте свою главную доску";
break;
default:
break;
}
}
public void UpdateMainBoardFinish()
{
this.UpdateStep = DataStore.Step3.Step3;
this.UpdateLabelStatus(this.UpdateStep, this.ParentForm.ParentForm.SystemConfig1.Language);
} }
private void UpdateLabelStatus(DataStore.Step3 step, DataStore.LanguageID language) private void UpdateLabelStatus(DataStore.Step3 step, DataStore.LanguageID language)
{ {
@ -427,6 +472,8 @@ namespace ITC81DB_0H.Controls
break; break;
} }
#endregion #endregion
this.progressBarUpdate.Value = 100;
break; break;
default: default:
break; break;
@ -445,7 +492,7 @@ namespace ITC81DB_0H.Controls
if (check == DataStore.UpdateCheck.Success) if (check == DataStore.UpdateCheck.Success)
{ {
this.buttonMainBoard.Enabled = false; this.buttonMainBoard.Enabled = false;
this.ButtonLCD.Enabled = false; this.buttonLCD.Enabled = false;
this.UpdateStep = DataStore.Step3.Step2; this.UpdateStep = DataStore.Step3.Step2;
this.UpdateLabelStatus(this.UpdateStep, this.ParentForm.ParentForm.SystemConfig1.Language); this.UpdateLabelStatus(this.UpdateStep, this.ParentForm.ParentForm.SystemConfig1.Language);

View File

@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="ButtonLCD.DisableImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="buttonLCD.DisableImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAYAAAAZUZThAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAYAAAAZUZThAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
@ -177,7 +177,7 @@
7p/mvT1ArQAAAABJRU5ErkJggg== 7p/mvT1ArQAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="ButtonLCD.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="buttonLCD.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAYAAAAZUZThAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAYAAAAZUZThAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
@ -264,7 +264,7 @@
mDvXOKkDGo0G/wcEB5qkUo3SkQAAAABJRU5ErkJggg== mDvXOKkDGo0G/wcEB5qkUo3SkQAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="ButtonLCD.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="buttonLCD.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAYAAAAZUZThAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAYAAAAZUZThAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
@ -646,7 +646,10 @@
</value> </value>
</data> </data>
<metadata name="timerForMainBoard.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="timerForMainBoard.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>418, 17</value> <value>404, 11</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>45</value>
</metadata> </metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve"> <metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value> <value>WEBPAD</value>

View File

@ -66,7 +66,7 @@ namespace ITC81DB_0H.Controls
private void DefaultSetting() private void DefaultSetting()
{ {
this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig1.SerialNumber; this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig1.SerialNumber;
this.labelDisplayVer.Text = "1.0.0"; this.labelDisplayVer.Text = "1.0.1";
} }
public void UpdateMainBoardVersionDisplay(string version) public void UpdateMainBoardVersionDisplay(string version)

View File

@ -58,10 +58,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter1Mode.Items.Add("Pass"); this.comboBoxSorter1Mode.Items.Add("Pass");
this.comboBoxSorter1Mode.Items.Add("Run"); this.comboBoxSorter1Mode.Items.Add("Run");
this.comboBoxSorter1Mode.Items.Add("Count"); this.comboBoxSorter1Mode.Items.Add("Count");
this.comboBoxSorter1Mode.Items.Add("Counting output1"); //this.comboBoxSorter1Mode.Items.Add("Counting output1");
this.comboBoxSorter1Mode.Items.Add("Counting output2"); //this.comboBoxSorter1Mode.Items.Add("Counting output2");
this.comboBoxSorter1Mode.Items.Add("ExNG"); //this.comboBoxSorter1Mode.Items.Add("ExNG");
this.comboBoxSorter1Mode.Items.Add("Latch control"); //this.comboBoxSorter1Mode.Items.Add("Latch control");
this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged); this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged);
this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
@ -73,10 +73,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter2Mode.Items.Add("Pass"); this.comboBoxSorter2Mode.Items.Add("Pass");
this.comboBoxSorter2Mode.Items.Add("Run"); this.comboBoxSorter2Mode.Items.Add("Run");
this.comboBoxSorter2Mode.Items.Add("Count"); this.comboBoxSorter2Mode.Items.Add("Count");
this.comboBoxSorter2Mode.Items.Add("Counting output1"); //this.comboBoxSorter2Mode.Items.Add("Counting output1");
this.comboBoxSorter2Mode.Items.Add("Counting output2"); //this.comboBoxSorter2Mode.Items.Add("Counting output2");
this.comboBoxSorter2Mode.Items.Add("ExNG"); //this.comboBoxSorter2Mode.Items.Add("ExNG");
this.comboBoxSorter2Mode.Items.Add("Latch control"); //this.comboBoxSorter2Mode.Items.Add("Latch control");
this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
@ -88,10 +88,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter3Mode.Items.Add("Pass"); this.comboBoxSorter3Mode.Items.Add("Pass");
this.comboBoxSorter3Mode.Items.Add("Run"); this.comboBoxSorter3Mode.Items.Add("Run");
this.comboBoxSorter3Mode.Items.Add("Count"); this.comboBoxSorter3Mode.Items.Add("Count");
this.comboBoxSorter3Mode.Items.Add("Counting output1"); //this.comboBoxSorter3Mode.Items.Add("Counting output1");
this.comboBoxSorter3Mode.Items.Add("Counting output2"); //this.comboBoxSorter3Mode.Items.Add("Counting output2");
this.comboBoxSorter3Mode.Items.Add("ExNG"); //this.comboBoxSorter3Mode.Items.Add("ExNG");
this.comboBoxSorter3Mode.Items.Add("Latch control"); //this.comboBoxSorter3Mode.Items.Add("Latch control");
this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
@ -103,10 +103,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter4Mode.Items.Add("Pass"); this.comboBoxSorter4Mode.Items.Add("Pass");
this.comboBoxSorter4Mode.Items.Add("Run"); this.comboBoxSorter4Mode.Items.Add("Run");
this.comboBoxSorter4Mode.Items.Add("Count"); this.comboBoxSorter4Mode.Items.Add("Count");
this.comboBoxSorter4Mode.Items.Add("Counting output1"); //this.comboBoxSorter4Mode.Items.Add("Counting output1");
this.comboBoxSorter4Mode.Items.Add("Counting output2"); //this.comboBoxSorter4Mode.Items.Add("Counting output2");
this.comboBoxSorter4Mode.Items.Add("ExNG"); //this.comboBoxSorter4Mode.Items.Add("ExNG");
this.comboBoxSorter4Mode.Items.Add("Latch control"); //this.comboBoxSorter4Mode.Items.Add("Latch control");
this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
@ -118,9 +118,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter5Mode.Items.Add("Pass"); this.comboBoxSorter5Mode.Items.Add("Pass");
this.comboBoxSorter5Mode.Items.Add("Run"); this.comboBoxSorter5Mode.Items.Add("Run");
this.comboBoxSorter5Mode.Items.Add("Count"); this.comboBoxSorter5Mode.Items.Add("Count");
this.comboBoxSorter5Mode.Items.Add("Counting output1"); //this.comboBoxSorter5Mode.Items.Add("Counting output1");
this.comboBoxSorter5Mode.Items.Add("Counting output2"); //this.comboBoxSorter5Mode.Items.Add("Counting output2");
this.comboBoxSorter5Mode.Items.Add("ExNG"); //this.comboBoxSorter5Mode.Items.Add("ExNG");
this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
@ -132,9 +132,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter6Mode.Items.Add("Pass"); this.comboBoxSorter6Mode.Items.Add("Pass");
this.comboBoxSorter6Mode.Items.Add("Run"); this.comboBoxSorter6Mode.Items.Add("Run");
this.comboBoxSorter6Mode.Items.Add("Count"); this.comboBoxSorter6Mode.Items.Add("Count");
this.comboBoxSorter6Mode.Items.Add("Counting output1"); //this.comboBoxSorter6Mode.Items.Add("Counting output1");
this.comboBoxSorter6Mode.Items.Add("Counting output2"); //this.comboBoxSorter6Mode.Items.Add("Counting output2");
this.comboBoxSorter6Mode.Items.Add("ExNG"); //this.comboBoxSorter6Mode.Items.Add("ExNG");
this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
#endregion #endregion
} }
@ -152,10 +152,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter1Mode.Items.Add("通过"); this.comboBoxSorter1Mode.Items.Add("通过");
this.comboBoxSorter1Mode.Items.Add("运行"); this.comboBoxSorter1Mode.Items.Add("运行");
this.comboBoxSorter1Mode.Items.Add("计数"); this.comboBoxSorter1Mode.Items.Add("计数");
this.comboBoxSorter1Mode.Items.Add("计数输出1"); //this.comboBoxSorter1Mode.Items.Add("计数输出1");
this.comboBoxSorter1Mode.Items.Add("计数输出2"); //this.comboBoxSorter1Mode.Items.Add("计数输出2");
this.comboBoxSorter1Mode.Items.Add("其他不良"); //this.comboBoxSorter1Mode.Items.Add("其他不良");
this.comboBoxSorter1Mode.Items.Add("闩锁控制"); //this.comboBoxSorter1Mode.Items.Add("闩锁控制");
this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged); this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged);
this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
@ -167,10 +167,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter2Mode.Items.Add("通过"); this.comboBoxSorter2Mode.Items.Add("通过");
this.comboBoxSorter2Mode.Items.Add("运行"); this.comboBoxSorter2Mode.Items.Add("运行");
this.comboBoxSorter2Mode.Items.Add("计数"); this.comboBoxSorter2Mode.Items.Add("计数");
this.comboBoxSorter2Mode.Items.Add("计数输出1"); //this.comboBoxSorter2Mode.Items.Add("计数输出1");
this.comboBoxSorter2Mode.Items.Add("计数输出2"); //this.comboBoxSorter2Mode.Items.Add("计数输出2");
this.comboBoxSorter2Mode.Items.Add("其他不良"); //this.comboBoxSorter2Mode.Items.Add("其他不良");
this.comboBoxSorter2Mode.Items.Add("闩锁控制"); //this.comboBoxSorter2Mode.Items.Add("闩锁控制");
this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
@ -182,10 +182,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter3Mode.Items.Add("通过"); this.comboBoxSorter3Mode.Items.Add("通过");
this.comboBoxSorter3Mode.Items.Add("运行"); this.comboBoxSorter3Mode.Items.Add("运行");
this.comboBoxSorter3Mode.Items.Add("计数"); this.comboBoxSorter3Mode.Items.Add("计数");
this.comboBoxSorter3Mode.Items.Add("计数输出1"); //this.comboBoxSorter3Mode.Items.Add("计数输出1");
this.comboBoxSorter3Mode.Items.Add("计数输出2"); //this.comboBoxSorter3Mode.Items.Add("计数输出2");
this.comboBoxSorter3Mode.Items.Add("其他不良"); //this.comboBoxSorter3Mode.Items.Add("其他不良");
this.comboBoxSorter3Mode.Items.Add("闩锁控制"); //this.comboBoxSorter3Mode.Items.Add("闩锁控制");
this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
@ -197,10 +197,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter4Mode.Items.Add("通过"); this.comboBoxSorter4Mode.Items.Add("通过");
this.comboBoxSorter4Mode.Items.Add("运行"); this.comboBoxSorter4Mode.Items.Add("运行");
this.comboBoxSorter4Mode.Items.Add("计数"); this.comboBoxSorter4Mode.Items.Add("计数");
this.comboBoxSorter4Mode.Items.Add("计数输出1"); //this.comboBoxSorter4Mode.Items.Add("计数输出1");
this.comboBoxSorter4Mode.Items.Add("计数输出2"); //this.comboBoxSorter4Mode.Items.Add("计数输出2");
this.comboBoxSorter4Mode.Items.Add("其他不良"); //this.comboBoxSorter4Mode.Items.Add("其他不良");
this.comboBoxSorter4Mode.Items.Add("闩锁控制"); //this.comboBoxSorter4Mode.Items.Add("闩锁控制");
this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
@ -212,9 +212,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter5Mode.Items.Add("通过"); this.comboBoxSorter5Mode.Items.Add("通过");
this.comboBoxSorter5Mode.Items.Add("运行"); this.comboBoxSorter5Mode.Items.Add("运行");
this.comboBoxSorter5Mode.Items.Add("计数"); this.comboBoxSorter5Mode.Items.Add("计数");
this.comboBoxSorter5Mode.Items.Add("计数输出1"); //this.comboBoxSorter5Mode.Items.Add("计数输出1");
this.comboBoxSorter5Mode.Items.Add("计数输出2"); //this.comboBoxSorter5Mode.Items.Add("计数输出2");
this.comboBoxSorter5Mode.Items.Add("其他不良"); //this.comboBoxSorter5Mode.Items.Add("其他不良");
this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
@ -226,9 +226,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter6Mode.Items.Add("通过"); this.comboBoxSorter6Mode.Items.Add("通过");
this.comboBoxSorter6Mode.Items.Add("运行"); this.comboBoxSorter6Mode.Items.Add("运行");
this.comboBoxSorter6Mode.Items.Add("计数"); this.comboBoxSorter6Mode.Items.Add("计数");
this.comboBoxSorter6Mode.Items.Add("计数输出1"); //this.comboBoxSorter6Mode.Items.Add("计数输出1");
this.comboBoxSorter6Mode.Items.Add("计数输出2"); //this.comboBoxSorter6Mode.Items.Add("计数输出2");
this.comboBoxSorter6Mode.Items.Add("其他不良"); //this.comboBoxSorter6Mode.Items.Add("其他不良");
this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
#endregion #endregion
} }
@ -249,10 +249,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter1Mode.Items.Add("Норма"); this.comboBoxSorter1Mode.Items.Add("Норма");
this.comboBoxSorter1Mode.Items.Add("Выполнение"); this.comboBoxSorter1Mode.Items.Add("Выполнение");
this.comboBoxSorter1Mode.Items.Add("Подсчет"); this.comboBoxSorter1Mode.Items.Add("Подсчет");
this.comboBoxSorter1Mode.Items.Add("Счетный выход1"); //this.comboBoxSorter1Mode.Items.Add("Счетный выход1");
this.comboBoxSorter1Mode.Items.Add("Счетный выход2"); //this.comboBoxSorter1Mode.Items.Add("Счетный выход2");
this.comboBoxSorter1Mode.Items.Add("Другие неисправности"); //this.comboBoxSorter1Mode.Items.Add("Другие неисправности");
this.comboBoxSorter1Mode.Items.Add("контроль защелки"); //this.comboBoxSorter1Mode.Items.Add("контроль защелки");
this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged); this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged);
this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
@ -264,10 +264,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter2Mode.Items.Add("Норма"); this.comboBoxSorter2Mode.Items.Add("Норма");
this.comboBoxSorter2Mode.Items.Add("Выполнение"); this.comboBoxSorter2Mode.Items.Add("Выполнение");
this.comboBoxSorter2Mode.Items.Add("Подсчет"); this.comboBoxSorter2Mode.Items.Add("Подсчет");
this.comboBoxSorter2Mode.Items.Add("Счетный выход1"); //this.comboBoxSorter2Mode.Items.Add("Счетный выход1");
this.comboBoxSorter2Mode.Items.Add("Счетный выход2"); //this.comboBoxSorter2Mode.Items.Add("Счетный выход2");
this.comboBoxSorter2Mode.Items.Add("Другие неисправности"); //this.comboBoxSorter2Mode.Items.Add("Другие неисправности");
this.comboBoxSorter2Mode.Items.Add("контроль защелки"); //this.comboBoxSorter2Mode.Items.Add("контроль защелки");
this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
@ -279,10 +279,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter3Mode.Items.Add("Норма"); this.comboBoxSorter3Mode.Items.Add("Норма");
this.comboBoxSorter3Mode.Items.Add("Выполнение"); this.comboBoxSorter3Mode.Items.Add("Выполнение");
this.comboBoxSorter3Mode.Items.Add("Подсчет"); this.comboBoxSorter3Mode.Items.Add("Подсчет");
this.comboBoxSorter3Mode.Items.Add("Счетный выход1"); //this.comboBoxSorter3Mode.Items.Add("Счетный выход1");
this.comboBoxSorter3Mode.Items.Add("Счетный выход2"); //this.comboBoxSorter3Mode.Items.Add("Счетный выход2");
this.comboBoxSorter3Mode.Items.Add("Другие неисправности"); //this.comboBoxSorter3Mode.Items.Add("Другие неисправности");
this.comboBoxSorter3Mode.Items.Add("контроль защелки"); //this.comboBoxSorter3Mode.Items.Add("контроль защелки");
this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
@ -294,10 +294,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter4Mode.Items.Add("Норма"); this.comboBoxSorter4Mode.Items.Add("Норма");
this.comboBoxSorter4Mode.Items.Add("Выполнение"); this.comboBoxSorter4Mode.Items.Add("Выполнение");
this.comboBoxSorter4Mode.Items.Add("Подсчет"); this.comboBoxSorter4Mode.Items.Add("Подсчет");
this.comboBoxSorter4Mode.Items.Add("Счетный выход1"); //this.comboBoxSorter4Mode.Items.Add("Счетный выход1");
this.comboBoxSorter4Mode.Items.Add("Счетный выход2"); //this.comboBoxSorter4Mode.Items.Add("Счетный выход2");
this.comboBoxSorter4Mode.Items.Add("Другие неисправности"); //this.comboBoxSorter4Mode.Items.Add("Другие неисправности");
this.comboBoxSorter4Mode.Items.Add("контроль защелки"); //this.comboBoxSorter4Mode.Items.Add("контроль защелки");
this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
@ -309,9 +309,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter5Mode.Items.Add("Норма"); this.comboBoxSorter5Mode.Items.Add("Норма");
this.comboBoxSorter5Mode.Items.Add("Выполнение"); this.comboBoxSorter5Mode.Items.Add("Выполнение");
this.comboBoxSorter5Mode.Items.Add("Подсчет"); this.comboBoxSorter5Mode.Items.Add("Подсчет");
this.comboBoxSorter5Mode.Items.Add("Счетный выход1"); //this.comboBoxSorter5Mode.Items.Add("Счетный выход1");
this.comboBoxSorter5Mode.Items.Add("Счетный выход2"); //this.comboBoxSorter5Mode.Items.Add("Счетный выход2");
this.comboBoxSorter5Mode.Items.Add("Другие неисправности"); //this.comboBoxSorter5Mode.Items.Add("Другие неисправности");
this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
@ -323,9 +323,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter6Mode.Items.Add("Норма"); this.comboBoxSorter6Mode.Items.Add("Норма");
this.comboBoxSorter6Mode.Items.Add("Выполнение"); this.comboBoxSorter6Mode.Items.Add("Выполнение");
this.comboBoxSorter6Mode.Items.Add("Подсчет"); this.comboBoxSorter6Mode.Items.Add("Подсчет");
this.comboBoxSorter6Mode.Items.Add("Счетный выход1"); //this.comboBoxSorter6Mode.Items.Add("Счетный выход1");
this.comboBoxSorter6Mode.Items.Add("Счетный выход2"); //this.comboBoxSorter6Mode.Items.Add("Счетный выход2");
this.comboBoxSorter6Mode.Items.Add("Другие неисправности"); //this.comboBoxSorter6Mode.Items.Add("Другие неисправности");
this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
#endregion #endregion
} }
@ -343,10 +343,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter1Mode.Items.Add("Bestehen"); this.comboBoxSorter1Mode.Items.Add("Bestehen");
this.comboBoxSorter1Mode.Items.Add("Lauf"); this.comboBoxSorter1Mode.Items.Add("Lauf");
this.comboBoxSorter1Mode.Items.Add("Einstellen"); this.comboBoxSorter1Mode.Items.Add("Einstellen");
this.comboBoxSorter1Mode.Items.Add("Zählen der Ausgabe1"); //this.comboBoxSorter1Mode.Items.Add("Zählen der Ausgabe1");
this.comboBoxSorter1Mode.Items.Add("Zählen der Ausgabe2"); //this.comboBoxSorter1Mode.Items.Add("Zählen der Ausgabe2");
this.comboBoxSorter1Mode.Items.Add("Ex.Schlecht"); //this.comboBoxSorter1Mode.Items.Add("Ex.Schlecht");
this.comboBoxSorter1Mode.Items.Add("Verriegelungssteuerung"); //this.comboBoxSorter1Mode.Items.Add("Verriegelungssteuerung");
this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged); this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged);
this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
@ -358,10 +358,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter2Mode.Items.Add("Bestehen"); this.comboBoxSorter2Mode.Items.Add("Bestehen");
this.comboBoxSorter2Mode.Items.Add("Lauf"); this.comboBoxSorter2Mode.Items.Add("Lauf");
this.comboBoxSorter2Mode.Items.Add("Einstellen"); this.comboBoxSorter2Mode.Items.Add("Einstellen");
this.comboBoxSorter2Mode.Items.Add("Zählen der Ausgabe1"); //this.comboBoxSorter2Mode.Items.Add("Zählen der Ausgabe1");
this.comboBoxSorter2Mode.Items.Add("Zählen der Ausgabe2"); //this.comboBoxSorter2Mode.Items.Add("Zählen der Ausgabe2");
this.comboBoxSorter2Mode.Items.Add("Ex.Schlecht"); //this.comboBoxSorter2Mode.Items.Add("Ex.Schlecht");
this.comboBoxSorter2Mode.Items.Add("Verriegelungssteuerung"); //this.comboBoxSorter2Mode.Items.Add("Verriegelungssteuerung");
this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
@ -373,10 +373,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter3Mode.Items.Add("Bestehen"); this.comboBoxSorter3Mode.Items.Add("Bestehen");
this.comboBoxSorter3Mode.Items.Add("Lauf"); this.comboBoxSorter3Mode.Items.Add("Lauf");
this.comboBoxSorter3Mode.Items.Add("Einstellen"); this.comboBoxSorter3Mode.Items.Add("Einstellen");
this.comboBoxSorter3Mode.Items.Add("Zählen der Ausgabe1"); //this.comboBoxSorter3Mode.Items.Add("Zählen der Ausgabe1");
this.comboBoxSorter3Mode.Items.Add("Zählen der Ausgabe2"); //this.comboBoxSorter3Mode.Items.Add("Zählen der Ausgabe2");
this.comboBoxSorter3Mode.Items.Add("Ex.Schlecht"); //this.comboBoxSorter3Mode.Items.Add("Ex.Schlecht");
this.comboBoxSorter3Mode.Items.Add("Verriegelungssteuerung"); //this.comboBoxSorter3Mode.Items.Add("Verriegelungssteuerung");
this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
@ -388,10 +388,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter4Mode.Items.Add("Bestehen"); this.comboBoxSorter4Mode.Items.Add("Bestehen");
this.comboBoxSorter4Mode.Items.Add("Lauf"); this.comboBoxSorter4Mode.Items.Add("Lauf");
this.comboBoxSorter4Mode.Items.Add("Einstellen"); this.comboBoxSorter4Mode.Items.Add("Einstellen");
this.comboBoxSorter4Mode.Items.Add("Zählen der Ausgabe1"); //this.comboBoxSorter4Mode.Items.Add("Zählen der Ausgabe1");
this.comboBoxSorter4Mode.Items.Add("Zählen der Ausgabe2"); //this.comboBoxSorter4Mode.Items.Add("Zählen der Ausgabe2");
this.comboBoxSorter4Mode.Items.Add("Ex.Schlecht"); //this.comboBoxSorter4Mode.Items.Add("Ex.Schlecht");
this.comboBoxSorter4Mode.Items.Add("Verriegelungssteuerung"); //this.comboBoxSorter4Mode.Items.Add("Verriegelungssteuerung");
this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
@ -403,9 +403,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter5Mode.Items.Add("Bestehen"); this.comboBoxSorter5Mode.Items.Add("Bestehen");
this.comboBoxSorter5Mode.Items.Add("Lauf"); this.comboBoxSorter5Mode.Items.Add("Lauf");
this.comboBoxSorter5Mode.Items.Add("Einstellen"); this.comboBoxSorter5Mode.Items.Add("Einstellen");
this.comboBoxSorter5Mode.Items.Add("Zählen der Ausgabe1"); //this.comboBoxSorter5Mode.Items.Add("Zählen der Ausgabe1");
this.comboBoxSorter5Mode.Items.Add("Zählen der Ausgabe2"); //this.comboBoxSorter5Mode.Items.Add("Zählen der Ausgabe2");
this.comboBoxSorter5Mode.Items.Add("Ex.Schlecht"); //this.comboBoxSorter5Mode.Items.Add("Ex.Schlecht");
this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
@ -417,9 +417,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter6Mode.Items.Add("Bestehen"); this.comboBoxSorter6Mode.Items.Add("Bestehen");
this.comboBoxSorter6Mode.Items.Add("Lauf"); this.comboBoxSorter6Mode.Items.Add("Lauf");
this.comboBoxSorter6Mode.Items.Add("Einstellen"); this.comboBoxSorter6Mode.Items.Add("Einstellen");
this.comboBoxSorter6Mode.Items.Add("Zählen der Ausgabe1"); //this.comboBoxSorter6Mode.Items.Add("Zählen der Ausgabe1");
this.comboBoxSorter6Mode.Items.Add("Zählen der Ausgabe2"); //this.comboBoxSorter6Mode.Items.Add("Zählen der Ausgabe2");
this.comboBoxSorter6Mode.Items.Add("Ex.Schlecht"); //this.comboBoxSorter6Mode.Items.Add("Ex.Schlecht");
this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
#endregion #endregion
} }
@ -437,10 +437,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter1Mode.Items.Add("정량"); this.comboBoxSorter1Mode.Items.Add("정량");
this.comboBoxSorter1Mode.Items.Add("운전"); this.comboBoxSorter1Mode.Items.Add("운전");
this.comboBoxSorter1Mode.Items.Add("개수"); this.comboBoxSorter1Mode.Items.Add("개수");
this.comboBoxSorter1Mode.Items.Add("카운터출력1"); //this.comboBoxSorter1Mode.Items.Add("카운터출력1");
this.comboBoxSorter1Mode.Items.Add("카운터출력2"); //this.comboBoxSorter1Mode.Items.Add("카운터출력2");
this.comboBoxSorter1Mode.Items.Add("ExNG"); //this.comboBoxSorter1Mode.Items.Add("ExNG");
this.comboBoxSorter1Mode.Items.Add("시건장치 제어"); // 10 //this.comboBoxSorter1Mode.Items.Add("시건장치 제어"); // 10
this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged); this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged);
this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
@ -452,10 +452,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter2Mode.Items.Add("정량"); this.comboBoxSorter2Mode.Items.Add("정량");
this.comboBoxSorter2Mode.Items.Add("운전"); this.comboBoxSorter2Mode.Items.Add("운전");
this.comboBoxSorter2Mode.Items.Add("개수"); this.comboBoxSorter2Mode.Items.Add("개수");
this.comboBoxSorter2Mode.Items.Add("카운터출력1"); //this.comboBoxSorter2Mode.Items.Add("카운터출력1");
this.comboBoxSorter2Mode.Items.Add("카운터출력2"); //this.comboBoxSorter2Mode.Items.Add("카운터출력2");
this.comboBoxSorter2Mode.Items.Add("ExNG"); //this.comboBoxSorter2Mode.Items.Add("ExNG");
this.comboBoxSorter2Mode.Items.Add("시건장치 제어"); // 10 //this.comboBoxSorter2Mode.Items.Add("시건장치 제어"); // 10
this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged); this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
@ -467,10 +467,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter3Mode.Items.Add("정량"); this.comboBoxSorter3Mode.Items.Add("정량");
this.comboBoxSorter3Mode.Items.Add("운전"); this.comboBoxSorter3Mode.Items.Add("운전");
this.comboBoxSorter3Mode.Items.Add("개수"); this.comboBoxSorter3Mode.Items.Add("개수");
this.comboBoxSorter3Mode.Items.Add("카운터출력1"); //this.comboBoxSorter3Mode.Items.Add("카운터출력1");
this.comboBoxSorter3Mode.Items.Add("카운터출력2"); //this.comboBoxSorter3Mode.Items.Add("카운터출력2");
this.comboBoxSorter3Mode.Items.Add("ExNG"); //this.comboBoxSorter3Mode.Items.Add("ExNG");
this.comboBoxSorter3Mode.Items.Add("시건장치 제어"); // 10 //this.comboBoxSorter3Mode.Items.Add("시건장치 제어"); // 10
this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged); this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
@ -482,10 +482,10 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter4Mode.Items.Add("정량"); this.comboBoxSorter4Mode.Items.Add("정량");
this.comboBoxSorter4Mode.Items.Add("운전"); this.comboBoxSorter4Mode.Items.Add("운전");
this.comboBoxSorter4Mode.Items.Add("개수"); this.comboBoxSorter4Mode.Items.Add("개수");
this.comboBoxSorter4Mode.Items.Add("카운터출력1"); //this.comboBoxSorter4Mode.Items.Add("카운터출력1");
this.comboBoxSorter4Mode.Items.Add("카운터출력2"); //this.comboBoxSorter4Mode.Items.Add("카운터출력2");
this.comboBoxSorter4Mode.Items.Add("ExNG"); //this.comboBoxSorter4Mode.Items.Add("ExNG");
this.comboBoxSorter4Mode.Items.Add("시건장치 제어"); // 10 //this.comboBoxSorter4Mode.Items.Add("시건장치 제어"); // 10
this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged); this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
@ -497,9 +497,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter5Mode.Items.Add("정량"); this.comboBoxSorter5Mode.Items.Add("정량");
this.comboBoxSorter5Mode.Items.Add("운전"); this.comboBoxSorter5Mode.Items.Add("운전");
this.comboBoxSorter5Mode.Items.Add("개수"); this.comboBoxSorter5Mode.Items.Add("개수");
this.comboBoxSorter5Mode.Items.Add("카운터출력1"); //this.comboBoxSorter5Mode.Items.Add("카운터출력1");
this.comboBoxSorter5Mode.Items.Add("카운터출력2"); //this.comboBoxSorter5Mode.Items.Add("카운터출력2");
this.comboBoxSorter5Mode.Items.Add("ExNG"); //this.comboBoxSorter5Mode.Items.Add("ExNG");
this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged); this.comboBoxSorter5Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
@ -511,9 +511,9 @@ namespace ITC81DB_0H.Controls
this.comboBoxSorter6Mode.Items.Add("정량"); this.comboBoxSorter6Mode.Items.Add("정량");
this.comboBoxSorter6Mode.Items.Add("운전"); this.comboBoxSorter6Mode.Items.Add("운전");
this.comboBoxSorter6Mode.Items.Add("개수"); this.comboBoxSorter6Mode.Items.Add("개수");
this.comboBoxSorter6Mode.Items.Add("카운터출력1"); //this.comboBoxSorter6Mode.Items.Add("카운터출력1");
this.comboBoxSorter6Mode.Items.Add("카운터출력2"); //this.comboBoxSorter6Mode.Items.Add("카운터출력2");
this.comboBoxSorter6Mode.Items.Add("ExNG"); //this.comboBoxSorter6Mode.Items.Add("ExNG");
this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged); this.comboBoxSorter6Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter6Mode_SelectedIndexChanged);
#endregion #endregion
} }

View File

@ -339,6 +339,7 @@ namespace ITC81DB_0H.Forms
this.CurrentUser = new User(); this.CurrentUser = new User();
this.CurrentUserGroup = new UserGroup(); this.CurrentUserGroup = new UserGroup();
this.CollectionBufferWeightData = new Collection<DataBackupOPT1>(); this.CollectionBufferWeightData = new Collection<DataBackupOPT1>();
this.UpdateForMain = new UpdateForMainBoard();
this.CollectionProductItem = new Collection<ProductItem>(); this.CollectionProductItem = new Collection<ProductItem>();
this.CollectionJudgmentItem = new Collection<JudgmentSetItem>(); this.CollectionJudgmentItem = new Collection<JudgmentSetItem>();
@ -1800,6 +1801,9 @@ namespace ITC81DB_0H.Forms
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard); this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
#endregion #endregion
break; break;
case "CBU":
this.ChildFormMenu.CenterEquipUpdate.UpdateMainBoardFinish();
break;
//case "Cmd": //case "Cmd":
// #region 업다운 - 다운 // #region 업다운 - 다운
// this.ChildFormMainDisplay.ConveryorUpDownButtonUp(true); // this.ChildFormMainDisplay.ConveryorUpDownButtonUp(true);
@ -2055,6 +2059,7 @@ namespace ITC81DB_0H.Forms
if (iValue <= 0 || iValue > 1000) if (iValue <= 0 || iValue > 1000)
return ret = -1; return ret = -1;
this.SystemConfig1.ProductNumber = iValue; this.SystemConfig1.ProductNumber = iValue;
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress.ProgramVersion, "");
// 최초에 부팅이 완료 되었는지 확인 // 최초에 부팅이 완료 되었는지 확인
if (this.IsBootingComplete == false) if (this.IsBootingComplete == false)
@ -2334,7 +2339,7 @@ namespace ITC81DB_0H.Forms
else else
{ {
this.smartTimerUpdate.Stop(); this.smartTimerUpdate.Stop();
this.ChildFormMenu.CenterEquipUpdate.UpdateMainBoardFail(); this.ChildFormMenu.CenterEquipUpdate.UpdateMainBoardFail(this.SystemConfig1.Language);
} }
#endregion #endregion
break; break;
@ -10379,7 +10384,7 @@ namespace ITC81DB_0H.Forms
if (this.UpdateForMain.RetryCount < 5) if (this.UpdateForMain.RetryCount < 5)
this.RetryUpdateForMain(this.UpdateForMain); this.RetryUpdateForMain(this.UpdateForMain);
else else
this.ChildFormMenu.CenterEquipUpdate.UpdateMainBoardFail(); this.ChildFormMenu.CenterEquipUpdate.UpdateMainBoardFail(this.SystemConfig1.Language);
} }
private void smartTCPMultiServer_OnClientAdd(SmartTCPMultiServer.CLIENTSINFOS addClientInfo) private void smartTCPMultiServer_OnClientAdd(SmartTCPMultiServer.CLIENTSINFOS addClientInfo)

View File

@ -1,6 +1,8 @@
using System; using System;
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using ITC81DB_0H.Forms; using ITC81DB_0H.Forms;
@ -15,14 +17,38 @@ namespace ITC81DB_0H
[MTAThread] [MTAThread]
static void Main() static void Main()
{ {
//try try
//{ {
Application.Run(new FormMain()); Application.Run(new FormMain());
//} }
//catch (Exception ex) catch (Exception ex)
//{ {
// System.IO.File.AppendText(@"SD Card\\Text.txt").Write(ex.ToString()); bool fileCheck = false, directoryCheck = false;
//} string fullFilePath = "", message = "";
StreamWriter sw;
DateTime time = DateTime.Now;
fullFilePath = string.Format("SD Card\\DataBackup\\{0:yyyyMMdd_HHmmss}.txt", time);
message = ex.ToString();
DirectoryInfo di = new DirectoryInfo("SD Card\\DataBackup\\");
directoryCheck = di.Exists;
// 폴더 체크
if (directoryCheck == false)
di.Create();
FileInfo fileInfo = new FileInfo(fullFilePath);
fileCheck = fileInfo.Exists;
sw = new StreamWriter(fullFilePath, true, Encoding.UTF8);
sw.WriteLine(time.ToString("yyyy-MM-dd HH:mm:ss"));
sw.Write(message);
sw.WriteLine();
sw.Close();
MessageBox.Show(message);
}
} }
} }
} }

View File

@ -12,6 +12,13 @@
기본형 컨베어 고정밀센서 계량기 기본형 컨베어 고정밀센서 계량기
*/ */
@ Ver 1.0.1 by CJY
- 2020.09.23
- ITC81DB Ver 6.9.0 Modify
- 메인보드 업데이트 부분 수정
- 외부출력 모드 정리
- 프로그램 에러 메시지 로그 저장 기능 추가(SD Card\\DataBackup\\)
@ Ver 1.0.0 by CJY @ Ver 1.0.0 by CJY
- 2020.09.22 - 2020.09.22
- ITC81DB Ver 6.9.0 Modify - ITC81DB Ver 6.9.0 Modify