using System; using MesServerWork; using bizFacade; //using SystemFramework; namespace MesServerFunctions { partial class Functions_BASE_23 { /// /// 不合格放行 /// /// /// private void FalseGO(object e) { try { DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e; string OpName = Convert.ToString(msgEvent.OpName); int tagValue = Convert.ToInt32(msgEvent.TagValue); if (tagValue == 1) { //不合格保存物料数据 BaseDataSystemMES.Material_Insert_NG(OpName, 2); Sendmessage("4", "1", OpName);//向web发送消息 } } catch (Exception err) { ////ApplicationLog.WriteLog(err, "Function03:FalseGO"); } } } }