|
|
@@ -593,10 +593,8 @@ namespace UAS_MES_NEW.Make
|
|
|
SPID.Add(sp_id);
|
|
|
OperateResult.AppendText(">>物料" + sp_soncode + "采集成功,条码" + code.Text + "\n", Color.Green);
|
|
|
LabelDataGridView.Rows[RemainIndex].Cells["BarCode"].Value = code.Text;
|
|
|
- LabelDataGridView.Rows[RemainIndex].Cells["BarCode"].Style.BackColor=Color.Green;
|
|
|
+ LabelDataGridView.Rows[RemainIndex].Cells["BarCode"].Style.BackColor = Color.Green;
|
|
|
LabelDataGridView.Rows[RemainIndex].Cells["sp_sntype"].Value = sp_sntype;
|
|
|
- if (code.Text.Length > 80)
|
|
|
- OperateResult.AppendText(">>采集条码" + code.Text + "程度超过长度限制80,内容截取前80位进行采集\n", Color.Red);
|
|
|
code.Clear();
|
|
|
RemainIndex = RemainIndex + 1;
|
|
|
//如果+1后不小于B序列的长度,则已采集完成,不需要进行提示了
|