..
This commit is contained in:
@@ -1085,9 +1085,49 @@ namespace Project
|
||||
|
||||
private void dIOMonitorToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var sid = UTIL.InputBox("input sid");
|
||||
if (sid.Item1 == false || sid.Item2.isEmpty()) return;
|
||||
var c = PUB.MakeNewREELID(sid.Item2);// Amkor.RestfulService.Allocation_Unique_ReelID_AmkorSTD("2000", "4", "A", out string error);
|
||||
using (var f = new fManualPrint0())
|
||||
{
|
||||
f.Text = "Barcode Process Test";
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
var reelinfo = f.reelinfo;
|
||||
var vdata = new Class.JobData(9);
|
||||
PUB.Result.ItemDataC.CopyTo(ref vdata);
|
||||
vdata.Clear("TEST");
|
||||
vdata.VisionData.BarcodeTouched = true;
|
||||
if (reelinfo.SID.isEmpty() == false)
|
||||
{
|
||||
vdata.VisionData.SID = reelinfo.SID;
|
||||
vdata.VisionData.SID_Trust = true;
|
||||
}
|
||||
if (reelinfo.venderLot.isEmpty() == false)
|
||||
{
|
||||
vdata.VisionData.VLOT = reelinfo.venderLot;
|
||||
vdata.VisionData.VLOT_Trust = true;
|
||||
}
|
||||
if (reelinfo.id.isEmpty() == false)
|
||||
{
|
||||
vdata.VisionData.SetRID(reelinfo.id,"TEST");
|
||||
vdata.VisionData.RID_Trust = true;
|
||||
}
|
||||
if(reelinfo.mfg.isEmpty()==false)
|
||||
{
|
||||
vdata.VisionData.MFGDATE = reelinfo.mfg;
|
||||
vdata.VisionData.MFGDATE_Trust = true;
|
||||
}
|
||||
if(reelinfo.qty > 0)
|
||||
{
|
||||
vdata.VisionData.QTY = reelinfo.qty.ToString();
|
||||
vdata.VisionData.QTY_Trust = true;
|
||||
}
|
||||
//vdata.VisionData.VLOT = reelinfo.venderLot;
|
||||
|
||||
BCDProcess_ALL(vdata, "TEST", true);
|
||||
var msg = vdata.VisionData.ToString();
|
||||
PUB.log.Add(msg);
|
||||
UTIL.MsgE(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void refreshControklToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user