QR validation and WMS info processing improvements
- Enhanced QR vision trigger logging with detailed command/data output - Added JSON data extraction for barcode processing - Improved WMS info query with data completeness check - Updated SID information form with trust flags for user inputs - Added auto-resize columns and UI improvements to SID selection dialog - Fixed barcode data processing to handle JSON wrapped responses - Added pick retry reset and timing control on form close 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -34,9 +34,12 @@ namespace Project.Dialog
|
||||
|
||||
private void FLoaderInfo_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
AR.VAR.I32[AR.eVarInt32.PickOnRetry] = 0;
|
||||
VAR.TIME[eVarTime.KEYENCEWAIT] = DateTime.Now;
|
||||
|
||||
VAR.BOOL[eVarBool.FG_WAIT_INFOSELECT] = false;
|
||||
PUB.Result.ItemDataC.VisionData.PropertyChanged -= VisionData_PropertyChanged;
|
||||
|
||||
|
||||
////사용자가 정보를 정확히 입력하지 않고 닫았다
|
||||
//if (PUB.Result.ItemDataC.VisionData.Confirm == false)
|
||||
//{
|
||||
@@ -114,7 +117,6 @@ namespace Project.Dialog
|
||||
tbPart.Text = item.VisionData.PARTNO;
|
||||
TbCustCode.Text = item.VisionData.CUSTCODE;
|
||||
tbBatch.Text = item.VisionData.BATCH;
|
||||
|
||||
|
||||
selectInput(this.tbSID);
|
||||
|
||||
@@ -369,12 +371,36 @@ namespace Project.Dialog
|
||||
itemC.VisionData.SID0 = itemC.VisionData.SID;
|
||||
|
||||
//값이있는것들만 기록해준다.
|
||||
if (tbSID.Text.isEmpty() == false) itemC.VisionData.SID = tbSID.Text.Trim();
|
||||
if (tbBatch.Text.isEmpty() == false) itemC.VisionData.BATCH = tbBatch.Text.Trim();
|
||||
if (tbLot.Text.isEmpty() == false) itemC.VisionData.VLOT = tbLot.Text.Trim();
|
||||
if (tbMFG.Text.isEmpty() == false) itemC.VisionData.MFGDATE = tbMFG.Text.Trim();
|
||||
if (tbVName.Text.isEmpty() == false) itemC.VisionData.VNAME = tbVName.Text.Trim();
|
||||
if (tbPart.Text.isEmpty() == false) itemC.VisionData.PARTNO = tbPart.Text.Trim();
|
||||
if (tbSID.Text.isEmpty() == false)
|
||||
{
|
||||
itemC.VisionData.SID = tbSID.Text.Trim();
|
||||
itemC.VisionData.SID_Trust = true;
|
||||
}
|
||||
if (tbBatch.Text.isEmpty() == false)
|
||||
{
|
||||
itemC.VisionData.BATCH = tbBatch.Text.Trim();
|
||||
|
||||
}
|
||||
if (tbLot.Text.isEmpty() == false)
|
||||
{
|
||||
itemC.VisionData.VLOT = tbLot.Text.Trim();
|
||||
itemC.VisionData.VLOT_Trust = true;
|
||||
}
|
||||
if (tbMFG.Text.isEmpty() == false)
|
||||
{
|
||||
itemC.VisionData.MFGDATE = tbMFG.Text.Trim();
|
||||
itemC.VisionData.MFGDATE_Trust = true;
|
||||
}
|
||||
if (tbVName.Text.isEmpty() == false)
|
||||
{
|
||||
itemC.VisionData.VNAME = tbVName.Text.Trim();
|
||||
itemC.VisionData.VNAME_Trust = true;
|
||||
}
|
||||
if (tbPart.Text.isEmpty() == false)
|
||||
{
|
||||
itemC.VisionData.PARTNO = tbPart.Text.Trim();
|
||||
itemC.VisionData.PARTNO_Trust = true;
|
||||
}
|
||||
|
||||
this.TopMost = topmost;
|
||||
this.Close();
|
||||
@@ -883,5 +909,10 @@ namespace Project.Dialog
|
||||
ValueUpdate(tbMFG, dr.MFG_DATE, "MFG_DATE");
|
||||
ValueUpdate(tbBatch, dr.BATCH_NO, "BATCH_NO");
|
||||
}
|
||||
|
||||
private void fSelectSIDInformation_Shown(object sender, EventArgs e)
|
||||
{
|
||||
this.dv1.AutoResizeColumns();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user