|
|
@@ -1040,7 +1040,11 @@ namespace UAS_MES_NEW.Make
|
|
|
{
|
|
|
if (LogicHandler.CheckStepSNAndMacode(ma_code.Text, User.UserSourceCode, item.SN, User.UserCode, out omakeCode, out oMsid, out oErrorMessage))
|
|
|
{
|
|
|
- string passStationRes = item.Result == "PASS" ? "OK" : "NG";
|
|
|
+ string passStationRes = "OK";
|
|
|
+ if (equiType == "AOI")
|
|
|
+ {
|
|
|
+ passStationRes = item.Result == "PASS" ? "OK" : "NG";
|
|
|
+ }
|
|
|
if (LogicHandler.SetStepResult(omakeCode, User.UserSourceCode, item.SN, "日志解析", passStationRes, User.UserCode, out oErrorMessage))
|
|
|
{
|
|
|
string sqlStr = $@"select ma_code,nvl(mcd_okqty,0) mcd_okqty,ma_prodcode,pr_detail,ma_qty - nvl(mcd_okqty, 0) remain_qty
|