36 lines
896 B
C#
36 lines
896 B
C#
using System;
|
|
using SystemFramework;
|
|
|
|
|
|
namespace MesServerFunctions
|
|
{
|
|
partial class Functions_BASE_07
|
|
{
|
|
/// <summary>
|
|
/// 申请上线
|
|
/// </summary>
|
|
/// <param name="OpName"></param>
|
|
/// <param name="tagValue"></param>
|
|
private void PartLoad(object e)
|
|
{
|
|
try
|
|
{
|
|
OpcData.CustomeEvetnArgs msgEvent = (OpcData.CustomeEvetnArgs)e;
|
|
string OpName = Convert.ToString(msgEvent.OpName);
|
|
int tagValue = Convert.ToInt32(msgEvent.TagValue);
|
|
|
|
if (tagValue == 1)
|
|
{
|
|
AsyncSendMessage_Notice(OpName, "请扫描返修件条码!");
|
|
}
|
|
}
|
|
catch (Exception err)
|
|
{
|
|
ApplicationLog.WriteLog(err, "Function07:PartLoad");
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|