using System; using bizFacade; //using SystemFramework; using MesServerWork; namespace MesServerFunctions { partial class FunctionMES { /// /// 申请上线(针对上线工位) /// /// /// private void PartLoad(object e) { try { DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e; string OpName = Convert.ToString(msgEvent.OpName); int tagValue = Convert.ToInt32(msgEvent.TagValue); if (tagValue == 1) { SendMessageFun.AsyncSendMessage_Notice(OpName, "请扫描总成码"); } else { //上线工位清MES传递机型信号 MIS_BASE.Write_EngineTypeGetOver_MES(OpName, false); } } catch (Exception err) { ////ApplicationLog.WriteLog(err, "Function08:MesReadOver"); } } } }