|
|
@@ -142,7 +142,7 @@ namespace UAS_MES_NEW.Make
|
|
|
//索引超出长度表示内容均已提醒
|
|
|
if (RemainIndex >= RemainList.Length)
|
|
|
{
|
|
|
- OperateResult.AppendText(">>当前序列号" + sn_code.Text + "不在本道工序,请采集其它序列号\n", Color.Black);
|
|
|
+ OperateResult.AppendText(">>当前序列号" + sn_code.Text + "不在本道工序,请采集其它序列号\n", Color.Red);
|
|
|
sn_code.Text = "";
|
|
|
code.Text = "";
|
|
|
return;
|
|
|
@@ -389,7 +389,7 @@ namespace UAS_MES_NEW.Make
|
|
|
{
|
|
|
string soncode = dt1.Rows[RemainIndex]["sp_soncode"].ToString();
|
|
|
string prdetail = dt1.Rows[RemainIndex]["pr_detail"].ToString();
|
|
|
- OperateResult.AppendText("<<请采集" + soncode + "(" + prdetail + ")的物料数据\n", Color.Black);
|
|
|
+ OperateResult.AppendText("<<请采集" + soncode + "(" + prdetail + ")的物料数据\n", Color.Red);
|
|
|
}
|
|
|
catch (Exception)
|
|
|
{
|
|
|
@@ -400,7 +400,7 @@ namespace UAS_MES_NEW.Make
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- OperateResult.AppendText(">>序列号" + sn_code.Text + "不在本道工序,请采集其它序列号\n", Color.Black);
|
|
|
+ OperateResult.AppendText(">>序列号" + sn_code.Text + "不在本道工序,请采集其它序列号\n", Color.Red);
|
|
|
if (!LogicHandler.SetStepResult(ma_code.Text, User.UserSourceCode, sn_code.Text, "上料采集", "上料成功", User.UserCode, out ErrorMessage))
|
|
|
OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red);
|
|
|
else
|
|
|
@@ -436,7 +436,7 @@ namespace UAS_MES_NEW.Make
|
|
|
//如果+1后不小于B序列的长度,则已采集完成,不需要进行提示了
|
|
|
if (RemainIndex < RemainList.Length)
|
|
|
{
|
|
|
- OperateResult.AppendText("<<请采集" + RemainList[RemainIndex] + "的物料数据\n", Color.Black);
|
|
|
+ OperateResult.AppendText("<<请采集" + RemainList[RemainIndex] + "的物料数据\n", Color.Red);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
@@ -513,7 +513,7 @@ namespace UAS_MES_NEW.Make
|
|
|
BaseUtil.CleanDataTableData(dt1);
|
|
|
RemainIndex = 0;
|
|
|
BaseUtil.CleanDGVData(LabelDataGridView);
|
|
|
- OperateResult.AppendText(">>请采集序列号\n", Color.Black);
|
|
|
+ OperateResult.AppendText(">>请采集序列号\n", Color.Red);
|
|
|
}
|
|
|
|
|
|
private void ma_code_UserControlTextChanged(object sender, EventArgs e)
|