Files
01-Siyuan-MesProject/MisDataFunction/MesServer.Function/Function07/OpcServer/PartLoad.cs
2026-05-29 10:07:05 +08:00

36 lines
906 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
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.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");
}
}
}
}