영문화완료

This commit is contained in:
ChiKyun Kim
2025-09-09 17:24:19 +09:00
parent adb66451ca
commit 02028afc27
338 changed files with 2205 additions and 79829 deletions

View File

@@ -281,7 +281,7 @@ namespace Project.Dialog
if (PUB.dio.IsInit == false)
{
//임시시그널
var dlg = UTIL.MsgQ("가상 시그널을 생성하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to create a virtual signal?");
if (dlg == System.Windows.Forms.DialogResult.Yes)
{
PUB.dio.RaiseEvent(eIOPINDIR.OUTPUT, e.idx, newValue);
@@ -301,7 +301,7 @@ namespace Project.Dialog
if (PUB.dio.IsInit == false || PUB.flag.get(eVarBool.FG_DEBUG) == true)
{
//임시시그널
var dlg = UTIL.MsgQ("가상 시그널을 생성하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to create a virtual signal?");
if (dlg == System.Windows.Forms.DialogResult.Yes)
{
PUB.dio.RaiseEvent(eIOPINDIR.INPUT, e.idx, newValue);

View File

@@ -49,7 +49,7 @@ namespace Project.Dialog.Debug
OPER_NAME = tboper.Text,
HOST_NAME = System.Net.Dns.GetHostEntry("").HostName,
};
UTIL.MsgE("미지원");
UTIL.MsgE("Not supported");
//var rlt = Amkor.RestfulService.Inbound_label_attach_reel_info(reelinfo, out string errmsg);
//if (rlt == false) UTIL.MsgE(errmsg);

View File

@@ -309,7 +309,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorMoveFirstItem
//
@@ -318,7 +318,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -327,7 +327,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -336,13 +336,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -356,7 +356,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -365,7 +365,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -379,7 +379,7 @@
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(51, 22);
this.toolStripButton1.Text = "속도";
this.toolStripButton1.Text = "Speed";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripButton2
@@ -389,7 +389,7 @@
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(63, 22);
this.toolStripButton2.Text = "가속도";
this.toolStripButton2.Text = "Acceleration";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_2);
//
// toolStripButton3
@@ -399,7 +399,7 @@
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(63, 22);
this.toolStripButton3.Text = "감속도";
this.toolStripButton3.Text = "Deceleration";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click_1);
//
// toolStripSeparator1
@@ -450,7 +450,7 @@
this.btJogLeft.TabIndex = 0;
this.btJogLeft.Tag = "CCW";
this.btJogLeft.Text = "NEG(-)";
this.toolTip1.SetToolTip(this.btJogLeft, "역방향 이동");
this.toolTip1.SetToolTip(this.btJogLeft, "Reverse direction movement");
this.btJogLeft.UseVisualStyleBackColor = false;
this.btJogLeft.Click += new System.EventHandler(this.btJogLeft_Click);
this.btJogLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
@@ -472,7 +472,7 @@
this.btJogStop.TabIndex = 0;
this.btJogStop.Tag = "STOP";
this.btJogStop.Text = "■";
this.toolTip1.SetToolTip(this.btJogStop, "비상 정지");
this.toolTip1.SetToolTip(this.btJogStop, "Emergency stop");
this.btJogStop.UseVisualStyleBackColor = true;
this.btJogStop.Click += new System.EventHandler(this.btJogStop_Click);
//
@@ -493,7 +493,7 @@
this.btJogDn.TabIndex = 0;
this.btJogDn.Tag = "CW";
this.btJogDn.Text = "POS(+)";
this.toolTip1.SetToolTip(this.btJogDn, "정방향 이동");
this.toolTip1.SetToolTip(this.btJogDn, "Forward direction movement");
this.btJogDn.UseVisualStyleBackColor = false;
this.btJogDn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
this.btJogDn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btJogUp_Click);
@@ -515,7 +515,7 @@
this.btJogUp.TabIndex = 0;
this.btJogUp.Tag = "CCW";
this.btJogUp.Text = "NEG(-)";
this.toolTip1.SetToolTip(this.btJogUp, "역 방향 이동");
this.toolTip1.SetToolTip(this.btJogUp, "Reverse direction movement");
this.btJogUp.UseVisualStyleBackColor = false;
this.btJogUp.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
this.btJogUp.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btJogUp_Click);
@@ -534,8 +534,8 @@
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(73, 81);
this.button5.TabIndex = 3;
this.button5.Text = "홈\r\n검색";
this.toolTip1.SetToolTip(this.button5, "홈 검색 실행");
this.button5.Text = "Home\r\nSearch";
this.toolTip1.SetToolTip(this.button5, "Execute home search");
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.btJogHome_Click);
//
@@ -553,8 +553,8 @@
this.btPClear.Name = "btPClear";
this.btPClear.Size = new System.Drawing.Size(74, 81);
this.btPClear.TabIndex = 3;
this.btPClear.Text = "위치\r\n초기화";
this.toolTip1.SetToolTip(this.btPClear, "현재 위치 초기화");
this.btPClear.Text = "Position\r\nReset";
this.toolTip1.SetToolTip(this.btPClear, "Reset current position");
this.btPClear.UseVisualStyleBackColor = true;
this.btPClear.Click += new System.EventHandler(this.btJogPClear_Click);
//
@@ -573,7 +573,7 @@
this.btSVY.Size = new System.Drawing.Size(73, 81);
this.btSVY.TabIndex = 4;
this.btSVY.Text = "SVON";
this.toolTip1.SetToolTip(this.btSVY, "서보 ON/OFF");
this.toolTip1.SetToolTip(this.btSVY, "Servo ON/OFF");
this.btSVY.UseVisualStyleBackColor = true;
this.btSVY.Click += new System.EventHandler(this.btJogSVon_Click);
//
@@ -591,8 +591,8 @@
this.btAClear.Name = "btAClear";
this.btAClear.Size = new System.Drawing.Size(74, 81);
this.btAClear.TabIndex = 4;
this.btAClear.Text = "알람\r\n제거";
this.toolTip1.SetToolTip(this.btAClear, "서보알람 제거");
this.btAClear.Text = "Alarm\r\nClear";
this.toolTip1.SetToolTip(this.btAClear, "Clear servo alarm");
this.btAClear.UseVisualStyleBackColor = true;
this.btAClear.Click += new System.EventHandler(this.btJogAClear_Click);
//
@@ -613,7 +613,7 @@
this.btJogRight.TabIndex = 0;
this.btJogRight.Tag = "CW";
this.btJogRight.Text = "POS(+)";
this.toolTip1.SetToolTip(this.btJogRight, "정 방향 이동");
this.toolTip1.SetToolTip(this.btJogRight, "Forward direction movement");
this.btJogRight.UseVisualStyleBackColor = false;
this.btJogRight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
this.btJogRight.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btJogUp_Click);
@@ -645,7 +645,7 @@
this.nudPosRel.Size = new System.Drawing.Size(98, 26);
this.nudPosRel.TabIndex = 50;
this.nudPosRel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudPosRel, "이동 할 임의 위치값 우측의 GO버튼을 누르면 이동 함");
this.toolTip1.SetToolTip(this.nudPosRel, "Arbitrary position value to move. Press the GO button on the right to move");
//
// button3
//
@@ -659,7 +659,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(45, 26);
this.button3.TabIndex = 51;
this.button3.Text = "이동";
this.button3.Text = "Move";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
@@ -676,7 +676,7 @@
this.linkLabel11.TabStop = true;
this.linkLabel11.Text = "REL.Value";
this.linkLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.linkLabel11, "값 변경");
this.toolTip1.SetToolTip(this.linkLabel11, "Change value");
this.linkLabel11.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel11_LinkClicked);
//
// panel14
@@ -698,7 +698,7 @@
this.chkJogMoveForce.Name = "chkJogMoveForce";
this.chkJogMoveForce.Size = new System.Drawing.Size(84, 33);
this.chkJogMoveForce.TabIndex = 59;
this.chkJogMoveForce.Text = "강제조그";
this.chkJogMoveForce.Text = "Force Jog";
this.chkJogMoveForce.UseVisualStyleBackColor = true;
this.chkJogMoveForce.Click += new System.EventHandler(this.chkJogMoveForce_Click);
//
@@ -729,7 +729,7 @@
this.nudPosAbs.Size = new System.Drawing.Size(98, 26);
this.nudPosAbs.TabIndex = 13;
this.nudPosAbs.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudPosAbs, "이동 할 임의 위치값 우측의 GO버튼을 누르면 이동 함");
this.toolTip1.SetToolTip(this.nudPosAbs, "Arbitrary position value to move. Press the GO button on the right to move");
//
// button1
//
@@ -743,7 +743,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(45, 26);
this.button1.TabIndex = 51;
this.button1.Text = "이동";
this.button1.Text = "Move";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -760,7 +760,7 @@
this.linkLabel10.TabStop = true;
this.linkLabel10.Text = "ABS.Value";
this.linkLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.linkLabel10, "값 변경");
this.toolTip1.SetToolTip(this.linkLabel10, "Change value");
this.linkLabel10.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel10_LinkClicked);
//
// panel11
@@ -790,7 +790,7 @@
this.nudJogVel.Size = new System.Drawing.Size(143, 26);
this.nudJogVel.TabIndex = 0;
this.nudJogVel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudJogVel, "조그모드 이동 속도");
this.toolTip1.SetToolTip(this.nudJogVel, "Jog mode movement speed");
this.nudJogVel.Value = new decimal(new int[] {
20,
0,
@@ -810,7 +810,7 @@
this.linkLabel8.TabStop = true;
this.linkLabel8.Text = "JOG Speed";
this.linkLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.linkLabel8, "값 변경");
this.toolTip1.SetToolTip(this.linkLabel8, "Change value");
this.linkLabel8.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel8_LinkClicked);
//
// tabControl2
@@ -1031,7 +1031,7 @@
this.nudJogAcc.Size = new System.Drawing.Size(143, 26);
this.nudJogAcc.TabIndex = 0;
this.nudJogAcc.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudJogAcc, "조그모드 이동 속도");
this.toolTip1.SetToolTip(this.nudJogAcc, "Jog mode movement speed");
this.nudJogAcc.Value = new decimal(new int[] {
500,
0,
@@ -1051,7 +1051,7 @@
this.motLinkLabel1.TabStop = true;
this.motLinkLabel1.Text = "JOG Acc";
this.motLinkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.motLinkLabel1, "값 변경");
this.toolTip1.SetToolTip(this.motLinkLabel1, "Change value");
this.motLinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.motLinkLabel1_LinkClicked);
//
// panLeft
@@ -1084,7 +1084,7 @@
//
// columnHeader1
//
this.columnHeader1.Text = "모델명";
this.columnHeader1.Text = "Model Name";
this.columnHeader1.Width = 230;
//
// tabControl4
@@ -1354,7 +1354,7 @@
this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btAdd.Name = "btAdd";
this.btAdd.Size = new System.Drawing.Size(99, 52);
this.btAdd.Text = "추가(&A)";
this.btAdd.Text = "Add(&A)";
this.btAdd.Click += new System.EventHandler(this.toolStripButton6_Click);
//
// btEdit
@@ -1363,7 +1363,7 @@
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btEdit.Name = "btEdit";
this.btEdit.Size = new System.Drawing.Size(107, 52);
this.btEdit.Text = "이름변경";
this.btEdit.Text = "Rename";
this.btEdit.Click += new System.EventHandler(this.btEdit_Click);
//
// btDel
@@ -1372,7 +1372,7 @@
this.btDel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btDel.Name = "btDel";
this.btDel.Size = new System.Drawing.Size(100, 52);
this.btDel.Text = "삭제(&D)";
this.btDel.Text = "Delete(&D)";
this.btDel.Click += new System.EventHandler(this.toolStripButton7_Click);
//
// btSave
@@ -1380,7 +1380,7 @@
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(98, 52);
this.btSave.Text = "저장(&S)";
this.btSave.Text = "Save(&S)";
this.btSave.Click += new System.EventHandler(this.toolStripButton8_Click);
//
// btCopy
@@ -1389,7 +1389,7 @@
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btCopy.Name = "btCopy";
this.btCopy.Size = new System.Drawing.Size(83, 52);
this.btCopy.Text = "복사";
this.btCopy.Text = "Copy";
this.btCopy.Click += new System.EventHandler(this.btCopy_Click);
//
// btSelect
@@ -1401,7 +1401,7 @@
this.btSelect.Image = global::Project.Properties.Resources.icons8_selection_40;
this.btSelect.Name = "btSelect";
this.btSelect.Size = new System.Drawing.Size(215, 44);
this.btSelect.Text = "이 모델을 선택합니다";
this.btSelect.Text = "Select this model";
this.btSelect.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSelect.Click += new System.EventHandler(this.toolStripButton10_Click);
//
@@ -1418,7 +1418,7 @@
this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton11.Name = "toolStripButton11";
this.toolStripButton11.Size = new System.Drawing.Size(119, 52);
this.toolStripButton11.Text = "그룹이동";
this.toolStripButton11.Text = "Group Move";
this.toolStripButton11.ButtonClick += new System.EventHandler(this.toolStripButton11_ButtonClick);
this.toolStripButton11.Click += new System.EventHandler(this.toolStripButton11_Click);
//
@@ -1427,7 +1427,7 @@
this.ToolStripMenuItem.Image = global::Project.Properties.Resources.icons8_save_to_grid_40;
this.ToolStripMenuItem.Name = "그룹설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 54);
this.ToolStripMenuItem.Text = "그룹설정";
this.ToolStripMenuItem.Text = "Group Settings";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// Column1

View File

