限制NG为98
This commit is contained in:
@@ -1957,7 +1957,7 @@ namespace JinYuan.ControlCenters
|
||||
|
||||
var channels = CommonMethods.mesConfig.ChannelConfig.Channels;
|
||||
var ngChanel = channels.FirstOrDefault(x => x.Gears.Contains("NG"));
|
||||
int ngVal = ngChanel == null ? 97 : ngChanel.DefaultValue;
|
||||
int ngVal = ngChanel == null ? 98 : ngChanel.DefaultValue;
|
||||
try
|
||||
{
|
||||
|
||||
@@ -2044,7 +2044,7 @@ namespace JinYuan.ControlCenters
|
||||
else
|
||||
{
|
||||
list[i].Remark = $"出站条码[{list[i].BarCode}]外观检OK分档,MES断连";
|
||||
listGradeResult[i] = 97; //(short)26;
|
||||
listGradeResult[i] = 98; //(short)26;
|
||||
// list[i].Result = "MES NG";
|
||||
CommonMethods.PlcLink.WriteValue("D80", 1, Data_Type.Short);
|
||||
//反馈MES结果
|
||||
|
||||
Reference in New Issue
Block a user