35 lines
974 B
C#
35 lines
974 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Threading;
|
|
//using SystemFramework;
|
|
using MesServerWork;
|
|
using MisDataFunDll;
|
|
|
|
namespace MesServerFunctions
|
|
{
|
|
partial class FunctionMES
|
|
{
|
|
/// <summary>
|
|
/// 申请上线(针对上线工位)
|
|
/// </summary>
|
|
/// <param name="OpName"></param>
|
|
/// <param name="tagValue"></param>
|
|
private void PartLoad(object e)
|
|
{
|
|
try
|
|
{
|
|
var msgEvent = (DeviceDriver_BasicData.CustomeEvetnArgs)e;
|
|
string OpName = Convert.ToString(msgEvent.OpName);
|
|
int tagValue = Convert.ToInt32(msgEvent.TagValue);
|
|
|
|
}
|
|
catch (Exception err)
|
|
{
|
|
MyLog4Net.MyLogHelper.Error("PartLoad", err.Message.ToString());
|
|
MisDataFun.LogRecording_OP("Function1051", "INFO", "PartLoad", err.Message.ToString());
|
|
}
|
|
}
|
|
}
|
|
}
|