@@ -74,9 +74,9 @@ namespace Project
{
if (hasChanged())
{
var dlg = UTIL.MsgQ("변경된 자료가 있습니다.\n" +
"진행하면 변경된 자료는 손실됩니다\n" +
"진행 할까요?");
var dlg = UTIL.MsgQ("There are unsaved changes.\n" +
"Proceeding will discard the changes\n" +
"Do you want to continue?");
if (dlg != DialogResult.Yes)
{
@@ -157,7 +157,7 @@ namespace Project
newdr.idx = ds1.MCModel.Rows.Count + 1;
this.ds1.MCModel.AddMCModelRow(newdr);
UTIL.MsgI("등록된 모델이 없어 기본 모델(Default)를 생성 합니다");
UTIL.MsgI("No registered models found. Creating default model (Default)");
}
//this.axisIndex = 0; //기본Z축
@@ -262,16 +262,16 @@ namespace Project
var nudSpd = ctl.motSpdControl;
if (nud.MotionIndex < 0)
{
UTIL.MsgE("모션 축 번호가 지정되지 않았습니다\n\n" +
"이름 : " + ctl.Name + "\n" +
"제목 : " + ctl.Text);
UTIL.MsgE("Motion axis number is not specified\n\n" +
"Name : " + ctl.Name + "\n" +
"Title : " + ctl.Text);
return;
}
if ((nudAcc == null || nudSpd == null) && ctl.motCommand != arFrame.Control.MotCommandButton.eCommand.AcceptPosition)
{
UTIL.MsgE("속도/가속도 컨트롤이 지정되지 않았습니다\n\n" +
"이름 : " + ctl.Name + "\n" +
"제목 : " + ctl.Text);
UTIL.MsgE("Speed/acceleration control is not specified\n\n" +
"Name : " + ctl.Name + "\n" +
"Title : " + ctl.Text);
return;
}
@@ -281,7 +281,7 @@ namespace Project
//모션이 초기화가 안되있다면 오류로 처리한다
if (PUB.mot.IsHomeSet((short)nud.MotionIndex) == false)
{
UTIL.MsgE("해당 축은 홈 검색이 완료되지 않았습니다.\n먼저 홈 검색을 완료 하세요");
UTIL.MsgE("Home search for this axis is not completed.\nPlease complete home search first");
return;
}
@@ -291,11 +291,11 @@ namespace Project
{
case arFrame.Control.MotCommandButton.eCommand.AcceptPosition:
var msg1 = string.Format("모션의 설정값을 변경 하시겠습니까\n" +
" : {0}\n" +
"변경전 : {1}\n" +
"변경후 : {2}\n" +
"변경 후 '저장'을 눌러야 영구 기록 됩니다", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos, nud.Value);
var msg1 = string.Format("Do you want to change the motion settings?\n" +
"Axis : {0}\n" +
"Before : {1}\n" +
"After : {2}\n" +
"You must press 'Save' after change to record permanently", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos, nud.Value);
if (UTIL.MsgQ(msg1) != System.Windows.Forms.DialogResult.Yes) return;
@@ -314,11 +314,11 @@ namespace Project
if (ctl.motCommand == arFrame.Control.MotCommandButton.eCommand.RelativeMove)
relative = true;
var msg = string.Format("모션의 위치를 변경 하시겠습니까\n" +
" : {0}\n" +
"현재위치 : {1}\n" +
"대상위치 : {2}\n" +
"이동 시 충돌 가능성이 있는지 반드시 확인 하세요", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos);
var msg = string.Format("Do you want to change the motion position?\n" +
"Axis : {0}\n" +
"Current position : {1}\n" +
"Target position : {2}\n" +
"Please make sure to check for potential collisions during movement", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos);
if (UTIL.MsgQ(msg) != System.Windows.Forms.DialogResult.Yes) return;
@@ -437,11 +437,11 @@ namespace Project
var pos = (double)nudPosAbs.Value;
var vel = (double)nudJogVel.Value;
var msg = $"모션({axis}) 의 좌표를 ({pos})로 이동 할까요?";
var msg = $"Move motion({axis}) coordinate to ({pos})?";
if (UTIL.MsgQ(msg) != DialogResult.Yes) return;
MOT.Move(this.axis, pos, vel, 500, false, !chkJogMoveForce.Checked, !chkJogMoveForce.Checked);
PUB.log.AddI(string.Format("{0}번 축 수동이동(ABS) {1}mm", axisIndex, pos));
PUB.log.AddI(string.Format("Axis {0} manual movement(ABS) {1}mm", axisIndex, pos));
}
private void button3_Click_1(object sender, EventArgs e)
@@ -453,22 +453,22 @@ namespace Project
if(pos == 0.0)
{
UTIL.MsgE("상대 이동시 값은 (0)일 수 없습니다",true);
UTIL.MsgE("Value cannot be (0) for relative movement",true);
return;
}
var msg = $"모션({axis}) 의 좌표를 현재위치에서 ({pos})만큼 이동 할까요?";
var msg = $"Move motion({axis}) coordinate by ({pos}) from current position?";
if (UTIL.MsgQ(msg) != DialogResult.Yes) return;
MOT.Move(this.axis, pos, vel, 500, true, !chkJogMoveForce.Checked, !chkJogMoveForce.Checked);
PUB.log.AddI(string.Format("{0}번 축 수동이동(REL) {1}mm", axisIndex, pos));
PUB.log.AddI(string.Format("Axis {0} manual movement(REL) {1}mm", axisIndex, pos));
}
private void btJogHome_Click(object sender, EventArgs e)
{
//jog-home
var dlg = UTIL.MsgQ(string.Format("{0} 축의 홈 검색을 실행하시겠습니까?", this.axis));
var dlg = UTIL.MsgQ(string.Format("Execute home search for axis {0}?", this.axis));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var rlt = MOT.Home("Model(UserControl)", this.axis);
if (rlt == false)
@@ -481,8 +481,8 @@ namespace Project
private void btJogPClear_Click(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("위치값을 초기화 하시겠습니까?\n" +
"실 사용전에는 반드시 홈 작업을 진행하세요");
var dlg = UTIL.MsgQ("Initialize position values?\n" +
"Make sure to perform home operation before actual use");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
//jog pos-clear
PUB.mot.ClearPosition((short)axisIndex);
@@ -513,7 +513,7 @@ namespace Project
var curstate = PUB.mot.IsServOn(axisIndex);
if (curstate)
{
var dlg = UTIL.MsgQ("SERVO-ON 상태를 OFF 할까요?\n\nOFF 되면 HOME-SET 상태도 OFF 됩니다");
var dlg = UTIL.MsgQ("Turn OFF SERVO-ON status?\n\nWhen turned OFF, HOME-SET status will also be turned OFF");
if (dlg != DialogResult.Yes) return;
}
PUB.mot.SetServOn((short)axisIndex, !curstate);
@@ -603,7 +603,7 @@ namespace Project
var dr = ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"선택된 인덱스({idx})에 해당하는 자료가 없습니다. \n다시 시도하세요", true);
UTIL.MsgE($"No data found for selected index({idx}). \nPlease try again", true);
bsPosData.Filter = "motindex=99 and PosTitle='영구없다'";
return;
}
@@ -626,7 +626,7 @@ namespace Project
this.tabControl1.TabPages[0].Text = $"[{dr.Title}-M{this.axisIndex}] Position Data";
RtLog.AddMsg($"모션좌표값확인({dr.Title}[{dr.idx}],축:{this.axisIndex})");
RtLog.AddMsg($"Motion coordinate value check ({dr.Title}[{dr.idx}], Axis: {this.axisIndex})");
//var rowindex = dvMot.SelectedCells[0].RowIndex;
@@ -640,7 +640,7 @@ namespace Project
//위치정보 표시
bsPosData.Filter = string.Format("pidx={0} and motindex = {1} and PosTitle not like 'XX_%'", dr.idx, this.axisIndex);
RtLog.AddMsg($"({bsPosData.Count}) 건의 자료가 확인 됨");
RtLog.AddMsg($"({bsPosData.Count}) data items confirmed");
//(위치정보) 데이터수량이 맞지 않으면 재 생성한다
@@ -660,7 +660,7 @@ namespace Project
if (axType == null)
{
UTIL.MsgE("지정한 축에 대한 위치정보가 지정되지 않았습니다");
UTIL.MsgE("Position information for specified axis is not defined");
return;
}
@@ -676,7 +676,7 @@ namespace Project
var dellist = ds1.MCModel.Where(t => t.pidx == dr.idx && t.MotIndex == this.axisIndex && t.PosIndex == -1).ToList();
if (dellist.Any())
{
RtLog.AddMsg($"모션({axisIndex}) 에 위치정보가 -1인 데이터 ({dellist.Count})건 있으며 삭제 합니다");
RtLog.AddMsg($"Motion ({axisIndex}) has {dellist.Count} data items with position information -1, deleting them");
cntD += dellist.Count;
foreach (var item in dellist)
ds1.MCModel.RemoveMCModelRow(item);
@@ -723,14 +723,14 @@ namespace Project
this.ds1.MCModel.AddMCModelRow(newdr);
newdr.EndEdit();
sb.AppendLine("항목 추가 : " + arrTitle);
sb.AppendLine("Item added: " + arrTitle);
}
else
{
//이름이 다르다면 추가해준다.
if (pDr.PosTitle != arrTitle)
{
sb.AppendLine("(위치)항목 변경 : " + pDr.PosTitle + " => " + arrTitle);
sb.AppendLine("(Position) Item changed: " + pDr.PosTitle + " => " + arrTitle);
cntE += 1;
pDr.PosTitle = arrTitle;
}
@@ -759,9 +759,9 @@ namespace Project
if (cntI > 0) sb.AppendLine("추가수량 : " + cntI.ToString());
if (cntE > 0) sb.AppendLine("변경수량 : " + cntE.ToString());
if (cntD > 0) sb.AppendLine("삭제수량 : " + cntD.ToString());
if (cntI > 0) sb.AppendLine("Added count: " + cntI.ToString());
if (cntE > 0) sb.AppendLine("Changed count: " + cntE.ToString());
if (cntD > 0) sb.AppendLine("Deleted count: " + cntD.ToString());
//최종 확정
this.ds1.MCModel.AcceptChanges();
@@ -778,9 +778,9 @@ namespace Project
if (chkJogMoveForce.Checked)
{
UTIL.MsgI(
"조그 강제 이동시에는 충돌 조건을 검사하지 않습니다\n" +
"셔틀 이동 시 주변 장애물을 반드시 확인하시기 바랍니다\n" +
"'강제이동' 은 티칭작업시에만 사용하세요");
"Collision conditions are not checked during jog forced movement\n" +
"Please make sure to check surrounding obstacles when moving shuttle\n" +
"'Forced movement' should only be used during teaching operations");
}
}
@@ -829,7 +829,7 @@ namespace Project
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion home is not completed\nPlease proceed with 'Device Initialization' from main screen");
return;
}
//현재값으로 모터를 이동
@@ -849,12 +849,12 @@ namespace Project
//if (ctl.motCommand == arFrame.Control.MotCommandButton.eCommand.RelativeMove)
// relative = true;
var msg = string.Format("모션의 위치를 변경 하시겠습니까\n" +
" : {0}\n" +
"현재위치 : {1}\n" +
"대상위치 : {2}\n" +
"이동속도 : {3}(가속도:{4})\n" +
"이동 시 충돌 가능성이 있는지 반드시 확인 하세요", axis, PUB.mot.GetActPos(axisIndex), value, speed, acc);
var msg = string.Format("Do you want to change the motion position?\n" +
"Axis : {0}\n" +
"Current position : {1}\n" +
"Target position : {2}\n" +
"Movement speed : {3}(Acceleration:{4})\n" +
"Please make sure to check for potential collisions during movement", axis, PUB.mot.GetActPos(axisIndex), value, speed, acc);
if (UTIL.MsgQ(msg) != System.Windows.Forms.DialogResult.Yes) return;
@@ -868,7 +868,7 @@ namespace Project
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion home is not completed\nPlease proceed with 'Device Initialization' from main screen");
return;
}
@@ -877,11 +877,11 @@ namespace Project
var value = (double)cell.Value;
var nValue = Math.Round(PUB.mot.GetCmdPos(this.axisIndex), 4); //소수점4자리에서 반올림처리한다 210414
var msg1 = string.Format("모션의 설정값을 변경 하시겠습니까\n" +
" : {0}\n" +
"변경전 : {1}\n" +
"변경후 : {2}\n" +
"변경 후 '저장'을 눌러야 영구 기록 됩니다", this.axis, value, nValue);
var msg1 = string.Format("Do you want to change the motion settings?\n" +
"Axis : {0}\n" +
"Before : {1}\n" +
"After : {2}\n" +
"You must press 'Save' after change to record permanently", this.axis, value, nValue);
if (UTIL.MsgQ(msg1) != System.Windows.Forms.DialogResult.Yes) return;
cell.Value = nValue;
@@ -891,7 +891,7 @@ namespace Project
//현재값 변경 팝업
var cell = dv.Rows[e.RowIndex].Cells[e.ColumnIndex];
var value = (double)cell.Value;
value = PUB.ChangeValuePopup(value, "위치 입력");
value = PUB.ChangeValuePopup(value, "Position Input");
cell.Value = value;
}
else if (colName == "btspeed")
@@ -902,10 +902,10 @@ namespace Project
var maxvalue = PUB.system_mot.GetMaxSpeed[this.axisIndex];
if (maxvalue == 0) maxvalue = 1000;
value = PUB.ChangeValuePopup(value, $"속도 입력(최대:{maxvalue}mm/s)");
value = PUB.ChangeValuePopup(value, $"Speed Input(Max:{maxvalue}mm/s)");
if(value > maxvalue)
{
UTIL.MsgE($"입력값({value})이 최대값({maxvalue})을 초과했습니다.\n다시 입력하세요");
UTIL.MsgE($"Input value({value}) exceeds maximum value({maxvalue}).\nPlease input again");
//cell.Value = maxvalue;
}
else
@@ -922,10 +922,10 @@ namespace Project
var maxvalue = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxvalue == 0) maxvalue = 2000;
value = PUB.ChangeValuePopup(value, $"가속도 입력(최대:{maxvalue}mm/s)");
value = PUB.ChangeValuePopup(value, $"Acceleration Input(Max:{maxvalue}mm/s)");
if (value > maxvalue)
{
UTIL.MsgE($"입력값({value})이 최대값({maxvalue})을 초과했습니다.\n다시 입력하세요");
UTIL.MsgE($"Input value({value}) exceeds maximum value({maxvalue}).\nPlease input again");
//cell.Value = maxvalue;
}
else
@@ -942,10 +942,10 @@ namespace Project
var maxvalue = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxvalue == 0) maxvalue = 2000;
value = PUB.ChangeValuePopup(value, $"감속도 입력(최대:{maxvalue}mm/s)");
value = PUB.ChangeValuePopup(value, $"Deceleration Input(Max:{maxvalue}mm/s)");
if (value > maxvalue)
{
UTIL.MsgE($"입력값({value})이 최대값({maxvalue})을 초과했습니다.\n다시 입력하세요");
UTIL.MsgE($"Input value({value}) exceeds maximum value({maxvalue}).\nPlease input again");
//cell.Value = maxvalue;
}
else
@@ -960,7 +960,7 @@ namespace Project
{
//jopgspeed
var value = (double)nudJogVel.Value;
value = PUB.ChangeValuePopup(value, "속도 입력");
value = PUB.ChangeValuePopup(value, "Speed Input");
nudJogVel.Value = (decimal)value;
}
@@ -968,7 +968,7 @@ namespace Project
{
//absvalue
var value = (double)this.nudPosAbs.Value;
value = PUB.ChangeValuePopup(value, "속도 입력");
value = PUB.ChangeValuePopup(value, "Speed Input");
nudPosAbs.Value = (decimal)value;
}
@@ -976,7 +976,7 @@ namespace Project
{
//reelvalu
var value = (double)nudPosRel.Value;
value = PUB.ChangeValuePopup(value, "속도 입력");
value = PUB.ChangeValuePopup(value, "Speed Input");
nudPosRel.Value = (decimal)value;
}
@@ -985,13 +985,13 @@ namespace Project
var maxspeed = PUB.system_mot.GetMaxSpeed[this.axisIndex];
if (maxspeed == 0) maxspeed = 1000;
var dlg = UTIL.MsgQ($"모든 이동좌표의 속도를 일괄 변경하시겠습니까?\n최대:{maxspeed}mm/s");
var dlg = UTIL.MsgQ($"Change speed of all movement coordinates in batch?\nMax:{maxspeed}mm/s");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 속도 변경");
var value = PUB.ChangeValuePopup(100.0, "Batch Speed Change");
if(value > maxspeed)
{
UTIL.MsgE($"입력값({value})이 최대값({maxspeed})보다 큽니다. 다시 입력 하세요");
UTIL.MsgE($"Input value({value}) is greater than maximum value({maxspeed}). Please input again");
return;
}
for (int i = 0; i < this.bsPosData.Count; i++)
@@ -1010,13 +1010,13 @@ namespace Project
var maxspeed = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxspeed == 0) maxspeed = 2000;
var dlg = UTIL.MsgQ($"모든 이동좌표의 가(감)속도를 일괄 변경하시겠습니까?\n최대:{maxspeed}mm/s");
var dlg = UTIL.MsgQ($"Change acceleration/deceleration of all movement coordinates in batch?\nMax:{maxspeed}mm/s");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 가(감)속도 변경");
var value = PUB.ChangeValuePopup(100.0, "Batch Acceleration/Deceleration Change");
if (value > maxspeed)
{
UTIL.MsgE($"입력값({value})이 최대값({maxspeed})보다 큽니다. 다시 입력 하세요");
UTIL.MsgE($"Input value({value}) is greater than maximum value({maxspeed}). Please input again");
return;
}
@@ -1036,13 +1036,13 @@ namespace Project
var maxspeed = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxspeed == 0) maxspeed = 2000;
var dlg = UTIL.MsgQ($"모든 이동좌표의 감속도를 일괄 변경하시겠습니까?\n최대:{maxspeed}mm/s");
var dlg = UTIL.MsgQ($"Change deceleration of all movement coordinates in batch?\nMax:{maxspeed}mm/s");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(0, "일괄 감속도 변경");
var value = PUB.ChangeValuePopup(0, "Batch Deceleration Change");
if (value > maxspeed)
{
UTIL.MsgE($"입력값({value})이 최대값({maxspeed})보다 큽니다. 다시 입력 하세요");
UTIL.MsgE($"Input value({value}) is greater than maximum value({maxspeed}). Please input again");
return;
}
@@ -1080,7 +1080,7 @@ namespace Project
{
//jopgspeed
var value = (double)nudJogAcc.Value;
value = PUB.ChangeValuePopup(value, "조그 가속도 입력");
value = PUB.ChangeValuePopup(value, "Jog Acceleration Input");
nudJogAcc.Value = (decimal)value;
}
@@ -1097,13 +1097,13 @@ namespace Project
private void toolStripButton6_Click(object sender, EventArgs e)
{
var f = new AR.Dialog.fInput("모델명을 입력하세요",string.Empty);
var f = new AR.Dialog.fInput("Enter model name",string.Empty);
if (f.ShowDialog() != DialogResult.OK) return;
//지정한 이름이있는지 확인한다.
if (ds1.MCModel.Where(t => t.Title == f.ValueString).Any())
{
UTIL.MsgE("이미 사용중인 이름 입니다\n\n" + f.ValueString);
UTIL.MsgE("Name is already in use\n\n" + f.ValueString);
return;
}
@@ -1126,20 +1126,20 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("삭제할 대상을 선택하고 다시 시도하세요", true);
UTIL.MsgE("Select target to delete and try again", true);
return;
}
var idx = int.Parse(listView1.FocusedItem.Tag.ToString());
var dr = this.ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"인덱스({idx}) 값에 해당하는 자료가 없습니다.\n다시 시도하세요");
UTIL.MsgE($"No data found for index({idx}) value.\nPlease try again");
return;
}
var dlg = UTIL.MsgQ("현재 선택된 자료를 삭제하시겠습니까?\n\n" +
$"모델명 : {dr.Title}\n" +
$"모델번호 : ({dr.idx})");
var dlg = UTIL.MsgQ("Delete currently selected data?\n\n" +
$"Model name : {dr.Title}\n" +
$"Model number : ({dr.idx})");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
@@ -1186,7 +1186,7 @@ namespace Project
//빈데이터삭제
if (delrows.Any())
{
sb.AppendLine($"빈데이터삭제 {delrows.Count}");
sb.AppendLine($"Empty data deleted {delrows.Count} items");
for (int i = 0; i < delrows.Count; i++)
ds1.MCModel.RemoveMCModelRow(delrows[i]);
ds1.MCModel.AcceptChanges();
@@ -1199,14 +1199,14 @@ namespace Project
var mpos = PUB.mdm.dataSet.MCModel.Where(t => t.pidx == dr.pidx && t.MotIndex == dr.MotIndex && t.PosIndex == dr.PosIndex);
if (mpos.Any() == false)
{
sb.AppendLine($"[추가] Mot({dr.MotIndex}) {dr.PosTitle}({dr.Position})");
sb.AppendLine($"[Added] Mot({dr.MotIndex}) {dr.PosTitle}({dr.Position})");
}
else
{
var first = mpos.First();
if (dr.Position != first.Position || dr.PosTitle != first.PosTitle)
{
sb.AppendLine($"[변경] Mot({first.MotIndex}) {first.PosTitle}({first.Position}) => {dr.PosTitle}({dr.Position})");
sb.AppendLine($"[Changed] Mot({first.MotIndex}) {first.PosTitle}({first.Position}) => {dr.PosTitle}({dr.Position})");
//sb.AppendLine($" => {dr.PosTitle}({dr.Position})");
}
}
@@ -1220,15 +1220,15 @@ namespace Project
var mpos = ds1.MCModel.Where(t => t.MotIndex == dr.MotIndex && t.PosIndex == dr.PosIndex);
if (mpos.Any() == false)
{
sb.AppendLine($"[삭제] M={dr.MotIndex},P={dr.PosIndex},T={dr.PosTitle},V={dr.Position}");
sb.AppendLine($"[Deleted] M={dr.MotIndex},P={dr.PosIndex},T={dr.PosTitle},V={dr.Position}");
}
}
if (sb.Length > 0)
{
UTIL.MsgI("다음 사항이 변경 되었습니다\n" + sb.ToString());
UTIL.MsgI("The following items have been changed\n" + sb.ToString());
}
else PUB.log.AddI("변경된 모션 정보가 없습니다");
else PUB.log.AddI("No motion information changed");
// if (PUB.LockModel.WaitOne(1000) ==false)
{
@@ -1246,17 +1246,17 @@ namespace Project
var curmodelnmae = PUB.Result.mModel.Title;
if (curmodelnmae.isEmpty())
{
UTIL.MsgE("지정된 모델이 없어 값이 적용되지 않습니다\n작업 모델을 다시 선택하세요", true);
UTIL.MsgE("No specified model, values will not be applied\nPlease select work model again", true);
}
else
{
PUB.log.AddI($"모션모델을 적용 합니다({curmodelnmae})");
PUB.log.AddI($"Applying motion model ({curmodelnmae})");
PUB.Result.mModel.ReadValue(curmodelnmae);
if (PUB.Result.mModel.isSet)
{
PUB.log.AddAT("모션모델적용완료 : " + PUB.Result.mModel.Title);
PUB.log.AddAT("Motion model application completed: " + PUB.Result.mModel.Title);
}
else UTIL.MsgE($"모션모델적용실패\n\n대상 모델명({curmodelnmae})이 없습니다");
else UTIL.MsgE($"Motion model application failed\n\nTarget model name({curmodelnmae}) not found");
}
@@ -1284,7 +1284,7 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("복사할 모델을 선택하세요", true);
UTIL.MsgE("Select model to copy", true);
return;
}
@@ -1292,11 +1292,11 @@ namespace Project
var dr = ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();// drv.Row as DataSet1.MCModelRow;
if (dr == null)
{
UTIL.MsgE($"모델 번호({idx}) 의 자료를 찾을 수 없습니다\n\n다시 시도하세요");
UTIL.MsgE($"Cannot find data for model number({idx})\n\nPlease try again");
return;
}
var dlg = UTIL.MsgQ(string.Format("다음 모델 정보를 복사하시겠습니까?\n\n모델명 : {0}", dr.Title));
var dlg = UTIL.MsgQ(string.Format("Copy the following model information?\n\nModel name : {0}", dr.Title));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var newdr = this.ds1.MCModel.NewMCModelRow();
@@ -1305,7 +1305,7 @@ namespace Project
var newnameidx = 1;
while (true)
{
var newname = dr.Title + $"-복사됨({newnameidx++})-";
var newname = dr.Title + $"-Copy({newnameidx++})-";
if (ds1.MCModel.Where(t => t.Title == newname).Any() == false)
{
newdr.Title = newname;
@@ -1334,14 +1334,14 @@ namespace Project
this.ds1.MCModel.AddMCModelRow(newdr2);
}
this.ds1.MCModel.AcceptChanges();
PUB.log.Add($"{dr.Title} 모델 복사 => {newdr.Title}");
PUB.log.Add($"{dr.Title} model copy => {newdr.Title}");
}
private void toolStripButton10_Click(object sender, EventArgs e)
{
if (PUB.sm.Step == eSMStep.RUN || PUB.sm.Step == eSMStep.WAITSTART || PUB.sm.Step == eSMStep.PAUSE)
{
UTIL.MsgE("현재 동작(대기) 중이므로 모델을 변경 할 수 없습니다");
UTIL.MsgE("Cannot change model because currently operating (waiting)");
return;
}
//select
@@ -1349,7 +1349,7 @@ namespace Project
if (listView1.FocusedItem == null) return;
if (hasChanged())
{
UTIL.MsgE("저장되지 않은 사항이 있어 모델을 선택할 수 없습니다", true);
UTIL.MsgE("Cannot select model because there are unsaved changes", true);
return;
}
@@ -1372,14 +1372,14 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("모델을 선택하세요", true);
UTIL.MsgE("Select a model", true);
return;
}
var idx = int.Parse(listView1.FocusedItem.Tag.ToString());
var dr = this.ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"인덱스({idx}) 에 해당하는 자료가 없습니다\n\n다시 시도하세요", true);
UTIL.MsgE($"No data found for index({idx})\n\nPlease try again", true);
return;
}
@@ -1411,36 +1411,36 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("변경할 대상을 선택하고 다시 시도하세요", true);
UTIL.MsgE("Select target to change and try again", true);
return;
}
var idx = int.Parse(listView1.FocusedItem.Tag.ToString());
var dr = this.ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"인덱스({idx}) 값에 해당하는 자료가 없습니다.\n다시 시도하세요");
UTIL.MsgE($"No data found for index({idx}) value.\nPlease try again");
return;
}
var f = new AR.Dialog.fTouchKeyFull("모델명 변경", dr.Title);
var f = new AR.Dialog.fTouchKeyFull("Change Model Name", dr.Title);
if (f.ShowDialog() != DialogResult.OK) return;
var valstr = f.tbInput.Text.Trim();
if (dr.Title.Equals(valstr))
{
UTIL.MsgE("이름이 변경되지 않았습니다", true);
UTIL.MsgE("Name has not been changed", true);
return;
}
if (ds1.MCModel.Where(t => t.Title == valstr).Any())
{
UTIL.MsgE("이미 존재하는 이름 입니다", true);
UTIL.MsgE("Name already exists", true);
return;
}
var dlg = UTIL.MsgQ("현재 선택된 모델의 이름을 변경 하시겠습니까?\n\n" +
$"변경전 : {dr.Title}\n" +
$"변경후 : {valstr}");
var dlg = UTIL.MsgQ("Change the name of currently selected model?\n\n" +
$"Before : {dr.Title}\n" +
$"After : {valstr}");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;

View File

@@ -426,7 +426,7 @@
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(51, 22);
this.toolStripButton4.Text = "추가";
this.toolStripButton4.Text = "Add";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripButton6
@@ -435,7 +435,7 @@
this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton6.Name = "toolStripButton6";
this.toolStripButton6.Size = new System.Drawing.Size(51, 22);
this.toolStripButton6.Text = "삭제";
this.toolStripButton6.Text = "Delete";
this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click);
//
// toolStripButton7
@@ -454,7 +454,7 @@
this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton8.Name = "toolStripButton8";
this.toolStripButton8.Size = new System.Drawing.Size(51, 22);
this.toolStripButton8.Text = "편집";
this.toolStripButton8.Text = "Edit";
this.toolStripButton8.Click += new System.EventHandler(this.toolStripButton8_Click);
//
// toolStrip1
@@ -475,7 +475,7 @@
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(51, 22);
this.toolStripButton1.Text = "등록";
this.toolStripButton1.Text = "Register";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
//
// toolStripButton2
@@ -484,7 +484,7 @@
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(51, 22);
this.toolStripButton2.Text = "해제";
this.toolStripButton2.Text = "Unregister";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripButton3
@@ -555,7 +555,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorMoveFirstItem
//
@@ -564,7 +564,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -573,7 +573,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -582,13 +582,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -602,7 +602,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -611,7 +611,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -624,7 +624,7 @@
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton5.Name = "toolStripButton5";
this.toolStripButton5.Size = new System.Drawing.Size(75, 22);
this.toolStripButton5.Text = "그룹설정";
this.toolStripButton5.Text = "Group Settings";
this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
//
// toolStripSeparator1
@@ -926,7 +926,7 @@
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(115, 40);
this.btSave.TabIndex = 19;
this.btSave.Text = "저장(&S)";
this.btSave.Text = "Save(&S)";
this.btSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSave.UseVisualStyleBackColor = true;
this.btSave.Click += new System.EventHandler(this.btSave_Click);
@@ -937,7 +937,7 @@
this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton9.Name = "toolStripButton9";
this.toolStripButton9.Size = new System.Drawing.Size(111, 22);
this.toolStripButton9.Text = "열너비자동조정";
this.toolStripButton9.Text = "Auto Adjust Column Width";
this.toolStripButton9.Click += new System.EventHandler(this.toolStripButton9_Click);
//
// Model_Motion_Desc

View File

