|
|
@@ -355,7 +355,7 @@ namespace UAS_MES.Make
|
|
|
dt = (DataTable)dh.ExecuteSql("select cm_id from craftmaterial where cm_sncode='" + sn_code.Text + "'", "select");
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|
|
|
- OperateResult.AppendText(">>请采集需要下料的序列号\n", Color.Green);
|
|
|
+ OperateResult.AppendText(">>请采集需要下料的序列号\n", Color.Black);
|
|
|
sn_code.Text = code.Text;
|
|
|
}
|
|
|
else OperateResult.AppendText(">>该序列号未上料,无需下料\n", Color.Red);
|
|
|
@@ -411,7 +411,7 @@ namespace UAS_MES.Make
|
|
|
RemainList[i] = dt1.Rows[i]["sp_soncode"].ToString();
|
|
|
//A序列不存在需要提醒的内容则直接判断B的
|
|
|
if (dt1.Rows.Count > 0)
|
|
|
- OperateResult.AppendText("<<请采集" + dt1.Rows[0]["sp_soncode"].ToString() + "的" + dt1.Rows[0]["sp_type"].ToString() + "数据\n", Color.Green);
|
|
|
+ OperateResult.AppendText("<<请采集" + dt1.Rows[0]["sp_soncode"].ToString() + "的" + dt1.Rows[0]["sp_type"].ToString() + "数据\n", Color.Black);
|
|
|
else
|
|
|
{
|
|
|
OperateResult.AppendText(">>当前序列号没有需要采集的内容,请采集其他序列号\n", Color.Red);
|
|
|
@@ -437,7 +437,7 @@ namespace UAS_MES.Make
|
|
|
code.Clear();
|
|
|
//如果+1后不小于B序列的长度,则已采集完成,不需要进行提示了
|
|
|
if (RemainIndex < RemainList.Length)
|
|
|
- OperateResult.AppendText("<<请采集" + RemainList[RemainIndex] + "的" + dt1.Rows[RemainIndex]["sp_type"].ToString() + "数据\n", Color.Green);
|
|
|
+ OperateResult.AppendText("<<请采集" + RemainList[RemainIndex] + "的" + dt1.Rows[RemainIndex]["sp_type"].ToString() + "数据\n", Color.Black);
|
|
|
else
|
|
|
{
|
|
|
sql.Clear();
|