35 lines
976 B
C#
35 lines
976 B
C#
using System;
|
|
|
|
namespace MesServerFunctions
|
|
{
|
|
partial class FunctionMES
|
|
{
|
|
/// <summary>
|
|
/// 保存完成(针对半自动和手动压装工位)
|
|
/// </summary>
|
|
/// <param name="OpName"></param>
|
|
/// <param name="tagValue"></param>
|
|
private void MesReadOver(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, tagValue);
|
|
|
|
// MIS_BASE.Write_ConfirmOkGo(OpName, true);
|
|
//}
|
|
}
|
|
catch (Exception err)
|
|
{
|
|
////ApplicationLog.WriteLog(err, "Function08:MesReadOver");
|
|
}
|
|
}
|
|
}
|
|
}
|