@@ -359,7 +359,7 @@ namespace Project.Dialog
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dlg = UTIL.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to delete the currently selected data?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
bs.RemoveCurrent();
this.ds1.MCModel.AcceptChanges();
@@ -408,9 +408,9 @@ namespace Project.Dialog
PUB.Result.mModel.ReadValue(dr.Title, this.ds1.MCModel);
if (PUB.Result.mModel.isSet)
{
PUB.log.AddAT("모션모델선택완료 : " + PUB.Result.mModel.Title);
PUB.log.AddAT("Motion model selection completed: " + PUB.Result.mModel.Title);
}
else UTIL.MsgE("적용 실패\n\n대상 모델 명이 없습니다");
else UTIL.MsgE("Apply failed\n\nTarget model name not found");
}
private void button4_Click(object sender, EventArgs e)
@@ -418,7 +418,7 @@ namespace Project.Dialog
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.MCModelRow;
var dlg = UTIL.MsgQ(string.Format("다음 모델 정보를 복사하시겠습니까?\n\n모델명 : {0}", dr.Title));
var dlg = UTIL.MsgQ(string.Format("Do you want to copy the following model information?\n\nModel name: {0}", dr.Title));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var newdr = this.ds1.MCModel.NewMCModelRow();
@@ -440,7 +440,7 @@ namespace Project.Dialog
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion homing not completed\nPlease run 'Device Initialization' from the main screen");
return;
}
//현재값으로 모터를 이동
@@ -480,7 +480,7 @@ namespace Project.Dialog
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion homing not completed\nPlease run 'Device Initialization' from the main screen");
return;
}
@@ -537,7 +537,7 @@ namespace Project.Dialog
private void toolStripButton1_Click(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("모든 이동좌표의 속도를 일괄 변경하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to batch change the speed of all movement coordinates?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 속도 변경");
@@ -554,7 +554,7 @@ namespace Project.Dialog
private void toolStripButton2_Click_2(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("모든 이동좌표의 가(감)속도를 일괄 변경하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to batch change the acceleration/deceleration of all movement coordinates?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 가(감)속도 변경");
@@ -571,7 +571,7 @@ namespace Project.Dialog
private void toolStripButton3_Click_1(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("모든 이동좌표의 감속도를 일괄 변경하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to batch change the deceleration of all movement coordinates?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(0, "일괄 감속도 변경");
@@ -737,11 +737,11 @@ namespace Project.Dialog
{
if (tn.Nodes.Count < 1)
{
UTIL.MsgE("하위 항목이 없습니다");
UTIL.MsgE("No sub items found");
return;
}
var dlg = UTIL.MsgQ($"{tn.Nodes.Count}건의 자료를 모두 추가 할까요?");
var dlg = UTIL.MsgQ($"Do you want to add all {tn.Nodes.Count} data items?");
if (dlg != DialogResult.Yes) return;
var ucnt = 0;
foreach (TreeNode node in tn.Nodes)
@@ -753,7 +753,7 @@ namespace Project.Dialog
ucnt += 1;
}
}
UTIL.MsgI($"{ucnt}건의 아이템이 추가 되었습니다");
UTIL.MsgI($"{ucnt} items have been added");
//현재목록을 리스트로 만들고 업데이트한.ㄷ
var drv = this.bsPos.Current as DataRowView;
var dr = drv.Row as DataSet1.MCModelRow;
@@ -785,7 +785,7 @@ namespace Project.Dialog
dr.EndEdit();
}
else UTIL.MsgE("이미 존재하는 항목 입니다.");
else UTIL.MsgE("This item already exists.");
}

View File

@@ -229,8 +229,8 @@
this.checkBox31.Name = "checkBox31";
this.checkBox31.Size = new System.Drawing.Size(148, 34);
this.checkBox31.TabIndex = 8;
this.checkBox31.Text = "미정의바코드제외";
this.toolTip1.SetToolTip(this.checkBox31, "바코드룰에 없는 데이터를 제외 합니다..");
this.checkBox31.Text = "Exclude Undefined Barcodes";
this.toolTip1.SetToolTip(this.checkBox31, "Excludes data not in barcode rules..");
this.checkBox31.UseVisualStyleBackColor = true;
//
// chkOwnZPL
@@ -242,8 +242,8 @@
this.chkOwnZPL.Name = "chkOwnZPL";
this.chkOwnZPL.Size = new System.Drawing.Size(133, 34);
this.chkOwnZPL.TabIndex = 17;
this.chkOwnZPL.Text = "개별프린트코드";
this.toolTip1.SetToolTip(this.chkOwnZPL, "바코드룰에 없는 데이터를 제외 합니다..");
this.chkOwnZPL.Text = "Individual Print Code";
this.toolTip1.SetToolTip(this.chkOwnZPL, "Excludes data not in barcode rules..");
this.chkOwnZPL.UseVisualStyleBackColor = true;
//
// panel5
@@ -312,7 +312,7 @@
this.chkSIDCHK.Size = new System.Drawing.Size(117, 34);
this.chkSIDCHK.TabIndex = 16;
this.chkSIDCHK.Tag = "0";
this.chkSIDCHK.Text = "SID존재확인";
this.chkSIDCHK.Text = "SID Existence Check";
this.chkSIDCHK.UseVisualStyleBackColor = true;
//
// checkBox32
@@ -327,7 +327,7 @@
this.checkBox32.Size = new System.Drawing.Size(153, 34);
this.checkBox32.TabIndex = 15;
this.checkBox32.Tag = "0";
this.checkBox32.Text = "프린터 사용 안함";
this.checkBox32.Text = "Do not use printer";
this.checkBox32.UseVisualStyleBackColor = true;
this.checkBox32.CheckedChanged += new System.EventHandler(this.checkBox32_CheckedChanged);
//
@@ -343,7 +343,7 @@
this.chkEnbCamera.Size = new System.Drawing.Size(137, 34);
this.chkEnbCamera.TabIndex = 14;
this.chkEnbCamera.Tag = "0";
this.chkEnbCamera.Text = "비전 사용 안함";
this.chkEnbCamera.Text = "Do not use vision";
this.chkEnbCamera.UseVisualStyleBackColor = true;
//
// button1
@@ -353,7 +353,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(55, 34);
this.button1.TabIndex = 18;
this.button1.Text = "편집";
this.button1.Text = "Edit";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -383,7 +383,7 @@
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
this.tabPage1.Size = new System.Drawing.Size(721, 264);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "옵션";
this.tabPage1.Text = "Options";
this.tabPage1.UseVisualStyleBackColor = true;
//
// chkApplySidInfo
@@ -396,7 +396,7 @@
this.chkApplySidInfo.Size = new System.Drawing.Size(419, 25);
this.chkApplySidInfo.TabIndex = 33;
this.chkApplySidInfo.Tag = "6";
this.chkApplySidInfo.Text = "SID정보 테이블을 이용하여 데이터를 자동 기록합니다";
this.chkApplySidInfo.Text = "Automatically record data using SID information table";
this.chkApplySidInfo.UseVisualStyleBackColor = true;
this.chkApplySidInfo.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -410,7 +410,7 @@
this.chkApplyJobInfo.Size = new System.Drawing.Size(423, 25);
this.chkApplyJobInfo.TabIndex = 32;
this.chkApplyJobInfo.Tag = "5";
this.chkApplyJobInfo.Text = "당일 작업 내역을 이용하여 데이터를 자동 기록 합니다";
this.chkApplyJobInfo.Text = "Automatically record data using today's work history";
this.chkApplyJobInfo.UseVisualStyleBackColor = true;
this.chkApplyJobInfo.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -424,7 +424,7 @@
this.chkApplySIDConvData.Size = new System.Drawing.Size(425, 25);
this.chkApplySIDConvData.TabIndex = 31;
this.chkApplySIDConvData.Tag = "7";
this.chkApplySIDConvData.Text = "SID변환 테이블을 이용하여 데이터를 자동 기록 합니다";
this.chkApplySIDConvData.Text = "Automatically record data using SID conversion table";
this.chkApplySIDConvData.UseVisualStyleBackColor = true;
this.chkApplySIDConvData.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -438,7 +438,7 @@
this.chkUserConfirm.Size = new System.Drawing.Size(435, 25);
this.chkUserConfirm.TabIndex = 13;
this.chkUserConfirm.Tag = "0";
this.chkUserConfirm.Text = "최종 인쇄값을 사용자가 확인 합니다 (자동진행 안됨)";
this.chkUserConfirm.Text = "User confirms final print values (no automatic progress)";
this.chkUserConfirm.UseVisualStyleBackColor = true;
this.chkUserConfirm.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -452,7 +452,7 @@
this.chkSIDConv.Size = new System.Drawing.Size(409, 25);
this.chkSIDConv.TabIndex = 28;
this.chkSIDConv.Tag = "4";
this.chkSIDConv.Text = "SID변환 테이블을 이용하여 SID값을 전환 합니다";
this.chkSIDConv.Text = "Convert SID values using SID conversion table";
this.chkSIDConv.UseVisualStyleBackColor = true;
this.chkSIDConv.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -466,7 +466,7 @@
this.chkQtyServer.Size = new System.Drawing.Size(444, 25);
this.chkQtyServer.TabIndex = 13;
this.chkQtyServer.Tag = "1";
this.chkQtyServer.Text = "Reel ID 를 기준으로 서버의 수량을 조회하여 사용 합니다";
this.chkQtyServer.Text = "Query and use server quantity based on Reel ID";
this.chkQtyServer.UseVisualStyleBackColor = true;
this.chkQtyServer.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -480,7 +480,7 @@
this.chkQtyMRQ.Size = new System.Drawing.Size(405, 25);
this.chkQtyMRQ.TabIndex = 27;
this.chkQtyMRQ.Tag = "3";
this.chkQtyMRQ.Text = "수량을 직접 입력 합니다.(RQ가 읽혔다면 자동 진행)";
this.chkQtyMRQ.Text = "Enter quantity directly (automatic progress if RQ is read)";
this.chkQtyMRQ.UseVisualStyleBackColor = true;
this.chkQtyMRQ.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -494,7 +494,7 @@
this.chkNew.Size = new System.Drawing.Size(247, 24);
this.chkNew.TabIndex = 24;
this.chkNew.Tag = "2";
this.chkNew.Text = "Reel ID 를 신규로 생성 합니다";
this.chkNew.Text = "Create new Reel ID";
this.chkNew.UseVisualStyleBackColor = true;
this.chkNew.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -508,7 +508,7 @@
this.tabPage2.Padding = new System.Windows.Forms.Padding(10);
this.tabPage2.Size = new System.Drawing.Size(721, 264);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "옵션 데이터";
this.tabPage2.Text = "Option Data";
this.tabPage2.UseVisualStyleBackColor = true;
//
// GrpSidConvData
@@ -534,7 +534,7 @@
this.GrpSidConvData.Size = new System.Drawing.Size(701, 82);
this.GrpSidConvData.TabIndex = 34;
this.GrpSidConvData.TabStop = false;
this.GrpSidConvData.Text = "SID변환 테이블 서버적용";
this.GrpSidConvData.Text = "SID Conversion Table Server Application";
//
// chkSave2
//
@@ -546,7 +546,7 @@
this.chkSave2.Size = new System.Drawing.Size(230, 23);
this.chkSave2.TabIndex = 39;
this.chkSave2.Tag = "11";
this.chkSave2.Text = "변경 정보를 서버에 기록 합니다";
this.chkSave2.Text = "Record change information to server";
this.chkSave2.UseVisualStyleBackColor = true;
//
// checkBox34
@@ -605,7 +605,7 @@
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(55, 15);
this.label6.TabIndex = 29;
this.label6.Text = "조회대상";
this.label6.Text = "Query Target";
//
// label7
//
@@ -616,7 +616,7 @@
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(55, 15);
this.label7.TabIndex = 29;
this.label7.Text = "적용대상";
this.label7.Text = "Apply Target";
//
// checkBox3
//
@@ -719,7 +719,7 @@
this.grpapplyjob.Size = new System.Drawing.Size(701, 82);
this.grpapplyjob.TabIndex = 33;
this.grpapplyjob.TabStop = false;
this.grpapplyjob.Text = "당일작업 적용";
this.grpapplyjob.Text = "Daily Work Application";
//
// checkBox29
//
@@ -753,7 +753,7 @@
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(55, 15);
this.label3.TabIndex = 29;
this.label3.Text = "조회대상";
this.label3.Text = "Query Target";
//
// label2
//
@@ -764,7 +764,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(55, 15);
this.label2.TabIndex = 29;
this.label2.Text = "적용대상";
this.label2.Text = "Apply Target";
//
// checkBox10
//
@@ -871,7 +871,7 @@
this.grpApplySidinfo.Size = new System.Drawing.Size(701, 82);
this.grpApplySidinfo.TabIndex = 33;
this.grpApplySidinfo.TabStop = false;
this.grpApplySidinfo.Text = "SID정보 적용";
this.grpApplySidinfo.Text = "SID Information Application";
//
// checkBox33
//
@@ -931,7 +931,7 @@
this.chkSave1.Size = new System.Drawing.Size(230, 23);
this.chkSave1.TabIndex = 33;
this.chkSave1.Tag = "8";
this.chkSave1.Text = "변경 정보를 서버에 기록 합니다";
this.chkSave1.Text = "Record change information to server";
this.chkSave1.UseVisualStyleBackColor = true;
//
// checkBox19
@@ -954,7 +954,7 @@
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(55, 15);
this.label4.TabIndex = 29;
this.label4.Text = "조회대상";
this.label4.Text = "Query Target";
//
// label5
//
@@ -965,7 +965,7 @@
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(55, 15);
this.label5.TabIndex = 29;
this.label5.Text = "적용대상";
this.label5.Text = "Apply Target";
//
// checkBox11
//
@@ -1116,7 +1116,7 @@
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(94, 34);
this.label16.TabIndex = 7;
this.label16.Text = "고정값";
this.label16.Text = "Fixed Value";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// panel2
@@ -1179,7 +1179,7 @@
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(94, 34);
this.label1.TabIndex = 6;
this.label1.Text = "허용바코드";
this.label1.Text = "Allowed Barcodes";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tableLayoutPanel1
@@ -1205,7 +1205,7 @@
this.btConvOk.Name = "btConvOk";
this.btConvOk.Size = new System.Drawing.Size(609, 94);
this.btConvOk.TabIndex = 0;
this.btConvOk.Text = "컨베이어 ON";
this.btConvOk.Text = "Conveyor ON";
this.btConvOk.UseVisualStyleBackColor = true;
this.btConvOk.Click += new System.EventHandler(this.btConvOk_Click);
//
@@ -1217,7 +1217,7 @@
this.btConvOff.Name = "btConvOff";
this.btConvOff.Size = new System.Drawing.Size(610, 94);
this.btConvOff.TabIndex = 0;
this.btConvOff.Text = "컨베이어 OFF";
this.btConvOff.Text = "Conveyor OFF";
this.btConvOff.UseVisualStyleBackColor = true;
this.btConvOff.Click += new System.EventHandler(this.btConvOff_Click);
//
@@ -1354,7 +1354,7 @@
this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btAdd.Name = "btAdd";
this.btAdd.Size = new System.Drawing.Size(99, 52);
this.btAdd.Text = "추가(&A)";
this.btAdd.Text = "Add(&A)";
this.btAdd.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// btDel
@@ -1363,7 +1363,7 @@
this.btDel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btDel.Name = "btDel";
this.btDel.Size = new System.Drawing.Size(100, 52);
this.btDel.Text = "삭제(&D)";
this.btDel.Text = "Delete(&D)";
this.btDel.Click += new System.EventHandler(this.toolStripButton5_Click);
//
// btSave
@@ -1371,7 +1371,7 @@
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(98, 52);
this.btSave.Text = "저장(&S)";
this.btSave.Text = "Save(&S)";
this.btSave.Click += new System.EventHandler(this.toolStripButton9_Click);
//
// btCopy
@@ -1380,7 +1380,7 @@
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btCopy.Name = "btCopy";
this.btCopy.Size = new System.Drawing.Size(83, 52);
this.btCopy.Text = "복사";
this.btCopy.Text = "Copy";
this.btCopy.Click += new System.EventHandler(this.toolStripButton8_Click);
//
// toolStripButton10
@@ -1392,7 +1392,7 @@
this.toolStripButton10.Image = global::Project.Properties.Resources.icons8_selection_40;
this.toolStripButton10.Name = "toolStripButton10";
this.toolStripButton10.Size = new System.Drawing.Size(215, 44);
this.toolStripButton10.Text = "이 모델을 선택합니다";
this.toolStripButton10.Text = "Select this model";
this.toolStripButton10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click);
//
@@ -1441,7 +1441,7 @@
this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel2.Size = new System.Drawing.Size(1231, 36);
this.arLabel2.TabIndex = 7;
this.arLabel2.Text = "설명";
this.arLabel2.Text = "Description";
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel2.TextShadow = true;
this.arLabel2.TextVisible = true;
@@ -1497,7 +1497,7 @@
this.dvc_title.DataPropertyName = "Title";
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_title.DefaultCellStyle = dataGridViewCellStyle2;
this.dvc_title.HeaderText = "설명";
this.dvc_title.HeaderText = "Description";
this.dvc_title.Name = "dvc_title";
//
// bs
@@ -1522,7 +1522,7 @@
this.Name = "Model_Operation";
this.Padding = new System.Windows.Forms.Padding(1);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "모델 선택";
this.Text = "Model Selection";
this.Load += new System.EventHandler(this.@__Load);
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
this.panel5.ResumeLayout(false);

View File

