MVP!
This commit is contained in:
40
MisDataFunction/Function1054/OpcServer/ConfirmOkGo.cs
Normal file
40
MisDataFunction/Function1054/OpcServer/ConfirmOkGo.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
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");
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user