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

41 lines
1.1 KiB
C#

using System;
//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_MesWorkFinish(OpName, true);
// }
//}
//catch (Exception err)
//{
// ////ApplicationLog.WriteLog(err, "Function02:ConfirmOkGo");
//}
}
}
}