@@ -34,9 +34,9 @@ namespace Project
//Pub.sm.setNewStep(StateMachine.eSystemStep.IDLE);
if (hasChanged())
{
var dlg = UTIL.MsgQ("변경된 자료가 있습니다.\n" +
"진행하면 변경된 자료는 손실됩니다\n" +
"진행 할까요?");
var dlg = UTIL.MsgQ("There are unsaved changes.\n" +
"If you proceed, the changed data will be lost\n" +
"Do you want to proceed?");
if (dlg != DialogResult.Yes)
{
@@ -67,7 +67,7 @@ namespace Project
var newdr = this.ds1.OPModel.NewOPModelRow();
newdr.Title = "New Model";
this.ds1.OPModel.AddOPModelRow(newdr);
UTIL.MsgI("신규 모델 정보가 추가되었습니다.\n\n최초 설정 이므로 각 상태값을 확인 하세요.");
UTIL.MsgI("New model information has been added.\n\nThis is the initial setup, so please check each status value.");
}
//dispal current
@@ -250,17 +250,9 @@ namespace Project
// e.Row["Light"] = 50;
}
private void modelBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
}
private void bs_CurrentChanged(object sender, EventArgs e)
{
//z range 을 표시한다.
//z position 영역을 문자로 변환한다.
//this.list
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.MCModelRow;
@@ -287,10 +279,7 @@ namespace Project
}
private void btSelect_Click(object sender, EventArgs e)
{
}
Boolean hasChanged()
{
this.Validate();
@@ -323,207 +312,21 @@ namespace Project
f.Show();
}
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
{
}
//private void tbFind_KeyDown(object sender, KeyEventArgs e)
//{
// if (e.KeyCode == Keys.Enter)
// {
// findModel();
// }
//}
//void findModel()
//{
// try
// {
// if (this.tbFind.Text.Trim() == "")
// {
// this.bs.Filter = "";
// this.tbFind.BackColor = Color.White;
// }
// else
// {
// string filter = "title like '%{0}%'";
// filter = string.Format(filter, tbFind.Text.Trim());
// this.bs.Filter = filter;
// this.tbFind.BackColor = Color.SkyBlue;
// this.tbFind.SelectAll();
// }
// }
// catch (Exception Ex)
// {
// this.bs.Filter = "";
// this.tbFind.BackColor = Color.Tomato;
// Util.MsgE(Ex.Message);
// }
//}
//private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
//{
// var f = new Dialog.fTouchKeyFull("INPUT - ", this.tbFind.Text.Trim());
// if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
// var inputLot = f.tbInput.Text.Trim().ToUpper();
// //if (inputLot == "") return;
// tbFind.Text = inputLot;
// findModel();
// tbFind.Focus();
// tbFind.SelectAll();
//}
private void button23_Click(object sender, EventArgs e)
{
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
}
void dv_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (this.dv.Columns[e.ColumnIndex].DataPropertyName.ToLower() == "spn")
{
//var drv = dv.Rows[e.RowIndex].DataBoundItem as DataRowView;
//var dr = drv.Row as DataSet1.ModelRow;
//var spn = dr.SPN;
//spn = selectSPn(spn);
//if(spn != "")
//{
// dr.SPN = spn;
// dv.EndEdit();
//}
}
}
//string selectSPn(string selectedname)
//{
// var od = new OpenFileDialog();
// od.InitialDirectory = COMM.SETTING.Data.SPNPath;
// od.FileName = selectedname;
// if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return "";
// var fi = new System.IO.FileInfo(od.FileName);
// if (COMM.SETTING.Data.SPNPath != fi.Directory.FullName)
// {
// COMM.SETTING.Data.SPNPath = fi.Directory.FullName;
// COMM.SETTING.Data.Save();
// }
// var SPN = fi.Name.Replace(fi.Extension, "");
// return SPN;
//}
private void toolStripButton3_Click(object sender, EventArgs e)
{
//if(COMM.SETTING.Data.SPNPath == "")
//{
// Util.MsgE("SEM 파일 저장 경로가 입력되지 않았습니다\n"+
// "환경설정에서 해당 값을 입력할 수 있습니다");
// return;
//}
//Util.RunExplorer(COMM.SETTING.Data.SPNPath);
//return;
//var drv = this.bs.Current as DataRowView;
//if (drv == null) return;
//var dr = drv.Row as DataSet1.ModelRow;
//var spn = selectSPn(dr.SPN);
//if(spn != "")
//{
// dr.SPN = spn;
// dr.EndEdit();
//}
}
private void tbClose_Click(object sender, EventArgs e)
{
this.Close();
}
//private void visXCountLabel_Click(object sender, EventArgs e)
//{
// //jopgspeed
// var value = double.Parse(visXCountTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visXCountTextBox.Text = value.ToString();
//}
//private void visYCountLabel_Click(object sender, EventArgs e)
//{
// //jopgspeed
// var value = double.Parse(visYCountTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visYCountTextBox.Text = value.ToString();
//}
//private void visXTermLabel_Click(object sender, EventArgs e)
//{
// var value = double.Parse(visXTermTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visXTermTextBox.Text = value.ToString();
//}
//private void visYTermLabel_Click(object sender, EventArgs e)
//{
// var value = double.Parse(visYTermTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visYTermTextBox.Text = value.ToString();
//}
//private void label1_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox1.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox1.Text = cd.Color.ToArgb().ToString();
// }
//}
//private void label2_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox2.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox2.Text = cd.Color.ToArgb().ToString();
// }
//}
//private void label4_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox4.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox4.Text = cd.Color.ToArgb().ToString();
// }
//}
//private void label3_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox3.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox3.Text = cd.Color.ToArgb().ToString();
// }
//}
private void textBox1_TextChanged(object sender, EventArgs e)
{
@@ -535,25 +338,7 @@ namespace Project
else tb.BackColor = Color.Black;
}
//private void button2_Click(object sender, EventArgs e)
//{
// Pub.dev_lightT.SetRGBValue(textBox3.BackColor);
//}
//private void button4_Click(object sender, EventArgs e)
//{
// Pub.dev_lightB.SetRGBValue(textBox1.BackColor);
//}
//private void button3_Click(object sender, EventArgs e)
//{
// Pub.dev_lightB.SetRGBValue(textBox4.BackColor);
//}
//private void button1_Click(object sender, EventArgs e)
//{
// Pub.dev_lightT.SetRGBValue(textBox2.BackColor);
//}
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
{
@@ -564,7 +349,7 @@ namespace Project
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dlg = UTIL.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to delete the currently selected data?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
bs.RemoveCurrent();
//this.ds1.Model.AcceptChanges();
@@ -575,7 +360,7 @@ namespace Project
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.OPModelRow;
var dlg = UTIL.MsgQ(string.Format("다음 모델 정보를 복사하시겠습니까?\n\n모델명 : {0}", dr.Title));
var dlg = UTIL.MsgQ(string.Format("Do you want to copy the following model information?\n\nModel Name : {0}", dr.Title));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var newdr = this.ds1.OPModel.NewOPModelRow();
@@ -604,7 +389,7 @@ namespace Project
private void toolStripButton4_Click(object sender, EventArgs e)
{
var f = new AR.Dialog.fTouchKeyFull("모델명을 입력하세요", DateTime.Now.ToString("yyyyMMddHHmmss"));
var f = new AR.Dialog.fTouchKeyFull("Please enter model name", DateTime.Now.ToString("yyyyMMddHHmmss"));
if (f.ShowDialog() == DialogResult.OK)
{
var newdr = this.ds1.OPModel.NewOPModelRow();
@@ -677,7 +462,7 @@ namespace Project
if (hasChanged() == false)
{
PUB.log.Add("모델저장:변경된 사항이 없습니다");
PUB.log.Add("Model save: No changes to save");
return;
}
@@ -706,15 +491,15 @@ namespace Project
{
if (PUB.sm.Step == eSMStep.RUN || PUB.sm.Step == eSMStep.WAITSTART || PUB.sm.Step == eSMStep.PAUSE)
{
UTIL.MsgE("현재 동작(대기) 중이므로 모델을 변경 할 수 없습니다");
UTIL.MsgE("Cannot change model while system is currently running (waiting)");
return;
}
if (hasChanged())
{
var dlg = UTIL.MsgQ("변경된 자료가 있습니다.\n" +
"진행하면 변경된 자료는 손실됩니다\n" +
"진행 할까요?");
var dlg = UTIL.MsgQ("There are unsaved changes.\n" +
"If you proceed, the changed data will be lost\n" +
"Do you want to proceed?");
if (dlg != DialogResult.Yes) return;
}
selectModel();
@@ -768,7 +553,7 @@ namespace Project
if (chkOwnZPL.Checked == false)
{
UTIL.MsgE("개별프린트코드가 해제되어있으므로 실제 적용되지 않습니다");
UTIL.MsgE("Individual print code is disabled, so it will not be applied");
}
var idx = dr.idx;
@@ -776,7 +561,7 @@ namespace Project
var fnBase = UTIL.MakePath("zpl.txt");
if (System.IO.File.Exists(fnBase) && System.IO.File.Exists(fn) == false)
{
UTIL.MsgI("전용 출력파일(ZPL.TXT)이 존재하지 않아 기본에서 복사합니다");
UTIL.MsgI("Dedicated output file (ZPL.TXT) does not exist, copying from default");
var fi = new System.IO.FileInfo(fn);
if (fi.Directory.Exists == false) fi.Directory.Create();
System.IO.File.Copy(fnBase, fn, true);

View File

@@ -141,7 +141,7 @@
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(91, 36);
this.toolStripButton1.Text = "새로고침";
this.toolStripButton1.Text = "Refresh";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// btMove
@@ -152,7 +152,7 @@
this.btMove.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btMove.Name = "btMove";
this.btMove.Size = new System.Drawing.Size(231, 36);
this.btMove.Text = "현재 선택 항목의 좌표로 모션 이동";
this.btMove.Text = "Move motion to selected coordinate";
this.btMove.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripSeparator1
@@ -166,7 +166,7 @@
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(95, 36);
this.toolStripButton2.Text = "모션 제어";
this.toolStripButton2.Text = "Motion Control";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
//
// toolStripButton3
@@ -175,7 +175,7 @@
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(88, 36);
this.toolStripButton3.Text = "I/O 제어";
this.toolStripButton3.Text = "I/O Control";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
//
// toolStripButton4
@@ -184,7 +184,7 @@
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(67, 36);
this.toolStripButton4.Text = "기능";
this.toolStripButton4.Text = "Function";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripSeparator2
@@ -212,7 +212,7 @@
this.btSet.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSet.Name = "btSet";
this.btSet.Size = new System.Drawing.Size(171, 36);
this.btSet.Text = "현재 명령좌표로 저장";
this.btSet.Text = "Save as current command coordinate";
this.btSet.Click += new System.EventHandler(this.btSet_Click);
//
// panel1
@@ -506,7 +506,7 @@
this.btAllZSafe.Name = "btAllZSafe";
this.btAllZSafe.Size = new System.Drawing.Size(252, 111);
this.btAllZSafe.TabIndex = 83;
this.btAllZSafe.Text = "모든 Z 축 안전 위치로";
this.btAllZSafe.Text = "All Z Axis to Safe Position";
this.btAllZSafe.UseVisualStyleBackColor = false;
this.btAllZSafe.Click += new System.EventHandler(this.btAllZSafe_Click);
//
@@ -647,7 +647,7 @@
this.linkLabel8.Size = new System.Drawing.Size(61, 35);
this.linkLabel8.TabIndex = 41;
this.linkLabel8.TabStop = true;
this.linkLabel8.Text = "속도";
this.linkLabel8.Text = "Speed";
this.linkLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// statusStrip1

View File

@@ -33,8 +33,8 @@ namespace Project.Dialog
//arDatagridView1.DataSource = dt_.MCModel;
var dr = dt_.MCModel.Where(t => t.idx == targetidx).FirstOrDefault();
if (dr == null) this.Text = "위치 기준 이동";
else this.Text = $"위치 기준 이동(모델명:{dr.Title})";
if (dr == null) this.Text = "Position-Based Movement";
else this.Text = $"Position-Based Movement (Model: {dr.Title})";
}
@@ -256,7 +256,7 @@ namespace Project.Dialog
{
if (seltv == null)
{
UTIL.MsgE("먼저 이동할 위치를 선택하세요");
UTIL.MsgE("Please select a position to move to first");
return null;
}
var tn = seltv.SelectedNode;
@@ -293,9 +293,9 @@ namespace Project.Dialog
//나머지축에 인터락이 있으면 처리하지 않는다.
if (PUB.iLock[dr.MotIndex].IsEmpty() == false)
{
if (sb.Length < 1) sb.AppendLine("모션에 인터락이 설정되어 있습니다\n");
if (sb.Length < 1) sb.AppendLine("Motion interlock is set\n");
var locklist = MOT.GetActiveLockList(ax, PUB.iLock[dr.MotIndex]);
sb.AppendLine($" : {ax}({dr.MotIndex}) 대상:{string.Join(",", locklist)}");
sb.AppendLine($"Axis : {ax}({dr.MotIndex}) Target:{string.Join(",", locklist)}");
}
nlist.Add(ax);
@@ -310,14 +310,14 @@ namespace Project.Dialog
}
Queue<Tuple<eAxis, sPositionData, bool>> poslist = new Queue<Tuple<eAxis, sPositionData, bool>>();
sb.AppendLine("축 이동을 시작할까요?\nZ축은 안전을 위해 0으로 이동 후 이동 됩니다");
sb.AppendLine("Do you want to start axis movement?\nZ-axis will move to 0 first for safety before movement");
int idx = 0;
for (int i = 0; i < zlist.Count; i++)
{
var ax = zlist[i];
var dr = zplist[i];
sb.AppendLine($"[{++idx:000}] 원점(0)으로 이동 : " + ax.ToString());
sb.AppendLine($"[{++idx:000}] Move to origin (0) : " + ax.ToString());
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -333,7 +333,7 @@ namespace Project.Dialog
{
var ax = nlist[i];
var dr = nplist[i];
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
sb.AppendLine($"[{++idx:000}] {ax} Position move : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -350,7 +350,7 @@ namespace Project.Dialog
{
var ax = nlist[i];
var dr = nplist[i];
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
sb.AppendLine($"[{++idx:000}] {ax} Position move : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -367,7 +367,7 @@ namespace Project.Dialog
{
var ax = zlist[i];
var dr = zplist[i];
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
sb.AppendLine($"[{++idx:000}] {ax} Position move : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -384,7 +384,7 @@ namespace Project.Dialog
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("홈이 완료되지 않은 모션이 있습니다");
UTIL.MsgE("There are motions that have not completed homing");
return;
}
@@ -415,7 +415,7 @@ namespace Project.Dialog
//}
if (seqtime.TotalSeconds > 60)
{
PUB.log.AddE("위치 이동실패 60초 초과");
PUB.log.AddE("Position movement failed, exceeded 60 seconds");
break;
}
System.Threading.Thread.Sleep(100);
@@ -437,7 +437,7 @@ namespace Project.Dialog
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("홈이 완료되지 않은 모션이 있습니다\n저장을 할 수 없습니다");
UTIL.MsgE("There are motions that have not completed homing\nCannot save");
return;
}
@@ -462,7 +462,7 @@ namespace Project.Dialog
}
Queue<Tuple<DataSet1.MCModelRow, eAxis, string, double, double>> poslist = new Queue<Tuple<DataSet1.MCModelRow, eAxis, string, double, double>>();
var sb = new System.Text.StringBuilder();
sb.AppendLine("다음좌표의 위치를 저장할까요?");
sb.AppendLine("Do you want to save the positions of the following coordinates?");
sb.AppendLine();
for (int i = 0; i < nlist.Count; i++)
@@ -470,7 +470,7 @@ namespace Project.Dialog
var ax = nlist[i];
var dr = nplist[i];
var curpos = PUB.mot.GetCmdPos((short)ax);
sb.AppendLine($"[{dr.idx}] :{ax} - {dr.PosTitle}\n\t변경위치 {dr.Position} -> {curpos}");
sb.AppendLine($"[{dr.idx}] Axis:{ax} - {dr.PosTitle}\n\tChange position {dr.Position} -> {curpos}");
var param = new Tuple<DataSet1.MCModelRow, eAxis, string, double, double>(dr, ax, dr.PosTitle, dr.Position, curpos);
poslist.Enqueue(param);
}
@@ -480,7 +480,7 @@ namespace Project.Dialog
{
if (f.ShowDialog() != DialogResult.OK)
{
UTIL.MsgE("좌표 저장이 취소 됨");
UTIL.MsgE("Coordinate saving was cancelled");
}
}
@@ -615,17 +615,17 @@ namespace Project.Dialog
if (but.Text.StartsWith("X") && axisX >= 0)
{
if (UTIL.MsgQ("x위치를 0으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move X position to 0?") != DialogResult.Yes) return;
MOT.Move((eAxis)axisX, 0, 100, 1000, false, false, false);
}
else if (but.Text.StartsWith("Y") && axisY >= 0)
{
if (UTIL.MsgQ("y위치를 0으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move Y position to 0?") != DialogResult.Yes) return;
MOT.Move((eAxis)axisY, 0, 100, 1000, false, false, false);
}
else if (but.Text.StartsWith("Z") && axisZ >= 0)
{
if (UTIL.MsgQ("Z위치를 0으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move Z position to 0?") != DialogResult.Yes) return;
MOT.Move((eAxis)axisZ, 0, 100, 1000, false, false, false);
}
}
@@ -647,11 +647,11 @@ namespace Project.Dialog
var sb = new System.Text.StringBuilder();
if (PUB.iLock[dr.MotIndex].IsEmpty() == false)
{
if (sb.Length < 1) sb.AppendLine("모션에 인터락이 설정되어 있습니다\n");
if (sb.Length < 1) sb.AppendLine("Motion interlock is set\n");
var locklist = MOT.GetActiveLockList(ax, PUB.iLock[dr.MotIndex]);
sb.AppendLine($" : {ax}({dr.MotIndex}) 대상:{string.Join(",", locklist)}");
sb.AppendLine($"Axis : {ax}({dr.MotIndex}) Target:{string.Join(",", locklist)}");
sb.AppendLine();
sb.AppendLine("진행하시겠습니까?");
sb.AppendLine("Do you want to continue?");
if (UTIL.MsgQ(sb.ToString()) != DialogResult.Yes) return;
}
@@ -661,17 +661,17 @@ namespace Project.Dialog
if (but.Text.StartsWith("X") && cate.StartsWith("X") && axisX >= 0)
{
if (UTIL.MsgQ($"X위치를 ({dr.Position})으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ($"Do you want to move X position to ({dr.Position})?") != DialogResult.Yes) return;
MOT.Move(ax, dr.Position, dr.Speed, 1000, false, false, false);
}
else if (but.Text.StartsWith("Y") && cate.StartsWith("Y") && axisY >= 0)
{
if (UTIL.MsgQ($"Y위치를 ({dr.Position})으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ($"Do you want to move Y position to ({dr.Position})?") != DialogResult.Yes) return;
MOT.Move(ax, dr.Position, dr.Speed, 1000, false, false, false);
}
else if (but.Text.StartsWith("Z") && cate.StartsWith("Z") && axisZ >= 0)
{
if (UTIL.MsgQ($"z위치를 ({dr.Position})으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ($"Do you want to move Z position to ({dr.Position})?") != DialogResult.Yes) return;
MOT.Move(ax, dr.Position, Math.Min(50, dr.Speed), 1000, false, false, false);
}
}
@@ -873,11 +873,11 @@ namespace Project.Dialog
private void btAllZSafe_Click(object sender, EventArgs e)
{
//Z1,2,3 안전위치로 이동한다 220421
var dlg = UTIL.MsgQ("모든 Z축을 안전위치로 이동할까요?\n" +
"Z1,Z4의 경우 소켓을 잡고 있다면 안전위치 이동시 파손될 수 있습니다.\n" +
"각 그리퍼의 소켓 상황을 확인하고 진행 하세요\n" +
"Z축을 임의 이동할 경우 작업이 이어서 진행되지 않을 수 있습니다\n " +
"작업 취소 하고 다시 시작하기를 권장 합니다");
var dlg = UTIL.MsgQ("Do you want to move all Z axes to safe position?\n" +
"For Z1 and Z4, if they are holding sockets, damage may occur during safe position movement.\n" +
"Check the socket status of each gripper before proceeding\n" +
"If Z axes are moved arbitrarily, work may not continue properly\n " +
"It is recommended to cancel the work and start again");
if (dlg != DialogResult.Yes) return;

View File

@@ -179,7 +179,7 @@
this.button60.Size = new System.Drawing.Size(61, 41);
this.button60.TabIndex = 61;
this.button60.Tag = "0";
this.button60.Text = "LP전진";
this.button60.Text = "LP Forward";
this.button60.UseVisualStyleBackColor = false;
this.button60.Click += new System.EventHandler(this.button60_Click);
//
@@ -215,7 +215,7 @@
this.button51.Size = new System.Drawing.Size(61, 41);
this.button51.TabIndex = 57;
this.button51.Tag = "1";
this.button51.Text = "LP흡기";
this.button51.Text = "LP Suction";
this.button51.UseVisualStyleBackColor = false;
this.button51.Click += new System.EventHandler(this.button51_Click);
//
@@ -233,7 +233,7 @@
this.button52.Size = new System.Drawing.Size(61, 41);
this.button52.TabIndex = 57;
this.button52.Tag = "2";
this.button52.Text = "LP배기";
this.button52.Text = "LP Exhaust";
this.button52.UseVisualStyleBackColor = false;
this.button52.Click += new System.EventHandler(this.button51_Click);
//
@@ -268,7 +268,7 @@
this.button41.Name = "button41";
this.button41.Size = new System.Drawing.Size(61, 41);
this.button41.TabIndex = 57;
this.button41.Text = "피커진공";
this.button41.Text = "Picker Vacuum";
this.button41.UseVisualStyleBackColor = false;
this.button41.Click += new System.EventHandler(this.button41_Click);
//
@@ -285,7 +285,7 @@
this.button44.Name = "button44";
this.button44.Size = new System.Drawing.Size(201, 43);
this.button44.TabIndex = 58;
this.button44.Text = "메인AIR";
this.button44.Text = "Main AIR";
this.button44.UseVisualStyleBackColor = false;
this.button44.Click += new System.EventHandler(this.button44_Click);
//
@@ -301,7 +301,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(63, 43);
this.button3.TabIndex = 58;
this.button3.Text = "프린트";
this.button3.Text = "Print";
this.button3.UseVisualStyleBackColor = false;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
@@ -319,7 +319,7 @@
this.button54.Size = new System.Drawing.Size(61, 41);
this.button54.TabIndex = 57;
this.button54.Tag = "2";
this.button54.Text = "RP배기";
this.button54.Text = "RP Exhaust";
this.button54.UseVisualStyleBackColor = false;
this.button54.Click += new System.EventHandler(this.button53_Click);
//
@@ -337,7 +337,7 @@
this.button53.Size = new System.Drawing.Size(61, 41);
this.button53.TabIndex = 57;
this.button53.Tag = "1";
this.button53.Text = "RP흡기";
this.button53.Text = "RP Suction";
this.button53.UseVisualStyleBackColor = false;
this.button53.Click += new System.EventHandler(this.button53_Click);
//
@@ -353,7 +353,7 @@
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(63, 43);
this.button5.TabIndex = 58;
this.button5.Text = "감지L";
this.button5.Text = "Detect L";
this.button5.UseVisualStyleBackColor = false;
//
// button6
@@ -368,7 +368,7 @@
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(63, 43);
this.button6.TabIndex = 58;
this.button6.Text = "감지R";
this.button6.Text = "Detect R";
this.button6.UseVisualStyleBackColor = false;
//
// button4
@@ -383,7 +383,7 @@
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(63, 43);
this.button4.TabIndex = 58;
this.button4.Text = "프린트";
this.button4.Text = "Print";
this.button4.UseVisualStyleBackColor = false;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
//
@@ -401,7 +401,7 @@
this.button59.Size = new System.Drawing.Size(61, 41);
this.button59.TabIndex = 60;
this.button59.Tag = "0";
this.button59.Text = "RP전진";
this.button59.Text = "RP Forward";
this.button59.UseVisualStyleBackColor = false;
this.button59.Click += new System.EventHandler(this.button59_Click);
//
@@ -485,7 +485,7 @@
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(63, 47);
this.button17.TabIndex = 62;
this.button17.Text = "L컨베어";
this.button17.Text = "L Conveyor";
this.button17.UseVisualStyleBackColor = true;
this.button17.Click += new System.EventHandler(this.button17_Click);
//
@@ -497,7 +497,7 @@
this.button19.Name = "button19";
this.button19.Size = new System.Drawing.Size(63, 47);
this.button19.TabIndex = 62;
this.button19.Text = "R컨베어";
this.button19.Text = "R Conveyor";
this.button19.UseVisualStyleBackColor = true;
this.button19.Click += new System.EventHandler(this.button19_Click);
//
@@ -779,7 +779,7 @@
this.btLCyl.Name = "btLCyl";
this.btLCyl.Size = new System.Drawing.Size(63, 47);
this.btLCyl.TabIndex = 63;
this.btLCyl.Text = "L실린더";
this.btLCyl.Text = "L Cylinder";
this.btLCyl.UseVisualStyleBackColor = true;
this.btLCyl.Click += new System.EventHandler(this.button20_Click);
//
@@ -791,7 +791,7 @@
this.btRCyl.Name = "btRCyl";
this.btRCyl.Size = new System.Drawing.Size(63, 47);
this.btRCyl.TabIndex = 63;
this.btRCyl.Text = "R실린더";
this.btRCyl.Text = "R Cylinder";
this.btRCyl.UseVisualStyleBackColor = true;
this.btRCyl.Click += new System.EventHandler(this.button21_Click);
//
@@ -810,7 +810,7 @@
this.Name = "Quick_Control";
this.Padding = new System.Windows.Forms.Padding(1);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "수동조작";
this.Text = "Manual Operation";
this.TopMost = true;
this.Load += new System.EventHandler(this.@__LoaD);
this.panBG.ResumeLayout(false);

View File

@@ -61,7 +61,7 @@ namespace Project.Dialog
{
if (PUB.mot.IsHomeSet((int)eAxis.Z_THETA) == false)
{
UTIL.MsgE("홈 검색이 완료되지 않았으므로 이동할 수 없습니다");
UTIL.MsgE("Cannot move because home search is not completed");
return;
}
@@ -94,13 +94,13 @@ namespace Project.Dialog
var lcyldn = DIO.GetIOInput(eDIName.L_CYLDN);
var rcylup = DIO.GetIOInput(eDIName.R_CYLUP);
var rcyldn = DIO.GetIOInput(eDIName.R_CYLDN);
btLCyl.Text = "L실린더\n" + (lcylup ? "(UP)" : (lcyldn ? "(DN)" : "--"));
btRCyl.Text = "R실린더\n" + (rcylup ? "(UP)" : (rcyldn ? "(DN)" : "--"));
btLCyl.Text = "L Cylinder\n" + (lcylup ? "(UP)" : (lcyldn ? "(DN)" : "--"));
btRCyl.Text = "R Cylinder\n" + (rcylup ? "(UP)" : (rcyldn ? "(DN)" : "--"));
var Lconv = DIO.GetIOOutput(eDOName.LEFT_CONV);
var Rconv = DIO.GetIOOutput(eDOName.RIGHT_CONV);
button17.Text = "L컨베어\n" + (Lconv ? "(RUN)" : "(STOP)");
button19.Text = "R컨베어\n" + (Rconv ? "(RUN)" : "(STOP)");
button17.Text = "L Conveyor\n" + (Lconv ? "(RUN)" : "(STOP)");
button19.Text = "R Conveyor\n" + (Rconv ? "(RUN)" : "(STOP)");
button17.BackColor = Lconv ? Color.Lime : Color.White;
button19.BackColor = Rconv ? Color.Lime : Color.White;
@@ -119,19 +119,19 @@ namespace Project.Dialog
if (PUB.mot.IsHomeSet((short)axis) == false)
{
ermsg.AppendLine("해당 축은 홈 검색이 완료되지 않았습니다");
ermsg.AppendLine("Home search is not completed for this axis");
}
if (ermsg.Length > 0)
{
UTIL.MsgE("이동을 할 수 없습니다\n" + ermsg.ToString());
UTIL.MsgE("Cannot move\n" + ermsg.ToString());
return;
}
var dlg = UTIL.MsgQ(string.Format("모션 축 ({0})의 위치를 0으로 이동하시겠습까?\n" +
"위치 0은 일반적으로 홈 위치 입니다", axis));
var dlg = UTIL.MsgQ(string.Format("Do you want to move motion axis ({0}) to position 0?\n" +
"Position 0 is generally the home position", axis));
if (dlg != DialogResult.Yes) return;
PUB.log.Add("user:move to zero axis=" + axis.ToString());
PUB.mot.Move(motidx, 0);
@@ -290,14 +290,14 @@ namespace Project.Dialog
var cur = DIO.GetIOOutput(eDOName.PRINTL_FWD);
if (cur == false)
{
var dlg = UTIL.MsgQ("프린터(좌) 피커를 전진할까요?"); //210209
var dlg = UTIL.MsgQ("Do you want to advance the printer (left) picker?"); //210209
if (dlg != DialogResult.Yes) return;
//준비위치에서는 전진하면 충돌한다
var ReadyPos = MOT.GetLMPos(eLMLoc.READY);
if (MOT.getPositionMatch(ReadyPos))
{
if (UTIL.MsgQ("현재 위치에서는 충돌위험이 있습니다. 그래도 진행 할까요?") != DialogResult.Yes)
if (UTIL.MsgQ("There is a risk of collision at the current position. Do you want to proceed anyway?") != DialogResult.Yes)
return;
}
}
@@ -310,14 +310,14 @@ namespace Project.Dialog
var cur = DIO.GetIOOutput(eDOName.PRINTR_FWD);
if (cur == false)
{
var dlg = UTIL.MsgQ("프린터(우) 피커를 전진할까요?");
var dlg = UTIL.MsgQ("Do you want to advance the printer (right) picker?");
if (dlg != DialogResult.Yes) return;
//준비위치에서는 전진하면 충돌한다
var ReadyPos = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(ReadyPos))
{
if (UTIL.MsgQ("현재 위치에서는 충돌위험이 있습니다. 그래도 진행 할까요?") != DialogResult.Yes)
if (UTIL.MsgQ("There is a risk of collision at the current position. Do you want to proceed anyway?") != DialogResult.Yes)
return;
}
}
@@ -328,21 +328,21 @@ namespace Project.Dialog
{
PUB.PrinterL.TestPrint(AR.SETTING.Data.DrawOutbox, "ATK4EE1", "");
var zpl = PUB.PrinterL.LastPrintZPL;
PUB.log.Add("임시프린트L:" + PUB.PrinterL.LastPrintZPL);
PUB.log.Add("Temp Print L: " + PUB.PrinterL.LastPrintZPL);
}
private void button4_Click_1(object sender, EventArgs e)
{
PUB.PrinterR.TestPrint(AR.SETTING.Data.DrawOutbox, "ATK4EE1", "");
var zpl = PUB.PrinterR.LastPrintZPL;
PUB.log.Add("임시프린트R:" + PUB.PrinterR.LastPrintZPL);
PUB.log.Add("Temp Print R: " + PUB.PrinterR.LastPrintZPL);
}
private void button15_Click(object sender, EventArgs e)
{
//왼쪽검증취소
if (PUB.flag.get(eVarBool.FG_PRC_VISIONL) == false) return;
var dlg = UTIL.MsgQ("LEFT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel LEFT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONL, false, "CANCEL");
@@ -351,13 +351,13 @@ namespace Project.Dialog
/// PUB.sm.seq.Clear(eSMStep.RUN_VISION0);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS0);
PUB.log.Add(string.Format("LEFT-QR검증({0}) 취소 JGUID={1}", "L", PUB.Result.ItemDataL.guid));
PUB.log.Add(string.Format("LEFT-QR verification ({0}) cancelled JGUID={1}", "L", PUB.Result.ItemDataL.guid));
}
private void button16_Click(object sender, EventArgs e)
{
if (PUB.flag.get(eVarBool.FG_PRC_VISIONR) == false) return;
var dlg = UTIL.MsgQ("RIGHT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel RIGHT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONR, false, "CANCEL");
@@ -366,7 +366,7 @@ namespace Project.Dialog
//PUB.sm.seq.Clear(eSMStep.RUN_VISION2);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS2);
PUB.log.Add(string.Format("RIGHT-QR검증({0}) 취소 JGUID={1}", "R", PUB.Result.ItemDataR.guid));
PUB.log.Add(string.Format("RIGHT-QR verification ({0}) cancelled JGUID={1}", "R", PUB.Result.ItemDataR.guid));
}
private void button8_Click(object sender, EventArgs e)
@@ -424,7 +424,7 @@ namespace Project.Dialog
var pos = MOT.GetLMPos(eLMLoc.READY);
if(MOT.getPositionMatch(pos))
{
PUB.log.AddE($"대기위치이므로 실린더(L)를 내릴 수 없습니다");
PUB.log.AddE($"Cannot lower cylinder (L) because it is at standby position");
}
}
}
@@ -442,7 +442,7 @@ namespace Project.Dialog
var pos = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(pos))
{
PUB.log.AddE($"대기위치이므로 실린더(R)를 내릴 수 없습니다");
PUB.log.AddE($"Cannot lower cylinder (R) because it is at standby position");
}
}
}

View File

@@ -140,14 +140,14 @@
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorAddNewItem.Text = "새로 추가";
this.bindingNavigatorAddNewItem.Text = "Add New";
//
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorDeleteItem
//
@@ -156,7 +156,7 @@
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorDeleteItem.Text = "삭제";
this.bindingNavigatorDeleteItem.Text = "Delete";
//
// bindingNavigatorMoveFirstItem
//
@@ -165,7 +165,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -174,7 +174,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -183,13 +183,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -203,7 +203,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -212,7 +212,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -225,7 +225,7 @@
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("component_Reel_RegExRuleBindingNavigatorSaveItem.Image")));
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Name = "component_Reel_RegExRuleBindingNavigatorSaveItem";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Text = "데이터 저장";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Text = "Save Data";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Click += new System.EventHandler(this.component_Reel_RegExRuleBindingNavigatorSaveItem_Click);
//
// toolStripButton1

View File

@@ -15,7 +15,12 @@ namespace Project.Dialog
public RegExPrintRule()
{
InitializeComponent();
}
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
};
}
private void RegExRule_Load(object sender, EventArgs e)
{
@@ -31,7 +36,7 @@ namespace Project.Dialog
var modelName = PUB.Result.vModel.Title;
PUB.Result.BCDPrintPattern = PUB.GetPrintPatterns();
PUB.log.Add($"모델프린트패턴로딩:{PUB.Result.BCDPrintPattern.Count}");
PUB.log.Add($"Model print pattern loading: {PUB.Result.BCDPrintPattern.Count}");
}
private void RefreshList()

View File

@@ -53,6 +53,15 @@
this.btCopy = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.dv1 = new System.Windows.Forms.DataGridView();
this.dvcModelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.IsIgnore = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
@@ -66,15 +75,6 @@
this.panel1 = new System.Windows.Forms.Panel();
this.cmbModelList = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.dvcModelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.IsIgnore = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -143,7 +143,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorDeleteItem
//
@@ -160,7 +160,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -169,7 +169,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -178,13 +178,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -198,7 +198,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -207,7 +207,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -283,6 +283,69 @@
this.dv1.Size = new System.Drawing.Size(967, 380);
this.dv1.TabIndex = 2;
//
// dvcModelName
//
this.dvcModelName.DataPropertyName = "CustCode";
this.dvcModelName.HeaderText = "Model Name";
this.dvcModelName.Name = "dvcModelName";
this.dvcModelName.Visible = false;
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "IsEnable";
this.dataGridViewCheckBoxColumn1.HeaderText = "Enable";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
//
// IsIgnore
//
this.IsIgnore.DataPropertyName = "IsIgnore";
this.IsIgnore.HeaderText = "Except";
this.IsIgnore.Name = "IsIgnore";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridViewTextBoxColumn1.HeaderText = "ID";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "Seq";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle2;
this.dataGridViewTextBoxColumn2.HeaderText = "Order";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "Symbol";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn5.HeaderText = "Type";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn4.DataPropertyName = "Description";
this.dataGridViewTextBoxColumn4.HeaderText = "Description";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
//
// dataGridViewCheckBoxColumn2
//
this.dataGridViewCheckBoxColumn2.DataPropertyName = "IsTrust";
this.dataGridViewCheckBoxColumn2.HeaderText = "Trust";
this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
//
// dataGridViewCheckBoxColumn3
//
this.dataGridViewCheckBoxColumn3.DataPropertyName = "IsAmkStd";
this.dataGridViewCheckBoxColumn3.HeaderText = "AmkStd";
this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3";
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
@@ -425,69 +488,6 @@
this.label4.Text = "Model";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// dvcModelName
//
this.dvcModelName.DataPropertyName = "CustCode";
this.dvcModelName.HeaderText = "Model Name";
this.dvcModelName.Name = "dvcModelName";
this.dvcModelName.Visible = false;
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "IsEnable";
this.dataGridViewCheckBoxColumn1.HeaderText = "Enable";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
//
// IsIgnore
//
this.IsIgnore.DataPropertyName = "IsIgnore";
this.IsIgnore.HeaderText = "Except";
this.IsIgnore.Name = "IsIgnore";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridViewTextBoxColumn1.HeaderText = "ID";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "Seq";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle2;
this.dataGridViewTextBoxColumn2.HeaderText = "Order";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "Symbol";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn5.HeaderText = "Type";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn4.DataPropertyName = "Description";
this.dataGridViewTextBoxColumn4.HeaderText = "Description";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
//
// dataGridViewCheckBoxColumn2
//
this.dataGridViewCheckBoxColumn2.DataPropertyName = "IsTrust";
this.dataGridViewCheckBoxColumn2.HeaderText = "Trust";
this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
//
// dataGridViewCheckBoxColumn3
//
this.dataGridViewCheckBoxColumn3.DataPropertyName = "IsAmkStd";
this.dataGridViewCheckBoxColumn3.HeaderText = "AmkStd";
this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3";
//
// RegExRule
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);

View File

@@ -37,8 +37,11 @@ namespace Project.Dialog
//현재 선택된 모델을 자동선택한다.
cmbModelList.Text = PUB.Result.vModel.Title;
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
};
LoadSaveBCDtestData();
}
@@ -87,14 +90,14 @@ namespace Project.Dialog
var cnt = this.tam.UpdateAll(this.dataSet1);
if (cnt == 0)
{
UTIL.MsgE("저장된 내용이 없습니다");
UTIL.MsgE("No content has been saved");
}
else UTIL.MsgI($"{cnt}건의 자료가 저장 되었습니다");
else UTIL.MsgI($"{cnt} records have been saved");
var modelName = PUB.Result.vModel.Title;
PUB.Result.BCDPattern = PUB.GetPatterns(modelName, false);
PUB.Result.BCDIgnorePattern = PUB.GetPatterns(modelName, true);
PUB.log.Add($"모델패턴로딩:{PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
PUB.log.Add($"Model pattern loading: {PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
dv1.AutoResizeColumns();
}
@@ -102,7 +105,7 @@ namespace Project.Dialog
{
try
{
if(cust == "ALL")
if (cust == "ALL")
{
dvcModelName.Visible = true;
this.ta.FillAll(this.dataSet1.K4EE_Component_Reel_RegExRule);
@@ -112,7 +115,7 @@ namespace Project.Dialog
dvcModelName.Visible = false;
this.ta.FillByWithSample(this.dataSet1.K4EE_Component_Reel_RegExRule, cust);
}
foreach (DataGridViewRow drow in this.dv1.Rows)
{
var drv = drow.DataBoundItem as DataRowView;
@@ -254,13 +257,13 @@ namespace Project.Dialog
var tacheck = new DataSet1TableAdapters.K4EE_Component_Reel_RegExRuleTableAdapter();
if (tacheck.CheckExsist(newModelName, newDescription) > 0)
{
UTIL.MsgE("이미 존재하는 이름입니다");
UTIL.MsgE("Name already exists");
return;
}
if (this.dataSet1.K4EE_Component_Reel_RegExRule.Where(t => t.CustCode.Equals(newModelName) && t.Description.Equals(newDescription)).Count() > 0)
{
UTIL.MsgE("이미 존재하는 이름입니다");
UTIL.MsgE("Name already exists");
return;
}

View File

@@ -201,20 +201,20 @@
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL2SURBVDhPhZLrS1NxGMf3qv6EsF70MpBS0sjIF+XSmhnY
zVTMcjqnVGqWC4vMmEqmGZq4QYUoRS8qpIub1szc5nKjLTLN+/1Wrpa7H3fOmd9+52yogdADH54Xv9/z
4Tzf8xNwFXdTm3Gs2qhJvGf8k1Bp9JJO8dRw3UQlVvdQR+8a+qNl+rrQpOeb+KH1FV/Rrbc6qd9Wu5u1
uZdhc63x28lBYXDBiZI3MxDXDnlEeerNwdFAJVQarH+cXrZnioZpmoFphoFxioFh0gft6DLaB9xYZoDW
IS9KXk0j68Gg9x+JqELndXh8sMyy+DLLkM7gMy/xQTe2jPcDHiLww7LAwjRPo1w9A+H1zmf8cEpNzMSZ
yqQVqeIUshpOo+FdM8paaiAsDUMMQVS+H3HyvahtreVXcVEMFpc8iLuhY3hBcrXwZWefCqqRx2gwFvGS
8/VHUfQ0HfnNqZAojyNTmYnW3kWo+l14+80BO8npsLyb4gWiOtHmxDsFrHG4C0/65KjS5vGSDEUCGT6B
3Ic50I+5+VU+jHihITksuWkcLvsUEHAVX6mjChvFMI8ZoDRdw52Oq0ipOYSM+iSYpzwwk2C5gPXjgUxs
RBAnXyc4cKuUjirejvQ6ESzjPSjvugC5uhCp92PRrH2Nr3MMzCTYnkkanwhWJw3h7aAgQhYijZRtQ35T
Gs4q4pFWe4SXFKrTIWvJIV8SC+7cMsPiM/eLCU4SZHSxISCIlG2Zi5RtJZdCEFkUgpNVsbj4SAz9gAbl
mmJceCGGRJEMMxGYyNswEgFF+xF1Rbu2wsHibmrBTqF3juXRDc/jcmMussmgVJmKq02XVs84PD4WEQWa
NcG+Ii01a1sT/A83WSE8p22doPCjZ/SHY2Wjyxvhpnz+XRkqV3CcBJnbMbHg8DhHf7r8E7+8mLB6MRbk
l4vm4ZJ3USz3iPw+mrbvONf2PTguEOzJfXcxXNLesVuqsYVL1dQq2QHCslUBJCoqVNK2tDOz7UOYWJ0l
EAgEfwHCoaJtQ43MrwAAAABJRU5ErkJggg==
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL6SURBVDhPhZLbT9NgGMZ3pX+CQS+8NBqF4IwavVAmh4HG
MwpBZMAYBARdYB4SFTOmqIiCBJaoMRKNF2qMhzHUATLGZIvDeJyKiMjJgM6NdW23tvPxa7cwTEh8k1++
i6/PL32fViZOynGrakudw7LtguN3Rq2DIScrUS+eTnZbXR+bcc7+fr3O1rgs8848KTR70k/32qb87K9J
LyV4AkF4qBi//CIsPk74ceLRCFSXPtHKcvP8aDQym8/apzzTtNA3zMH5nYdzhIdjmIf9WwjWL0E8cQcQ
5AHTJwYnHnxH4WU3848kzWBlpukQ+kcFvBrlycnjpSQJoWcwiGdumgjC6J8Q4BznYDCPQHGs67YUzqpP
GtpTm/lH07ILhc270fy0FTX366GojkcSQWlYhxT9ajSYGqRVKJbHpJdGyrEeXhLsrVPc63rXhraBa2h2
VEmSvKYMVN3KRUVrNtTG7SgwFsD0ZhJt7yk8fjsNH+kpVd/LSgJlo3L+1jMHBcfnbtx8p8d5a7kkUbVs
JuEdKLlSDNtgQFqlc4CBhfTgDXBIrXkREYiTfraH1V7Ph2vQDqPzMGo7KpFVvwmqpky4hmm4SLFiwbav
kU48RJCinyXYcLKaW3N0MXIblej/2gdDdyn0Zi2yLyaj1foQr8d4uEixfd84vCBM+TkoTkUFK3VxGrlu
ESpu5GBfSzpyGtIkidacC939YvImyRDv+0cEvBQ/McFPilx3xB4RyHULxuS6heShOMir4rDzfDLKrubD
5rbAYDmK0rv5ULfshYsInOTfcBABy4WxWmuNrbDxSC874WPxZkyQ6Pk8jkPXS1BEghpjNipvHJi5E6FD
AhIPPosJ1lRa2VFPTPA/AmSFhGJzTLBW+5wemPD9mevhuaCYYHhFnomKxkmRJR1D49O0f+CHPzz0k8HQ
FIPBKD8pTkJsnmIFeCk2HAyFfEv2t3+IxmWyVSVPyxLUTzoSNRZPgqaNnaEoQnyRKYLaxC5Vt3uXF7R3
xuebC2UymewvcCKiNqMNhYIAAAAASUVORK5CYII=
</value>
</data>
<metadata name="IsIgnore.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@@ -87,7 +87,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(1164, 105);
this.button1.TabIndex = 3;
this.button1.Text = "작업 완료";
this.button1.Text = "Job Completed";
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -175,7 +175,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(1164, 44);
this.label2.TabIndex = 6;
this.label2.Text = "현 작업 정보";
this.label2.Text = "Current Job Information";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// tableLayoutPanel1
@@ -277,7 +277,7 @@
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(1164, 44);
this.label3.TabIndex = 8;
this.label3.Text = "당일(1982-11-23) 작업 정보";
this.label3.Text = "Daily(1982-11-23) Job Information";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label3.Click += new System.EventHandler(this.label3_Click);
//
@@ -467,7 +467,7 @@
this.Name = "fFinishJob";
this.Padding = new System.Windows.Forms.Padding(10);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "작업완료";
this.Text = "Job Completion";
this.Load += new System.EventHandler(this.@__LoaD);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);

View File

@@ -43,7 +43,7 @@ namespace Project.Dialog
private void __LoaD(object sender, EventArgs e)
{
this.Text = string.Format("금일 작업 목록 입니다({0})", DateTime.Now.ToShortDateString());
this.Text = string.Format("Today's work list ({0})", DateTime.Now.ToShortDateString());
if (AR.SETTING.Data.OnlineMode)
@@ -64,7 +64,7 @@ namespace Project.Dialog
if (PUB.Result.JobStartTime.Year != 1982) sd = PUB.Result.JobStartTime;
if (PUB.Result.JobEndTime.Year != 1982) ed = PUB.Result.JobEndTime;
label2.Text = string.Format("현 작업 정보({0}~{1})", sd.ToString("HH:mm:ss"), ed.ToString("HH:mm:ss"));
label2.Text = string.Format("Current work information ({0}~{1})", sd.ToString("HH:mm:ss"), ed.ToString("HH:mm:ss"));
//현작업
var ta = new DataSet1TableAdapters.K4EE_Component_Reel_ResultTableAdapter();
@@ -75,7 +75,7 @@ namespace Project.Dialog
//당일작업
sd = DateTime.Parse(sd.ToShortDateString() + " 00:00:00");
ed = DateTime.Parse(sd.ToShortDateString() + " 23:59:59");
label3.Text = $"당일({sd.ToShortDateString()}) 작업 정보";
label3.Text = $"Daily ({sd.ToShortDateString()}) work information";
var listday = ta.GetByValid(sd, ed, AR.SETTING.Data.McName);
UpdateList(listday, dataGridView3, dataGridView4);
}

View File

@@ -130,7 +130,7 @@
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(149, 23);
this.label1.TabIndex = 11;
this.label1.Text = "검색어를 입력하세요";
this.label1.Text = "Enter search keyword";
//
// btExport
//
@@ -143,7 +143,7 @@
this.btExport.Size = new System.Drawing.Size(145, 56);
this.btExport.TabIndex = 10;
this.btExport.Tag = "0";
this.btExport.Text = "내보내기(&O)";
this.btExport.Text = "Export(&O)";
this.btExport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btExport.UseVisualStyleBackColor = true;
this.btExport.Click += new System.EventHandler(this.btExport_Click);
@@ -183,7 +183,7 @@
this.btSearch.Size = new System.Drawing.Size(155, 56);
this.btSearch.TabIndex = 9;
this.btSearch.Tag = "0";
this.btSearch.Text = "검색(F5)";
this.btSearch.Text = "Search(F5)";
this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSearch.UseVisualStyleBackColor = true;
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
@@ -306,7 +306,7 @@
this.sTIMEDataGridViewTextBoxColumn.DataPropertyName = "STIME";
dataGridViewCellStyle1.Format = "MM-dd HH:mm:ss";
this.sTIMEDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.sTIMEDataGridViewTextBoxColumn.HeaderText = "시작";
this.sTIMEDataGridViewTextBoxColumn.HeaderText = "Start";
this.sTIMEDataGridViewTextBoxColumn.Name = "sTIMEDataGridViewTextBoxColumn";
this.sTIMEDataGridViewTextBoxColumn.ReadOnly = true;
//
@@ -315,14 +315,14 @@
this.ETIME.DataPropertyName = "ETIME";
dataGridViewCellStyle2.Format = "MM-dd HH:mm:ss";
this.ETIME.DefaultCellStyle = dataGridViewCellStyle2;
this.ETIME.HeaderText = "종료";
this.ETIME.HeaderText = "End";
this.ETIME.Name = "ETIME";
this.ETIME.ReadOnly = true;
//
// jTYPEDataGridViewTextBoxColumn
//
this.jTYPEDataGridViewTextBoxColumn.DataPropertyName = "JTYPE";
this.jTYPEDataGridViewTextBoxColumn.HeaderText = "형태";
this.jTYPEDataGridViewTextBoxColumn.HeaderText = "Type";
this.jTYPEDataGridViewTextBoxColumn.Name = "jTYPEDataGridViewTextBoxColumn";
this.jTYPEDataGridViewTextBoxColumn.ReadOnly = true;
//
@@ -422,7 +422,7 @@
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "PRNATTACH";
this.dataGridViewCheckBoxColumn1.HeaderText = "부착";
this.dataGridViewCheckBoxColumn1.HeaderText = "Attach";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
@@ -431,7 +431,7 @@
// PRNVALID
//
this.PRNVALID.DataPropertyName = "PRNVALID";
this.PRNVALID.HeaderText = "검증";
this.PRNVALID.HeaderText = "Validation";
this.PRNVALID.Name = "PRNVALID";
this.PRNVALID.ReadOnly = true;
this.PRNVALID.Resizable = System.Windows.Forms.DataGridViewTriState.True;
@@ -440,7 +440,7 @@
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column1.HeaderText = "비고";
this.Column1.HeaderText = "Remarks";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
//

View File

@@ -111,7 +111,7 @@ namespace Project.Dialog
//검색일자 검색
if (dtED.Value < dtSD.Value)
{
UTIL.MsgE("검색종료일자가 시작일자보다 작습니다");
UTIL.MsgE("End date is earlier than start date");
dtSD.Value = dtED.Value;
dtSD.Focus();
return;
@@ -233,7 +233,7 @@ namespace Project.Dialog
xls.save(sd.FileName);
PUB.log.Add("Export Data : " + sd.FileName);
if (UTIL.MsgQ("다음 파일이 생성되었습니다.\n\n" + sd.FileName + "\n\n파일을 확인하시겠습니까?") == DialogResult.Yes)
if (UTIL.MsgQ("The following file has been created.\n\n" + sd.FileName + "\n\nWould you like to check the file?") == DialogResult.Yes)
UTIL.RunExplorer(sd.FileName);
}
catch (Exception ex)
@@ -282,7 +282,7 @@ namespace Project.Dialog
private void button1_Click(object sender, EventArgs e)
{
var str = tbFind.Text.Trim();
var f = new AR.Dialog.fTouchKeyFull("검색어 입력", str);
var f = new AR.Dialog.fTouchKeyFull("Enter search term", str);
if (f.ShowDialog() != DialogResult.OK) return;
tbFind.Text = f.tbInput.Text.Trim();
FindData();

View File

@@ -28,7 +28,7 @@ namespace Project.Dialog
uc.numericUpDown1.BackColor = Color.LightGray;
this.flowLayoutPanel1.Controls.Add(uc);
}
this.Text = "엑셀 가져오기(" + title + ")";
this.Text = "Excel Import(" + title + ")";
}
private void NumericUpDown1_ValueChanged(object sender, EventArgs e)
@@ -95,12 +95,12 @@ namespace Project.Dialog
if (sn < 1)
{
MessageBox.Show("시작 줄 번호는 0보다 커야 합니다");
MessageBox.Show("Start row number must be greater than 0");
return;
}
if (en < sn)
{
MessageBox.Show("종료 줄 번호는 시작 번호보다 커야 합니다");
MessageBox.Show("End row number must be greater than start number");
return;
}
@@ -124,7 +124,7 @@ namespace Project.Dialog
}
}
this.listView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
lbMsg.Text = $"미리보기는 최대 {previewcnt}개 까지 표시 됩니다";
lbMsg.Text = $"Preview displays up to {previewcnt} items";
}
private void numericUpDown2_ValueChanged(object sender, EventArgs e)
@@ -181,7 +181,7 @@ namespace Project.Dialog
private void tbUpdate_Click(object sender, EventArgs e)
{
//자료등록메세지
var dlg = MessageBox.Show(string.Format("{0}건의 자료를 등록 할까요?", this.numericUpDown2.Value), "확인", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
var dlg = MessageBox.Show(string.Format("Do you want to register {0} records?", this.numericUpDown2.Value), "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (dlg == DialogResult.Yes)
{
//먼저 컬럼 목록을 가져온다
@@ -193,7 +193,7 @@ namespace Project.Dialog
if (no == 0) continue;
if (collist.Where(t => t.Value == no).Any())
{
MessageBox.Show(string.Format("{0}번 열을 이미 지정된 열 입니다", no));
MessageBox.Show(string.Format("Column {0} is already assigned", no));
return;
}
collist.Add(col, no);
@@ -201,7 +201,7 @@ namespace Project.Dialog
if (collist.Count < 1)
{
MessageBox.Show("지정된 열이 없습니다");
MessageBox.Show("No columns have been assigned");
return;
}
@@ -228,7 +228,7 @@ namespace Project.Dialog
for (int i = sn; i <= en; i++)
{
this.prb1.Value = i;
this.lbMsg.Text = string.Format("{0}/{1} 추가:{2},SKIP:{3},중복추가:{4}", i, en, cntI, cntSkip, cntD);
this.lbMsg.Text = string.Format("{0}/{1} Added:{2},SKIP:{3},Duplicate:{4}", i, en, cntI, cntSkip, cntD);
if (i % 10 == 0) Application.DoEvents();
Dictionary<string, string> datalist = new Dictionary<string, string>();
@@ -430,9 +430,9 @@ namespace Project.Dialog
}
this.listView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
lbMsg.Text = string.Format("다음의 수량 만큼 자료가 변경 되었습니다\n" +
"추가:{0},중복추가:{1},SKIP:{2}\n" +
"메인 화면에서 '저장'을 클릭해야 최종 적용 됩니다", cntI, cntD, cntSkip);
lbMsg.Text = string.Format("The following amounts of data have been changed\n" +
"Added:{0},Duplicate:{1},SKIP:{2}\n" +
"Click 'Save' on the main screen to apply changes", cntI, cntD, cntSkip);
MessageBox.Show(lbMsg.Text);
if (cntI > 0 || cntD > 0) DialogResult = DialogResult.OK;
}

View File

@@ -241,7 +241,7 @@
//
this.ToolStripMenuItem.Name = "회전기준바코드로설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(206, 22);
this.ToolStripMenuItem.Text = "회전 기준 바코드로 설정";
this.ToolStripMenuItem.Text = "Set as rotation reference barcode";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// panel7
@@ -294,7 +294,7 @@
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(363, 93);
this.btOK.TabIndex = 4;
this.btOK.Text = "◆ 입력 완료 ◆";
this.btOK.Text = "◆ Input Complete ◆";
this.btOK.UseVisualStyleBackColor = false;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//
@@ -356,7 +356,7 @@
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(363, 50);
this.button2.TabIndex = 2;
this.button2.Text = "◀ 바코드 출력정보에 \"입력\"";
this.button2.Text = "◀ \"Input\" to barcode output info";
this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
@@ -371,8 +371,8 @@
this.label1.Padding = new System.Windows.Forms.Padding(5);
this.label1.Size = new System.Drawing.Size(363, 74);
this.label1.TabIndex = 0;
this.label1.Text = "현재 바코드 리더기로 부터 읽은 데이터를 모두 표시합니다. \r\n1. 입력 하고자 하는 데이터 칸을 좌측에서 먼저 선택합니다\r\n2. 입력 데이터를 " +
"아래 목록에서 선택\r\n3. 하단의 \"입력\" 버튼을 누릅니다";
this.label1.Text = "Display all data read from the current barcode reader. \r\n1. First select the data field you want to input from the left side\r\n2. Input data " +
"from the list below\r\n3. Press the \"Input\" button at the bottom";
//
// tbRID
//
@@ -501,7 +501,7 @@
this.btIDChk.Name = "btIDChk";
this.btIDChk.Size = new System.Drawing.Size(57, 50);
this.btIDChk.TabIndex = 30;
this.btIDChk.Text = "검사";
this.btIDChk.Text = "Check";
this.btIDChk.UseVisualStyleBackColor = true;
this.btIDChk.Visible = false;
this.btIDChk.Click += new System.EventHandler(this.btIDCheck_Click);
@@ -513,7 +513,7 @@
this.tbSidFind.Name = "tbSidFind";
this.tbSidFind.Size = new System.Drawing.Size(57, 32);
this.tbSidFind.TabIndex = 29;
this.tbSidFind.Text = "찾기";
this.tbSidFind.Text = "Find";
this.tbSidFind.UseVisualStyleBackColor = true;
this.tbSidFind.Click += new System.EventHandler(this.button7_Click);
//
@@ -524,7 +524,7 @@
this.btPartChk.Name = "btPartChk";
this.btPartChk.Size = new System.Drawing.Size(142, 30);
this.btPartChk.TabIndex = 25;
this.btPartChk.Text = "자동입력";
this.btPartChk.Text = "Auto Input";
this.btPartChk.UseVisualStyleBackColor = true;
this.btPartChk.Click += new System.EventHandler(this.btPart_Click);
//
@@ -607,7 +607,7 @@
this.btDateSelecte.Name = "btDateSelecte";
this.btDateSelecte.Size = new System.Drawing.Size(142, 31);
this.btDateSelecte.TabIndex = 22;
this.btDateSelecte.Text = "선택";
this.btDateSelecte.Text = "Select";
this.btDateSelecte.UseVisualStyleBackColor = true;
this.btDateSelecte.Click += new System.EventHandler(this.button4_Click);
//
@@ -659,7 +659,7 @@
this.btSidConv.Name = "btSidConv";
this.btSidConv.Size = new System.Drawing.Size(82, 32);
this.btSidConv.TabIndex = 11;
this.btSidConv.Text = "SID전환";
this.btSidConv.Text = "SID Convert";
this.btSidConv.UseVisualStyleBackColor = true;
this.btSidConv.Click += new System.EventHandler(this.button3_Click);
//
@@ -670,7 +670,7 @@
this.btNewID.Name = "btNewID";
this.btNewID.Size = new System.Drawing.Size(82, 50);
this.btNewID.TabIndex = 9;
this.btNewID.Text = "생성";
this.btNewID.Text = "Generate";
this.btNewID.UseVisualStyleBackColor = true;
this.btNewID.Click += new System.EventHandler(this.btNewID_Click);
//
@@ -683,7 +683,7 @@
this.btChkQty.Name = "btChkQty";
this.btChkQty.Size = new System.Drawing.Size(142, 51);
this.btChkQty.TabIndex = 8;
this.btChkQty.Text = "서버 수량 체크";
this.btChkQty.Text = "Server Quantity Check";
this.btChkQty.UseVisualStyleBackColor = true;
this.btChkQty.Visible = false;
this.btChkQty.Click += new System.EventHandler(this.btReqQty_Click);
@@ -695,7 +695,7 @@
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(96, 31);
this.button9.TabIndex = 31;
this.button9.Text = "선택";
this.button9.Text = "Select";
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
@@ -729,7 +729,7 @@
this.btCustomAutoInput.Name = "btCustomAutoInput";
this.btCustomAutoInput.Size = new System.Drawing.Size(97, 31);
this.btCustomAutoInput.TabIndex = 26;
this.btCustomAutoInput.Text = "자동입력";
this.btCustomAutoInput.Text = "Auto Input";
this.btCustomAutoInput.UseVisualStyleBackColor = true;
this.btCustomAutoInput.Click += new System.EventHandler(this.btCustAutoInput_Click);
//
@@ -909,7 +909,7 @@
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(189, 35);
this.label26.TabIndex = 10;
this.label26.Text = "부착위치";
this.label26.Text = "Attach Position";
this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label26.Click += new System.EventHandler(this.label26_Click);
//
@@ -1121,7 +1121,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(401, 48);
this.button3.TabIndex = 34;
this.button3.Text = "작업 결과에서 데이터 자동 입력";
this.button3.Text = "Auto input data from job results";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
@@ -1133,7 +1133,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(375, 48);
this.button1.TabIndex = 33;
this.button1.Text = "작업 결과에서 데이터를 선택 합니다";
this.button1.Text = "Select data from job results";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//

View File

@@ -133,12 +133,12 @@ namespace Project.Dialog
if (rqBcd.Value != null)
{
var newqty = rqBcd.Value.Data.Substring(2).Trim();
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{newqty}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{newqty}");
tbQTY.Text = newqty;
}
else
{
PUB.log.AddAT("RQ가 설정되어있었으나 해당 값이 코드 목록에 없어 수량을 채우지 않습니다");
PUB.log.AddAT("RQ was set but the value is not in the code list, quantity will not be filled");
}
}
@@ -147,14 +147,14 @@ namespace Project.Dialog
}
else
{
//수량을 직접입력하는 경우이므로 수량값을 지워버린다.
PUB.log.Add($"수량업데이트 {tbQTY.Text}-> (직접입력으로인한삭제)");
//Clear quantity value for manual input case
PUB.log.Add($"Quantity updated {tbQTY.Text}-> (cleared for manual input)");
tbQTY.Text = string.Empty;
}
}
else
{
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{item.VisionData.QTY}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{item.VisionData.QTY}");
tbQTY.Text = item.VisionData.QTY;
}
@@ -168,21 +168,21 @@ namespace Project.Dialog
tbBatch.Text = item.VisionData.BATCH;
tbQtyMax.Text = item.VisionData.QTYMAX;
//라벨위치 정보표시 - 210127 -- delete(220706)
//Label position info display - 210127 -- delete(220706)
//DisplayLabelPos(PUB.Result.ItemData[1].VisionData.LabelPositionData);
//프린트정보표시
//Print info display
this.PrintPos = item.VisionData.PrintPositionData;
if (PUB.flag.get(eVarBool.Opt_DisablePrinter)) this.PrintPos = "8";
if (this.PrintPos.isEmpty() && item.VisionData.SID.isEmpty() == false)
{
//프린트위치가없다면 서버를 조회하여 데이터를 찾아준다. - 231005
//If print position is empty, query server to find data - 231005
var taresult = new DataSet1TableAdapters.K4EE_Component_Reel_ResultTableAdapter();
this.PrintPos = taresult.GetPrintPosition(AR.SETTING.Data.McName, item.VisionData.SID);
}
DisplayPrintPos(this.PrintPos);
//이미지표시 210121
//Image display 210121
this.ivF.Shapes.Clear();
this.ivR.Shapes.Clear();
if (item.VisionData.imageF != null)
@@ -413,7 +413,7 @@ namespace Project.Dialog
//}
if (this.TagStr.isEmpty())
{
UTIL.MsgE("데이터를 입력할 칸을 먼저 클릭 하세요");
UTIL.MsgE("Please click the field to enter data first");
return;
}
var lvitem = this.lvbcdList.FocusedItem;
@@ -422,7 +422,7 @@ namespace Project.Dialog
var lvValue = lvitem.SubItems[1].Text.Trim();
if (lvValue.isEmpty())
{
UTIL.MsgE("선택한 자료에 값이 없습니다\n\n다른 자료를 선택하세요");
UTIL.MsgE("The selected data has no value\n\nPlease select other data");
return;
}
@@ -454,7 +454,7 @@ namespace Project.Dialog
{
tbSID.Text = lvValue;
//sid값을 적용했다면 프린트 위치도 확인한.다.
//If SID value is applied, also check print position
if (this.PrintPos.isEmpty() || this.PrintPos == "5" && lvValue.isEmpty() == false)
{
try
@@ -471,7 +471,7 @@ namespace Project.Dialog
}
catch (Exception ex)
{
UTIL.MsgE("SID:" + lvValue + " 의 인쇄위치값 불러오기 실패\n" + ex.Message);
UTIL.MsgE("SID:" + lvValue + " failed to load print position value\n" + ex.Message);
}
}
}
@@ -481,7 +481,7 @@ namespace Project.Dialog
}
else if (TagStr == "QTY")
{
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{lvValue}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{lvValue}");
tbQTY.Text = lvValue;
}
else if (TagStr == "MFGDATE")
@@ -502,10 +502,10 @@ namespace Project.Dialog
{
CancleAutoConfirm();
//Pub.Result.JobEndTime
//sid를 변경했다면 원본값은 sid0에 넣는다
//If SID is changed, put original value in sid0
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID가 없습니다");
UTIL.MsgE("SID is missing");
tbSID.Focus();
return;
}
@@ -516,7 +516,7 @@ namespace Project.Dialog
{
if (VAR.BOOL[eVarBool.Option_AutoConf])
{
btOK.Text = "◆ 입력 완료 ◆";
btOK.Text = "◆ Input Complete ◆";
tmAutoConfirm.Stop();
}
}
@@ -528,40 +528,40 @@ namespace Project.Dialog
if (auto)
{
//데이터베이스에서 조회한다.
//Query from database
try
{
var dr = PUB.Result.DTSidConvert.Where(t => t.SIDFrom == sid);
if (dr.Any() == true) //변환테이블자료가 있다.
if (dr.Any() == true) //Conversion table data exists
{
if (dr.Count() == 1)
{
//원본에 값이 없는경우에만 생성한다
//Create only when original has no value
if (lbSID0.Text.isEmpty())
{
lbSID0.Tag = tbSID.Text; //변환정보가 있으니 현재 정보를 원본의 값에 넣는다
lbSID0.Text = tbSID.Text; //원본값
lbSID0.Tag = tbSID.Text; //Since conversion info exists, put current info into original value
lbSID0.Text = tbSID.Text; //Original value
}
tbSID.Text = dr.First().SIDTo; //변환된 값을 현재 값에 넣는다.
tbSID.Text = dr.First().SIDTo; //Put converted value into current value
var drsid = dr.First();
PUB.log.Add(string.Format("다음 SID 자동변환 {0}->{1}", drsid.SIDFrom, drsid.SIDTo));
PUB.log.Add(string.Format("SID auto conversion {0}->{1}", drsid.SIDFrom, drsid.SIDTo));
}
else
{
PUB.log.AddE(string.Format("SID 자동변환실패 {0}, 발견 SID변환정보 수량:{1}", sid, dr.Count()));
PUB.log.AddE(string.Format("SID auto conversion failed {0}, found SID conversion info count:{1}", sid, dr.Count()));
PUB.Result.DTSidConvertMultiList.Add(sid);
}
}
else
{
PUB.Result.DTSidConvertEmptyList.Add(sid);
PUB.log.Add(string.Format("SID자동변경실패 변환자료 없음 sid:{0}", sid));
PUB.log.Add(string.Format("SID auto conversion failed - no conversion data sid:{0}", sid));
}
}
catch (Exception ex)
{
PUB.log.AddE("SID변환작업실패 메세지:" + ex.Message);
PUB.log.AddE("SID conversion operation failed message:" + ex.Message);
}
}
else
@@ -569,7 +569,7 @@ namespace Project.Dialog
var f = new Dialog.fNewSID(sid);
if (f.ShowDialog() != DialogResult.OK) return;
if (lbSID0.Tag == null || lbSID0.Tag.ToString().isEmpty()) //기존에 변환된 정보가 있는가?
if (lbSID0.Tag == null || lbSID0.Tag.ToString().isEmpty()) //Is there previously converted info?
{
//원본값 백업
lbSID0.Tag = tbSID.Text;
@@ -579,7 +579,7 @@ namespace Project.Dialog
PUB.Result.LastSIDFrom = tbSID.Text.Trim();
PUB.Result.LastSIDTo = f.NewSID.Trim();
PUB.log.Add($"sid수동선택으로 인해 마지막 기록을 입력합니다 from={PUB.Result.LastSIDFrom},to={PUB.Result.LastSIDTo}");
PUB.log.Add($"Entering last record due to manual SID selection from={PUB.Result.LastSIDFrom},to={PUB.Result.LastSIDTo}");
}
PUB.Result.LastSIDCnt = f.FindSIDCount;
@@ -641,7 +641,7 @@ namespace Project.Dialog
return;
}
//화면에 표시 --자동화면일떄에는 묻지않고 적용한다
//Display on screen - apply without asking in auto mode
if (auto == false && UTIL.MsgQ(msg) != DialogResult.Yes) return;
if (dr.CustCode.isEmpty() == false && TbCustCode.Text != dr.CustCode)
{
@@ -668,7 +668,7 @@ namespace Project.Dialog
}
catch (Exception ex)
{
PUB.log.AddE($"SID정보 업데이트 실패:{ex.Message}");
PUB.log.AddE($"SID information update failed: {ex.Message}");
}
taSID.Dispose();
taPRN.Dispose();
@@ -715,9 +715,9 @@ namespace Project.Dialog
bwarn = true;
//if (func_existbcddata(amkorid.MFGDate) == false)
{
AddErrorMessage("V.Name 이전 기록으로 업데이트");
PUB.log.Add("'V.Name' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("V.Name updated from previous record");
PUB.log.Add("'V.Name' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -737,9 +737,9 @@ namespace Project.Dialog
bwarn = true;
if (func_existbcddata(amkorid.MFGDate) == false)
{
AddErrorMessage("MFG 이전 기록으로 업데이트");
PUB.log.Add("'MFG Date' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("MFG updated from previous record");
PUB.log.Add("'MFG Date' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -753,15 +753,15 @@ namespace Project.Dialog
{
//해당 mfgdae 가 바코드목록에 잇다면 바로 적용
//업다면 적용하고 적용 메세지 표시한다
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{amkorid.QTY}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{amkorid.QTY}");
tbQTY.Text = amkorid.QTY.ToString();
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},qty={1}", sid, amkorid.QTY));
bwarn = true;
if (func_existbcddata(amkorid.QTY.ToString()) == false)
{
AddErrorMessage("QTY 이전 기록으로 업데이트");
PUB.log.Add("'Qty' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("QTY updated from previous record");
PUB.log.Add("'Qty' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -781,9 +781,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},PARTNO={1}", sid, amkorid.PARTNO));
if (func_existbcddata(amkorid.PARTNO) == false)
{
AddErrorMessage("PartNo 이전 기록으로 업데이트");
PUB.log.Add("'Part No' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("PartNo updated from previous record");
PUB.log.Add("'Part No' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -804,9 +804,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},VLOT={1}", sid, amkorid.VLOT));
if (func_existbcddata(TbCustCode.Text) == false)
{
AddErrorMessage("Customer Code 이전 기록으로 업데이트");
PUB.log.Add("'Customer Code' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("Customer Code updated from previous record");
PUB.log.Add("'Customer Code' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -829,9 +829,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},VLOT={1}", sid, amkorid.VLOT));
if (func_existbcddata(amkorid.VLOT) == false)
{
AddErrorMessage("VLOT 이전 기록으로 업데이트");
PUB.log.Add("'Vender LOT' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("VLOT updated from previous record");
PUB.log.Add("'Vender LOT' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -851,9 +851,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},VENDERNAME={1}", sid, amkorid.VENDERNAME));
if (func_existbcddata(amkorid.VENDERNAME) == false)
{
AddErrorMessage("VNAME 이전 기록으로 업데이트");
PUB.log.Add("'Vender Name' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("VNAME updated from previous record");
PUB.log.Add("'Vender Name' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -868,7 +868,7 @@ namespace Project.Dialog
}
/// <summary>
/// 키엔스 바코드 목록에서 해당 데이터가 있는지 체크합니다
/// Check if the data exists in Keyence barcode list
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
@@ -884,12 +884,12 @@ namespace Project.Dialog
var rid = tbRID.Text.Trim();
if (rid.isEmpty())
{
UTIL.MsgE("Reel ID 가 필요 합니다");
UTIL.MsgE("Reel ID is required");
return;
}
if (AR.SETTING.Data.OnlineMode == false)
{
UTIL.MsgE("오프라인 모드라 사용할 수 없습니다");
UTIL.MsgE("Cannot be used in offline mode");
return;
}
@@ -900,12 +900,12 @@ namespace Project.Dialog
var newCnt = (int)cnt;
if (oldCnt == newCnt)
{
//수량이 동일하니 처리하지 않는다
//Quantities are same, no processing needed
}
else
{
//숫자가 달라지면?
if (UTIL.MsgQ(string.Format("수량을 변경하시겠습니까?\n현재:{0}\n서버:{1}", tbQTY.Text, newCnt)) == DialogResult.Yes)
//If numbers are different?
if (UTIL.MsgQ(string.Format("Do you want to change the quantity?\nCurrent: {0}\nServer: {1}", tbQTY.Text, newCnt)) == DialogResult.Yes)
{
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{newCnt}");
tbQTY.Text = newCnt.ToString();
@@ -914,7 +914,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("서버수량 확인 실패\n\n" + msg);
UTIL.MsgE("Server quantity check failed\n\n" + msg);
}
}
@@ -974,7 +974,7 @@ namespace Project.Dialog
bool MakeNewID = true;
if (tbRID0.Text.isEmpty() == false && tbRID.Text.isEmpty() == false)
{
if (UTIL.MsgQ($"현재 새로 생성된 ReelID 입니다. 다시 생성할까요?") != DialogResult.Yes)
if (UTIL.MsgQ($"This is a newly generated ReelID. Do you want to generate it again?") != DialogResult.Yes)
{
MakeNewID = false;
}
@@ -990,7 +990,7 @@ namespace Project.Dialog
return;
}
//WMS은 DB에서 생성하낟.
//WMS generates from DB
var newid = PUB.MakeNewREELID(sid);
if (newid.success==false)
{
@@ -1079,7 +1079,7 @@ namespace Project.Dialog
//파트번호자동입력(sid 를 가지고 테이블에서 찾는다)
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID값이 필요 합니다", true);
UTIL.MsgE("SID value is required", true);
return;
}
var sid = tbSID.Text.Trim();
@@ -1088,14 +1088,14 @@ namespace Project.Dialog
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE("해당 SID로 등록된 정보가 없습니다");
UTIL.MsgE("No information found for this SID");
return;
}
//파트번호가 잇어야 한다.
if (dr.PartNo != null || dr.PartNo.isEmpty())
{
UTIL.MsgE("해당 SID에 Part No 의 값이 입력되지 않았습니다");
UTIL.MsgE("Part No value is not entered for this SID");
return;
}
@@ -1103,9 +1103,9 @@ namespace Project.Dialog
if (tbpartno.Text.isEmpty()) tbpartno.Text = partno;
else
{
var dlg = UTIL.MsgQ(string.Format("Part NO 값을 변경 할까요?\n" +
"기존 : " + tbpartno.Text + "\n" +
"신규 : " + partno));
var dlg = UTIL.MsgQ(string.Format("Would you like to change the Part NO value?\n" +
"Existing : " + tbpartno.Text + "\n" +
"New : " + partno));
if (dlg == DialogResult.Yes) tbpartno.Text = dr.PartNo;
}
}
@@ -1120,14 +1120,14 @@ namespace Project.Dialog
var sid = tbSID.Text.Trim();
if (sid.isEmpty())
{
UTIL.MsgE("SID값이 필요 합니다", true);
UTIL.MsgE("SID value is required", true);
return;
}
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null || dr.CustCode.isEmpty())
{
UTIL.MsgE("해당 SID로 등록된 정보가 없습니다");
UTIL.MsgE("No information found for this SID");
return;
}
@@ -1170,7 +1170,7 @@ namespace Project.Dialog
var partno = tbpartno.Text.Trim();
if (partno.isEmpty())
{
UTIL.MsgE("SID 를 찾기 위해서는 다음 정보가 필요 합니다\n" +
UTIL.MsgE("The following information is required to find SID\n" +
"1. Part No");
return;
}
@@ -1190,7 +1190,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("등록된 Customer Code /Part No 에 해당되는 SID를 확인할 수 없습니다\n" +
UTIL.MsgE("Cannot confirm SID corresponding to registered Customer Code/Part No\n" +
"Customer Code : " + custcode + "\n" +
"Part No : " + partno);
return;
@@ -1201,7 +1201,7 @@ namespace Project.Dialog
var drow = dtSIDInfo.Where(t => t.CustCode == custcode && string.IsNullOrEmpty(t.SID) == false).ToList();
if (drow == null || drow.Count < 1)
{
UTIL.MsgE("등록된 Customer Code 에 해당되는 SID를 확인할 수 없습니다\nCustomer : " + custcode);
UTIL.MsgE("Cannot find SID for the registered Customer Code\nCustomer: " + custcode);
return;
}
var f = new fSelectDataList(drow.Select(t => t.SID).ToArray());
@@ -1211,7 +1211,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("사용자 선택이 취소 되었습니다");
UTIL.MsgE("User selection was canceled");
return;
}
}
@@ -1220,7 +1220,7 @@ namespace Project.Dialog
var drow = dtSIDInfo.Where(t => t.PartNo == partno && string.IsNullOrEmpty(t.SID) == false).ToList();
if (drow == null || drow.Count < 1)
{
UTIL.MsgE("등록된 Part No 에 해당되는 SID를 확인할 수 없습니다\n" + "Part No : " + partno);
UTIL.MsgE("Cannot find SID for the registered Part No\n" + "Part No: " + partno);
return;
}
@@ -1241,7 +1241,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("사용자 선택이 취소 되었습니다");
UTIL.MsgE("User selection was canceled");
return;
}
}
@@ -1271,16 +1271,16 @@ namespace Project.Dialog
var rid = tbRID.Text.Trim();
if (rid.isEmpty())
{
UTIL.MsgE("Reel Id 값이 없습니다");
UTIL.MsgE("Reel ID value is missing");
return;
}
if (AR.SETTING.Data.OnlineMode == false)
{
UTIL.MsgE("오프라인 모드라 사용할 수 없습니다");
UTIL.MsgE("Cannot be used in offline mode");
return;
}
UTIL.MsgE("WMS 기능 없음");
UTIL.MsgE("WMS function not available");
//var result = Amkor.RestfulService.get_existed_matl_by_id(rid);
//if (result.Complete == false)
//{
@@ -1290,7 +1290,7 @@ namespace Project.Dialog
//{
// if (result.Result == true)
// {
// UTIL.MsgE($"해당 ID는 중복된 ID 입니다\n값:{rid}");
// UTIL.MsgE($"This ID is a duplicate ID\nValue: {rid}");
// return;
// }
// else
@@ -1356,7 +1356,7 @@ namespace Project.Dialog
if (this.lvbcdList.CheckedItems.Count != 1)
{
PUB.AddSystemLog(Application.ProductVersion, "MAIN", $"회전 기준데이터가 {this.lvbcdList.CheckedItems.Count}건 입니다");
UTIL.MsgE("회전 기준데이터는 1개만 선택되어야 합니다");
UTIL.MsgE("Only one rotation reference data should be selected");
return;
}
if (this.lvbcdList.CheckedItems.Count == 1)
@@ -1388,48 +1388,48 @@ namespace Project.Dialog
#region "Check iNput Data"
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID 가 입력되지 않았습니다");
UTIL.MsgE("SID is not entered");
tbSID.Focus();
return;
}
if (tbVLOT.Text.isEmpty())
{
UTIL.MsgE("VLOT 가 입력되지 않았습니다");
UTIL.MsgE("VLOT is not entered");
tbVLOT.Focus();
return;
}
if (tbQTY.Text.isEmpty())
{
UTIL.MsgE("QTY 가 입력되지 않았습니다");
UTIL.MsgE("QTY is not entered");
tbQTY.Focus();
return;
}
if (tbMFG.Text.isEmpty())
{
UTIL.MsgE("MFG-DATE 가 입력되지 않았습니다");
UTIL.MsgE("MFG-DATE is not entered");
tbMFG.Focus();
return;
}
if (tbRID.Text.isEmpty())
{
UTIL.MsgE("REEL ID 가 입력되지 않았습니다");
UTIL.MsgE("REEL ID is not entered");
tbRID.Focus();
return;
}
if (this.tbpartno.Text.isEmpty())
{
UTIL.MsgE("PART No 가 입력되지 않았습니다");
UTIL.MsgE("PART No is not entered");
tbpartno.Focus();
return;
}
if (PUB.OPT_BYPASS() == false && PUB.Result.vModel.DisablePrinter == false && this.PrintPos.isEmpty())
{
UTIL.MsgE("프린트 부착 위치가 지정되지 않았습니다");
UTIL.MsgE("Print attachment position is not specified");
return;
}
if (PUB.OPT_BYPASS() == false && this.tbVName.Text.isEmpty())
{
UTIL.MsgE("Vender Name 이 입력되지 않았습니다");
UTIL.MsgE("Vendor Name is not entered");
return;
}
#endregion
@@ -1442,7 +1442,7 @@ namespace Project.Dialog
if (VAR.BOOL[eVarBool.Opt_NewReelID] && (tbRID.Text.isEmpty() || NewReelId == false))
{
UTIL.MsgE("신규 릴ID 생성모드 입니다.\nREEL ID를 생성하세요.");
UTIL.MsgE("New Reel ID generation mode.\nPlease generate REEL ID.");
this.TopMost = topmost;
return;
}
@@ -1452,7 +1452,7 @@ namespace Project.Dialog
{
if (lbSID0.Tag == null || lbSID0.Text.Length != 9)
{
UTIL.MsgE("SID전환모드입니다. SID변환을 수행 하세요");
UTIL.MsgE("SID conversion mode. Please perform SID conversion");
this.TopMost = topmost;
return;
}
@@ -1463,7 +1463,7 @@ namespace Project.Dialog
if (VAR.BOOL[eVarBool.Opt_NewReelID] && CheckRID() == false)
{
PUB.AddSystemLog(Application.ProductVersion, "MAIN", $"Reel ID 의 Customer Code 값이 현재 값과 일치하지 않습니다(RID:{tbRID.Text}/CUST:{TbCustCode.Text})");
UTIL.MsgE("Reel ID Customer Code 값이 현재 값과 일치하지 않습니다\n필요한 경우 REEL ID를 다시 생성하세요");
UTIL.MsgE("Reel ID Customer Code value does not match the current value\nRegenerate REEL ID if necessary");
this.TopMost = topmost;
return;
}
@@ -1478,8 +1478,8 @@ namespace Project.Dialog
var LastLot = taQ.GetLastVLotFromSID(sidNew);
if (LastLot.isEmpty() == false && LastLot.Equals(lot) == false)
{
UTIL.MsgE("이전 LOT 값이 일치 하지 않습니다. 자동 확인이 취소 됩니다\n" +
$"이전 LOT:{LastLot}, 신규 LOT:{lot}");
UTIL.MsgE("Previous LOT value does not match. Auto confirmation is canceled\n" +
$"Previous LOT:{LastLot}, New LOT:{lot}");
warn = true;
this.TopMost = topmost;
return;
@@ -1513,7 +1513,7 @@ namespace Project.Dialog
//SID변환기능이 동작한상태에서는 변환된 SID정보를 저장하지 않는다 230510
if (VAR.BOOL[eVarBool.Opt_SIDConvert])
{
PUB.log.AddAT($"SID변환기능사용으로인해 SID정보는 업데이트하지 않습니다");
PUB.log.AddAT($"SID information will not be updated due to SID conversion feature usage");
}
else columns.Add("SID", tbSID.Text);
}
@@ -1541,7 +1541,7 @@ namespace Project.Dialog
ServerWriteCNV(columns, wheres);
}
}
else PUB.log.AddI($"시드변환정보(SID)는 저장하지 않습니다");
else PUB.log.AddI($"Seed conversion information(SID) will not be saved");
//시드변환테이블에 데이터를 저장하는 경우이다.
if (VAR.BOOL[eVarBool.Opt_ApplySIDConv] && VAR.BOOL[eVarBool.Opt_Conv_WriteServer])
@@ -1567,7 +1567,7 @@ namespace Project.Dialog
PUB.log.Add($"sid변환정보 저장컬럼:{string.Join(",", columns)},where:{string.Join("',", wheres)}");
ServerWriteCONVINF(columns, wheres);
}
else PUB.log.AddI($"시드변환정보(상세)는 저장하지 않습니다");
else PUB.log.AddI($"Seed conversion information(detailed) will not be saved");
}
//값을 설정해주고 빠져나간다
@@ -1690,13 +1690,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because target reel information is missing\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because multiple target reel information exists ({cnt} items)\n" + whke);
}
else
{
@@ -1834,13 +1834,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 변환정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update conversion information because target reel information is missing\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 변환정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because multiple target reel conversion information exists ({cnt} items)\n" + whke);
}
else
{
@@ -2055,7 +2055,7 @@ namespace Project.Dialog
var sid = this.tbSID.Text.Trim();
if (sid.isEmpty()) return;
var dlg = UTIL.MsgQ("SID 에서 인쇄 위치를 검색 할까요?");
var dlg = UTIL.MsgQ("Do you want to search for print position from SID?");
if (dlg != DialogResult.Yes) return;
using (var db = new DataSet1TableAdapters.K4EE_Component_Reel_Print_InformationTableAdapter())
@@ -2063,7 +2063,7 @@ namespace Project.Dialog
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null || dr.PrintPosition.isEmpty())
{
UTIL.MsgE("입력된 SID에 저장된 인쇄 위치가 없습니다\n" +
UTIL.MsgE("No print position stored for entered SID\n" +
"SID:" + sid);
return;
}
@@ -2122,7 +2122,7 @@ namespace Project.Dialog
//customer code
if (result.Count < 1)
{
UTIL.MsgE("검색된 결과가 없습니다\n검색 아이템\n" +
UTIL.MsgE("No search results found\nSearch items\n" +
"1.SID\n" +
"2.LOT\n" +
"3.PARTNO\n");
@@ -2179,7 +2179,7 @@ namespace Project.Dialog
if (msg.isEmpty() == false)
{
UTIL.MsgI("다음 정보가 변경 되었습니다\n" + msg, true);
UTIL.MsgI("The following information has been changed\n" + msg, true);
}
}
@@ -2192,7 +2192,7 @@ namespace Project.Dialog
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null || dr.PrintPosition.isEmpty())
{
UTIL.MsgE("입력된 SID에 저장된 인쇄 위치가 없습니다\n" +
UTIL.MsgE("No print position stored for entered SID\n" +
"SID:" + sid);
return;
}
@@ -2207,7 +2207,7 @@ namespace Project.Dialog
var sid = this.tbSID.Text.Trim();
if (sid.isEmpty())
{
UTIL.MsgE("SID 값이 필요합니다");
UTIL.MsgE("SID value is required");
return;
}
func_CheckDateQty();
@@ -2230,7 +2230,7 @@ namespace Project.Dialog
{
if (lvbcdList.FocusedItem == null)
{
UTIL.MsgE("포커스를 받은 항목이 없습니다");
UTIL.MsgE("No item has focus");
return;
}
var dataindex = lvbcdList.FocusedItem.Index;
@@ -2246,7 +2246,7 @@ namespace Project.Dialog
if (tbpartno.Text.isEmpty()) tbpartno.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 Part No 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Do you want to change the current Part No value to N/A?");
if (dlg == DialogResult.Yes) tbpartno.Text = "N/A";
}
}
@@ -2280,7 +2280,7 @@ namespace Project.Dialog
if (tbVName.Text.isEmpty()) tbVName.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 VenderName 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Do you want to change the current VenderName value to N/A?");
if (dlg == DialogResult.Yes) tbVName.Text = "N/A";
}
}
@@ -2324,7 +2324,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE($"103 SID 불일치로 파트번호를 설정하지 않습니다\n원본SID:{tbSID.Text}\n대상SID:{sid}");
UTIL.MsgE($"Part number not set due to 103 SID mismatch\nOriginal SID: {tbSID.Text}\nTarget SID: {sid}");
}
}
else if (tbSID.Text.StartsWith("101"))
@@ -2338,9 +2338,9 @@ namespace Project.Dialog
}
}
}
else PUB.log.AddE($"사용자바코드 0번이 SID가 아닙니다{data}");
else PUB.log.AddE($"User barcode 0 is not SID{data}");
}
else PUB.log.AddE($"사용자 바코드 오류 배열갯수가 적다:{data}");
else PUB.log.AddE($"User barcode error insufficient array count:{data}");
tbBarcode.SelectAll();
tbBarcode.Focus();
}

