|
|
@@ -517,6 +517,17 @@ namespace UAS_MES.PublicMethod
|
|
|
return new DataTable[] { Form, Grid };
|
|
|
}
|
|
|
|
|
|
+ public static void CartonBoxStepPass(string iMakeCode, string iSourceCode, string iCartonBox, string iUserCode, string iResult, out string oErrorMessage)
|
|
|
+ {
|
|
|
+ DataTable dt = (DataTable)dh.ExecuteSql("select pd_barcode from packagedetail where pd_outboxcode='" + iCartonBox + "'", "select");
|
|
|
+ oErrorMessage = "";
|
|
|
+ for (int i = 0; i < dt.Rows.Count; i++)
|
|
|
+ {
|
|
|
+ string sn = dt.Rows[i]["pd_barcode"].ToString();
|
|
|
+ CS_SetResult(iMakeCode, iSourceCode, sn, iUserCode, iResult, out oErrorMessage);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 箱号过站的公用方法
|
|
|
/// </summary>
|