Преглед изворни кода

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

Hcsy пре 8 година
родитељ
комит
424d998d5e
1 измењених фајлова са 11 додато и 0 уклоњено
  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>