32 lines
816 B
C#
32 lines
816 B
C#
using System;
|
||
using MesServerWork;
|
||
//using SystemFramework;
|
||
|
||
namespace MesServerFunctions
|
||
{
|
||
partial class Functions_BASE_03
|
||
{
|
||
/// <summary>
|
||
/// 工件到位与离开时,清空MES自身信号
|
||
/// </summary>
|
||
/// <param name="OpName"></param>
|
||
/// <param name="tagValue"></param>
|
||
private void WorkStart(object e)
|
||
{
|
||
try
|
||
{
|
||
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
|
||
string OpName = Convert.ToString(msgEvent.OpName);
|
||
int tagValue = Convert.ToInt32(msgEvent.TagValue);
|
||
|
||
}
|
||
catch (Exception err)
|
||
{
|
||
////ApplicationLog.WriteLog(err, "Function03:WorkStart");
|
||
}
|
||
}
|
||
|
||
|
||
}
|
||
}
|