View File

@@ -103,7 +103,7 @@
this.chkDelinfo.Name = "chkDelinfo";
this.chkDelinfo.Size = new System.Drawing.Size(126, 29);
this.chkDelinfo.TabIndex = 4;
this.chkDelinfo.Text = "인쇄후제거";
this.chkDelinfo.Text = "Delete after printing";
this.chkDelinfo.UseVisualStyleBackColor = true;
//
// nudCnt
@@ -225,7 +225,7 @@
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 38);
this.button7.TabIndex = 3;
this.button7.Text = "삭제";
this.button7.Text = "Delete";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
@@ -279,7 +279,7 @@
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 38);
this.button6.TabIndex = 3;
this.button6.Text = "삭제";
this.button6.Text = "Delete";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
@@ -321,7 +321,7 @@
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(75, 38);
this.button5.TabIndex = 2;
this.button5.Text = "삭제";
this.button5.Text = "Delete";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click);
//
@@ -363,7 +363,7 @@
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(75, 38);
this.button4.TabIndex = 2;
this.button4.Text = "삭제";
this.button4.Text = "Delete";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
@@ -405,7 +405,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 38);
this.button3.TabIndex = 2;
this.button3.Text = "삭제";
this.button3.Text = "Delete";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
@@ -447,7 +447,7 @@
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 38);
this.button2.TabIndex = 2;
this.button2.Text = "삭제";
this.button2.Text = "Delete";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
@@ -489,7 +489,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 37);
this.button1.TabIndex = 2;
this.button1.Text = "삭제";
this.button1.Text = "Delete";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -513,7 +513,7 @@
this.groupBox2.Size = new System.Drawing.Size(522, 81);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "바코드입력칸(커서를 이동 후 입력하세요)";
this.groupBox2.Text = "Barcode input field (move cursor and enter)";
//
// tbBarcodeInput
//

