영문화완료

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

@@ -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)