|
@@ -168,7 +168,7 @@ namespace FileWatcher
|
|
|
}
|
|
}
|
|
|
if (Counter.Checked)
|
|
if (Counter.Checked)
|
|
|
{
|
|
{
|
|
|
- LogicHandler.CS_SetResultRXY(ma_code.Text, li_code.Text, "", qty.ToString(), li_code.Text, "OK", out error);
|
|
|
|
|
|
|
+ LogicHandler.CS_SetResultRXY(ma_code.Text, li_code.Text, "", ((qty - lastqty)).ToString(), li_code.Text, "OK", out error);
|
|
|
}
|
|
}
|
|
|
lastqty = qty;
|
|
lastqty = qty;
|
|
|
}
|
|
}
|
|
@@ -518,7 +518,7 @@ namespace FileWatcher
|
|
|
}
|
|
}
|
|
|
if (Counter.Checked)
|
|
if (Counter.Checked)
|
|
|
{
|
|
{
|
|
|
- LogicHandler.CS_SetResultRXY(ma_code.Text, li_code.Text, "", qty.ToString(), li_code.Text, "OK", out error);
|
|
|
|
|
|
|
+ LogicHandler.CS_SetResultRXY(ma_code.Text, li_code.Text, "", (qty - lastqty).ToString(), li_code.Text, "OK", out error);
|
|
|
}
|
|
}
|
|
|
lastqty = qty;
|
|
lastqty = qty;
|
|
|
dt = (DataTable)dh.ExecuteSql("select nvl(sum(MHC_QTY* MHC_PCBCOUNT),0)MHC_QTY,max(nvl(ma_qty,0)+nvl(ma_boutqty,0))ma_qty from makehourcount left join make on ma_code=mhc_macode where mhc_macode='" + ma_code.Text + "' and mhc_qty<10", "select");
|
|
dt = (DataTable)dh.ExecuteSql("select nvl(sum(MHC_QTY* MHC_PCBCOUNT),0)MHC_QTY,max(nvl(ma_qty,0)+nvl(ma_boutqty,0))ma_qty from makehourcount left join make on ma_code=mhc_macode where mhc_macode='" + ma_code.Text + "' and mhc_qty<10", "select");
|