using System;
using bizFacade;
//using SystemFramework;
using MesServerWork;

namespace MesServerFunctions
{
    partial class FunctionMES
    {
        /// <summary>
        /// 合格放行
        /// </summary>
        /// <param name="OpName"></param>
        /// <param name="tagValue"></param>
        private void ConfirmOkGo(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(OpName, 1); 

                //    //更新订单完工数量及物料
                //    Sendmessage("24", "11", OpName);

                //    //工作完成
                //    MIS_BASE.Write_MaterialVerifyOver(OpName, true);
                //}
            }
            catch (Exception err)
            {
                ////ApplicationLog.WriteLog(err, "Function02:ConfirmOkGo");
            }
        }
    }
}
