|
|
@@ -443,6 +443,8 @@ namespace UAS_MES.Make
|
|
|
sql.Append("and sp_craftcode=ma_craftcode and sp_mothercode = ma_prodcode left join makeserial on ms_makecode=ma_code ");
|
|
|
sql.Append("where ma_code='" + make_code + "'and sp_id=" + sp_id + " and mcd_stepcode = '" + User.CurrentStepCode + "' and ms_sncode='" + ms_sncode + "'");
|
|
|
dh.BatchInsert(sql.GetString(), new string[] { "soncode", "barcode" }, CollectDataSonCode.ToArray(), CollectData.ToArray());
|
|
|
+ CollectData.Clear();
|
|
|
+ CollectDataSonCode.Clear();
|
|
|
//采集成功,设置序列号栏目为空
|
|
|
RemainIndex = 0;
|
|
|
OperateResult.AppendText(">>上料采集完成!\n", Color.Green);
|
|
|
@@ -464,6 +466,7 @@ namespace UAS_MES.Make
|
|
|
{
|
|
|
sn_code.Clear();
|
|
|
CollectData.Clear();
|
|
|
+ CollectDataSonCode.Clear();
|
|
|
dt1.Clear();
|
|
|
RemainIndex = 0;
|
|
|
}
|