View File

@@ -80,7 +80,7 @@ namespace Project.Dialog
if (int.TryParse(qty, out int vqty) == false)
{
UTIL.MsgE("수량은 숫자로 입력하세요");
UTIL.MsgE("Please enter quantity as a number");
tbQty.SelectAll();
tbQty.Focus();
return;
@@ -103,13 +103,13 @@ namespace Project.Dialog
if (Printer.Print(zpl) == false)
{
//인쇄실패시 처리하지 않음
UTIL.MsgE("인쇄 실패로 인해 더이상 진행하지 않습니다");
UTIL.MsgE("Cannot proceed further due to printing failure");
break;
}
else
{
if (i == 0) //첫장만 로깅
PUB.log.Add("사용자 프린트 완료" + string.Join("|", new string[] { sid, lot, spy, qty, rid, mfg, pan }));
PUB.log.Add("User print completed" + string.Join("|", new string[] { sid, lot, spy, qty, rid, mfg, pan }));
}
System.Threading.Thread.Sleep(100);
}
@@ -183,7 +183,7 @@ namespace Project.Dialog
private void tbSID_Click(object sender, EventArgs e)
{
var tb = sender as TextBox;
var rlt = AR.UTIL.InputBox("값을 입력하세요", tb.Text, AR.UTIL.eInputbox.TouchFullSingleLine);
var rlt = AR.UTIL.InputBox("Please enter a value", tb.Text, AR.UTIL.eInputbox.TouchFullSingleLine);
if (rlt.Item1) tb.Text = rlt.Item2;
}
@@ -204,13 +204,13 @@ namespace Project.Dialog
var buf = tbBarcodeInput.Text.Trim().Split(';');
if (buf.Length != 7)
{
UTIL.MsgE("바코드 데이터가 7개가 아닙니다");
UTIL.MsgE("Barcode data does not contain 7 elements");
tbBarcodeInput.SelectAll();
return;
}
if (int.TryParse(buf[3], out var code) == false)
{
UTIL.MsgE("4번데이터(수량)가 숫자가 아닙니다\nAmkor STD 바코드만 허용 됩니다");
UTIL.MsgE("The 4th data (quantity) is not a number\nOnly Amkor STD barcodes are allowed");
return;
}
tbSID.Text = buf[0];

View File

