using System; using System.Collections.Generic; using System.Linq; using System.Text; using bizFacade; using System.Data; ////using SystemFramework; using System.Collections; using MesServerWork; namespace MesServerFunctions { partial class Functions_BASE_11 { /// /// PLC传递机型处理 /// /// /// private void EngineTypeGetOver_PLC(object e) { try { DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e; string OpName = Convert.ToString(msgEvent.OpName); int tagValue = Convert.ToInt32(msgEvent.TagValue); if (tagValue == 1) { int PartPallet_Code;//托盘编号 int EngineTypeID;//机型代码 string EngineType;//机型 string EngineID;//工件编号 string OrderForm; MIS_BASE.GetEngineTypeFromPLC(OpName, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code,out OrderForm);//读取托盘信息 EngineTypeGetOver_PLC_Work(OpName, EngineTypeID, EngineType, EngineID, PartPallet_Code,OrderForm); } } catch (Exception err) { ////ApplicationLog.WriteLog(err, "Function11:EngineTypeGetOver_PLC"); } } } }