This commit is contained in:
ChiKyun Kim
2025-09-09 08:25:50 +09:00
parent 9a7d1d27c7
commit adb66451ca
79 changed files with 4195 additions and 2213 deletions

View File

@@ -36,7 +36,7 @@ namespace Project.Dialog
{
this.lstErrmsg.BeginInvoke(new Action(() =>
{
//동일한 태그를 가진 항목이 존재하는가?
//Does an item with the same tag exist?
if (lstErrmsg.FindString(msg) < 0)
lstErrmsg.Items.Add(string.Format("{0}", msg));
}));
@@ -51,7 +51,7 @@ namespace Project.Dialog
private void FLoaderInfo_FormClosed(object sender, FormClosedEventArgs e)
{
//이미지해제 210329
//Image release 210329
if (this.iv1.Image != null)
{
this.iv1.Image.Dispose();
@@ -60,7 +60,7 @@ namespace Project.Dialog
Pub.flag.set(eFlag.WAIT_LOADERINFO, false, "_CLOSE");
//사용자가 정보를 정확히 입력하지 않고 닫았다
//User closed without entering information correctly
if (Pub.Result.ItemData[1].VisionData.Confirm == false)
{
if (Pub.sm.Step == StateMachine.eSMStep.RUN)
@@ -72,7 +72,7 @@ namespace Project.Dialog
private void fLoaderInfo_Load(object sender, EventArgs e)
{
//현재 바코드가 읽었단 자료를 모두 표시한다.
//Display all data that the barcode has read.
this.tbRID.Text = Pub.Result.ItemData[1].VisionData.RID;
this.tbRID.Tag = Pub.Result.ItemData[1].VisionData.RID0;
@@ -101,24 +101,24 @@ namespace Project.Dialog
if (lbSID0.Text.isEmpty() == false)
lbSID0.Tag = lbSID0.Text;
//수량메뉴얼입력칸
//Quantity manual input field
if (Pub.Result.Option_QtyUpdateM)
{
if (Pub.Result.ItemData[1].VisionData.QTYRQ == true)
{
//수동입력이나 바코드에서 RQ값이 들어있는 상태이니 그것을 사용한다.
//Manual input or RQ value is in barcode, so use that.
//lock (Pub.Result.ItemData[1].VisionData.barcodelist)
{
var rqBcd = Pub.Result.ItemData[1].VisionData.barcodelist.Where(t => t.Data.StartsWith("RQ")).FirstOrDefault();
if (rqBcd != null)
{
var newqty = rqBcd.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, so quantity is not filled");
}
}
@@ -127,14 +127,14 @@ namespace Project.Dialog
}
else
{
//수량을 직접입력하는 경우이므로 수량값을 지워버린다.
Pub.log.Add($"수량업데이트 {tbQTY.Text}-> (직접입력으로인한삭제)");
//Direct input for quantity, so clear the quantity value.
Pub.log.Add($"Quantity updated {tbQTY.Text}-> (deleted due to direct input)");
tbQTY.Text = string.Empty;
}
}
else
{
Pub.log.Add($"수량업데이트 {tbQTY.Text}->{Pub.Result.ItemData[1].VisionData.QTY}");
Pub.log.Add($"Quantity updated {tbQTY.Text}->{Pub.Result.ItemData[1].VisionData.QTY}");
tbQTY.Text = Pub.Result.ItemData[1].VisionData.QTY;
}
@@ -185,7 +185,7 @@ namespace Project.Dialog
if (tbRID.Text.isEmpty())
{
if (custCode.isEmpty() == false) updaterid = true;
else Pub.log.AddAT("릴 아이디를 생성해야하는데 커스터머 코드가 없습니다.");
else Pub.log.AddAT("Need to generate Reel ID but customer code is missing.");
}
else if (custCode.isEmpty() == false)
{
@@ -331,7 +331,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;