@@ -53,7 +53,7 @@
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(565, 50);
this.btOK.TabIndex = 18;
this.btOK.Text = "확인";
this.btOK.Text = "OK";
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//

View File

@@ -50,7 +50,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(883, 100);
this.button1.TabIndex = 1;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -44,7 +44,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(694, 68);
this.button1.TabIndex = 4;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -95,7 +95,7 @@
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(147, 97);
this.button2.TabIndex = 9;
this.button2.Text = "변환정보에서 찾기";
this.button2.Text = "Find in conversion info";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//

View File

@@ -66,15 +66,15 @@ namespace Project.Dialog
if (NewSID.isEmpty())
{
UTIL.MsgE("SID값이 입력(선택) 되지 않았습니다");
UTIL.MsgE("SID value has not been entered (selected)");
return;
}
if (NewSID == tbOldSid.Text)
{
UTIL.MsgE($"기존 SID와 동일한 SID값이 확인되었습니다\n\n" +
$"기존:{tbOldSid.Text}\n" +
$"신규:{NewSID}");
UTIL.MsgE($"The same SID value as the existing one was confirmed\n\n" +
$"Existing:{tbOldSid.Text}\n" +
$"New:{NewSID}");
return;
}

View File

@@ -28,370 +28,370 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.btlw = new System.Windows.Forms.Button();
this.btc = new System.Windows.Forms.Button();
this.btl = new System.Windows.Forms.Button();
this.btrw = new System.Windows.Forms.Button();
this.btr = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button12 = new System.Windows.Forms.Button();
this.button13 = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.button14 = new System.Windows.Forms.Button();
this.button15 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.button9, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.button10, 4, 2);
this.tableLayoutPanel1.Controls.Add(this.button11, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.button12, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.button13, 3, 2);
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.button3, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.button4, 3, 3);
this.tableLayoutPanel1.Controls.Add(this.button5, 4, 3);
this.tableLayoutPanel1.Controls.Add(this.btl, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.btlw, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.btc, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.btrw, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.btr, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.button6, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.button7, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.button8, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.button14, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.button15, 4, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00001F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(822, 561);
this.tableLayoutPanel1.TabIndex = 0;
//
// btlw
//
this.btlw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btlw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btlw.Location = new System.Drawing.Point(174, 150);
this.btlw.Margin = new System.Windows.Forms.Padding(10);
this.btlw.Name = "btlw";
this.btlw.Size = new System.Drawing.Size(144, 120);
this.btlw.TabIndex = 0;
this.btlw.Text = "대기";
this.btlw.UseVisualStyleBackColor = true;
this.btlw.Click += new System.EventHandler(this.button1_Click);
//
// btc
//
this.btc.Dock = System.Windows.Forms.DockStyle.Fill;
this.btc.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btc.ForeColor = System.Drawing.Color.ForestGreen;
this.btc.Location = new System.Drawing.Point(338, 150);
this.btc.Margin = new System.Windows.Forms.Padding(10);
this.btc.Name = "btc";
this.btc.Size = new System.Drawing.Size(144, 120);
this.btc.TabIndex = 0;
this.btc.Text = "중앙";
this.btc.UseVisualStyleBackColor = true;
this.btc.Click += new System.EventHandler(this.button2_Click);
//
// btl
//
this.btl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btl.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btl.Location = new System.Drawing.Point(10, 150);
this.btl.Margin = new System.Windows.Forms.Padding(10);
this.btl.Name = "btl";
this.btl.Size = new System.Drawing.Size(144, 120);
this.btl.TabIndex = 0;
this.btl.Text = "좌측";
this.btl.UseVisualStyleBackColor = true;
this.btl.Click += new System.EventHandler(this.button3_Click);
//
// btrw
//
this.btrw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btrw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btrw.Location = new System.Drawing.Point(502, 150);
this.btrw.Margin = new System.Windows.Forms.Padding(10);
this.btrw.Name = "btrw";
this.btrw.Size = new System.Drawing.Size(144, 120);
this.btrw.TabIndex = 0;
this.btrw.Text = "대기";
this.btrw.UseVisualStyleBackColor = true;
this.btrw.Click += new System.EventHandler(this.button4_Click);
//
// btr
//
this.btr.Dock = System.Windows.Forms.DockStyle.Fill;
this.btr.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btr.Location = new System.Drawing.Point(666, 150);
this.btr.Margin = new System.Windows.Forms.Padding(10);
this.btr.Name = "btr";
this.btr.Size = new System.Drawing.Size(146, 120);
this.btr.TabIndex = 0;
this.btr.Text = "우측";
this.btr.UseVisualStyleBackColor = true;
this.btr.Click += new System.EventHandler(this.button5_Click);
//
// button6
//
this.button6.Dock = System.Windows.Forms.DockStyle.Fill;
this.button6.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button6.Location = new System.Drawing.Point(174, 10);
this.button6.Margin = new System.Windows.Forms.Padding(10);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(144, 120);
this.button6.TabIndex = 1;
this.button6.Text = "◀";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
this.button6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button7
//
this.button7.Dock = System.Windows.Forms.DockStyle.Fill;
this.button7.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button7.Location = new System.Drawing.Point(502, 10);
this.button7.Margin = new System.Windows.Forms.Padding(10);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(144, 120);
this.button7.TabIndex = 1;
this.button7.Text = "▶";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
this.button7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button7.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button8
//
this.button8.Dock = System.Windows.Forms.DockStyle.Fill;
this.button8.Font = new System.Drawing.Font("Consolas", 45F, System.Drawing.FontStyle.Bold);
this.button8.ForeColor = System.Drawing.Color.Red;
this.button8.Location = new System.Drawing.Point(338, 10);
this.button8.Margin = new System.Windows.Forms.Padding(10);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(144, 120);
this.button8.TabIndex = 2;
this.button8.Text = "";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button9
//
this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button9.Dock = System.Windows.Forms.DockStyle.Fill;
this.button9.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button9.Location = new System.Drawing.Point(10, 290);
this.button9.Margin = new System.Windows.Forms.Padding(10);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(144, 120);
this.button9.TabIndex = 3;
this.button9.Text = "비젼검증\r\n취소(L)";
this.button9.UseVisualStyleBackColor = false;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// button10
//
this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button10.Dock = System.Windows.Forms.DockStyle.Fill;
this.button10.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button10.Location = new System.Drawing.Point(666, 290);
this.button10.Margin = new System.Windows.Forms.Padding(10);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(146, 120);
this.button10.TabIndex = 4;
this.button10.Text = "비젼검증\r\n취소(R)";
this.button10.UseVisualStyleBackColor = false;
this.button10.Click += new System.EventHandler(this.button10_Click);
//
// button11
//
this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button11.Dock = System.Windows.Forms.DockStyle.Fill;
this.button11.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button11.Location = new System.Drawing.Point(174, 290);
this.button11.Margin = new System.Windows.Forms.Padding(10);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(144, 120);
this.button11.TabIndex = 5;
this.button11.Text = "프린트관리\r\n위치(L)";
this.button11.UseVisualStyleBackColor = false;
this.button11.Click += new System.EventHandler(this.button11_Click);
//
// button12
//
this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button12.Dock = System.Windows.Forms.DockStyle.Fill;
this.button12.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button12.Location = new System.Drawing.Point(338, 290);
this.button12.Margin = new System.Windows.Forms.Padding(10);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(144, 120);
this.button12.TabIndex = 5;
this.button12.Text = "관리위치\r\n복귀";
this.button12.UseVisualStyleBackColor = false;
this.button12.Click += new System.EventHandler(this.button12_Click);
//
// button13
//
this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button13.Dock = System.Windows.Forms.DockStyle.Fill;
this.button13.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button13.Location = new System.Drawing.Point(502, 290);
this.button13.Margin = new System.Windows.Forms.Padding(10);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(144, 120);
this.button13.TabIndex = 5;
this.button13.Text = "프린트관리\r\n위치(R)";
this.button13.UseVisualStyleBackColor = false;
this.button13.Click += new System.EventHandler(this.button13_Click);
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// button14
//
this.button14.Dock = System.Windows.Forms.DockStyle.Fill;
this.button14.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button14.ForeColor = System.Drawing.Color.DarkMagenta;
this.button14.Location = new System.Drawing.Point(10, 10);
this.button14.Margin = new System.Windows.Forms.Padding(10);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(144, 120);
this.button14.TabIndex = 1;
this.button14.Text = "▲";
this.button14.UseVisualStyleBackColor = true;
this.button14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button14.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button15
//
this.button15.Dock = System.Windows.Forms.DockStyle.Fill;
this.button15.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button15.ForeColor = System.Drawing.Color.DarkMagenta;
this.button15.Location = new System.Drawing.Point(666, 10);
this.button15.Margin = new System.Windows.Forms.Padding(10);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(146, 120);
this.button15.TabIndex = 1;
this.button15.Text = "▼";
this.button15.UseVisualStyleBackColor = true;
this.button15.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button15.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button5
//
this.button5.Dock = System.Windows.Forms.DockStyle.Fill;
this.button5.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button5.Location = new System.Drawing.Point(666, 430);
this.button5.Margin = new System.Windows.Forms.Padding(10);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(146, 121);
this.button5.TabIndex = 6;
this.button5.Text = "Z-ZERO";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click_1);
//
// button4
//
this.button4.Dock = System.Windows.Forms.DockStyle.Fill;
this.button4.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button4.Location = new System.Drawing.Point(502, 430);
this.button4.Margin = new System.Windows.Forms.Padding(10);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(144, 121);
this.button4.TabIndex = 6;
this.button4.Text = "프린트\r\n(R)";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
//
// button3
//
this.button3.Dock = System.Windows.Forms.DockStyle.Fill;
this.button3.Enabled = false;
this.button3.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button3.Location = new System.Drawing.Point(338, 430);
this.button3.Margin = new System.Windows.Forms.Padding(10);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(144, 121);
this.button3.TabIndex = 6;
this.button3.Text = "--";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
this.button2.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button2.Location = new System.Drawing.Point(174, 430);
this.button2.Margin = new System.Windows.Forms.Padding(10);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(144, 121);
this.button2.TabIndex = 6;
this.button2.Text = "프린트\r\n(L)";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click_1);
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
this.button1.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button1.Location = new System.Drawing.Point(10, 430);
this.button1.Margin = new System.Windows.Forms.Padding(10);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(144, 121);
this.button1.TabIndex = 6;
this.button1.Text = "Z-HOME";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// fPickerMove
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(822, 561);
this.Controls.Add(this.tableLayoutPanel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fPickerMove";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "피커(X) 이동 및 관리";
this.Load += new System.EventHandler(this.fPickerMove_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.components = new System.ComponentModel.Container();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button12 = new System.Windows.Forms.Button();
this.button13 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.btl = new System.Windows.Forms.Button();
this.btlw = new System.Windows.Forms.Button();
this.btc = new System.Windows.Forms.Button();
this.btrw = new System.Windows.Forms.Button();
this.btr = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button14 = new System.Windows.Forms.Button();
this.button15 = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.button9, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.button10, 4, 2);
this.tableLayoutPanel1.Controls.Add(this.button11, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.button12, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.button13, 3, 2);
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.button3, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.button4, 3, 3);
this.tableLayoutPanel1.Controls.Add(this.button5, 4, 3);
this.tableLayoutPanel1.Controls.Add(this.btl, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.btlw, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.btc, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.btrw, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.btr, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.button6, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.button7, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.button8, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.button14, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.button15, 4, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00001F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(822, 561);
this.tableLayoutPanel1.TabIndex = 0;
//
// button9
//
this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button9.Dock = System.Windows.Forms.DockStyle.Fill;
this.button9.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button9.Location = new System.Drawing.Point(10, 290);
this.button9.Margin = new System.Windows.Forms.Padding(10);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(144, 120);
this.button9.TabIndex = 3;
this.button9.Text = "Vision Validation\r\nCancel(L)";
this.button9.UseVisualStyleBackColor = false;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// button10
//
this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button10.Dock = System.Windows.Forms.DockStyle.Fill;
this.button10.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button10.Location = new System.Drawing.Point(666, 290);
this.button10.Margin = new System.Windows.Forms.Padding(10);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(146, 120);
this.button10.TabIndex = 4;
this.button10.Text = "Vision Validation\r\nCancel(R)";
this.button10.UseVisualStyleBackColor = false;
this.button10.Click += new System.EventHandler(this.button10_Click);
//
// button11
//
this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button11.Dock = System.Windows.Forms.DockStyle.Fill;
this.button11.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button11.Location = new System.Drawing.Point(174, 290);
this.button11.Margin = new System.Windows.Forms.Padding(10);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(144, 120);
this.button11.TabIndex = 5;
this.button11.Text = "Print Management\r\nPosition(L)";
this.button11.UseVisualStyleBackColor = false;
this.button11.Click += new System.EventHandler(this.button11_Click);
//
// button12
//
this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button12.Dock = System.Windows.Forms.DockStyle.Fill;
this.button12.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button12.Location = new System.Drawing.Point(338, 290);
this.button12.Margin = new System.Windows.Forms.Padding(10);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(144, 120);
this.button12.TabIndex = 5;
this.button12.Text = "Management Position\r\nReturn";
this.button12.UseVisualStyleBackColor = false;
this.button12.Click += new System.EventHandler(this.button12_Click);
//
// button13
//
this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button13.Dock = System.Windows.Forms.DockStyle.Fill;
this.button13.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button13.Location = new System.Drawing.Point(502, 290);
this.button13.Margin = new System.Windows.Forms.Padding(10);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(144, 120);
this.button13.TabIndex = 5;
this.button13.Text = "Print Management\r\nPosition(R)";
this.button13.UseVisualStyleBackColor = false;
this.button13.Click += new System.EventHandler(this.button13_Click);
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
this.button1.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button1.Location = new System.Drawing.Point(10, 430);
this.button1.Margin = new System.Windows.Forms.Padding(10);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(144, 121);
this.button1.TabIndex = 6;
this.button1.Text = "Z-HOME";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
this.button2.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button2.Location = new System.Drawing.Point(174, 430);
this.button2.Margin = new System.Windows.Forms.Padding(10);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(144, 121);
this.button2.TabIndex = 6;
this.button2.Text = "PRINT\r\n(L)";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click_1);
//
// button3
//
this.button3.Dock = System.Windows.Forms.DockStyle.Fill;
this.button3.Enabled = false;
this.button3.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button3.Location = new System.Drawing.Point(338, 430);
this.button3.Margin = new System.Windows.Forms.Padding(10);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(144, 121);
this.button3.TabIndex = 6;
this.button3.Text = "--";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
// button4
//
this.button4.Dock = System.Windows.Forms.DockStyle.Fill;
this.button4.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button4.Location = new System.Drawing.Point(502, 430);
this.button4.Margin = new System.Windows.Forms.Padding(10);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(144, 121);
this.button4.TabIndex = 6;
this.button4.Text = "PRINT\r\n(R)";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
//
// button5
//
this.button5.Dock = System.Windows.Forms.DockStyle.Fill;
this.button5.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button5.Location = new System.Drawing.Point(666, 430);
this.button5.Margin = new System.Windows.Forms.Padding(10);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(146, 121);
this.button5.TabIndex = 6;
this.button5.Text = "Z-ZERO";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click_1);
//
// btl
//
this.btl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btl.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btl.Location = new System.Drawing.Point(10, 150);
this.btl.Margin = new System.Windows.Forms.Padding(10);
this.btl.Name = "btl";
this.btl.Size = new System.Drawing.Size(144, 120);
this.btl.TabIndex = 0;
this.btl.Text = "Left";
this.btl.UseVisualStyleBackColor = true;
this.btl.Click += new System.EventHandler(this.button3_Click);
//
// btlw
//
this.btlw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btlw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btlw.Location = new System.Drawing.Point(174, 150);
this.btlw.Margin = new System.Windows.Forms.Padding(10);
this.btlw.Name = "btlw";
this.btlw.Size = new System.Drawing.Size(144, 120);
this.btlw.TabIndex = 0;
this.btlw.Text = "Wait";
this.btlw.UseVisualStyleBackColor = true;
this.btlw.Click += new System.EventHandler(this.button1_Click);
//
// btc
//
this.btc.Dock = System.Windows.Forms.DockStyle.Fill;
this.btc.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btc.ForeColor = System.Drawing.Color.ForestGreen;
this.btc.Location = new System.Drawing.Point(338, 150);
this.btc.Margin = new System.Windows.Forms.Padding(10);
this.btc.Name = "btc";
this.btc.Size = new System.Drawing.Size(144, 120);
this.btc.TabIndex = 0;
this.btc.Text = "Center";
this.btc.UseVisualStyleBackColor = true;
this.btc.Click += new System.EventHandler(this.button2_Click);
//
// btrw
//
this.btrw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btrw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btrw.Location = new System.Drawing.Point(502, 150);
this.btrw.Margin = new System.Windows.Forms.Padding(10);
this.btrw.Name = "btrw";
this.btrw.Size = new System.Drawing.Size(144, 120);
this.btrw.TabIndex = 0;
this.btrw.Text = "Wait";
this.btrw.UseVisualStyleBackColor = true;
this.btrw.Click += new System.EventHandler(this.button4_Click);
//
// btr
//
this.btr.Dock = System.Windows.Forms.DockStyle.Fill;
this.btr.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btr.Location = new System.Drawing.Point(666, 150);
this.btr.Margin = new System.Windows.Forms.Padding(10);
this.btr.Name = "btr";
this.btr.Size = new System.Drawing.Size(146, 120);
this.btr.TabIndex = 0;
this.btr.Text = "Right";
this.btr.UseVisualStyleBackColor = true;
this.btr.Click += new System.EventHandler(this.button5_Click);
//
// button6
//
this.button6.Dock = System.Windows.Forms.DockStyle.Fill;
this.button6.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button6.Location = new System.Drawing.Point(174, 10);
this.button6.Margin = new System.Windows.Forms.Padding(10);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(144, 120);
this.button6.TabIndex = 1;
this.button6.Text = "◀";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
this.button6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button7
//
this.button7.Dock = System.Windows.Forms.DockStyle.Fill;
this.button7.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button7.Location = new System.Drawing.Point(502, 10);
this.button7.Margin = new System.Windows.Forms.Padding(10);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(144, 120);
this.button7.TabIndex = 1;
this.button7.Text = "▶";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
this.button7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button7.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button8
//
this.button8.Dock = System.Windows.Forms.DockStyle.Fill;
this.button8.Font = new System.Drawing.Font("Consolas", 45F, System.Drawing.FontStyle.Bold);
this.button8.ForeColor = System.Drawing.Color.Red;
this.button8.Location = new System.Drawing.Point(338, 10);
this.button8.Margin = new System.Windows.Forms.Padding(10);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(144, 120);
this.button8.TabIndex = 2;
this.button8.Text = "■";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button14
//
this.button14.Dock = System.Windows.Forms.DockStyle.Fill;
this.button14.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button14.ForeColor = System.Drawing.Color.DarkMagenta;
this.button14.Location = new System.Drawing.Point(10, 10);
this.button14.Margin = new System.Windows.Forms.Padding(10);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(144, 120);
this.button14.TabIndex = 1;
this.button14.Text = "▲";
this.button14.UseVisualStyleBackColor = true;
this.button14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button14.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button15
//
this.button15.Dock = System.Windows.Forms.DockStyle.Fill;
this.button15.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button15.ForeColor = System.Drawing.Color.DarkMagenta;
this.button15.Location = new System.Drawing.Point(666, 10);
this.button15.Margin = new System.Windows.Forms.Padding(10);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(146, 120);
this.button15.TabIndex = 1;
this.button15.Text = "▼";
this.button15.UseVisualStyleBackColor = true;
this.button15.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button15.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// fPickerMove
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(822, 561);
this.Controls.Add(this.tableLayoutPanel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fPickerMove";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Picker(X) Movement and Management";
this.Load += new System.EventHandler(this.fPickerMove_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}

View File

@@ -29,13 +29,13 @@ namespace Project.Dialog
{
if (ManPosL)
{
UTIL.MsgE("프린터측 모션이 관리위치에 있습니다\n위치를 복귀 한 후 다시 시도하세요", true);
UTIL.MsgE("Printer motion is in management position\nReturn to position and try again", true);
e.Cancel = true;
return;
}
if (ManPosR)
{
UTIL.MsgE("프린터측 모션이 관리위치에 있습니다\n위치를 복귀 한 후 다시 시도하세요", true);
UTIL.MsgE("Printer motion is in management position\nReturn to position and try again", true);
e.Cancel = true;
return;
}
@@ -47,13 +47,13 @@ namespace Project.Dialog
{
if (DIO.isSaftyDoorF() == false)
{
UTIL.MsgE("전면 도어가 열려 있습니다");
UTIL.MsgE("Front door is open");
return false;
}
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈 작업이 완료되지 않았습니다");
UTIL.MsgE("Motion home operation is not completed");
return false;
}
return true;
@@ -68,7 +68,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -76,7 +76,7 @@ namespace Project.Dialog
var m1 = MOT.GetLMPos(eLMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
@@ -84,7 +84,7 @@ namespace Project.Dialog
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(2, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
@@ -102,7 +102,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -110,14 +110,14 @@ namespace Project.Dialog
var m1 = MOT.GetLMPos(eLMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(2, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.READYL);
@@ -134,14 +134,14 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(1, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.PICKON);
@@ -158,7 +158,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -166,13 +166,13 @@ namespace Project.Dialog
var m1 = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(0, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.READYR);
MOT.Move(eAxis.PX_PICK, p1.Position, 250, p1.Acc, false, false, false);
@@ -188,7 +188,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -196,14 +196,14 @@ namespace Project.Dialog
var m1 = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(0, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.PICKOFFR);
@@ -253,14 +253,14 @@ namespace Project.Dialog
{
//왼쪽검증취소
// if (PUB.flag.get(eVarBool.RDY_VISION0) == false) return;
var dlg = UTIL.MsgQ("LEFT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel LEFT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONL, false, "CANCEL");
PUB.flag.set(eVarBool.FG_PORTL_ITEMON, false, "CANCEL");
//PUB.sm.seq.Clear(eSMStep.RUN_VISION0);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS0);
PUB.log.Add(string.Format("LEFT-QR검증({0}) 취소 JGUID={1}", "L", PUB.Result.ItemDataL.guid));
PUB.log.Add(string.Format("LEFT-QR verification({0}) cancelled JGUID={1}", "L", PUB.Result.ItemDataL.guid));
UpdateDatabase(eWorkPort.Left);
DialogResult = DialogResult.OK;
}
@@ -269,14 +269,14 @@ namespace Project.Dialog
{
//왼쪽검증취소
//if (PUB.flag.get(eVarBool.RDY_VISION0) == false) return;
var dlg = UTIL.MsgQ("RIGHT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel RIGHT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONR, false, "CANCEL");
PUB.flag.set(eVarBool.FG_PORTR_ITEMON, false, "CANCEL");
//PUB.sm.seq.Clear(eSMStep.RUN_VISION2);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS2);
PUB.log.Add(string.Format("RIGHT-QR검증({0}) 취소 JGUID={1}", "R", PUB.Result.ItemDataR.guid));
PUB.log.Add(string.Format("RIGHT-QR verification({0}) cancelled JGUID={1}", "R", PUB.Result.ItemDataR.guid));
UpdateDatabase(eWorkPort.Right);
DialogResult = DialogResult.OK;
@@ -290,7 +290,7 @@ namespace Project.Dialog
var dr = DBHelper.Get<DataSet1.K4EE_Component_Reel_ResultDataTable>(sql, new SqlParameter("jguid", itemdata.guid)).FirstOrDefault();
if (dr == null)
{
var ermsg = string.Format("다음 guid 를 찾을수 없어 검증취소 를 변경하지 못함 vidx={2},guid={0},sid={1}", itemdata.guid, itemdata.VisionData.SID, vidx);
var ermsg = string.Format("Cannot find the following guid, unable to change verification cancellation vidx={2},guid={0},sid={1}", itemdata.guid, itemdata.VisionData.SID, vidx);
PUB.AddDebugLog(ermsg, true);
PUB.log.AddE(ermsg);
}
@@ -301,7 +301,7 @@ namespace Project.Dialog
{
{ "ANGLE", itemdata.VisionData.ApplyAngle },
{ "PRNVALID", 0 },
{ "REMARK", "검증취소" }
{ "REMARK", "Verification cancelled" }
},
new Dictionary<string, object>
{
@@ -335,7 +335,7 @@ namespace Project.Dialog
{
if (PUB.sm.Step != eSMStep.IDLE)
{
UTIL.MsgE("대기상태에서만 사용 가능 합니다");
UTIL.MsgE("Available only in standby state");
return;
}
@@ -343,7 +343,7 @@ namespace Project.Dialog
var Xpos = DIO.GetIOInput(eDIName.PICKER_SAFE);// MOT.getPositionMatch(MOT.GetPXPos(ePXLoc.PICKON), 1);
if (Xpos == false)
{
UTIL.MsgE("피커위치가 중앙에서만 사용 가능 합니다");
UTIL.MsgE("Available only when picker is in center position");
return;
}
@@ -393,7 +393,7 @@ namespace Project.Dialog
var Xpos = DIO.GetIOInput(eDIName.PICKER_SAFE);
if (Xpos == false)
{
UTIL.MsgE("피커위치가 중앙에서만 사용 가능 합니다");
UTIL.MsgE("Available only when picker is in center position");
return;
}
@@ -486,32 +486,32 @@ namespace Project.Dialog
private void button2_Click_1(object sender, EventArgs e)
{
PUB.PrinterL.TestPrint(AR.SETTING.Data.DrawOutbox, "", "");
PUB.log.Add("임시프린트L:" + PUB.PrinterL.LastPrintZPL);
PUB.log.Add("Temporary print L:" + PUB.PrinterL.LastPrintZPL);
}
private void button4_Click_1(object sender, EventArgs e)
{
PUB.PrinterR.TestPrint(AR.SETTING.Data.DrawOutbox, "", "");
PUB.log.Add("임시프린트R:" + PUB.PrinterR.LastPrintZPL);
PUB.log.Add("Temporary print R:" + PUB.PrinterR.LastPrintZPL);
}
private void button5_Click_1(object sender, EventArgs e)
{
if (PUB.mot.IsHomeSet((int)eAxis.PZ_PICK) == false)
{
UTIL.MsgE("Z 홈작업이 완료되지 않았습니다 HOME 을 먼저 진행 하세요");
UTIL.MsgE("Z home operation is not completed. Please perform HOME first");
return;
}
if (UTIL.MsgQ("피커 Z축을 좌표:0 으로 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move picker Z-axis to coordinate:0?") != DialogResult.Yes) return;
MOT.Move(eAxis.PZ_PICK, 0, 500, 1000, false, false, false);
}
private void button1_Click_1(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("피커 Z축 홈 검색을 진행 할까요?");
var dlg = UTIL.MsgQ("Do you want to proceed with picker Z-axis home search?");
if (dlg != DialogResult.Yes) return;
MOT.Home("관리", eAxis.PZ_PICK, false);
MOT.Home("Management", eAxis.PZ_PICK, false);
}
private void button3_Click_1(object sender, EventArgs e)

View File

@@ -62,7 +62,7 @@ namespace Project.Dialog
{
if (this.listView1.FocusedItem == null) return;
var file = this.listView1.FocusedItem.Tag.ToString();
var dlg = UTIL.MsgQ(string.Format("다음 파일을 삭제 하시겠습니까?\n{0}", file));
var dlg = UTIL.MsgQ(string.Format("Do you want to delete the following file?\n{0}", file));
if (dlg != DialogResult.Yes) return;
System.IO.File.Delete(file);
this.listView1.Items.Remove(this.listView1.FocusedItem);

View File

@@ -62,17 +62,17 @@
//
// columnHeader2
//
this.columnHeader2.Text = "위치";
this.columnHeader2.Text = "Position";
this.columnHeader2.Width = 220;
//
// columnHeader3
//
this.columnHeader3.Text = "변경전";
this.columnHeader3.Text = "Before Change";
this.columnHeader3.Width = 200;
//
// columnHeader4
//
this.columnHeader4.Text = "변경후";
this.columnHeader4.Text = "After Change";
this.columnHeader4.Width = 200;
//
// button1
@@ -83,7 +83,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(815, 56);
this.button1.TabIndex = 1;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -70,7 +70,7 @@
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(499, 50);
this.btOK.TabIndex = 19;
this.btOK.Text = "확인";
this.btOK.Text = "OK";
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//

View File

@@ -49,7 +49,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(398, 55);
this.button1.TabIndex = 1;
this.button1.Text = "선택 확인";
this.button1.Text = "Confirm Selection";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -64,7 +64,7 @@
this.MinimizeBox = false;
this.Name = "fSelectDataList";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "목록을 선택하세요";
this.Text = "Please select from list";
this.Load += new System.EventHandler(this.fSelectDataList_Load);
this.ResumeLayout(false);

View File

@@ -37,7 +37,7 @@ namespace Project.Dialog
{
if (this.listBox1.SelectedIndex < 0)
{
UTIL.MsgE("아이템을 선택하세요\n\n취소하려면 ESC키 혹은 닫기 버튼을 누르세요");
UTIL.MsgE("Please select an item\n\nPress ESC key or close button to cancel");
return;
}
this.SelectedValue = this.listBox1.Items[this.listBox1.SelectedIndex].ToString();

View File

@@ -47,7 +47,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(669, 61);
this.button1.TabIndex = 1;
this.button1.Text = "선택";
this.button1.Text = "Select";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -230,7 +230,7 @@
this.lbMsgCamoff.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbMsgCamoff.Size = new System.Drawing.Size(733, 49);
this.lbMsgCamoff.TabIndex = 61;
this.lbMsgCamoff.Text = "카메라 사용이 OFF 되었습니다";
this.lbMsgCamoff.Text = "Camera usage is OFF";
this.lbMsgCamoff.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lbMsgCamoff.TextShadow = false;
this.lbMsgCamoff.TextVisible = true;
@@ -275,7 +275,7 @@
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbTitle.Size = new System.Drawing.Size(733, 110);
this.lbTitle.TabIndex = 60;
this.lbTitle.Text = "작업 방식을 선택하세요";
this.lbTitle.Text = "Please select work method";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lbTitle.TextShadow = false;
this.lbTitle.TextVisible = true;
@@ -309,7 +309,7 @@
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
this.tabPage1.Size = new System.Drawing.Size(725, 266);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "옵션";
this.tabPage1.Text = "Options";
this.tabPage1.UseVisualStyleBackColor = true;
//
// chkApplySidInfo
@@ -322,7 +322,7 @@
this.chkApplySidInfo.Size = new System.Drawing.Size(423, 25);
this.chkApplySidInfo.TabIndex = 33;
this.chkApplySidInfo.Tag = "6";
this.chkApplySidInfo.Text = "SID정보 테이블을 이용하여 데이터를 자동 기록합니다.";
this.chkApplySidInfo.Text = "Automatically record data using SID information table.";
this.chkApplySidInfo.UseVisualStyleBackColor = true;
this.chkApplySidInfo.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -336,7 +336,7 @@
this.chkApplyJobInfo.Size = new System.Drawing.Size(427, 25);
this.chkApplyJobInfo.TabIndex = 32;
this.chkApplyJobInfo.Tag = "5";
this.chkApplyJobInfo.Text = "당일 작업 내역을 이용하여 데이터를 자동 기록 합니다.";
this.chkApplyJobInfo.Text = "Automatically record data using daily work history.";
this.chkApplyJobInfo.UseVisualStyleBackColor = true;
this.chkApplyJobInfo.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -350,7 +350,7 @@
this.chkApplySIDConv.Size = new System.Drawing.Size(425, 25);
this.chkApplySIDConv.TabIndex = 31;
this.chkApplySIDConv.Tag = "7";
this.chkApplySIDConv.Text = "SID변환 테이블을 이용하여 데이터를 자동 기록 합니다";
this.chkApplySIDConv.Text = "Automatically record data using SID conversion table";
this.chkApplySIDConv.UseVisualStyleBackColor = true;
this.chkApplySIDConv.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -364,7 +364,7 @@
this.chkUserConfirm.Size = new System.Drawing.Size(435, 25);
this.chkUserConfirm.TabIndex = 13;
this.chkUserConfirm.Tag = "0";
this.chkUserConfirm.Text = "최종 인쇄값을 사용자가 확인 합니다 (자동진행 안됨)";
this.chkUserConfirm.Text = "User confirms final print values (no automatic progress)";
this.chkUserConfirm.UseVisualStyleBackColor = true;
this.chkUserConfirm.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -378,7 +378,7 @@
this.chkSIDConv.Size = new System.Drawing.Size(413, 25);
this.chkSIDConv.TabIndex = 28;
this.chkSIDConv.Tag = "4";
this.chkSIDConv.Text = "SID변환 테이블을 이용하여 SID값을 전환 합니다.";
this.chkSIDConv.Text = "Convert SID values using SID conversion table.";
this.chkSIDConv.UseVisualStyleBackColor = true;
this.chkSIDConv.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -392,7 +392,7 @@
this.chkQtyServer.Size = new System.Drawing.Size(448, 25);
this.chkQtyServer.TabIndex = 13;
this.chkQtyServer.Tag = "1";
this.chkQtyServer.Text = "Reel ID 를 기준으로 서버의 수량을 조회하여 사용 합니다.";
this.chkQtyServer.Text = "Query and use server quantities based on Reel ID.";
this.chkQtyServer.UseVisualStyleBackColor = true;
this.chkQtyServer.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -406,7 +406,7 @@
this.chkQtyMRQ.Size = new System.Drawing.Size(405, 25);
this.chkQtyMRQ.TabIndex = 27;
this.chkQtyMRQ.Tag = "3";
this.chkQtyMRQ.Text = "수량을 직접 입력 합니다.(RQ가 읽혔다면 자동 진행)";
this.chkQtyMRQ.Text = "Enter quantity manually (auto-proceed if RQ is read).";
this.chkQtyMRQ.UseVisualStyleBackColor = true;
this.chkQtyMRQ.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -420,7 +420,7 @@
this.chkNew.Size = new System.Drawing.Size(247, 24);
this.chkNew.TabIndex = 24;
this.chkNew.Tag = "2";
this.chkNew.Text = "Reel ID 를 신규로 생성 합니다";
this.chkNew.Text = "Create new Reel ID.";
this.chkNew.UseVisualStyleBackColor = true;
this.chkNew.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -434,7 +434,7 @@
this.tabPage2.Padding = new System.Windows.Forms.Padding(10);
this.tabPage2.Size = new System.Drawing.Size(725, 266);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "옵션 데이터";
this.tabPage2.Text = "Option Data";
this.tabPage2.UseVisualStyleBackColor = true;
//
// GrpSidConvData
@@ -460,7 +460,7 @@
this.GrpSidConvData.Size = new System.Drawing.Size(705, 82);
this.GrpSidConvData.TabIndex = 34;
this.GrpSidConvData.TabStop = false;
this.GrpSidConvData.Text = "SID변환 테이블 서버적용";
this.GrpSidConvData.Text = "SID Conversion Table Server Application";
//
// chkCVSave
//
@@ -472,7 +472,7 @@
this.chkCVSave.Size = new System.Drawing.Size(230, 23);
this.chkCVSave.TabIndex = 51;
this.chkCVSave.Tag = "11";
this.chkCVSave.Text = "변경 정보를 서버에 기록 합니다";
this.chkCVSave.Text = "Record change information to server";
this.chkCVSave.UseVisualStyleBackColor = true;
//
// chkCVApplyBatch
@@ -599,7 +599,7 @@
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(55, 15);
this.label6.TabIndex = 29;
this.label6.Text = "조회대상";
this.label6.Text = "Query Target";
//
// label7
//
@@ -610,7 +610,7 @@
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(55, 15);
this.label7.TabIndex = 29;
this.label7.Text = "적용대상";
this.label7.Text = "Apply Target";
//
// grpapplyjob
//
@@ -633,7 +633,7 @@
this.grpapplyjob.Size = new System.Drawing.Size(705, 82);
this.grpapplyjob.TabIndex = 33;
this.grpapplyjob.TabStop = false;
this.grpapplyjob.Text = "당일작업 적용";
this.grpapplyjob.Text = "Daily Work Application";
//
// chkDayWhereLot
//
@@ -667,7 +667,7 @@
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(55, 15);
this.label3.TabIndex = 29;
this.label3.Text = "조회대상";
this.label3.Text = "Query Target";
//
// label2
//
@@ -678,7 +678,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(55, 15);
this.label2.TabIndex = 29;
this.label2.Text = "적용대상";
this.label2.Text = "Apply Target";
//
// chkDayApplyVender
//
@@ -783,7 +783,7 @@
this.grpApplySidinfo.Size = new System.Drawing.Size(705, 82);
this.grpApplySidinfo.TabIndex = 33;
this.grpApplySidinfo.TabStop = false;
this.grpApplySidinfo.Text = "입력정보 적용";
this.grpApplySidinfo.Text = "Input Information Application";
//
// chkInfoWhereLot
//
@@ -819,7 +819,7 @@
this.chkInfoSave.Size = new System.Drawing.Size(230, 23);
this.chkInfoSave.TabIndex = 32;
this.chkInfoSave.Tag = "8";
this.chkInfoSave.Text = "변경 정보를 서버에 기록 합니다";
this.chkInfoSave.Text = "Record change information to server";
this.chkInfoSave.UseVisualStyleBackColor = true;
//
// chkInfoApplyPrint
@@ -842,7 +842,7 @@
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(55, 15);
this.label4.TabIndex = 29;
this.label4.Text = "조회대상";
this.label4.Text = "Query Target";
//
// label5
//
@@ -853,7 +853,7 @@
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(55, 15);
this.label5.TabIndex = 29;
this.label5.Text = "적용대상";
this.label5.Text = "Apply Target";
//
// chkInfoApplyVender
//
@@ -942,7 +942,7 @@
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(725, 266);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "기타";
this.tabPage3.Text = "Others";
this.tabPage3.UseVisualStyleBackColor = true;
//
// chkCustom
@@ -1009,7 +1009,7 @@
this.btOK.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btOK.Size = new System.Drawing.Size(361, 95);
this.btOK.TabIndex = 1;
this.btOK.Text = "시작";
this.btOK.Text = "Start";
this.btOK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btOK.TextShadow = true;
this.btOK.TextVisible = true;
@@ -1055,7 +1055,7 @@
this.btCancle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btCancle.Size = new System.Drawing.Size(360, 95);
this.btCancle.TabIndex = 0;
this.btCancle.Text = "취소";
this.btCancle.Text = "Cancel";
this.btCancle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btCancle.TextShadow = true;
this.btCancle.TextVisible = true;

View File

@@ -34,7 +34,7 @@ namespace Project.Dialog
//// = new Dialog.fBlurPanel();
//fb.Show();
}
this.Text = $"작업 시작({PUB.Result.vModel.Title})";
this.Text = $"Job Start ({PUB.Result.vModel.Title})";
PUB.flag.set(eVarBool.FG_SCR_JOBSELECT, true, "selectjbo");
PUB.dio.IOValueChanged += Dio_IOValueChanged;
@@ -42,12 +42,12 @@ namespace Project.Dialog
//var visionoff = PUB.Result.vModel.DisableCamera || (SETTING.Data.Enable_Unloader_QRValidation == false);
List<string> offlist = new List<string>();
if (SETTING.Data.SystemBypass || PUB.Result.vModel.DisableCamera || SETTING.Data.Enable_Unloader_QRValidation == false)
offlist.Add("카메라");
offlist.Add("Camera");
if (SETTING.Data.SystemBypass || PUB.Result.vModel.DisablePrinter || (SETTING.Data.Disable_PrinterL && SETTING.Data.Disable_PrinterR))
offlist.Add("프린터");
offlist.Add("Printer");
if (offlist.Any())
{
var msg = "(" + string.Join("/", offlist) + ") 사용이 OFF 되었습니다";
var msg = "(" + string.Join("/", offlist) + ") usage is turned OFF";
lbMsgCamoff.Text = msg;
}
@@ -87,7 +87,7 @@ namespace Project.Dialog
ta.Fill(this.dataSet11.K4EE_Component_Reel_PreSet, "R1");
//작업형태를 다시 시작해준다. - 210329
if (PUB.Result.JobType2.isEmpty()) PUB.Result.JobType2 = "모델정보";
if (PUB.Result.JobType2.isEmpty()) PUB.Result.JobType2 = "Model Info";
Func_SelectJobType("M");
}
@@ -136,12 +136,12 @@ namespace Project.Dialog
if (this.ModeData.isEmpty() || this.ModeData == "--")
{
UTIL.MsgE("작업 방식이 선택되지 않았습니다");
UTIL.MsgE("Work method is not selected");
return;
}
if (this.ModeData == "--")
{
UTIL.MsgE("사용할 수 없는 작업방법 입니다");
UTIL.MsgE("Unusable work method");
return;
}
if (GrpSidConvData.Enabled)
@@ -150,12 +150,12 @@ namespace Project.Dialog
var v = CheckDataIn(GrpSidConvData);
if (v.Item1 < 1)
{
UTIL.MsgE("서버기록 항목 중 대상항목이 지정되지 않았습니다");
UTIL.MsgE("Target item is not specified among server record items");
return;
}
if (v.Item2 < 1)
{
UTIL.MsgE("서버기록 항목 중 검색항목이 지정되지 않았습니다");
UTIL.MsgE("Search item is not specified among server record items");
return;
}
}
@@ -165,12 +165,12 @@ namespace Project.Dialog
var v = CheckDataIn(grpapplyjob);
if (v.Item1 < 1)
{
UTIL.MsgE("당일작업 항목 중 대상항목이 지정되지 않았습니다");
UTIL.MsgE("Target item is not specified among daily work items");
return;
}
if (v.Item2 < 1)
{
UTIL.MsgE("당일작업 항목 중 검색항목이 지정되지 않았습니다");
UTIL.MsgE("Search item is not specified among daily work items");
return;
}
}
@@ -180,12 +180,12 @@ namespace Project.Dialog
var v = CheckDataIn(grpApplySidinfo);
if (v.Item1 < 1)
{
UTIL.MsgE("SID정보 항목 중 대상항목이 지정되지 않았습니다");
UTIL.MsgE("Target item is not specified among SID information items");
return;
}
if (v.Item2 < 1)
{
UTIL.MsgE("SID정보 항목 중 검색항목이 지정되지 않았습니다");
UTIL.MsgE("Search item is not specified among SID information items");
return;
}
}
@@ -218,11 +218,11 @@ namespace Project.Dialog
PUB.Result.DTSidConvert.AcceptChanges();
PUB.Result.DTSidConvertEmptyList.Clear();
PUB.Result.DTSidConvertMultiList.Clear();
PUB.log.Add($"sid변환테이블 {PUB.Result.DTSidConvert.Rows.Count}건 확인");
PUB.log.Add($"sid conversion table {PUB.Result.DTSidConvert.Rows.Count} cases confirmed");
}
catch (Exception ex)
{
UTIL.MsgE("SID변환정보 확인실패\n" + ex.Message);
UTIL.MsgE("SID conversion information check failed\n" + ex.Message);
return;
}
}
@@ -360,7 +360,7 @@ namespace Project.Dialog
{
if (mode.Equals("--"))
{
UTIL.MsgE("사용할 수 없는 버튼 입니다");
UTIL.MsgE("Unusable button");
return;
}
ModeData = mode;
@@ -450,17 +450,17 @@ namespace Project.Dialog
var tagstr = bt.Tag.ToString();
if (tagstr == "M") //모델기본
{
UTIL.MsgI("이 모델은 기본모델입니다 [작업모델] 화면에서 업데이트 하세요");
UTIL.MsgI("This model is a default model. Please update it on the [Work Model] screen");
}
else
{
var dlg = UTIL.MsgQ($"{txt} 항목 옵션을 현재 값으로 변경 할까요??");
var dlg = UTIL.MsgQ($"Do you want to change the {txt} item option to the current value??");
if (dlg != DialogResult.Yes) return;
var dr = this.dataSet11.K4EE_Component_Reel_PreSet.Where(t => t.Title == txt).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE("프리셋 정보를 찾을 수 없어 신규로 생성합니다");
UTIL.MsgE("Preset information not found, creating new preset");
return;
}
dr.MC = "R1";// AR.SETTING.Data.McName;
@@ -499,7 +499,7 @@ namespace Project.Dialog
var ta = new DataSet1TableAdapters.K4EE_Component_Reel_PreSetTableAdapter();
var rlt = ta.Update(this.dataSet11.K4EE_Component_Reel_PreSet) == 1;
if (rlt == false) UTIL.MsgE("변경 실패");
if (rlt == false) UTIL.MsgE("Change failed");
}

View File

@@ -46,7 +46,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(932, 55);
this.button1.TabIndex = 1;
this.button1.Text = "선택 확인";
this.button1.Text = "Select Confirm";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -117,7 +117,7 @@
this.MinimizeBox = false;
this.Name = "fSelectResult";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "값을 선택하세요 (실제 비어 있는 데이터만 선택값에서 추출 됩니다)";
this.Text = "Please select a value (Only empty data will be extracted from the selection)";
this.Load += new System.EventHandler(this.fSelectDataList_Load);
this.ResumeLayout(false);

View File

@@ -50,7 +50,7 @@ namespace Project.Dialog
{
if (this.lv1.FocusedItem == null)
{
UTIL.MsgE("아이템을 선택하세요\n\n취소하려면 ESC키 혹은 닫기 버튼을 누르세요");
UTIL.MsgE("Please select an item\n\nPress ESC key or close button to cancel");
return;
}
this.SelectedValue = this.lv1.FocusedItem.Tag as DataSet1.K4EE_Component_Reel_ResultRow;

View File

@@ -46,7 +46,7 @@ namespace Project.Dialog
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(633, 60);
this.label1.TabIndex = 0;
this.label1.Text = "복수개의 SID 변환 정보가 확인 되었습니다.\r\n아래 SID 목록에서 사용할 데이터를 선택하고 \"확인\" 을 누르세요.";
this.label1.Text = "Multiple SID conversion information has been found.\r\nPlease select the data to use from the SID list below and press \"OK\".";
//
// listView1
//
@@ -81,7 +81,7 @@ namespace Project.Dialog
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(652, 66);
this.button1.TabIndex = 2;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -85,7 +85,7 @@ namespace Project.Dialog
else
{
///자료가 없다
lv.SubItems.Add("정보 없음");
lv.SubItems.Add("No information");
}
}
}

View File

@@ -319,7 +319,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorMoveFirstItem
//
@@ -328,7 +328,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -337,7 +337,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -346,13 +346,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(49, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -366,7 +366,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -375,7 +375,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//

View File

@@ -294,7 +294,7 @@ namespace Project.Dialog
#region "Check iNput Data"
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID 가 입력되지 않았습니다");
UTIL.MsgE("SID was not entered");
tbSID.Focus();
return;
}
@@ -351,7 +351,7 @@ namespace Project.Dialog
//SID변환기능이 동작한상태에서는 변환된 SID정보를 저장하지 않는다 230510
if (VAR.BOOL[eVarBool.Opt_SIDConvert])
{
PUB.log.AddAT($"SID변환기능사용으로인해 SID정보는 업데이트하지 않습니다");
PUB.log.AddAT($"SID information is not updated due to the use of SID conversion function");
}
else columns.Add("SID", tbSID.Text);
}
@@ -444,7 +444,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 값을 서버(SID정보)에 저장 하시겠습니까?\n";
foreach (var item in UpdateTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -459,13 +459,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because there is no target reel information\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Multiple target reel information({cnt} records) exists, cannot update information\n" + whke);
}
else
{
@@ -494,7 +494,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 값을 서버에 저장 하시겠습니까?\n";
foreach (var item in InsertTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -586,7 +586,7 @@ namespace Project.Dialog
{
var dlgMsg = $"다음 값을 EED서버(SID정보)에 저장 하시겠습니까?\n";
foreach (var item in UpdateTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -600,13 +600,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because there is no target reel information\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Multiple target reel information({cnt} records) exists, cannot update information\n" + whke);
}
else
{
@@ -634,7 +634,7 @@ namespace Project.Dialog
{
var dlgMsg = $"다음 값을 EED서버에 저장 하시겠습니까?\n";
foreach (var item in InsertTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -728,7 +728,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 SID변환값을 서버에 업데이트 하시겠습니까?\n";
foreach (var item in UpdateTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -743,13 +743,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 변환정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"No target reel information exists, cannot update conversion information\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 변환정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Multiple target reel conversion information({cnt} records) exists, cannot update information\n" + whke);
}
else
{
@@ -778,7 +778,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 변환값을 서버에 추가 하시겠습니까?\n";
foreach (var item in InsertTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
@@ -820,7 +820,7 @@ namespace Project.Dialog
if (tbPart.Text.isEmpty()) tbPart.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 Part No 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Would you like to change the current Part No value to N/A?");
if (dlg == DialogResult.Yes) tbPart.Text = "N/A";
}
}
@@ -832,7 +832,7 @@ namespace Project.Dialog
if (tbVName.Text.isEmpty()) tbVName.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 VenderName 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Would you like to change the current VenderName value to N/A?");
if (dlg == DialogResult.Yes) tbVName.Text = "N/A";
}
}
@@ -872,7 +872,7 @@ namespace Project.Dialog
var dr = drv.Row as dsWMS.VW_GET_MAX_QTY_VENDOR_LOTRow;
if (dr == null) return;
var dlg = UTIL.MsgQ("선택항 항목의 값을 입력할까요?\n비어있는 값은 자동으로 입력하고 이미 존재하는 경우에는 사용자 확인을 합니다");
var dlg = UTIL.MsgQ("Would you like to enter the values of the selected items?\nEmpty values will be entered automatically and user confirmation will be required for existing values");
if (dlg != DialogResult.Yes) return;
//SID값은 반드시 있다

View File

@@ -53,14 +53,14 @@ namespace Project.Dialog
private void toolStripButton1_Click(object sender, EventArgs e)
{
//load
if (UTIL.MsgQ("다시 불러 올까요?") == DialogResult.Yes)
if (UTIL.MsgQ("Do you want to reload?") == DialogResult.Yes)
this.richTextBox1.Text = System.IO.File.ReadAllText(this.fn, System.Text.Encoding.Default);
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
//save
if (UTIL.MsgQ("저장 할까요?") == DialogResult.Yes)
if (UTIL.MsgQ("Do you want to save?") == DialogResult.Yes)
System.IO.File.WriteAllText(this.fn, this.richTextBox1.Text.Trim(), System.Text.Encoding.Default);
}
@@ -69,7 +69,7 @@ namespace Project.Dialog
//right
if (PUB.PrinterR.IsOpen)
PUB.PrinterR.Print(this.richTextBox1.Text);
else PUB.log.AddAT("프린터R연결 안됨");
else PUB.log.AddAT("Printer R not connected");
}
private void toolStripButton3_Click(object sender, EventArgs e)
@@ -78,7 +78,7 @@ namespace Project.Dialog
if (PUB.PrinterL.IsOpen)
PUB.PrinterL.Print(this.richTextBox1.Text);
else
PUB.log.AddAT("프린터L 연결 안됨");
PUB.log.AddAT("Printer L not connected");
}
}
}

View File

@@ -115,7 +115,7 @@ namespace Project.Dialog
private void Form1_Load(object sender, EventArgs e)
{
PUB.log.AddI("프로그램시작");
PUB.log.AddI("Program started");
PUB.plc.ValueChanged += Plc_ValueChanged;
ioPanel1.ItemClick += IoPanel1_ItemClick;
timer1.Start();