Files
52-NingdePDC-MesProject/MisDataFunction/Function1057/OpcServer/FalseGO.cs
XingCheng3 dff0156cdd MVP!
2026-05-26 09:41:24 +08:00

46 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Data;
using System.Windows.Forms;
using System.Xml.Linq;
//using SystemFramework;
using MesServerWork;
namespace MesServerFunctions
{
partial class FunctionMES
{
/// <summary>
/// 不合格放行
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private void FalseGO(object e)
{
try
{
var msgEvent = (DeviceDriver_BasicData.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
int tagValue = Convert.ToInt32(msgEvent.TagValue);
if (tagValue == 1)
{
//不合格放行信号
//MIS_BASE.Write_FalseGO(OpName, true);
//总合格标志2不合格
// BaseDataSystemMES.Material_Insert_NG(OpName, 2);
// Sendmessage("24", "11", OpName);
//工作完成
//MIS_BASE.Write_MesWorkFinish(OpName, true);
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function02:FalseGO");
}
}
}
}