Browse Source

Merge branch 'master' of ssh://10.10.101.21/source/mes-client

Hcsy 8 years ago
parent
commit
424d998d5e
1 changed files with 11 additions and 0 deletions
  1. 11 0
      UAS-MES/PublicMethod/LogicHandler.cs

+ 11 - 0
UAS-MES/PublicMethod/LogicHandler.cs

@@ -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>