영문화완료

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

@@ -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();
}